Advertisement
Merxlc

events.xml

Mar 18th, 2021 (edited)
504
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <events>
  2.  
  3.   <event name="TEST_EVENT_1">
  4.     <name>Test Event 1</name>
  5.     <eventDriver>
  6.  
  7.       <text>event 1</text>
  8.  
  9.       <dialogueBox>
  10.         <text>This is a dialogue box!</text>
  11.       </dialogueBox>
  12.  
  13.       <choice>
  14.         <option>Option 1</option>
  15.         <option>Option 2</option>
  16.         <option>Option 3</option>
  17.         <result id="Option 1">
  18.           <text>You picked option 1!</text>
  19.         </result>
  20.         <result id="Option 2">
  21.           <text>You picked option 2!</text>
  22.         </result>
  23.         <result id="Option 3">
  24.           <text>You picked option 3!</text>
  25.           <rewardBox>
  26.             <item>TEST_ITEM_1</item>
  27.             <gold>25</gold>
  28.           </rewardBox>
  29.         </result>
  30.       </choice>
  31.  
  32.     </eventDriver>
  33.   </event>
  34.  
  35.   <event name="TEST_EVENT_2">
  36.     <name>Test Event 2</name>
  37.     <eventDriver>
  38.  
  39.       <text>event 2</text>
  40.  
  41.     </eventDriver>
  42.   </event>
  43.  
  44. </events>
Advertisement
RAW Paste Data Copied
Advertisement