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