diff --git a/data/json/npcs/refugee_center/surface_staff/NPC_free_merchant_shopkeep.json b/data/json/npcs/refugee_center/surface_staff/NPC_free_merchant_shopkeep.json index a114564..c27d321 100644 --- a/data/json/npcs/refugee_center/surface_staff/NPC_free_merchant_shopkeep.json +++ b/data/json/npcs/refugee_center/surface_staff/NPC_free_merchant_shopkeep.json @@ -256,6 +256,17 @@ }, { "text": "Can I do anything for the center?", "topic": "TALK_MISSION_LIST" }, { "text": "Let's trade then.", "effect": "start_trade", "topic": "TALK_EVAC_MERCHANT" }, + { + "text": "Can I get a discount?", + "topic": "TALK_DONE", + "condition": { "compare_int": [ { "u_val": "sold" }, { "const": 1000 } ], "op": ">=" } + }, + { + "text": "Forget I ever sold you anything!", + "topic": "TALK_NONE", + "effect": { "arithmetic": [ { "u_val": "sold" }, { "const": 0 } ], "op": "=" }, + "condition": { "compare_int": [ { "u_val": "sold" }, { "const": 0 } ], "op": ">" } + }, { "text": "I figured you might be looking for some help…", "topic": "TALK_NONE", @@ -275,7 +286,7 @@ { "id": "TALK_EVAC_MERCHANT", "type": "talk_topic", - "dynamic_line": { "u_is_wearing": "badge_marshal", "yes": "Welcome marshal…", "no": "Welcome…" } + "dynamic_line": { "compare_int": [ { "u_val": "sold" }, { "const": 1000 } ], "op": ">=", "yes": "Welcome, big spender…", "no": "Welcome…" } }, { "id": "TALK_EVAC_MERCHANT_NEW",