Skip to content

Commit

Permalink
Scope lighthouse quest variables appropriately (#73097)
Browse files Browse the repository at this point in the history
  • Loading branch information
RenechCDDA authored Apr 23, 2024
1 parent 6a5a9b8 commit 2e32db9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions data/json/npcs/Lighthouse_Family/NPC_lighthouse_man.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@
"topic": "TALK_lighthouse_man_cleaned",
"condition": {
"and": [
{ "npc_has_var": "count_cleaning_lighthouse_man", "value": "0" },
{ "math": [ "n_count_cleaning_lighthouse_man", "==", "0" ] },
"at_safe_space",
{ "npc_at_om_location": "lighthouse_ground" }
]
},
"effect": { "math": [ "npc_count_cleaning_lighthouse_man", "++" ] }
"effect": { "math": [ "n_count_cleaning_lighthouse_man", "++" ] }
},
{
"text": "Yes. First floor is clear.",
Expand All @@ -146,7 +146,7 @@
{ "npc_at_om_location": "lighthouse_z1" }
]
},
"effect": { "math": [ "npc_count_cleaning_lighthouse_man", "++" ] }
"effect": { "math": [ "n_count_cleaning_lighthouse_man", "++" ] }
},
{
"text": "Yes. Second floor is clear.",
Expand All @@ -158,7 +158,7 @@
{ "npc_at_om_location": "lighthouse_z2" }
]
},
"effect": { "math": [ "npc_count_cleaning_lighthouse_man", "++" ] }
"effect": { "math": [ "n_count_cleaning_lighthouse_man", "++" ] }
},
{
"text": "Yes. Third floor is clear.",
Expand All @@ -170,7 +170,7 @@
{ "npc_at_om_location": "lighthouse_z3" }
]
},
"effect": { "math": [ "npc_count_cleaning_lighthouse_man", "++" ] }
"effect": { "math": [ "n_count_cleaning_lighthouse_man", "++" ] }
},
{
"text": "Yes. Fourth floor is clear.",
Expand All @@ -182,7 +182,7 @@
{ "npc_at_om_location": "lighthouse_z4" }
]
},
"effect": { "math": [ "npc_count_cleaning_lighthouse_man", "++" ] }
"effect": { "math": [ "n_count_cleaning_lighthouse_man", "++" ] }
},
{
"text": "Yes. Top floor is clear.",
Expand All @@ -193,7 +193,7 @@
{ "npc_at_om_location": "lighthouse_z5" }
]
},
"effect": { "math": [ "npc_count_cleaning_lighthouse_man", "++" ] },
"effect": { "math": [ "n_count_cleaning_lighthouse_man", "++" ] },
"topic": "TALK_lighthouse_man_cleaned_done"
},
{
Expand All @@ -205,7 +205,7 @@
{ "npc_at_om_location": "lighthouse_ground" }
]
},
"effect": { "math": [ "npc_count_cleaning_lighthouse_man", "++" ] },
"effect": { "math": [ "n_count_cleaning_lighthouse_man", "++" ] },
"topic": "TALK_MISSION_INQUIRE"
},
{ "text": "Not yet.", "topic": "TALK_DONE" }
Expand Down Expand Up @@ -353,7 +353,7 @@
"effect": [
"follow_only",
{ "npc_first_topic": "TALK_lighthouse_man_cleaning" },
{ "math": [ "npc_count_cleaning_lighthouse_man", "=", "0" ] }
{ "math": [ "n_count_cleaning_lighthouse_man", "=", "0" ] }
]
},
"end": {
Expand Down

0 comments on commit 2e32db9

Please sign in to comment.