mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-10 17:19:35 +01:00
Add in fly logic gate
This commit is contained in:
parent
07841c8963
commit
f2e909ab8d
1 changed files with 3 additions and 0 deletions
|
@ -323,6 +323,9 @@ mobs.mob_step = function(self, dtime)
|
|||
if self.swim then
|
||||
swim_state_switch(self, dtime)
|
||||
swim_state_execution(self, dtime)
|
||||
--flying
|
||||
elseif self.fly then
|
||||
print("I probably should be flying >:(")
|
||||
--regular mobs that walk around
|
||||
else
|
||||
land_state_switch(self, dtime)
|
||||
|
|
Loading…
Reference in a new issue