silphius/public/assets/shit-shack/collision-start.js

17 lines
280 B
JavaScript
Raw Normal View History

2024-07-12 17:41:55 -05:00
for (const [{tags}] of intersections) {
if (tags && tags.includes('door')) {
if (other.Player) {
ecs.switchEcs(
other,
entity.Ecs.path,
{
Position: {
x: 72,
y: 304,
2024-07-03 16:13:14 -05:00
},
2024-07-12 17:41:55 -05:00
},
);
2024-07-03 16:13:14 -05:00
}
}
}