Fix misc bugs
This commit is contained in:
parent
5a93800e77
commit
698d247aba
1
npc.lua
1
npc.lua
@ -1434,7 +1434,6 @@ mobs:register_mob("advanced_npc:npc", {
|
||||
end
|
||||
|
||||
return self.freeze
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
|
@ -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"},
|
||||
|
Loading…
Reference in New Issue
Block a user