From c782a98e7e1cda2f4e7a1f1ad905bcedaabcbb80 Mon Sep 17 00:00:00 2001 From: "Z. Cliffe Schreuders" Date: Sat, 8 Nov 2025 12:31:31 +0000 Subject: [PATCH] Refactor Equipment Officer NPC dialogue and inventory interactions - Streamlined conversation flow for the Equipment Officer NPC, enhancing player engagement with clearer options for item inquiries. - Added a new option to show specialist items, improving inventory management. - Removed redundant trust level increments to simplify interaction logic. - Updated exit conversation handling for a more polished user experience. --- scenarios/ink/equipment-officer.ink | 35 +++++++++++------------------ 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/scenarios/ink/equipment-officer.ink b/scenarios/ink/equipment-officer.ink index 068a404..1588ec5 100644 --- a/scenarios/ink/equipment-officer.ink +++ b/scenarios/ink/equipment-officer.ink @@ -2,29 +2,28 @@ // NPC that demonstrates container-based item giving // Shows all held items through the container minigame UI -VAR trust_level = 0 -VAR has_lockpick = false -VAR has_workstation = false -VAR has_keycard = false === start === # speaker:npc Welcome to equipment supply. I have various tools available. What can I help you with? -~ trust_level = trust_level + 1 -> hub === hub === -{trust_level >= 1: - * [Show me what you have available] - -> show_inventory -} - -* [Tell me about your equipment] +* [Tell me about your equipment] I'd like to know more. -> about_equipment -* [I'll come back later] - -> goodbye ++ [Show me what you have available] + -> show_inventory + +* [Show me your specialist items] + -> show_inventory_filtered + ++ [I'll come back later] #exit_conversation + # speaker:npc + Come back when you need something! + +-> hub === show_inventory === # speaker:npc @@ -42,14 +41,6 @@ Let me know if you need access devices too! === about_equipment === We supply equipment for fieldwork - lockpicking kits for access, workstations for analysis, and keycards for security. All essential tools for the job. -~ trust_level = trust_level + 1 -+ [Show me what you have] - -> show_inventory -+ [Never mind] - -> hub +-> hub -=== goodbye === -# speaker:npc -Come back when you need something! --> END