- Joined
- May 5, 2020
- Messages
- 184
- Reaction score
- 78
- First Language
- French
- Primarily Uses
- RMMV
Hello!
I'm at the stage where I need to code my NPC, and decided to start with my merchants (apothecary, blacksmith, innkeeper, etc).
I'd like some input, so that I code things right from the get-go: is it better to put all the merchant code in a common event, or in the event itself with multiple event pages?
Details:
My gut feeling tells me everything should be broken down in a common event, but then I'm starting to worry how I would be able to do cut scenes and move the NPCs around. For instance: when renting a room, the Innkeeper will walk you to the room and unlock the door for you.
Thoughts?
I'm at the stage where I need to code my NPC, and decided to start with my merchants (apothecary, blacksmith, innkeeper, etc).
I'd like some input, so that I code things right from the get-go: is it better to put all the merchant code in a common event, or in the event itself with multiple event pages?
Details:
- There are 4 levels of standing with each merchant, depending how much they like you (which can be increased by doing side-quests for them).
- Each merchant offer 3 branches for text:
- Trade (buy and sell stuff),
- Chat (tell me about yourself),
- Quest (got anything for me to do?)
- Each text branch expands with higher standing with the merchant. For instance:
- Trade: at standing level 1, you can buy a health potion. at level 4, you have access to invisibility potion, various poisons, herbs to remove KO, etc.
- Chat: at standing level 1, chat will only give chit-chat text such as "I'm NPC 123 and been living in this village all my life". At standing level 4, you get multiple sub-options, taking you down the rabbit hole of their lives, siblings, who they love, they view of the world, etc.
My gut feeling tells me everything should be broken down in a common event, but then I'm starting to worry how I would be able to do cut scenes and move the NPCs around. For instance: when renting a room, the Innkeeper will walk you to the room and unlock the door for you.
Thoughts?