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: `
|
collisionStartScript: [
|
||||||
if (other.Inventory) {
|
'if (other.Inventory) {',
|
||||||
other.Inventory.give({
|
' other.Inventory.give({',
|
||||||
qty: 1,
|
' qty: 1,',
|
||||||
source: '/assets/tomato/tomato.json',
|
" source: '/assets/tomato/tomato.json',",
|
||||||
})
|
' })',
|
||||||
ecs.destroy(entity.id)
|
' ecs.destroy(entity.id)',
|
||||||
}
|
'}',
|
||||||
`,
|
].join('\n'),
|
||||||
},
|
},
|
||||||
Forces: {},
|
Forces: {},
|
||||||
Magnetic: {},
|
Magnetic: {},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user