fix: no templates for now

This commit is contained in:
cha0s 2024-07-28 18:51:38 -05:00
parent 4777a2a3a5
commit 1e588900bb

View File

@ -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: {},