diff --git a/npc.lua b/npc.lua index c65aa36..ba5a47a 100755 --- a/npc.lua +++ b/npc.lua @@ -1434,7 +1434,6 @@ mobs:register_mob("advanced_npc:npc", { end return self.freeze - end end }) diff --git a/random_data/occupations_data.lua b/random_data/occupations_data.lua index 4740887..b694d87 100644 --- a/random_data/occupations_data.lua +++ b/random_data/occupations_data.lua @@ -8,21 +8,6 @@ npc.occupations.register_occupation("test_farmer", { dialogues = {}, textures = {}, initial_inventory = {}, - workplace = { - search_nodes = {"cottages:gate_open","cottages:gate_closed"}, - search_type = "orthogonal", - surrounding_nodes = - { - bottom = { - nodes = {"farming:soil", "farming:wet_soil", "default:dirt", "default:dirt_with_grass"}, - criteria = "any" - } - sides = { - nodes = {"doors:wooden_fence"} - criteria = "exact" - } - } - } schedule_entries = { [7] = { [1] = @@ -37,7 +22,7 @@ npc.occupations.register_occupation("test_farmer", { { check = true, range = 2, - random_execution_times = true + random_execution_times = true, min_count = 10, max_count = 12, nodes = {"farming:cotton_3"},