1
0

treeCircle.qsrc 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #treeCircle
  2. ! The Magical Teleport Tree Circle
  3. !
  4. ! ARGS[0] is your entrance point as those listed below. If the user doesn''t have the magical ability,
  5. ! they will only be allowed to leave back from their entry point.
  6. ! Locations
  7. $tpLocations[0] = 'CentralPark'
  8. $tpLocations[1] = 'PavlovskPark'
  9. $tpLocations[2] = 'GadForest'
  10. $tpLocations[3] = 'PushkinPark'
  11. $tpLocations[4] = 'Village'
  12. ! Build Info Arrays for Locations
  13. ! treeCircName = The Pretty Name of the Location
  14. ! treeCircLoc = The Location to send the user to when leaving Circle
  15. ! treeCircArg = An argument to get the user to the right spot in the location.
  16. !Central Park Location
  17. $treeCircName['CentralPark'] = 'Central Park'
  18. $treeCircLoc['CentralPark'] = 'park'
  19. $treeCircArg['CentralPark'] = 'start'
  20. !Pavlovsk Park Location
  21. $treeCircName['PavlovskPark'] = 'Pavlovsk Park'
  22. $treeCircLoc['PavlovskPark'] = 'placer_gskver'
  23. $treeCircArg['PavlovskPark'] = ''
  24. !Gadukino Forest Location
  25. $treeCircName['GadForest'] = 'Gadukino Forest'
  26. $treeCircLoc['GadForest'] = 'gadforest'
  27. $treeCircArg['GadForest'] = '1'
  28. !Pushkin Park Location
  29. $treeCircName['PushkinPark'] = 'Pushkin Park'
  30. $treeCircLoc['PushkinPark'] = 'lug'
  31. $treeCircArg['PushkinPark'] = 'prut2'
  32. !Communal Village Spring Location
  33. $treeCircName['Village'] = 'Communal Village Spring'
  34. $treeCircLoc['Village'] = 'etoexhib'
  35. $treeCircArg['Village'] = 'pos6'
  36. $EntryPoint = $ARGS[0]
  37. *clr & cla
  38. '<center><h2>Mysterious Circle of Trees</h2></center>'
  39. '<center><img <<$set_imgh>> src="images/locations/shared/park/tree_circle.jpg"></center>'
  40. 'The small clearing in the center of the tree circle is two body lengths wide. The ground is covered with a soft, sponging moss. Everything is surprisingly visible considering you cna barely see the sky through the overhead cover of leaves and branches. As you look to the outside of the circle, everything seems to be vague and indistinct. This makes it hard to comprehend what lies outside the ring.'
  41. *nl
  42. ! Determine if this user can teleport at all.
  43. canTeleport = 0
  44. if spellKnown['teleport'] = 1:
  45. 'You take the Fairy''s advice and get to know this Circle.'
  46. minut += 15
  47. if pcs_manna > spellMana['teleport']:
  48. canTeleport = 1
  49. else
  50. *nl
  51. 'You feel too tired to pull off a shift right now.'
  52. end
  53. else
  54. 'You can feel something strange and powerful in this place, but you can''t quite put your finger on it. It is intriguing, though, so you take your time and loook the place over to try to understand it.'
  55. minut += 15
  56. end
  57. ! Learn the current entry point
  58. tpKnown[$EntryPoint] = 1
  59. ! Setup Actions for locations when applicable
  60. i = 0
  61. :LocLoop
  62. if i < ARRSIZE('$tpLocations'):
  63. gs 'treeCircActs', $tpLocations[i]
  64. i += 1
  65. jump 'LocLoop'
  66. end
  67. killvar 'i'
  68. act 'Masturbate to clear your head.':
  69. *nl
  70. '<center><video autoplay loop src="images/locations/shared/park/tree_masturb.mp4"></center>'
  71. *nl
  72. 'That''s better!'
  73. $orgasm_or = 'yes'
  74. gs 'arousal', 'masturbate', 15
  75. gs 'arousal', 'end'
  76. gs 'stat'
  77. end
  78. --- treeCircle ---------------------------------