Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "<GREET>": ["Good to see you again."], // what's played when starting conversation with NPC
- "<FIRST_GREET>": [ // what's played when starting the first conversion with NPC, optional
- "Greetings! I am {SELF.name}. ", // {...} are variables that will be evaluated at run time
- "What's that, you are looking for trade?",
- "I may not have much, but please take a look. "
- ],
- "<TRADER>": { // this tag marks the NPC as available for trade. Inventory generation and such is hardcoded for now...
- "<TRADE_START>": "Show me what you got." // the choice in the main decision branch that results in trading
- },
- "<QUEST>help wanted": { // quest marker
- "<QUEST_REQS>": { // requirements
- "<ITEMS>": {
- "junk": 30,
- "root_fruit": 4
- }
- },
- "<QUEST_REWARDS>": { // reward
- "seeds": 10
- },
- "<QUEST_INQUIRE>": "Is there anything I can help you with?",
- "<STORY>": [ // what NPC says when inquired about this quest
- "Before I found this place, I was a travelling merchant.",
- "This place is nice... peaceful... I like it here.",
- "I know I don't have much, but I want to help with what I can.",
- "I want to set up a bigger shop, with more resources and supplies. But... I need some initial capital to get started. Can you help me?",
- "<SHOW_QUEST_REQ>" // say the quest requirement
- ],
- "<ACCEPT> I'll see what I can do.": [ // the choice available to player that correspond to accepting the quest
- "You have my thanks. I pray for your safe return." // what the NPC says in response
- ],
- "<DECLINE> Not interested.": [ // choice for decline
- "I see... that's understandable. I'll try to find someone else."
- ],
- "<MEET_REQS> Here, I got everything.":[ // here is an option that is only available when the quest requirement are met
- "Thank you, thank you so much!",
- "Please, take these as a token of my gratitude. I'll get started on the expansion right away",
- "<QUEST_COMPLETE>", // this marks the quest as complete, that quest option will no longer show up
- "<SET> {PERSONAL.vendorLevel} = 1", // sets a variable to value
- "<SET> {RELATION} += 15"
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement