mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-09-28 16:11:52 +02:00
Add in fly logic gate
This commit is contained in:
parent
07841c8963
commit
f2e909ab8d
@ -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 New Issue
Block a user