forked from VoxeLibre/VoxeLibre
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
|
if self.swim then
|
||||||
swim_state_switch(self, dtime)
|
swim_state_switch(self, dtime)
|
||||||
swim_state_execution(self, dtime)
|
swim_state_execution(self, dtime)
|
||||||
|
--flying
|
||||||
|
elseif self.fly then
|
||||||
|
print("I probably should be flying >:(")
|
||||||
--regular mobs that walk around
|
--regular mobs that walk around
|
||||||
else
|
else
|
||||||
land_state_switch(self, dtime)
|
land_state_switch(self, dtime)
|
||||||
|
|
Loading…
Reference in New Issue