mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-21 11:18:08 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user