Fix misc bugs

This commit is contained in:
Hector Franqui 2017-08-11 15:41:50 -04:00
parent 5a93800e77
commit 698d247aba
2 changed files with 1 additions and 17 deletions

View File

@ -1434,7 +1434,6 @@ mobs:register_mob("advanced_npc:npc", {
end end
return self.freeze return self.freeze
end
end end
}) })

View File

@ -8,21 +8,6 @@ npc.occupations.register_occupation("test_farmer", {
dialogues = {}, dialogues = {},
textures = {}, textures = {},
initial_inventory = {}, 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 = { schedule_entries = {
[7] = { [7] = {
[1] = [1] =
@ -37,7 +22,7 @@ npc.occupations.register_occupation("test_farmer", {
{ {
check = true, check = true,
range = 2, range = 2,
random_execution_times = true random_execution_times = true,
min_count = 10, min_count = 10,
max_count = 12, max_count = 12,
nodes = {"farming:cotton_3"}, nodes = {"farming:cotton_3"},