Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.11 KB | None | 0 0
  1. DSPK V04.00 Furcadia
  2.  
  3. (0:0) When everything is starting up,
  4. (5:105) set entry music to 31.
  5. (5:162) make region 9 unwalkable.
  6. (5:212) set silent speech prefix (for spoken commands) to {@}.
  7. (5:250) set message ~crayonPenUp to { 2400 2403 2406 2409 2412 2415 2418 2421 2424 2427 2430 2433 2436 2439 2442 2457 }.
  8. (5:250) set message ~crayonPenDown to { 2401 2404 2407 2410 2413 2416 2419 2422 2425 2428 2431 2434 2437 2440 2443 2458 }.
  9. (5:250) set message ~crayonSpawners to { 2402 2405 2408 2411 2414 2417 2420 2423 2426 2429 2432 2435 2438 2441 2444 2459 }.
  10. (5:250) set message ~nonColors to { item tile null }.
  11. (5:250) set message ~crayonDesc to {[red] 63 They say red has a subconscious effect on all kinds of furries.[orange] 65 This crayon is a good luck charm for joy, warmth, and friendship.[yellow] 70 The cheerful blossoms of dandelions are the same color as your crayon.[lime] 65 This bright green color recalls fresh grasses grown after a rain.[green] 68 Restfulness and security overwhelm you when you observe this crayon.[cyan] 55 This crayon smells like fresh sea breeze on a warm day.[blue] 66 They say deep blue is spiritual color which affects us profoundly.[indigo] 69 Sensitive and intuitive furries find themselves drawn to this crayon.[violet] 66 This non-spectral color stands out from the rest as being special.[pink] 67 This dusty pink crayon gives off an aura of comforting familiarity.[maroon] 61 This crimson crayon smells of mulling spices and cranberries.[brown] 70 Should you dare to lick this crayon, you'll taste delicious chocolate.[white] 66 A gentle hint of blue gives this crayon the look of powdered snow.[black] 68 Light around this crayon seems to get pulled into its inky darkness.[gray] 68 Holding this crayon gives you no strong feelings one way or another.[eraser] 78 This rubbery tool has a pleasant texture, but it gives you an ominous feeling.}.
  12. (5:250) set message ~crayonInfo to {[ red 2400 2401 2402 tile 180 148 **** **** **** item 3 2463 2464 2465 **** **** 3 ][ yellow 2403 2404 2405 tile 182 146 **** **** **** item 1157 2460 2461 2462 **** **** 0 ][ cyan 2406 2407 2408 tile 184 150 **** **** **** item 1274 2481 2482 2483 **** **** 2 ][ orange 2409 2410 2411 tile 181 147 **** **** **** item 3 2478 2479 2780 **** **** 0 ][ green 2412 2413 2414 tile 500 144 **** **** **** item 1157 804 805 806 **** **** 1 ][ indigo 2415 2416 2417 tile 185 155 **** **** **** item 1274 2454 2455 2456 **** **** 0 ][ lime 2418 2419 2420 tile 502 145 **** **** **** item 3 2484 2485 2486 **** **** 2 ][ blue 2421 2422 2423 tile 186 151 **** **** **** item 1157 2490 2491 2492 **** **** 2 ][ violet 2424 2425 2426 tile 187 212 **** **** **** item 1274 2493 2494 2495 **** **** 0 ][ pink 2427 2428 2429 tile 191 149 **** **** **** item 3 2466 2467 2468 **** **** 2 ][ maroon 2430 2431 2432 tile 189 153 **** **** **** item 1157 2472 2473 2474 **** **** 0 ][ brown 2433 2434 2435 tile 188 32 **** **** **** item 1274 825 826 827 **** **** 1 ][ white 2436 2437 2438 tile 501 152 **** **** **** item 3 2469 2470 2471 **** **** 1 ][ black 2439 2440 2441 tile 157 156 **** **** **** item 1157 2487 2488 2489 **** **** 1 ][ gray 2442 2443 2444 tile 503 154 **** **** **** item 1274 2475 2476 2477 **** **** 2 ][ eraser 2457 2458 2459 tile 168 164 **** **** **** item 1274 0 0 0 **** **** 0 ]}.
  13. (5:250) set message ~crayons to { }.
  14. (5:258) take message ~crayons and add message ~crayonPenUp onto the end of it.
  15. (5:258) take message ~crayons and add message ~crayonPenDown onto the end of it.
  16. (5:250) set message ~crayonOrEmptyPaws to { 0}.
  17. (5:258) take message ~crayonOrEmptyPaws and add message ~crayons onto the end of it.
  18. (5:250) set message ~noInput to {@getcrayon}.
  19.  
  20. (0:9) When a furre arrives in the dream,
  21. (5:15) move the triggering furre to (55,31), or to someplace nearby if it's occupied.
  22. (5:252) set message ~newComer to the triggering furre's name.
  23. (5:201) emit message {~newComer has arrived to color the kingdom!} to any furre present.
  24. (5:200) emit message {Welcome! This dream is under construction but please enjoy it.} to the triggering furre.
  25. (5:200) emit message {Bump a crayon box to grab a crayon, and use it to draw on the floor. Use the crayon again to stop drawing. Type @crayoninfo for more!} to the triggering furre.
  26. ***Initial Pheo Info*
  27. (5:600) memorize that the PhoenixSpeak info {ITEM-HELD} about the triggering furre will now be 0.
  28. (5:600) memorize that the PhoenixSpeak info {COLOR-PENUP} about the triggering furre will now be 0.
  29. (5:600) memorize that the PhoenixSpeak info {COLOR-PENDOWN} about the triggering furre will now be 0.
  30. (5:600) memorize that the PhoenixSpeak info {CRAYON-BOX} about the triggering furre will now be 0.
  31. (5:600) memorize that the PhoenixSpeak info {TILE-1} about the triggering furre will now be 168.
  32. (5:600) memorize that the PhoenixSpeak info {TILE-2} about the triggering furre will now be 164.
  33. (5:600) memorize that the PhoenixSpeak info {TILE-3} about the triggering furre will now be 168.
  34. (5:600) memorize that the PhoenixSpeak info {TILE-4} about the triggering furre will now be 168.
  35. (5:600) memorize that the PhoenixSpeak info {TILE-5} about the triggering furre will now be 168.
  36. (5:600) memorize that the PhoenixSpeak info {ITEM-1} about the triggering furre will now be 3.
  37. (5:600) memorize that the PhoenixSpeak info {ITEM-2} about the triggering furre will now be 3.
  38. (5:600) memorize that the PhoenixSpeak info {ITEM-3} about the triggering furre will now be 3.
  39. (5:600) memorize that the PhoenixSpeak info {ITEM-4} about the triggering furre will now be 3.
  40. (5:600) memorize that the PhoenixSpeak info {ITEM-5} about the triggering furre will now be 3.
  41. (5:600) memorize that the PhoenixSpeak info {ITEM-6} about the triggering furre will now be 3.
  42. (5:603) memorize that the PhoenixSpeak info {COLOR-NAME} about the triggering furre will now be {null}.
  43. (5:603) memorize that the PhoenixSpeak info {COLOR-DESC} about the triggering furre will now be {null}.
  44.  
  45. (0:9) When a furre arrives in the dream,
  46. (1:10) and they are the Dream owner,
  47. (5:15) move the triggering furre to (108,52), or to someplace nearby if it's occupied.
  48.  
  49. *Test area door*
  50. (0:7) When someone moves into position (106,50),
  51. (1:10) and they are the Dream owner,
  52. (5:14) move the triggering furre to (108,51) if there's nobody already there.
  53. (0:7) When someone moves into position (108,51),
  54. (1:10) and they are the Dream owner,
  55. (5:14) move the triggering furre to (106,50) if there's nobody already there.
  56.  
  57.  
  58. *signs*
  59. (0:7) When someone moves into position (50,33),
  60. (5:200) emit message {Bump into a crayon box to get a magical crayon. Use (ctrl+U) the crayon to start drawing on blank floor tiles. Type @crayoninfo for more.} to the triggering furre.
  61. (0:7) When someone moves into position (58,31),
  62. (5:200) emit message {Drop magic crayons on rainbow sigils to store them, otherwise they disappear. But you can always just get another! Type @crayoninfo for more.} to the triggering furre.
  63. (0:7) When someone moves into position (52,37),
  64. (5:200) emit message {This way for even more colors of crayon.} to the triggering furre.
  65.  
  66. *Aquire info*
  67. (0:1) Whenever someone moves,
  68. (5:312) set variable %rand_3 to the total of rolling 1 dice with 3 sides plus 0.
  69. (5:600) memorize that the PhoenixSpeak info {RAND-3} about the triggering furre will now be %rand_3.
  70.  
  71. (0:1) Whenever someone moves,
  72. (5:317) set variable %item_held to the number of the item in the triggering furre's paws.
  73. (5:600) memorize that the PhoenixSpeak info {ITEM-HELD} about the triggering furre will now be %item_held.
  74.  
  75. (0:15) When someone uses the get/drop command,
  76. (5:317) set variable %item_held to the number of the item in the triggering furre's paws.
  77. (5:600) memorize that the PhoenixSpeak info {ITEM-HELD} about the triggering furre will now be %item_held.
  78.  
  79. (0:14) When someone picks up any item,
  80. (5:317) set variable %item_held to the number of the item in the triggering furre's paws.
  81. (5:600) memorize that the PhoenixSpeak info {ITEM-HELD} about the triggering furre will now be %item_held.
  82.  
  83. (0:1) Whenever someone moves,
  84. (5:610) remember the PhoenixSpeak info {ITEM-HELD} about the triggering furre, and put it in variable %item_held.
  85. (5:610) remember the PhoenixSpeak info {COLOR-PENUP} about the triggering furre, and put it in variable %COLORpenUp.
  86. (5:610) remember the PhoenixSpeak info {COLOR-PENDOWN} about the triggering furre, and put it in variable %COLORpenDown.
  87. (5:610) remember the PhoenixSpeak info {CRAYON-BOX} about the triggering furre, and put it in variable %CRAYONbox.
  88. (5:610) remember the PhoenixSpeak info {TILE-1} about the triggering furre, and put it in variable %TILE1.
  89. (5:610) remember the PhoenixSpeak info {TILE-2} about the triggering furre, and put it in variable %TILE2.
  90. (5:610) remember the PhoenixSpeak info {TILE-3} about the triggering furre, and put it in variable %TILE3.
  91. (5:610) remember the PhoenixSpeak info {TILE-4} about the triggering furre, and put it in variable %TILE4.
  92. (5:610) remember the PhoenixSpeak info {TILE-5} about the triggering furre, and put it in variable %TILE5.
  93. (5:610) remember the PhoenixSpeak info {ITEM-1} about the triggering furre, and put it in variable %ITEM1.
  94. (5:610) remember the PhoenixSpeak info {ITEM-2} about the triggering furre, and put it in variable %ITEM2.
  95. (5:610) remember the PhoenixSpeak info {ITEM-3} about the triggering furre, and put it in variable %ITEM3.
  96. (5:610) remember the PhoenixSpeak info {ITEM-4} about the triggering furre, and put it in variable %ITEM4.
  97. (5:610) remember the PhoenixSpeak info {ITEM-5} about the triggering furre, and put it in variable %ITEM5.
  98. (5:610) remember the PhoenixSpeak info {ITEM-6} about the triggering furre, and put it in variable %ITEM6.
  99. (5:613) remember the PhoenixSpeak info {COLOR-NAME} about the triggering furre, and put it in message ~COLORname.
  100. (5:613) remember the PhoenixSpeak info {COLOR-DESC} about the triggering furre, and put it in message ~COLORdesc.
  101. (5:610) remember the PhoenixSpeak info {RAND-3} about the triggering furre, and put it in variable %rand_3.
  102.  
  103. (0:30) When someone says anything,
  104. (5:610) remember the PhoenixSpeak info {ITEM-HELD} about the triggering furre, and put it in variable %item_held.
  105. (5:610) remember the PhoenixSpeak info {COLOR-PENUP} about the triggering furre, and put it in variable %COLORpenUp.
  106. (5:610) remember the PhoenixSpeak info {COLOR-PENDOWN} about the triggering furre, and put it in variable %COLORpenDown.
  107. (5:610) remember the PhoenixSpeak info {CRAYON-BOX} about the triggering furre, and put it in variable %CRAYONbox.
  108. (5:610) remember the PhoenixSpeak info {TILE-1} about the triggering furre, and put it in variable %TILE1.
  109. (5:610) remember the PhoenixSpeak info {TILE-2} about the triggering furre, and put it in variable %TILE2.
  110. (5:610) remember the PhoenixSpeak info {TILE-3} about the triggering furre, and put it in variable %TILE3.
  111. (5:610) remember the PhoenixSpeak info {TILE-4} about the triggering furre, and put it in variable %TILE4.
  112. (5:610) remember the PhoenixSpeak info {TILE-5} about the triggering furre, and put it in variable %TILE5.
  113. (5:610) remember the PhoenixSpeak info {ITEM-1} about the triggering furre, and put it in variable %ITEM1.
  114. (5:610) remember the PhoenixSpeak info {ITEM-2} about the triggering furre, and put it in variable %ITEM2.
  115. (5:610) remember the PhoenixSpeak info {ITEM-3} about the triggering furre, and put it in variable %ITEM3.
  116. (5:610) remember the PhoenixSpeak info {ITEM-4} about the triggering furre, and put it in variable %ITEM4.
  117. (5:610) remember the PhoenixSpeak info {ITEM-5} about the triggering furre, and put it in variable %ITEM5.
  118. (5:610) remember the PhoenixSpeak info {ITEM-6} about the triggering furre, and put it in variable %ITEM6.
  119. (5:613) remember the PhoenixSpeak info {COLOR-NAME} about the triggering furre, and put it in message ~COLORname.
  120. (5:613) remember the PhoenixSpeak info {COLOR-DESC} about the triggering furre, and put it in message ~COLORdesc.
  121. (5:610) remember the PhoenixSpeak info {RAND-3} about the triggering furre, and put it in variable %rand_3.
  122.  
  123. (0:14) When someone picks up any item,
  124. (5:610) remember the PhoenixSpeak info {ITEM-HELD} about the triggering furre, and put it in variable %item_held.
  125. (5:610) remember the PhoenixSpeak info {COLOR-PENUP} about the triggering furre, and put it in variable %COLORpenUp.
  126. (5:610) remember the PhoenixSpeak info {COLOR-PENDOWN} about the triggering furre, and put it in variable %COLORpenDown.
  127. (5:610) remember the PhoenixSpeak info {CRAYON-BOX} about the triggering furre, and put it in variable %CRAYONbox.
  128. (5:610) remember the PhoenixSpeak info {TILE-1} about the triggering furre, and put it in variable %TILE1.
  129. (5:610) remember the PhoenixSpeak info {TILE-2} about the triggering furre, and put it in variable %TILE2.
  130. (5:610) remember the PhoenixSpeak info {TILE-3} about the triggering furre, and put it in variable %TILE3.
  131. (5:610) remember the PhoenixSpeak info {TILE-4} about the triggering furre, and put it in variable %TILE4.
  132. (5:610) remember the PhoenixSpeak info {TILE-5} about the triggering furre, and put it in variable %TILE5.
  133. (5:610) remember the PhoenixSpeak info {ITEM-1} about the triggering furre, and put it in variable %ITEM1.
  134. (5:610) remember the PhoenixSpeak info {ITEM-2} about the triggering furre, and put it in variable %ITEM2.
  135. (5:610) remember the PhoenixSpeak info {ITEM-3} about the triggering furre, and put it in variable %ITEM3.
  136. (5:610) remember the PhoenixSpeak info {ITEM-4} about the triggering furre, and put it in variable %ITEM4.
  137. (5:610) remember the PhoenixSpeak info {ITEM-5} about the triggering furre, and put it in variable %ITEM5.
  138. (5:610) remember the PhoenixSpeak info {ITEM-6} about the triggering furre, and put it in variable %ITEM6.
  139. (5:613) remember the PhoenixSpeak info {COLOR-NAME} about the triggering furre, and put it in message ~COLORname.
  140. (5:613) remember the PhoenixSpeak info {COLOR-DESC} about the triggering furre, and put it in message ~COLORdesc.
  141. (5:610) remember the PhoenixSpeak info {RAND-3} about the triggering furre, and put it in variable %rand_3.
  142.  
  143. (0:16) When someone uses any item,
  144. (5:610) remember the PhoenixSpeak info {ITEM-HELD} about the triggering furre, and put it in variable %item_held.
  145. (5:610) remember the PhoenixSpeak info {COLOR-PENUP} about the triggering furre, and put it in variable %COLORpenUp.
  146. (5:610) remember the PhoenixSpeak info {COLOR-PENDOWN} about the triggering furre, and put it in variable %COLORpenDown.
  147. (5:610) remember the PhoenixSpeak info {CRAYON-BOX} about the triggering furre, and put it in variable %CRAYONbox.
  148. (5:610) remember the PhoenixSpeak info {TILE-1} about the triggering furre, and put it in variable %TILE1.
  149. (5:610) remember the PhoenixSpeak info {TILE-2} about the triggering furre, and put it in variable %TILE2.
  150. (5:610) remember the PhoenixSpeak info {TILE-3} about the triggering furre, and put it in variable %TILE3.
  151. (5:610) remember the PhoenixSpeak info {TILE-4} about the triggering furre, and put it in variable %TILE4.
  152. (5:610) remember the PhoenixSpeak info {TILE-5} about the triggering furre, and put it in variable %TILE5.
  153. (5:610) remember the PhoenixSpeak info {ITEM-1} about the triggering furre, and put it in variable %ITEM1.
  154. (5:610) remember the PhoenixSpeak info {ITEM-2} about the triggering furre, and put it in variable %ITEM2.
  155. (5:610) remember the PhoenixSpeak info {ITEM-3} about the triggering furre, and put it in variable %ITEM3.
  156. (5:610) remember the PhoenixSpeak info {ITEM-4} about the triggering furre, and put it in variable %ITEM4.
  157. (5:610) remember the PhoenixSpeak info {ITEM-5} about the triggering furre, and put it in variable %ITEM5.
  158. (5:610) remember the PhoenixSpeak info {ITEM-6} about the triggering furre, and put it in variable %ITEM6.
  159. (5:613) remember the PhoenixSpeak info {COLOR-NAME} about the triggering furre, and put it in message ~COLORname.
  160. (5:613) remember the PhoenixSpeak info {COLOR-DESC} about the triggering furre, and put it in message ~COLORdesc.
  161. (5:610) remember the PhoenixSpeak info {RAND-3} about the triggering furre, and put it in variable %rand_3.
  162.  
  163. (0:8) When someone drops any item,
  164. (5:610) remember the PhoenixSpeak info {ITEM-HELD} about the triggering furre, and put it in variable %item_held.
  165. (5:610) remember the PhoenixSpeak info {COLOR-PENUP} about the triggering furre, and put it in variable %COLORpenUp.
  166. (5:610) remember the PhoenixSpeak info {COLOR-PENDOWN} about the triggering furre, and put it in variable %COLORpenDown.
  167. (5:610) remember the PhoenixSpeak info {CRAYON-BOX} about the triggering furre, and put it in variable %CRAYONbox.
  168. (5:610) remember the PhoenixSpeak info {TILE-1} about the triggering furre, and put it in variable %TILE1.
  169. (5:610) remember the PhoenixSpeak info {TILE-2} about the triggering furre, and put it in variable %TILE2.
  170. (5:610) remember the PhoenixSpeak info {TILE-3} about the triggering furre, and put it in variable %TILE3.
  171. (5:610) remember the PhoenixSpeak info {TILE-4} about the triggering furre, and put it in variable %TILE4.
  172. (5:610) remember the PhoenixSpeak info {TILE-5} about the triggering furre, and put it in variable %TILE5.
  173. (5:610) remember the PhoenixSpeak info {ITEM-1} about the triggering furre, and put it in variable %ITEM1.
  174. (5:610) remember the PhoenixSpeak info {ITEM-2} about the triggering furre, and put it in variable %ITEM2.
  175. (5:610) remember the PhoenixSpeak info {ITEM-3} about the triggering furre, and put it in variable %ITEM3.
  176. (5:610) remember the PhoenixSpeak info {ITEM-4} about the triggering furre, and put it in variable %ITEM4.
  177. (5:610) remember the PhoenixSpeak info {ITEM-5} about the triggering furre, and put it in variable %ITEM5.
  178. (5:610) remember the PhoenixSpeak info {ITEM-6} about the triggering furre, and put it in variable %ITEM6.
  179. (5:613) remember the PhoenixSpeak info {COLOR-NAME} about the triggering furre, and put it in message ~COLORname.
  180. (5:613) remember the PhoenixSpeak info {COLOR-DESC} about the triggering furre, and put it in message ~COLORdesc.
  181. (5:610) remember the PhoenixSpeak info {RAND-3} about the triggering furre, and put it in variable %rand_3.
  182.  
  183. *crayoninfo*
  184. (0:32) When someone says something with {@crayoninfo} in it,
  185. (5:200) emit message {What would you like to know about crayons?} to the triggering furre.
  186. (5:200) emit message {@getting - Learn where to find crayons.}.
  187. (5:200) emit message {@getcrayon - Summon a crayon straight to your paws.}.
  188. (5:200) emit message {@using - Learn how to color.}.
  189. (5:200) emit message {@storing - Learn why your crayon disappeared and how to store them.}.
  190. (5:200) emit message {@mycrayon - Fetch information about the crayon you're currently holding.}.
  191.  
  192. (0:32) When someone says something with {@getting} in it,
  193. (5:200) emit message {Bump into a box of crayons, and a magic crayon will appear in your paws matching the color of that box. You can also type @getcrayon followed by a space and color name to summon a crayon.} to the triggering furre.
  194.  
  195. (0:32) When someone says something with {@using} in it,
  196. (5:200) emit message {Use (ctrl+U) a crayon to put it down and color with it. You can then continuously color as you move until you use the item again to lift the crayon. Try coloring the floor and patches of grass. Magic has been gathering as of late, so the crayons may work on even more things in the future!} to the triggering furre.
  197.  
  198. (0:32) When someone says something with {@storing} in it,
  199. (5:200) emit message {Crayons are magical items. As a result, the moment you drop a crayon it's magic is dispelled and it disappears. Tiles with rainbow sigil can hold the magic of individual crayons, so if you'd like to have some colors handy put them on a rainbow sigil. } to the triggering furre.
  200.  
  201. (0:32) When someone says something with {@mycrayon} in it,
  202. (1:175) and message ~crayons does not contain { %item_held } anywhere within it,
  203. (5:200) emit message {You're not holding a crayon. Try typing @getcrayon red}.
  204.  
  205. (0:32) When someone says something with {@mycrayon} in it,
  206. (1:75) and message ~crayonPenUp contains { %item_held } somewhere within it,
  207. (5:200) emit message {You're gingerly holding a magical ~COLORname crayon. ~COLORdesc}.
  208.  
  209. (0:32) When someone says something with {@mycrayon} in it,
  210. (1:75) and message ~crayonPenDown contains { %item_held } somewhere within it,
  211. (5:200) emit message {You're dragging a magical ~COLORname crayon along the ground. ~COLORdesc}.
  212.  
  213. *getcrayon*
  214. (0:32) When someone says something with {@getcrayon} in it,
  215. (1:175) and message ~crayonOrEmptyPaws does not contain { %item_held } anywhere within it,
  216. (5:200) emit message {You can only use "@getcrayon" if your paws are empty or you're already holding a crayon.} to the triggering furre.
  217.  
  218. ***Extract desired color from furre's words*
  219. (0:32) When someone says something with {@getcrayon} in it,
  220. (1:75) and message ~crayonOrEmptyPaws contains { %item_held } somewhere within it,
  221. (5:255) set message ~getcrayonCommand to what the triggering furre just said or emoted.
  222.  
  223. (0:32) When someone says something with {@getcrayon} in it,
  224. (1:75) and message ~crayonOrEmptyPaws contains { %item_held } somewhere within it,
  225. (1:74) and message ~getcrayonCommand matches message ~noInput,
  226. (5:250) set message ~getcrayonCommand to {@getcrayon null}.
  227.  
  228. (0:32) When someone says something with {@getcrayon} in it,
  229. (1:75) and message ~crayonOrEmptyPaws contains { %item_held } somewhere within it,
  230. (5:283) set variable %charasB4GetcrayonCommand to the total number of characters before {@getcrayon} appears in message ~getcrayonCommand (or zero if not found).
  231. (5:274) chop off the beginning of message ~getcrayonCommand, removing the first %charasB4GetcrayonCommand characters of it.
  232. (5:274) chop off the beginning of message ~getcrayonCommand, removing the first 10 characters of it.
  233. (5:277) remove the first word from message ~getcrayonCommand and put it in message ~crayonColorDesired.
  234. (5:274) chop off the beginning of message ~crayonColorDesired, removing the first 1 characters of it.
  235.  
  236. ***Furre error handling*
  237. (0:32) When someone says something with {@getcrayon} in it,
  238. (1:75) and message ~crayonOrEmptyPaws contains { %item_held } somewhere within it,
  239. (1:175) and message ~crayonDesc does not contain {[~crayonColorDesired]} anywhere within it,
  240. (1:175) and message ~nonColors does not contain { ~crayonColorDesired } anywhere within it,
  241. (5:200) emit message {The color "~crayonColorDesired" is not available. vailable colors are red, orange, yellow, lime, green, cyan, blue, violet, pink, maroon, brown, white, black, and gray.} to the triggering furre.
  242.  
  243. (0:32) When someone says something with {@getcrayon} in it,
  244. (1:75) and message ~crayonOrEmptyPaws contains { %item_held } somewhere within it,
  245. (1:175) and message ~crayonDesc does not contain {[~crayonColorDesired]} anywhere within it,
  246. (1:75) and message ~nonColors contains { ~crayonColorDesired } somewhere within it,
  247. (5:200) emit message {Type @getcrayon followed by a space and color name; for example @getcrayon red - Available colors are red, orange, yellow, lime, green, cyan, blue, violet, pink, maroon, brown, white, black, and gray.} to the triggering furre.
  248.  
  249. ***Deliver desired crayon*
  250. (0:32) When someone says something with {@getcrayon} in it,
  251. (1:75) and message ~crayonOrEmptyPaws contains { %item_held } somewhere within it,
  252. (1:75) and message ~crayonDesc contains {[~crayonColorDesired]} somewhere within it,
  253. (1:175) and message ~nonColors does not contain { ~crayonColorDesired } anywhere within it,
  254. (5:283) set variable %getcrayonItemNoStart to the total number of characters before { ~crayonColorDesired } appears in message ~crayonInfo (or zero if not found).
  255. (5:300) set variable %getcrayonItemNoEnd to the value %getcrayonItemNoStart.
  256. (5:302) take variable %getcrayonItemNoStart and add 9 to it.
  257. (5:302) take variable %getcrayonItemNoEnd and add 13 to it.
  258. (5:272) set message ~getcrayonItemNo to be the portion of message ~crayonInfo from position %getcrayonItemNoStart to position %getcrayonItemNoEnd.
  259. (5:282) set variable %COLORpenUp to the first number in ~getcrayonItemNo.
  260. (5:76) place item %COLORpenUp in the triggering furre's paws.
  261. (5:300) set variable %item_held to the value %COLORpenUp.
  262. (5:600) memorize that the PhoenixSpeak info {ITEM-HELD} about the triggering furre will now be %item_held.
  263. (5:600) memorize that the PhoenixSpeak info {COLOR-PENUP} about the triggering furre will now be %COLORpenUp.
  264. ***Aquire crayon penDown state - %COLORpenDown*
  265. (5:283) set variable %penDownStart to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  266. (5:300) set variable %penDownEnd to the value %penDownStart.
  267. (5:302) take variable %penDownStart and add 6 to it.
  268. (5:302) take variable %penDownEnd and add 10 to it.
  269. (5:272) set message ~colorPenDownTemp to be the portion of message ~crayonInfo from position %penDownStart to position %penDownEnd.
  270. (5:282) set variable %COLORpenDown to the first number in ~colorPenDownTemp.
  271. (5:600) memorize that the PhoenixSpeak info {COLOR-PENDOWN} about the triggering furre will now be %COLORpenDown.
  272. ***Aquire crayon box item number - %CRAYONbox*
  273. (5:283) set variable %crayonBoxStart to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  274. (5:300) set variable %crayonBoxEnd to the value %crayonBoxStart.
  275. (5:302) take variable %crayonBoxStart and add 11 to it.
  276. (5:302) take variable %crayonBoxEnd and add 15 to it.
  277. (5:272) set message ~crayonBoxTemp to be the portion of message ~crayonInfo from position %crayonBoxStart to position %crayonBoxEnd.
  278. (5:282) set variable %CRAYONbox to the first number in ~crayonBoxTemp.
  279. (5:600) memorize that the PhoenixSpeak info {CRAYON-BOX} about the triggering furre will now be %CRAYONbox.
  280. ***Aquire tile 1 number - %TILE1*
  281. (5:283) set variable %tile1Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  282. (5:300) set variable %tile1End to the value %tile1Start.
  283. (5:302) take variable %tile1Start and add 21 to it.
  284. (5:302) take variable %tile1End and add 25 to it.
  285. (5:272) set message ~tile1Temp to be the portion of message ~crayonInfo from position %tile1Start to position %tile1End.
  286. (5:282) set variable %TILE1 to the first number in ~tile1Temp.
  287. (5:600) memorize that the PhoenixSpeak info {TILE-1} about the triggering furre will now be %TILE1.
  288. ***Aquire tile 2 number - %TILE2*
  289. (5:283) set variable %tile2Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  290. (5:300) set variable %tile2End to the value %tile2Start.
  291. (5:302) take variable %tile2Start and add 26 to it.
  292. (5:302) take variable %tile2End and add 30 to it.
  293. (5:272) set message ~tile2Temp to be the portion of message ~crayonInfo from position %tile2Start to position %tile2End.
  294. (5:282) set variable %TILE2 to the first number in ~tile2Temp.
  295. (5:600) memorize that the PhoenixSpeak info {TILE-2} about the triggering furre will now be %TILE2.
  296. ***Aquire tile 3 number - %TILE3*
  297. (5:283) set variable %tile3Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  298. (5:300) set variable %tile3End to the value %tile3Start.
  299. (5:302) take variable %tile3Start and add 31 to it.
  300. (5:302) take variable %tile3End and add 35 to it.
  301. (5:272) set message ~tile3Temp to be the portion of message ~crayonInfo from position %tile3Start to position %tile3End.
  302. (5:282) set variable %TILE3 to the first number in ~tile3Temp.
  303. (5:600) memorize that the PhoenixSpeak info {TILE-3} about the triggering furre will now be %TILE3.
  304. ***Aquire tile 4 number - %TILE4*
  305. (5:283) set variable %tile4Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  306. (5:300) set variable %tile4End to the value %tile4Start.
  307. (5:302) take variable %tile4Start and add 36 to it.
  308. (5:302) take variable %tile4End and add 40 to it.
  309. (5:272) set message ~tile4Temp to be the portion of message ~crayonInfo from position %tile4Start to position %tile4End.
  310. (5:282) set variable %TILE4 to the first number in ~tile4Temp.
  311. (5:600) memorize that the PhoenixSpeak info {TILE-4} about the triggering furre will now be %TILE4.
  312. ***Aquire tile 5 number - %TILE5*
  313. (5:283) set variable %tile5Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  314. (5:300) set variable %tile5End to the value %tile5Start.
  315. (5:302) take variable %tile5Start and add 41 to it.
  316. (5:302) take variable %tile5End and add 45 to it.
  317. (5:272) set message ~tile5Temp to be the portion of message ~crayonInfo from position %tile5Start to position %tile5End.
  318. (5:282) set variable %TILE5 to the first number in ~tile5Temp.
  319. (5:600) memorize that the PhoenixSpeak info {TILE-5} about the triggering furre will now be %TILE5.
  320. ***Aquire item 1 number - %ITEM1*
  321. (5:283) set variable %item1Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  322. (5:300) set variable %item1End to the value %item1Start.
  323. (5:302) take variable %item1Start and add 51 to it.
  324. (5:302) take variable %item1End and add 55 to it.
  325. (5:272) set message ~item1Temp to be the portion of message ~crayonInfo from position %item1Start to position %item1End.
  326. (5:282) set variable %ITEM1 to the first number in ~item1Temp.
  327. (5:600) memorize that the PhoenixSpeak info {ITEM-1} about the triggering furre will now be %ITEM1.
  328. ***Aquire item 2 number - %ITEM2*
  329. (5:283) set variable %item2Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  330. (5:300) set variable %item2End to the value %item2Start.
  331. (5:302) take variable %item2Start and add 56 to it.
  332. (5:302) take variable %item2End and add 60 to it.
  333. (5:272) set message ~item2Temp to be the portion of message ~crayonInfo from position %item2Start to position %item2End.
  334. (5:282) set variable %ITEM2 to the first number in ~item2Temp.
  335. (5:600) memorize that the PhoenixSpeak info {ITEM-2} about the triggering furre will now be %ITEM2.
  336. ***Aquire item 3 number - %ITEM3*
  337. (5:283) set variable %item3Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  338. (5:300) set variable %item3End to the value %item3Start.
  339. (5:302) take variable %item3Start and add 61 to it.
  340. (5:302) take variable %item3End and add 65 to it.
  341. (5:272) set message ~item3Temp to be the portion of message ~crayonInfo from position %item3Start to position %item3End.
  342. (5:282) set variable %ITEM3 to the first number in ~item3Temp.
  343. (5:600) memorize that the PhoenixSpeak info {ITEM-3} about the triggering furre will now be %ITEM3.
  344. ***Aquire item 4 number - %ITEM4*
  345. (5:283) set variable %item4Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  346. (5:300) set variable %item4End to the value %item4Start.
  347. (5:302) take variable %item4Start and add 66 to it.
  348. (5:302) take variable %item4End and add 70 to it.
  349. (5:272) set message ~item4Temp to be the portion of message ~crayonInfo from position %item4Start to position %item4End.
  350. (5:282) set variable %ITEM4 to the first number in ~item4Temp.
  351. (5:600) memorize that the PhoenixSpeak info {ITEM-4} about the triggering furre will now be %ITEM4.
  352. ***Aquire item 5 number - %ITEM5*
  353. (5:283) set variable %item5Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  354. (5:300) set variable %item5End to the value %item5Start.
  355. (5:302) take variable %item5Start and add 71 to it.
  356. (5:302) take variable %item5End and add 75 to it.
  357. (5:272) set message ~item5Temp to be the portion of message ~crayonInfo from position %item5Start to position %item5End.
  358. (5:282) set variable %ITEM5 to the first number in ~item5Temp.
  359. (5:600) memorize that the PhoenixSpeak info {ITEM-5} about the triggering furre will now be %ITEM5.
  360. ***Aquire item 6 number - %ITEM6*
  361. (5:283) set variable %item6Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  362. (5:300) set variable %item6End to the value %item6Start.
  363. (5:302) take variable %item6Start and add 76 to it.
  364. (5:302) take variable %item6End and add 80 to it.
  365. (5:272) set message ~item6Temp to be the portion of message ~crayonInfo from position %item6Start to position %item6End.
  366. (5:282) set variable %ITEM6 to the first number in ~item6Temp.
  367. (5:600) memorize that the PhoenixSpeak info {ITEM-6} about the triggering furre will now be %ITEM6.
  368. ***Aquire color name - ~COLORname*
  369. (5:283) set variable %colorNameStart to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  370. (5:300) set variable %colorNameEnd to the value %colorNameStart.
  371. (5:304) take variable %colorNameStart and subtract 6 from it.
  372. (5:272) set message ~COLORname to be the portion of message ~crayonInfo from position %colorNameStart to position %colorNameEnd.
  373. (5:283) set variable %nameCutoffStart to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (orzero if not found).
  374. (5:300) set variable %nameCutoffEnd to the value %nameCutoffStart.
  375. (5:302) take variable %nameCutoffStart and add 81 to it.
  376. (5:302) take variable %nameCutoffEnd and add 82 to it.
  377. (5:272) set message ~colorNameCutoff to be the portion of message ~crayonInfo from position %nameCutoffStart to position %nameCutoffEnd.
  378. (5:282) set variable %nameCutoffLength to the first number in ~colorNameCutoff.
  379. (5:273) chop off the end of message ~COLORname, removing the last %nameCutoffLength characters of it.
  380. (5:274) chop off the beginning of message ~COLORname, removing the first 1 characters of it.
  381. (5:603) memorize that the PhoenixSpeak info {COLOR-NAME} about the triggering furre will now be {~COLORname}.
  382. ***Aquire color desc - ~COLORdesc*
  383. (5:283) set variable %descLengthStart to the total number of characters before {[~COLORname]} appears in message ~crayonDesc (or zero if not found).
  384. (5:300) set variable %descLengthEnd to the value %descLengthStart.
  385. (5:302) take variable %descLengthStart and add 9 to it.
  386. (5:302) take variable %descLengthEnd and add 11 to it.
  387. (5:272) set message ~descLengthTemp to be the portion of message ~crayonDesc from position %descLengthStart to position %descLengthEnd.
  388. (5:282) set variable %descLength to the first number in ~descLengthTemp.
  389. (5:283) set variable %descStart to the total number of characters before {[~COLORname]} appears in message ~crayonDesc (or zero if not found).
  390. (5:302) take variable %descStart and add 12 to it.
  391. (5:300) set variable %descEnd to the value %descStart.
  392. (5:303) take variable %descEnd and add variable %descLength to it.
  393. (5:272) set message ~COLORdesc to be the portion of message ~crayonDesc from position %descStart to position %descEnd.
  394. (5:603) memorize that the PhoenixSpeak info {COLOR-DESC} about the triggering furre will now be {~COLORdesc}.
  395. (5:200) emit message {You mutter the incantation and a ~COLORname crayon appears in your paws.} to the triggering furre.
  396.  
  397.  
  398. *penUp penDown*
  399. (0:19) When someone uses item %COLORpenUp,
  400. (5:8) play sound 101 to the triggering furre.
  401. (5:76) place item %COLORpenDown in the triggering furre's paws.
  402. (5:300) set variable %item_held to the value %COLORpenDown.
  403. (5:600) memorize that the PhoenixSpeak info {ITEM-HELD} about the triggering furre will now be %item_held.
  404.  
  405. (0:19) When someone uses item %COLORpenDown,
  406. (5:8) play sound 102 to the triggering furre.
  407. (5:76) place item %COLORpenUp in the triggering furre's paws.
  408. (5:300) set variable %item_held to the value %COLORpenUp.
  409. (5:600) memorize that the PhoenixSpeak info {ITEM-HELD} about the triggering furre will now be %item_held.
  410.  
  411. *Region 1 - Floor Tile Drawing*
  412. (0:19) When someone uses item %COLORpenUp,
  413. (1:85) and the triggering furre (moved from/is standing in) region 1,
  414. (3:7) whereever the triggering furre was at when the trigger activated,
  415. (5:1) set the floor to %TILE1.
  416.  
  417. (0:26) When someone moves into any space in region 1,
  418. (1:75) and message ~crayons contains { %item_held } somewhere within it,
  419. (1:1002) and they are holding item %COLORpenDown in their paws,
  420. (3:7) whereever the triggering furre was at when the trigger activated,
  421. (5:8) play sound 103 to the triggering furre.
  422. (5:1) set the floor to %TILE1.
  423.  
  424. *Region 4 - Crayon Box*
  425. (0:26) When someone moves into any space in region 4,
  426. (1:175) and message ~crayonOrEmptyPaws does not contain { %item_held } anywhere within it,
  427. (5:200) emit message {To get a crayon, empty your paws.} to the triggering furre.
  428.  
  429. (0:26) When someone moves into any space in region 4,
  430. (1:75) and message ~crayonOrEmptyPaws contains { %item_held } somewhere within it,
  431. (5:351) set variable %crayonBoxBumpped to the X,Y position the triggering furre moved to.
  432. (5:381) set variable %crayonBoxBumpped to the item type at (%crayonBoxBumpped).
  433. (5:283) set variable %penUpStart to the total number of characters before { %crayonBoxBumpped } appears in message ~crayonInfo (or zero if not found).
  434. (5:300) set variable %penDownEnd to the value %penUpStart.
  435. (5:304) take variable %penUpStart and subtract 9 from it.
  436. (5:304) take variable %penDownEnd and subtract 5 from it.
  437. (5:272) set message ~colorPenUpTemp to be the portion of message ~crayonInfo from position %penUpStart to position %penDownEnd.
  438. (5:282) set variable %COLORpenUp to the first number in ~colorPenUpTemp.
  439.  
  440. ***Check if the furre already has the crayon, if they don't then give it to them*
  441. (0:26) When someone moves into any space in region 4,
  442. (1:75) and message ~crayonOrEmptyPaws contains { %item_held } somewhere within it,
  443. (1:1004) and they are not holding item %COLORpenUp in paws,
  444. (5:76) place item %COLORpenUp in the triggering furre's paws.
  445. (5:300) set variable %item_held to the value %COLORpenUp.
  446. (5:600) memorize that the PhoenixSpeak info {ITEM-HELD} about the triggering furre will now be %item_held.
  447. (5:600) memorize that the PhoenixSpeak info {COLOR-PENUP} about the triggering furre will now be %COLORpenUp.
  448. ***Aquire crayon penDown state - %COLORpenDown*
  449. (5:283) set variable %penDownStart to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  450. (5:300) set variable %penDownEnd to the value %penDownStart.
  451. (5:302) take variable %penDownStart and add 6 to it.
  452. (5:302) take variable %penDownEnd and add 10 to it.
  453. (5:272) set message ~colorPenDownTemp to be the portion of message ~crayonInfo from position %penDownStart to position %penDownEnd.
  454. (5:282) set variable %COLORpenDown to the first number in ~colorPenDownTemp.
  455. (5:600) memorize that the PhoenixSpeak info {COLOR-PENDOWN} about the triggering furre will now be %COLORpenDown.
  456. ***Aquire crayon box item number - %CRAYONbox*
  457. (5:283) set variable %crayonBoxStart to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  458. (5:300) set variable %crayonBoxEnd to the value %crayonBoxStart.
  459. (5:302) take variable %crayonBoxStart and add 11 to it.
  460. (5:302) take variable %crayonBoxEnd and add 15 to it.
  461. (5:272) set message ~crayonBoxTemp to be the portion of message ~crayonInfo from position %crayonBoxStart to position %crayonBoxEnd.
  462. (5:282) set variable %CRAYONbox to the first number in ~crayonBoxTemp.
  463. (5:600) memorize that the PhoenixSpeak info {CRAYON-BOX} about the triggering furre will now be %CRAYONbox.
  464. ***Aquire tile 1 number - %TILE1*
  465. (5:283) set variable %tile1Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  466. (5:300) set variable %tile1End to the value %tile1Start.
  467. (5:302) take variable %tile1Start and add 21 to it.
  468. (5:302) take variable %tile1End and add 25 to it.
  469. (5:272) set message ~tile1Temp to be the portion of message ~crayonInfo from position %tile1Start to position %tile1End.
  470. (5:282) set variable %TILE1 to the first number in ~tile1Temp.
  471. (5:600) memorize that the PhoenixSpeak info {TILE-1} about the triggering furre will now be %TILE1.
  472. ***Aquire tile 2 number - %TILE2*
  473. (5:283) set variable %tile2Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  474. (5:300) set variable %tile2End to the value %tile2Start.
  475. (5:302) take variable %tile2Start and add 26 to it.
  476. (5:302) take variable %tile2End and add 30 to it.
  477. (5:272) set message ~tile2Temp to be the portion of message ~crayonInfo from position %tile2Start to position %tile2End.
  478. (5:282) set variable %TILE2 to the first number in ~tile2Temp.
  479. (5:600) memorize that the PhoenixSpeak info {TILE-2} about the triggering furre will now be %TILE2.
  480. ***Aquire tile 3 number - %TILE3*
  481. (5:283) set variable %tile3Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  482. (5:300) set variable %tile3End to the value %tile3Start.
  483. (5:302) take variable %tile3Start and add 31 to it.
  484. (5:302) take variable %tile3End and add 35 to it.
  485. (5:272) set message ~tile3Temp to be the portion of message ~crayonInfo from position %tile3Start to position %tile3End.
  486. (5:282) set variable %TILE3 to the first number in ~tile3Temp.
  487. (5:600) memorize that the PhoenixSpeak info {TILE-3} about the triggering furre will now be %TILE3.
  488. ***Aquire tile 4 number - %TILE4*
  489. (5:283) set variable %tile4Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  490. (5:300) set variable %tile4End to the value %tile4Start.
  491. (5:302) take variable %tile4Start and add 36 to it.
  492. (5:302) take variable %tile4End and add 40 to it.
  493. (5:272) set message ~tile4Temp to be the portion of message ~crayonInfo from position %tile4Start to position %tile4End.
  494. (5:282) set variable %TILE4 to the first number in ~tile4Temp.
  495. (5:600) memorize that the PhoenixSpeak info {TILE-4} about the triggering furre will now be %TILE4.
  496. ***Aquire tile 5 number - %TILE5*
  497. (5:283) set variable %tile5Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  498. (5:300) set variable %tile5End to the value %tile5Start.
  499. (5:302) take variable %tile5Start and add 41 to it.
  500. (5:302) take variable %tile5End and add 45 to it.
  501. (5:272) set message ~tile5Temp to be the portion of message ~crayonInfo from position %tile5Start to position %tile5End.
  502. (5:282) set variable %TILE5 to the first number in ~tile5Temp.
  503. (5:600) memorize that the PhoenixSpeak info {TILE-5} about the triggering furre will now be %TILE5.
  504. ***Aquire item 1 number - %ITEM1*
  505. (5:283) set variable %item1Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  506. (5:300) set variable %item1End to the value %item1Start.
  507. (5:302) take variable %item1Start and add 51 to it.
  508. (5:302) take variable %item1End and add 55 to it.
  509. (5:272) set message ~item1Temp to be the portion of message ~crayonInfo from position %item1Start to position %item1End.
  510. (5:282) set variable %ITEM1 to the first number in ~item1Temp.
  511. (5:600) memorize that the PhoenixSpeak info {ITEM-1} about the triggering furre will now be %ITEM1.
  512. ***Aquire item 2 number - %ITEM2*
  513. (5:283) set variable %item2Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  514. (5:300) set variable %item2End to the value %item2Start.
  515. (5:302) take variable %item2Start and add 56 to it.
  516. (5:302) take variable %item2End and add 60 to it.
  517. (5:272) set message ~item2Temp to be the portion of message ~crayonInfo from position %item2Start to position %item2End.
  518. (5:282) set variable %ITEM2 to the first number in ~item2Temp.
  519. (5:600) memorize that the PhoenixSpeak info {ITEM-2} about the triggering furre will now be %ITEM2.
  520. ***Aquire item 3 number - %ITEM3*
  521. (5:283) set variable %item3Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  522. (5:300) set variable %item3End to the value %item3Start.
  523. (5:302) take variable %item3Start and add 61 to it.
  524. (5:302) take variable %item3End and add 65 to it.
  525. (5:272) set message ~item3Temp to be the portion of message ~crayonInfo from position %item3Start to position %item3End.
  526. (5:282) set variable %ITEM3 to the first number in ~item3Temp.
  527. (5:600) memorize that the PhoenixSpeak info {ITEM-3} about the triggering furre will now be %ITEM3.
  528. ***Aquire item 4 number - %ITEM4*
  529. (5:283) set variable %item4Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  530. (5:300) set variable %item4End to the value %item4Start.
  531. (5:302) take variable %item4Start and add 66 to it.
  532. (5:302) take variable %item4End and add 70 to it.
  533. (5:272) set message ~item4Temp to be the portion of message ~crayonInfo from position %item4Start to position %item4End.
  534. (5:282) set variable %ITEM4 to the first number in ~item4Temp.
  535. (5:600) memorize that the PhoenixSpeak info {ITEM-4} about the triggering furre will now be %ITEM4.
  536. ***Aquire item 5 number - %ITEM5*
  537. (5:283) set variable %item5Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  538. (5:300) set variable %item5End to the value %item5Start.
  539. (5:302) take variable %item5Start and add 71 to it.
  540. (5:302) take variable %item5End and add 75 to it.
  541. (5:272) set message ~item5Temp to be the portion of message ~crayonInfo from position %item5Start to position %item5End.
  542. (5:282) set variable %ITEM5 to the first number in ~item5Temp.
  543. (5:600) memorize that the PhoenixSpeak info {ITEM-5} about the triggering furre will now be %ITEM5.
  544. ***Aquire item 6 number - %ITEM6*
  545. (5:283) set variable %item6Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  546. (5:300) set variable %item6End to the value %item6Start.
  547. (5:302) take variable %item6Start and add 76 to it.
  548. (5:302) take variable %item6End and add 80 to it.
  549. (5:272) set message ~item6Temp to be the portion of message ~crayonInfo from position %item6Start to position %item6End.
  550. (5:282) set variable %ITEM6 to the first number in ~item6Temp.
  551. (5:600) memorize that the PhoenixSpeak info {ITEM-6} about the triggering furre will now be %ITEM6.
  552. ***Aquire color name - ~COLORname*
  553. (5:283) set variable %colorNameStart to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  554. (5:300) set variable %colorNameEnd to the value %colorNameStart.
  555. (5:304) take variable %colorNameStart and subtract 6 from it.
  556. (5:272) set message ~COLORname to be the portion of message ~crayonInfo from position %colorNameStart to position %colorNameEnd.
  557. (5:283) set variable %nameCutoffStart to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (orzero if not found).
  558. (5:300) set variable %nameCutoffEnd to the value %nameCutoffStart.
  559. (5:302) take variable %nameCutoffStart and add 81 to it.
  560. (5:302) take variable %nameCutoffEnd and add 82 to it.
  561. (5:272) set message ~colorNameCutoff to be the portion of message ~crayonInfo from position %nameCutoffStart to position %nameCutoffEnd.
  562. (5:282) set variable %nameCutoffLength to the first number in ~colorNameCutoff.
  563. (5:273) chop off the end of message ~COLORname, removing the last %nameCutoffLength characters of it.
  564. (5:274) chop off the beginning of message ~COLORname, removing the first 1 characters of it.
  565. (5:603) memorize that the PhoenixSpeak info {COLOR-NAME} about the triggering furre will now be {~COLORname}.
  566. ***Aquire color desc - ~COLORdesc*
  567. (5:283) set variable %descLengthStart to the total number of characters before {[~COLORname]} appears in message ~crayonDesc (or zero if not found).
  568. (5:300) set variable %descLengthEnd to the value %descLengthStart.
  569. (5:302) take variable %descLengthStart and add 9 to it.
  570. (5:302) take variable %descLengthEnd and add 11 to it.
  571. (5:272) set message ~descLengthTemp to be the portion of message ~crayonDesc from position %descLengthStart to position %descLengthEnd.
  572. (5:282) set variable %descLength to the first number in ~descLengthTemp.
  573. (5:283) set variable %descStart to the total number of characters before {[~COLORname]} appears in message ~crayonDesc (or zero if not found).
  574. (5:302) take variable %descStart and add 12 to it.
  575. (5:300) set variable %descEnd to the value %descStart.
  576. (5:303) take variable %descEnd and add variable %descLength to it.
  577. (5:272) set message ~COLORdesc to be the portion of message ~crayonDesc from position %descStart to position %descEnd.
  578. (5:603) memorize that the PhoenixSpeak info {COLOR-DESC} about the triggering furre will now be {~COLORdesc}.
  579. (5:200) emit message {Magic concentrates in your paw and becomes a ~COLORname crayon.} to the triggering furre.
  580.  
  581. *Region 10 - Floor Tile Drawing*
  582. (0:19) When someone uses item %COLORpenUp,
  583. (1:85) and the triggering furre (moved from/is standing in) region 10,
  584. (3:7) whereever the triggering furre was at when the trigger activated,
  585. (5:1) set the floor to %TILE2.
  586.  
  587. (0:26) When someone moves into any space in region 10,
  588. (1:75) and message ~crayons contains { %item_held } somewhere within it,
  589. (1:1002) and they are holding item %COLORpenDown in their paws,
  590. (3:7) whereever the triggering furre was at when the trigger activated,
  591. (5:8) play sound 103 to the triggering furre.
  592. (5:1) set the floor to %TILE2.
  593.  
  594. *Region 11 - Grass Item Drawing*
  595. (0:19) When someone uses item %COLORpenUp,
  596. (1:85) and the triggering furre (moved from/is standing in) region 11,
  597. (1:200) and variable %rand_3 is equal to 1,
  598. (3:7) whereever the triggering furre was at when the trigger activated,
  599. (5:4) place item %ITEM2.
  600.  
  601. (0:19) When someone uses item %COLORpenUp,
  602. (1:85) and the triggering furre (moved from/is standing in) region 11,
  603. (1:200) and variable %rand_3 is equal to 2,
  604. (3:7) whereever the triggering furre was at when the trigger activated,
  605. (5:4) place item %ITEM3.
  606.  
  607. (0:19) When someone uses item %COLORpenUp,
  608. (1:85) and the triggering furre (moved from/is standing in) region 11,
  609. (1:200) and variable %rand_3 is equal to 3,
  610. (3:7) whereever the triggering furre was at when the trigger activated,
  611. (5:4) place item %ITEM4.
  612.  
  613. (0:26) When someone moves into any space in region 11,
  614. (1:75) and message ~crayons contains { %item_held } somewhere within it,
  615. (1:1002) and they are holding item %COLORpenDown in their paws,
  616. (1:200) and variable %rand_3 is equal to 1,
  617. (3:7) whereever the triggering furre was at when the trigger activated,
  618. (5:8) play sound 103 to the triggering furre
  619. (5:4) place item %ITEM2.
  620.  
  621. (0:26) When someone moves into any space in region 11,
  622. (1:75) and message ~crayons contains { %item_held } somewhere within it,
  623. (1:1002) and they are holding item %COLORpenDown in their paws,
  624. (1:200) and variable %rand_3 is equal to 2,
  625. (3:7) whereever the triggering furre was at when the trigger activated,
  626. (5:8) play sound 103 to the triggering furre
  627. (5:4) place item %ITEM3.
  628.  
  629. (0:26) When someone moves into any space in region 11,
  630. (1:75) and message ~crayons contains { %item_held } somewhere within it,
  631. (1:1002) and they are holding item %COLORpenDown in their paws,
  632. (1:200) and variable %rand_3 is equal to 3,
  633. (3:7) whereever the triggering furre was at when the trigger activated,
  634. (5:8) play sound 103 to the triggering furre
  635. (5:4) place item %ITEM4.
  636.  
  637. *Region 20 - Clean up dropped crayons or stash them*
  638. (0:14) When someone picks up any item,
  639. (1:85) and the triggering furre (moved from/is standing in) region 20,
  640. (1:75) and message ~crayonPenUp contains { %item_held } somewhere within it,
  641. (5:300) set variable %COLORpenUp to the value %item_held.
  642. (5:76) place item %COLORpenUp in the triggering furre's paws.
  643. (5:300) set variable %item_held to the value %COLORpenUp.
  644. (5:600) memorize that the PhoenixSpeak info {ITEM-HELD} about the triggering furre will now be %item_held.
  645. (5:600) memorize that the PhoenixSpeak info {COLOR-PENUP} about the triggering furre will now be %COLORpenUp.
  646. ***Aquire crayon penDown state - %COLORpenDown*
  647. (5:283) set variable %penDownStart to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  648. (5:300) set variable %penDownEnd to the value %penDownStart.
  649. (5:302) take variable %penDownStart and add 6 to it.
  650. (5:302) take variable %penDownEnd and add 10 to it.
  651. (5:272) set message ~colorPenDownTemp to be the portion of message ~crayonInfo from position %penDownStart to position %penDownEnd.
  652. (5:282) set variable %COLORpenDown to the first number in ~colorPenDownTemp.
  653. (5:600) memorize that the PhoenixSpeak info {COLOR-PENDOWN} about the triggering furre will now be %COLORpenDown.
  654. ***Aquire crayon box item number - %CRAYONbox*
  655. (5:283) set variable %crayonBoxStart to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  656. (5:300) set variable %crayonBoxEnd to the value %crayonBoxStart.
  657. (5:302) take variable %crayonBoxStart and add 11 to it.
  658. (5:302) take variable %crayonBoxEnd and add 15 to it.
  659. (5:272) set message ~crayonBoxTemp to be the portion of message ~crayonInfo from position %crayonBoxStart to position %crayonBoxEnd.
  660. (5:282) set variable %CRAYONbox to the first number in ~crayonBoxTemp.
  661. (5:600) memorize that the PhoenixSpeak info {CRAYON-BOX} about the triggering furre will now be %CRAYONbox.
  662. ***Aquire tile 1 number - %TILE1*
  663. (5:283) set variable %tile1Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  664. (5:300) set variable %tile1End to the value %tile1Start.
  665. (5:302) take variable %tile1Start and add 21 to it.
  666. (5:302) take variable %tile1End and add 25 to it.
  667. (5:272) set message ~tile1Temp to be the portion of message ~crayonInfo from position %tile1Start to position %tile1End.
  668. (5:282) set variable %TILE1 to the first number in ~tile1Temp.
  669. (5:600) memorize that the PhoenixSpeak info {TILE-1} about the triggering furre will now be %TILE1.
  670. ***Aquire tile 2 number - %TILE2*
  671. (5:283) set variable %tile2Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  672. (5:300) set variable %tile2End to the value %tile2Start.
  673. (5:302) take variable %tile2Start and add 26 to it.
  674. (5:302) take variable %tile2End and add 30 to it.
  675. (5:272) set message ~tile2Temp to be the portion of message ~crayonInfo from position %tile2Start to position %tile2End.
  676. (5:282) set variable %TILE2 to the first number in ~tile2Temp.
  677. (5:600) memorize that the PhoenixSpeak info {TILE-2} about the triggering furre will now be %TILE2.
  678. ***Aquire tile 3 number - %TILE3*
  679. (5:283) set variable %tile3Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  680. (5:300) set variable %tile3End to the value %tile3Start.
  681. (5:302) take variable %tile3Start and add 31 to it.
  682. (5:302) take variable %tile3End and add 35 to it.
  683. (5:272) set message ~tile3Temp to be the portion of message ~crayonInfo from position %tile3Start to position %tile3End.
  684. (5:282) set variable %TILE3 to the first number in ~tile3Temp.
  685. (5:600) memorize that the PhoenixSpeak info {TILE-3} about the triggering furre will now be %TILE3.
  686. ***Aquire tile 4 number - %TILE4*
  687. (5:283) set variable %tile4Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  688. (5:300) set variable %tile4End to the value %tile4Start.
  689. (5:302) take variable %tile4Start and add 36 to it.
  690. (5:302) take variable %tile4End and add 40 to it.
  691. (5:272) set message ~tile4Temp to be the portion of message ~crayonInfo from position %tile4Start to position %tile4End.
  692. (5:282) set variable %TILE4 to the first number in ~tile4Temp.
  693. (5:600) memorize that the PhoenixSpeak info {TILE-4} about the triggering furre will now be %TILE4.
  694. ***Aquire tile 5 number - %TILE5*
  695. (5:283) set variable %tile5Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  696. (5:300) set variable %tile5End to the value %tile5Start.
  697. (5:302) take variable %tile5Start and add 41 to it.
  698. (5:302) take variable %tile5End and add 45 to it.
  699. (5:272) set message ~tile5Temp to be the portion of message ~crayonInfo from position %tile5Start to position %tile5End.
  700. (5:282) set variable %TILE5 to the first number in ~tile5Temp.
  701. (5:600) memorize that the PhoenixSpeak info {TILE-5} about the triggering furre will now be %TILE5.
  702. ***Aquire item 1 number - %ITEM1*
  703. (5:283) set variable %item1Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  704. (5:300) set variable %item1End to the value %item1Start.
  705. (5:302) take variable %item1Start and add 51 to it.
  706. (5:302) take variable %item1End and add 55 to it.
  707. (5:272) set message ~item1Temp to be the portion of message ~crayonInfo from position %item1Start to position %item1End.
  708. (5:282) set variable %ITEM1 to the first number in ~item1Temp.
  709. (5:600) memorize that the PhoenixSpeak info {ITEM-1} about the triggering furre will now be %ITEM1.
  710. ***Aquire item 2 number - %ITEM2*
  711. (5:283) set variable %item2Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  712. (5:300) set variable %item2End to the value %item2Start.
  713. (5:302) take variable %item2Start and add 56 to it.
  714. (5:302) take variable %item2End and add 60 to it.
  715. (5:272) set message ~item2Temp to be the portion of message ~crayonInfo from position %item2Start to position %item2End.
  716. (5:282) set variable %ITEM2 to the first number in ~item2Temp.
  717. (5:600) memorize that the PhoenixSpeak info {ITEM-2} about the triggering furre will now be %ITEM2.
  718. ***Aquire item 3 number - %ITEM3*
  719. (5:283) set variable %item3Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  720. (5:300) set variable %item3End to the value %item3Start.
  721. (5:302) take variable %item3Start and add 61 to it.
  722. (5:302) take variable %item3End and add 65 to it.
  723. (5:272) set message ~item3Temp to be the portion of message ~crayonInfo from position %item3Start to position %item3End.
  724. (5:282) set variable %ITEM3 to the first number in ~item3Temp.
  725. (5:600) memorize that the PhoenixSpeak info {ITEM-3} about the triggering furre will now be %ITEM3.
  726. ***Aquire item 4 number - %ITEM4*
  727. (5:283) set variable %item4Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  728. (5:300) set variable %item4End to the value %item4Start.
  729. (5:302) take variable %item4Start and add 66 to it.
  730. (5:302) take variable %item4End and add 70 to it.
  731. (5:272) set message ~item4Temp to be the portion of message ~crayonInfo from position %item4Start to position %item4End.
  732. (5:282) set variable %ITEM4 to the first number in ~item4Temp.
  733. (5:600) memorize that the PhoenixSpeak info {ITEM-4} about the triggering furre will now be %ITEM4.
  734. ***Aquire item 5 number - %ITEM5*
  735. (5:283) set variable %item5Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  736. (5:300) set variable %item5End to the value %item5Start.
  737. (5:302) take variable %item5Start and add 71 to it.
  738. (5:302) take variable %item5End and add 75 to it.
  739. (5:272) set message ~item5Temp to be the portion of message ~crayonInfo from position %item5Start to position %item5End.
  740. (5:282) set variable %ITEM5 to the first number in ~item5Temp.
  741. (5:600) memorize that the PhoenixSpeak info {ITEM-5} about the triggering furre will now be %ITEM5.
  742. ***Aquire item 6 number - %ITEM6*
  743. (5:283) set variable %item6Start to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  744. (5:300) set variable %item6End to the value %item6Start.
  745. (5:302) take variable %item6Start and add 76 to it.
  746. (5:302) take variable %item6End and add 80 to it.
  747. (5:272) set message ~item6Temp to be the portion of message ~crayonInfo from position %item6Start to position %item6End.
  748. (5:282) set variable %ITEM6 to the first number in ~item6Temp.
  749. (5:600) memorize that the PhoenixSpeak info {ITEM-6} about the triggering furre will now be %ITEM6.
  750. ***Aquire color name - ~COLORname*
  751. (5:283) set variable %colorNameStart to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (or zero if not found).
  752. (5:300) set variable %colorNameEnd to the value %colorNameStart.
  753. (5:304) take variable %colorNameStart and subtract 6 from it.
  754. (5:272) set message ~COLORname to be the portion of message ~crayonInfo from position %colorNameStart to position %colorNameEnd.
  755. (5:283) set variable %nameCutoffStart to the total number of characters before { %COLORpenUp } appears in message ~crayonInfo (orzero if not found).
  756. (5:300) set variable %nameCutoffEnd to the value %nameCutoffStart.
  757. (5:302) take variable %nameCutoffStart and add 81 to it.
  758. (5:302) take variable %nameCutoffEnd and add 82 to it.
  759. (5:272) set message ~colorNameCutoff to be the portion of message ~crayonInfo from position %nameCutoffStart to position %nameCutoffEnd.
  760. (5:282) set variable %nameCutoffLength to the first number in ~colorNameCutoff.
  761. (5:273) chop off the end of message ~COLORname, removing the last %nameCutoffLength characters of it.
  762. (5:274) chop off the beginning of message ~COLORname, removing the first 1 characters of it.
  763. (5:603) memorize that the PhoenixSpeak info {COLOR-NAME} about the triggering furre will now be {~COLORname}.
  764. ***Aquire color desc - ~COLORdesc*
  765. (5:283) set variable %descLengthStart to the total number of characters before {[~COLORname]} appears in message ~crayonDesc (or zero if not found).
  766. (5:300) set variable %descLengthEnd to the value %descLengthStart.
  767. (5:302) take variable %descLengthStart and add 9 to it.
  768. (5:302) take variable %descLengthEnd and add 11 to it.
  769. (5:272) set message ~descLengthTemp to be the portion of message ~crayonDesc from position %descLengthStart to position %descLengthEnd.
  770. (5:282) set variable %descLength to the first number in ~descLengthTemp.
  771. (5:283) set variable %descStart to the total number of characters before {[~COLORname]} appears in message ~crayonDesc (or zero if not found).
  772. (5:302) take variable %descStart and add 12 to it.
  773. (5:300) set variable %descEnd to the value %descStart.
  774. (5:303) take variable %descEnd and add variable %descLength to it.
  775. (5:272) set message ~COLORdesc to be the portion of message ~crayonDesc from position %descStart to position %descEnd.
  776. (5:603) memorize that the PhoenixSpeak info {COLOR-DESC} about the triggering furre will now be {~COLORdesc}.
  777.  
  778. (0:8) When someone drops any item,
  779. (1:185) and the triggering furre (didn't move from/isn't standing in) region 20,
  780. (5:350) set variable %item_to_delete to the X,Y position the triggering furre (moved from/is standing at).
  781. (5:381) set variable %item_to_delete to the item type at (%item_to_delete).
  782.  
  783. (0:8) When someone drops any item,
  784. (1:185) and the triggering furre (didn't move from/isn't standing in) region 20,
  785. (1:75) and message ~crayons contains { %item_to_delete } somewhere within it,
  786. (3:5) where the triggering furre was at,
  787. (5:4) place item 0.
  788. (5:200) emit message {Your magical ~COLORname crayon is dispelled.} to the triggering furre.
  789.  
  790. (0:8) When someone drops any item,
  791. (1:85) and the triggering furre (moved from/is standing in) region 20,
  792. (5:350) set variable %item_to_stash to the X,Y position the triggering furre (moved from/is standing at).
  793. (5:381) set variable %item_to_stash to the item type at (%item_to_stash).
  794.  
  795. (0:8) When someone drops any item,
  796. (1:85) and the triggering furre (moved from/is standing in) region 20,
  797. (1:75) and message ~crayonPenDown contains { %item_to_stash } somewhere within it,
  798. (3:5) where the triggering furre was at,
  799. (5:283) set variable %stashPenUpStart to the total number of characters before { %item_to_stash } appears in message ~crayonInfo (or zero if not found).
  800. (5:300) set variable %stashPenUpEnd to the value %stashPenDownStart.
  801. (5:304) take variable %stashPenUpStart and subtract 6 from it.
  802. (5:304) take variable %stashPenUpEnd and subtract 6 from it.
  803. (5:272) set message ~stashPenUpTemp to be the portion of message ~crayonInfo from position %stashPenUpStart to position %stashPenUpEnd.
  804. (5:282) set variable %TEMPpenUp to the first number in ~stashPenUpTemp.
  805. (5:4) place item %TEMPpenUp.
  806.  
  807. *Departure Cleanup*
  808. (0:10) When someone leaves the Dream,
  809. (1:1004) and they are not holding item 0 in their paws,
  810. (5:76) place item 0 in the triggering furre's paws.
  811.  
  812. (0:10) When someone leaves the Dream,
  813. (5:634) forget the PhoenixSpeak info {ITEM-HELD} about the triggering furre.
  814. (5:634) forget the PhoenixSpeak info {COLOR-PENUP} about the triggering furre.
  815. (5:634) forget the PhoenixSpeak info {COLOR-PENDOWN} about the triggering furre.
  816. (5:634) forget the PhoenixSpeak info {CRAYON-BOX} about the triggering furre.
  817. (5:634) forget the PhoenixSpeak info {TILE-1} about the triggering furre.
  818. (5:634) forget the PhoenixSpeak info {TILE-2} about the triggering furre.
  819. (5:634) forget the PhoenixSpeak info {TILE-3} about the triggering furre.
  820. (5:634) forget the PhoenixSpeak info {TILE-4} about the triggering furre.
  821. (5:634) forget the PhoenixSpeak info {TILE-5} about the triggering furre.
  822. (5:634) forget the PhoenixSpeak info {ITEM-1} about the triggering furre.
  823. (5:634) forget the PhoenixSpeak info {ITEM-2} about the triggering furre.
  824. (5:634) forget the PhoenixSpeak info {ITEM-3} about the triggering furre.
  825. (5:634) forget the PhoenixSpeak info {ITEM-4} about the triggering furre.
  826. (5:634) forget the PhoenixSpeak info {ITEM-5} about the triggering furre.
  827. (5:634) forget the PhoenixSpeak info {ITEM-6} about the triggering furre.
  828. (5:634) forget the PhoenixSpeak info {COLOR-NAME} about the triggering furre.
  829. (5:634) forget the PhoenixSpeak info {COLOR-DESC} about the triggering furre.
  830. (5:634) forget the PhoenixSpeak info {RAND-3} about the triggering furre.
  831.  
  832. *Endtriggers* 8888 *Endtriggers*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement