Newer
Older
TheVengeance-Project-IADE-Unity2D / Assets / Scripts / Dialogue / StoryDatas / BlackSmith_Introduction.ink
VAR has_met_player = false
VAR npc_name = "NPC"

EXTERNAL OpenShop()

{has_met_player:
    -> repeat_conversation
- else:
    -> blacksmith_intro
}

// Blacksmith introduction
=== blacksmith_intro ===
{npc_name}: Ah, a new face! Welcome to my forge, traveler. I've been shaping steel for many years, but it's not often I see someone with such potential. My name's {npc_name}. If your weapons or armor need strengthening, you've come to the right place.
{npc_name}: So, tell me... Do you need something upgraded?

~ has_met_player = true // Update the variable when the player meets the NPC for the first time.

-> upgrade_options

=== repeat_conversation ===
{npc_name}: Back for more? What can I do for you this time?
-> upgrade_options

// Upgrade Options
=== upgrade_options ===
* Yes, I’d like to do some upgrades. 
-> open_upgrades

* Not right now, just browsing. -> browse

// Open the Upgrade Store    
=== open_upgrades ===
~ OpenShop()
-> DONE

// Get Back Later
=== browse ===
{npc_name}: Take your time. If you change your mind, I’ll be right here.
-> DONE