Open GregHib opened 4 years ago
Interaction/Strageties are broken and interact-through walls.
Also general improvements:
entity perform Interact(target) val route = await(Route()) val canInteract = route.steps >= 0 && !route.alternative || StepBesideSystem.isNear(entity get Position::class, target get Position::class, 1, 1, true) entity perform Face(target get Position::class) await(Ticks(1)) if(!canInteract) { entity perform Chat("You can't reach that.") return@strongQueue }
Is longwinded and should be shortened after #128
Interaction/Strageties are broken and interact-through walls.
Also general improvements:
Is longwinded and should be shortened after #128