-
Notifications
You must be signed in to change notification settings - Fork 44
Shopkeep dialog
jjppof edited this page Feb 5, 2023
·
4 revisions
Database file for shopkeep dialogs. See an example. This json file is an array of objects, each object corresponds to a shopkeep dialog.
-
key_name[string]: shopkeep dialog unique key_name. -
messages[array]: list of dialogs that this shopkeep will start. Each item on this list has to be an object:-
key[string]: the dialog key. Must be one of the below. All keys must be set."welcome""artifacts_menu""repair_menu""buy_select""sell_select""repair_select""character_select""equip_now""cant_equip""equip_compliment""buy_quantity""inventory_full""stack_full""after_buy""sell_equipped_cursed""sell_follow_up""sell_quantity_select""sell_quantity_confirm""sell_current""sell_normal""sell_artifact""cant_sell_important""cant_sell_equipped_cursed""decline_sell_normal""decline_sell_artifact""after_sell_normal""after_sell_artifact""game_ticket""game_ticket_select""game_ticket_decline""repair_decline""cant_repair""repair_deal""repair_deal_accept""repair_deal_decline""repair_done""repair_follow_up""cancel_option""not_enough_coins""no_artifacts""goodbye"
-
text[string]: the actual dialog message to the corresponding key. This property accepts the following placeholders in the text:${PRICE}for item price,${HERO}for hero name, and${ITEM}for item name.
-
- Home
- Introduction for developers
- Tutorials
- Game initialization settings
- Map settings
-
Game Events
- Add item to party event
- Audio play event
- Battle event
- Branch event
- Camera fade event
- Camera follow event
- Camera move event
- Camera shake event
- Casting aura event
- Change collision layer event
- Char animation play event
- Char blend mode event
- Char exp event
- Char fall event
- Char hue event
- Char item manipulation event
- Char level change event
- Char rotation event
- Char shadow visibility event
- Char tween position event
- Chest event
- Colorize char event
- Colorize map event
- Control bgm event
- Create storage var event
- Custom collision body event
- Destroyer event
- Dialog event
- Djinn get event
- Djinn set status event
- Emoticon event
- Event activation event
- Event caller event
- Event holder event
- Event loop event
- Exit Sand mode event
- Face direction event
- Flame char event
- Generic sprite event
- Grant ability event
- IO anim play event
- IO tween position event
- Item checks event
- Jump event
- Layer tween event
- Layer visibility event
- Look event
- Main chars join split event
- Map blend mode event
- Map opacity event
- Move event
- Outline char event
- Particles event
- Party join event
- Permanent status event
- Psynergy stone event
- Set char activation event
- Set char collision event
- Set char visibility event
- Set IO activation event
- Set IO collision event
- Set IO visibility event
- Set NPC collision event
- Set party coins event
- Set value event
- Storage change event
- Summon event
- Teleport event
- Tile event manage event
- Timer event
- Tint char event
- Databases
- Code reference