Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]3. NPC multi-tile butchery activity #33056

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions data/json/npcs/TALK_COMMON_ALLY.json
Original file line number Diff line number Diff line change
Expand Up @@ -741,16 +741,28 @@
"effect": "sort_loot"
},
{
"text": "Please work on any unfinished construction task that you know how to finish.",
"text": "Please do any construction work that you can.",
"topic": "TALK_DONE",
"condition": { "not": "npc_has_activity" },
"effect": "do_construction"
},
{
"text": "Please work on any contruction blueprint zones nearby.",
"text": "Please chop logs into planks.",
"topic": "TALK_DONE",
"condition": { "not": "npc_has_activity" },
"effect": "do_blueprint_construction"
"effect": "do_chop_plank"
},
{
"text": "Please butcher any corpses that you can.",
"topic": "TALK_DONE",
"condition": { "not": "npc_has_activity" },
"effect": "do_butcher"
},
{
"text": "Please do some farming work.",
"topic": "TALK_DONE",
"condition": { "not": "npc_has_activity" },
"effect": "do_farming"
}
]
},
Expand Down
49 changes: 46 additions & 3 deletions data/json/player_activities.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,28 @@
"no_resume": true
},
{
"id": "ACT_BLUEPRINT_CONSTRUCTION",
"id": "ACT_MULTIPLE_CHOP_PLANKS",
"type": "activity_type",
"activity_level": "ACTIVE_EXERCISE",
"verb": "constructing",
"activity_level": "EXTRA_EXERCISE",
"verb": "chopping logs",
"suspendable": false,
"based_on": "neither",
"no_resume": true
},
{
"id": "ACT_MULTIPLE_BUTCHER",
"type": "activity_type",
"activity_level": "MODERATE_EXERCISE",
"verb": "butchering",
"suspendable": false,
"based_on": "neither",
"no_resume": true
},
{
"id": "ACT_TIDY_UP",
"type": "activity_type",
"activity_level": "MODERATE_EXERCISE",
"verb": "tidying up",
"suspendable": false,
"based_on": "neither",
"no_resume": true
Expand Down Expand Up @@ -306,6 +324,24 @@
"based_on": "neither",
"no_resume": true
},
{
"id": "ACT_FETCH_REQUIRED",
"type": "activity_type",
"activity_level": "MODERATE_EXERCISE",
"verb": "fetching components",
"suspendable": false,
"based_on": "neither",
"no_resume": true
},
{
"id": "ACT_MULTIPLE_FARM",
"type": "activity_type",
"activity_level": "ACTIVE_EXERCISE",
"verb": "farming",
"suspendable": false,
"based_on": "neither",
"no_resume": true
},
{
"id": "ACT_PLANT_PLOT",
"type": "activity_type",
Expand Down Expand Up @@ -533,6 +569,13 @@
"verb": "drilling",
"based_on": "speed"
},
{
"id": "ACT_CHURN",
"type": "activity_type",
"activity_level": "EXTRA_EXERCISE",
"verb": "churning earth",
"based_on": "time"
},
{
"id": "ACT_DIG",
"type": "activity_type",
Expand Down
Loading