Update default_farmer.lua
This commit is contained in:
committed by
GitHub
parent
b73ea52c95
commit
9842ce6f8f
@ -36,7 +36,11 @@ local farmer_def = {
|
|||||||
{
|
{
|
||||||
[1] =
|
[1] =
|
||||||
{
|
{
|
||||||
action = npc.actions.cmd.WALK_STEP,
|
action = npc.actions.cmd.WALK_TO_POS,
|
||||||
|
args = {
|
||||||
|
node = "farming:cotton_3",
|
||||||
|
walkable = true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
[2] =
|
[2] =
|
||||||
{
|
{
|
||||||
@ -67,7 +71,10 @@ local farmer_def = {
|
|||||||
{
|
{
|
||||||
[1] =
|
[1] =
|
||||||
{
|
{
|
||||||
action = npc.actions.cmd.WALK_STEP,
|
action = npc.actions.cmd.WALK_TO_POS,
|
||||||
|
args = {
|
||||||
|
node = "farming:wheat_8",
|
||||||
|
walkable = true
|
||||||
},
|
},
|
||||||
[2] =
|
[2] =
|
||||||
{
|
{
|
||||||
@ -92,7 +99,7 @@ local farmer_def = {
|
|||||||
{
|
{
|
||||||
dir = "random"
|
dir = "random"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -100,4 +107,4 @@ local farmer_def = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
-- Register occupation
|
-- Register occupation
|
||||||
npc.occupations.register_occupation("farmer", farmer_def)
|
npc.occupations.register_occupation("default_farmer", farmer_def)
|
||||||
|
Reference in New Issue
Block a user