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
|
end
|
||||||
|
|
||||||
return self.freeze
|
return self.freeze
|
||||||
end
|
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -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"},
|
||||||
|
Loading…
Reference in New Issue
Block a user