diff --git a/api.lua b/api.lua index 5475a1d..0fdc2c6 100644 --- a/api.lua +++ b/api.lua @@ -3454,6 +3454,11 @@ function mob_class:on_step(dtime, moveresult) self.pause_timer = self.pause_timer - dtime return + + elseif self.order == "stand" then + + self:set_velocity(0) + self:set_animation("stand", true) end -- run custom function (defined in mob lua file) - when false skip going any further