Add in fly logic gate

This commit is contained in:
jordan4ibanez 2021-04-17 12:41:14 -04:00
parent 07841c8963
commit f2e909ab8d
1 changed files with 3 additions and 0 deletions

View File

@ -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)