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
return self.freeze
end
end
})

View File

@ -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"},