fix: no templates for now
This commit is contained in:
parent
4777a2a3a5
commit
1e588900bb
|
@ -17,15 +17,15 @@ for (let i = 0; i < 10; ++i) {
|
|||
],
|
||||
},
|
||||
],
|
||||
collisionStartScript: `
|
||||
if (other.Inventory) {
|
||||
other.Inventory.give({
|
||||
qty: 1,
|
||||
source: '/assets/tomato/tomato.json',
|
||||
})
|
||||
ecs.destroy(entity.id)
|
||||
}
|
||||
`,
|
||||
collisionStartScript: [
|
||||
'if (other.Inventory) {',
|
||||
' other.Inventory.give({',
|
||||
' qty: 1,',
|
||||
" source: '/assets/tomato/tomato.json',",
|
||||
' })',
|
||||
' ecs.destroy(entity.id)',
|
||||
'}',
|
||||
].join('\n'),
|
||||
},
|
||||
Forces: {},
|
||||
Magnetic: {},
|
||||
|
|
Loading…
Reference in New Issue
Block a user