Occupations: Add schedule check function, allow enqueuing of schedule check.

Add simple test farmer occupation (WIP).
This commit is contained in:
Hector Franqui
2017-08-11 12:01:44 -04:00
3 changed files with 477 additions and 7 deletions

14
npc.lua
View File

@ -984,17 +984,17 @@ mobs:register_mob("advanced_npc:npc", {
drawtype = "front",
textures = {
{"npc_male1.png"},
{"npc_male2.png"},
{"npc_male3.png"},
{"npc_male4.png"},
{"npc_male5.png"},
{"npc_male6.png"},
{"npc_male2.png"},
{"npc_male3.png"},
{"npc_male4.png"},
{"npc_male5.png"},
{"npc_male6.png"},
{"npc_female1.png"}, -- female by nuttmeg20
},
child_texture = {
{"npc_child_male1.png"},
{"npc_child_female1.png"},
},
{"npc_child_female1.png"},
},
makes_footstep_sound = true,
sounds = {},
-- Added walk chance