Advertisement
Guest User

mm

a guest
Mar 26th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.33 KB | None | 0 0
  1.  
  2. #######################
  3. ###GENERAL VARIABLES###
  4. #######################
  5.  
  6. setvar sleepstate (fluid|murky|very murky|thick|very thick|dense|very dense|stagnant|frozen)
  7. setvar focuses 0
  8. setvar mdspell 0
  9. setvar spell 0
  10. setvar origami flower
  11. setvar cambrinth armband
  12. setvar song minuet
  13. setvar humming 0
  14. setvar juggles 0
  15. setvar jugglers feathers
  16. setvar garbage bin|bucket|receptacle
  17. setvar forage.item rock
  18. setvar predict.counter 0
  19. setvar MD.spell 0
  20. setvar CV 0
  21. setvar PG 0
  22. setvar AUS 0
  23.  
  24. #####################
  25. ###General Actions###
  26. #####################
  27. action put #play beep1.wav when ^(\S+) whispers,
  28. action put #play beep1.wav when .* (says|asks).*Lawtun
  29. action put #play beep1.wav when .* asks you,
  30. action put #play beep1.wav;send drop my $1 when ^Odd. Where did that (\w+) come
  31.  
  32. action goto BIGSTUN when ^The world fades to black as a giant, grinning skull
  33.  
  34. action send 15 $lastcommand when ^You are too tired to climb
  35.  
  36. action goto CONNECT when connection lost|Socket Error|connection dropped|connection closed|ReceiveCallback Exception
  37.  
  38. action send sleep when eval $mindstate > 2
  39. action send awake when ^Overall state of mind: clear
  40. action send sleep when ^Overall state of mind: %sleepstate
  41.  
  42. action goto STOPSCRIPT when The world grows blurry and indistinct.
  43.  
  44. action send stand when eval $sitting = 1
  45. action goto exitnow when eval $health < 50
  46. action goto exitnow when eval $stunned = 1
  47. action goto exitnow when eval $dead = 1
  48.  
  49. action send $lastcommand when ^Sorry, you may only
  50. action send $lastcommand when \.\.\.wait (1|2|3|4|5|6|7|8|9) seconds\.
  51. action send $lastcommand when \.\.\.wait 1 second\.
  52. action send $lastcommand when \.\.\.wait 10 seconds\.
  53.  
  54. action setvar humming 0 when You finish humming
  55. action setvar humming 0 when You stop playing
  56. action setvar humming 1 when ^You fumble slightly as you begin to hum
  57. action setvar humming 1 when You begin to hum
  58. action setvar humming 1 when You are already performing
  59.  
  60. action goto exitnow;send #play beep1.wav when eval $health < 50
  61. action goto exitnow;send #play beep1.wav when eval $stunned = 1
  62. action goto exitnow;send #play beep1.wav when eval $dead = 1
  63. action goto exitnow;send #play beep1.wav when eval $webbed = 1
  64.  
  65. action send 8 listen to $1 when ^(\S+) begins to lecture you
  66.  
  67. action setvar CV 1 when ^You feel more aware
  68. action setvar CV 1 when ^You sense the Clear Vision spell upon you
  69. action setvar CV 0 when ^You feel less aware
  70. action setvar PG 1 when ^The world around you brightens
  71. action setvar PG 1 when ^You sense the Piercing Gaze spell upon you
  72. action setvar PG 0 when ^The world around you returns
  73. action setvar RF 1 when ^The refractive field gathers
  74. action setvar RF 1 when ^You feel confident your Refractive Field has fully oscillated
  75. action setvar RF 1 when ^Though you have been revealed, the Refractive Field spell pattern proceeds
  76. action setvar RF 0 when ^You reveal yourself\.
  77. action setvar RF 0 when ^The refractive field surrounding you fades
  78.  
  79. action send Harn 1 when ^You sense a tiny
  80.  
  81. action setvar predict on when ^While the sighting wasn't quite
  82. action setvar predict on when ^Although you don't gain a complete
  83. action setvar predict on when ^Too many futures cloud your mind
  84. action setvar predict on when ^Although you learn nothing new
  85. action setvar predict on when ^You learned something useful
  86. action setvar predict on when ^You have not pondered your last observation sufficiently.
  87. action setvar predict off when ^You scoop the bones back up.
  88. action setvar predict off when ^The Moon Sphere
  89.  
  90. #Aura Sight
  91. action setvar AUS 1 when ^Your color vision blossoms with new depth
  92. action setvar AUS 1 when ^You sense the Aura Sight spell upon you
  93. action setvar AUS 1 when ^The auras around you remain unchanged
  94. action setvar AUS 0 when ^Your color vision returns to normal
  95.  
  96. timer clear
  97. timer start
  98. ################
  99. ### MAIN LOOP###
  100. ################
  101.  
  102. MainLoop:
  103. pause .5
  104. send exp 0
  105. gosub teachcheck
  106. #gosub langclimb
  107. Gosub Magic.exp.check
  108. Gosub Lore.exp.check
  109. #gosub langclimb
  110. Gosub Survival.exp.check
  111. goto mainloop
  112.  
  113.  
  114. Magic.exp.check:
  115. if $bleeding = 1 then send tend my right arm
  116. if %humming = 1 then send stop hum
  117. If $Primary_Magic.LearningRate < 30 then gosub Arcana
  118. If $Arcana.LearningRate < 30 then gosub Arcana
  119. If $Power_Perceive.LearningRate < 30 then gosub power
  120. return
  121.  
  122. Lore.exp.check:
  123. gosub Magic.exp.check
  124. if $bleeding = 1 then send tend my right arm
  125. #if $Mechanical_Lore.LearningRate < 30 then gosub mech
  126. if $Astrology.LearningRate < 30 then gosub Astrology
  127. if $Appraisal.LearningRate < 30 then gosub Appraisal
  128. if $First_Aid.LearningRate < 30 then gosub Schol
  129. return
  130.  
  131. Survival.exp.check:
  132. gosub Magic.exp.check
  133. if $bleeding = 1 then send tend my right arm
  134. if $Perception.LearningRate < 8 then gosub Foraging
  135. If $Foraging.LearningRate < 30 then gosub Foraging
  136. #if $Climbing.LearningRate < 30 then gosub langclimb
  137. #if $Swimming.LearningRate < 30 then gosub swimming
  138. Return
  139.  
  140.  
  141.  
  142. ##################
  143. ###TEACHING SUB###
  144. ##################
  145.  
  146. teachcheck:
  147. pause .5
  148. send ass teach
  149. matchre teachcheckdone ^You are teaching
  150. matchre teachcheckdone You are in this class\!
  151. matchre teachcheckdone ^No one seems to be
  152. matchre listen.skill ^(\w+) is teaching a class on \w+ \w+ \(compared to what you already know\) (Targeted Magic|Evasion) which is still open
  153. matchre teachcheck1 ^Roundtime:
  154. matchwait
  155.  
  156. teachcheck1:
  157. pause .5
  158. send ass teach
  159. matchre teachcheckdone ^You are teaching
  160. matchre teachcheckdone You are in this class\!
  161. matchre teachcheckdone ^No one seems to be
  162. matchre listen.teaching ^(\w+) is teaching .* new students\.
  163. matchre teachcheckdone ^Roundtime:
  164. matchwait
  165.  
  166. listen.skill:
  167. pause .5
  168. send listen to $1 obs
  169. match teachcheckdone You cannot teach
  170. match teachcheckdone You are already listening
  171. match teachcheck1 is full
  172. match teachcheckdone You begin to listen
  173. match teachcheckdone cannot take another
  174. match teachcheckdone isn't teaching\.
  175. matchre teachcheckdone ^You must ask (\w+) for an invitation
  176. matchwait
  177.  
  178. listen.teaching:
  179. pause .5
  180. send listen to $1 observe
  181. match teachcheckdone You are already listening
  182. match teachcheckdone is full
  183. match teachcheckdone You begin to listen
  184. match teachcheckdone cannot take another
  185. match teachcheckdone isn't teaching\.
  186. matchre teachcheckdone ^You must ask (\w+) for an invitation
  187. matchwait
  188.  
  189. teachcheckdone:
  190. return
  191.  
  192. ########################
  193. #### CLIMBING SUB ####
  194. ########################
  195. langclimb:
  196. pause .5
  197. setvar langclimb 0
  198. goto climb
  199.  
  200. climb:
  201. math langclimb add 1
  202. if %langclimb = 1 then send climb other tree
  203. if %langclimb = 2 then send climb third tree
  204. if %langclimb = 3 then send climb fourth tree
  205. if %langclimb = 4 then send climb fifth tree
  206. if %langclimb = 5 then goto climbdone
  207. match climbdown [Langenfirth,
  208. match climb Roundtime:
  209. matchwait
  210.  
  211. climbdown:
  212. pause .5
  213. send climb trunk
  214. goto climb
  215.  
  216. climbdone:
  217. return
  218.  
  219. ########################
  220. ###SCHOLARSHIP/FA SUB###
  221. ########################
  222.  
  223.  
  224. schol:
  225. pause 0.5
  226. if contains ("($righthandnoun|$lefthandnoun)","compendium") then goto schol2
  227. Else send get my leather compendium
  228. schol2:
  229. pause 0.5
  230. gosub humming
  231. send study my compendium
  232. match schol3 You continue studying
  233. match schol3 You continue to study
  234. match schol3 You attempt to continue
  235. match schol3 In a sudden moment of clarity
  236. match schol3 With a sudden moment
  237. match schol3 You begin studying
  238. match schol3 You begin to study
  239. match scholdone You attempt to study the chart,
  240. match Scholdone Why do you need to study
  241. matchwait
  242.  
  243. schol3:
  244. pause 0.5
  245. send exp survival
  246. if $First_Aid.LearningRate < 30 Then goto schol.next
  247. else goto scholdone
  248.  
  249. schol.next:
  250. pause .5
  251. math turns add 1
  252. send turn my compendium
  253. if %turns >= 7 then goto scholdone
  254. else goto schol2
  255.  
  256. scholdone:
  257. pause 0.5
  258. setvar turns 0
  259. send stow my compendium
  260. return
  261.  
  262. ##################
  263. ###SPELLCASTING###
  264. ##################
  265.  
  266. PG:
  267. pause .5
  268. if %PG = 1 then return
  269. if %humming = 1 then send stop hum
  270. if $spelltime > 0 then send release
  271. send prep PG
  272. match spell.cast You raise
  273. match spell.release You have to strain
  274. matchwait
  275.  
  276. CV:
  277. pause .5
  278. if %cV = 1 then return
  279. if %humming = 1 then send stop hum
  280. if $spelltime > 0 then send release
  281. send prep CV
  282. match spell.cast You raise
  283. match spell.release You have to strain
  284. matchwait
  285.  
  286. spell.cast:
  287. waitfor You feel fully prepared
  288. send cast
  289. return
  290.  
  291. spell.release:
  292. send release
  293. return
  294.  
  295. fm:
  296. pause
  297. if "$roomname" = "Northeast Wilds, Grimsage Way" then return
  298. if %humming = 1 then send stop hum
  299. if $spelltime > 0 then send release
  300. send prep fm 10
  301. pause .5
  302. send observe moons in sky
  303. match fmk moon Katamba
  304. match fmx moon Xibar
  305. match fmy moon Yavash
  306. match fmx presence of Xibar.
  307. match fmy presence of Yavash.
  308. match fmk presence of Katamba.
  309. match fmx Xibar lurking
  310. match fmy Yavash lurking
  311. match fmk Katamba lurking
  312. match fmrelease That's a bit hard to do
  313. match fmrelease Roundtime:
  314. matchwait
  315.  
  316. fmk:
  317. pause 2
  318. send cast katamba
  319. return
  320.  
  321. fmx:
  322. pause 2
  323. send cast xibar
  324. return
  325.  
  326. fmy:
  327. pause 2
  328. send cast yavash
  329. return
  330.  
  331. fmrelease:
  332. pause 1
  333. send release
  334. return
  335.  
  336.  
  337. DG:
  338. pause .5
  339. send prep dg
  340. send look
  341. match DGX blue moonbeam
  342. match DGY red moonbeam
  343. matchre DGK (black|grey) shadows
  344. match DG.Done Obvious paths:
  345. match DG.Done Obvious exits:
  346. match DG.Done Also here:
  347. matchwait
  348.  
  349. DGX:
  350. waitfor You feel fully
  351. send cast Xibar
  352. goto dg.done
  353.  
  354. DGY:
  355. waitfor You feel fully
  356. send cast Yavash
  357. goto dg.done
  358.  
  359. DGK:
  360. waitfor You feel fully
  361. send cast Katamba
  362. goto dg.done
  363.  
  364. DG.Done:
  365. pause .5
  366. send rel
  367. return
  368.  
  369. ###################
  370. ###FORAGING SUB###
  371. ###################
  372.  
  373.  
  374. Foraging:
  375. pause .5
  376. gosub humming
  377. send exp survival
  378. if $Perception.LearningRate < 8 then goto Forage
  379. else return
  380.  
  381. Forage:
  382. pause .5
  383. send collect %forage.item
  384. match Forage.kick too cluttered
  385. match Forage.kick You manage to collect
  386. match Forage.done Roundtime:
  387. match Forage.done Forage on a ship?
  388. matchwait
  389.  
  390. Forage.kick:
  391. pause .5
  392. send kick pile
  393. goto Foraging
  394.  
  395. Forage.done:
  396. pause .5
  397. send kick pile
  398. return
  399.  
  400. ###############
  401. ###ASTROLOGY###
  402. ###############
  403.  
  404. astrology:
  405. pause .5
  406. send exp sk astro
  407. if $Astrology.LearningRate < 30 then goto astro
  408. else goto astrodone
  409.  
  410. scrollz:
  411. pause .5
  412. if %scrolls >= 13 then goto scrollsdone
  413. math scrolls add 1
  414. send get scroll from %pouch1
  415. send unroll my scroll
  416. pause .5
  417. send read my scroll
  418. match xscroll Roundtime:
  419. match scrollz That's awfully hard
  420. match scrollsdone I could not find
  421. match scrollsdone You'll need to be holding
  422. matchwait
  423.  
  424. xscroll:
  425. pause .5
  426. send roll my scroll
  427. send put my scroll in %pouch2
  428. match scroll2 What were you wanting
  429. match scrollz You put
  430. matchwait
  431.  
  432. scrollsdone:
  433. pause .5
  434. setvar scrolls 1
  435. send get scroll from %pouch2;put scroll in %pouch1
  436. match scrollsreturn What were you
  437. match scrollsdone You put
  438. matchwait
  439.  
  440. scrollsreturn:
  441. return
  442.  
  443. predict.event:
  444. #if $hidden = 0 then gosub hide
  445. send study sky
  446. match predict.event1 You feel a lingering sense
  447. match predict.event You look deeply
  448. match predict.event You are unable to sense
  449. match astrodone You should try that where
  450. match loopwait You feel it is too soon
  451. matchwait
  452.  
  453. loopwait:
  454. pause 20
  455. goto astro
  456.  
  457. predict.event1:
  458. send predict event
  459. return
  460.  
  461. astro:
  462. if "%stance" = "shield" and "$righthandnoun" = "%ME.weapon" then send stow %ME.weapon
  463. if %PG = 0 then gosub pg
  464. setvar observing sun
  465. gosub observe %observing
  466. setvar observing spider
  467. gosub observe %observing
  468. return
  469.  
  470. observe:
  471. if "%predict" = "on" then goto predict.chart
  472. pause .5
  473. send observe $1 in sky
  474. match observe You are a bit too distracted
  475. match astrodone That's a bit hard to do
  476. match astrodone You are unable to make use
  477. match observe Roundtime:
  478. match observe Most of the
  479. match observe All but the smallest bit
  480. match observe nearly a third
  481. match observe Two-thirds
  482. match observe A rather large cloud
  483. match observe A tiny bit
  484. match observe Over half
  485. match observe Fully half
  486. match observe Waxing still
  487. match observe Nearly half
  488. match observe A cloud has obscured parts
  489. match observenext Your knowledge of the heavens
  490. match observenext Your search for
  491. match observenext Clouds obscure
  492. match observenext Your observations are hindered
  493. matchre observenext ^The constellation of .* is too faint
  494. matchwait
  495.  
  496. observenext:
  497. return
  498.  
  499. predict.chart:
  500. pause .5
  501. send get my chart
  502. wait
  503. send unroll my chart
  504. match predict.next You unroll
  505. match predict.next But that isn't rolled
  506. match predict.chart You're too distracted
  507. match astrodone I could not find
  508. matchwait
  509.  
  510. predict.next:
  511. pause .5
  512. send align heavy thrown
  513. goto predict.study
  514.  
  515. predict.study:
  516. pause .5
  517. send study my chart
  518. match predict.study You're too distracted
  519. match predict.chart.1 You rummage through
  520. match predict.chart.1 pull out a large sheaf
  521. match astrodone I could not find
  522. matchwait
  523.  
  524. predict.chart.1:
  525. pause .5
  526. if %observing = "sun" then send align lockpicking
  527. if %observing = "spider" then send align arcana
  528. goto predict.study.1
  529.  
  530. predict.study.1:
  531. pause .5
  532. send study my chart
  533. match predict.study.1 You're too distracted
  534. match astrodone You rummage through
  535. match predict.anal pull out a large sheaf
  536. match astrodone I could not find
  537. matchwait
  538.  
  539. predict.anal:
  540. send predict anal
  541. goto astrodone
  542.  
  543. astrodone:
  544. pause 0.5
  545. setvar predict no
  546. setvar success yes
  547. pause .5
  548. send roll my chart
  549. wait
  550. send stow my chart in my backpack
  551. return
  552.  
  553.  
  554. #############################
  555. ###PERCEPTION/JUGGLING SUB###
  556. #############################
  557.  
  558. perception:
  559. #send hunt
  560. pause 0.5
  561. if %cV = 0 then gosub CV
  562. math juggles add 1
  563. #if %juggles > 12 then goto percepdone
  564. send get my %jugglers
  565. send juggle my %jugglers
  566. match perception But you're not holding
  567. match percepdone referring to?
  568. match Percepexp Roundtime:
  569. match percepdone Your injuries
  570. matchwait
  571.  
  572. percepexp:
  573. pause 0.5
  574. send exp survival
  575. if $Perception.LearningRate < 30 then Goto Perception
  576. else send stow my %jugglers
  577. goto percepdone
  578.  
  579. percepdone:
  580. pause .5
  581. setvar juggles 0
  582. send stow my %jugglers
  583. return
  584.  
  585.  
  586. ################
  587. ###VOCALS SUB###
  588. ################
  589.  
  590.  
  591. humming:
  592. pause
  593. send exp sk vocals
  594. if $Vocals.LearningRate < 30 then goto humming2
  595. else goto humdone
  596.  
  597. humming2:
  598. pause
  599. if %humming = 0 then send hum %song
  600. return
  601.  
  602. humdone:
  603. pause
  604. return
  605.  
  606. #########################
  607. ###MECHANICAL LORE SUB###
  608. #########################
  609.  
  610.  
  611. mech:
  612. pause 0.5
  613. send tap my envelope
  614. match origami You tap
  615. match foragegrass You lightly tap
  616. match foragegrass I could not find
  617. matchwait
  618.  
  619. origami:
  620. pause 0.5
  621. if $hidden = 1 then put unhide
  622. send pull my envelope
  623. match studyprimer You get a
  624. match newenv The envelope is empty.
  625. match newenv You must be either wearing
  626. matchwait
  627.  
  628. newenv:
  629. pause 0.5
  630. send hold my envelope
  631. send poke my envelope
  632. pause 3
  633. send get my envelope
  634. match newenv2 You get
  635. match count What were
  636. matchwait
  637.  
  638. newenv2:
  639. send wear my envelope
  640. pause 0.5
  641. goto origami
  642.  
  643. studyprimer:
  644. pause 0.5
  645. send study my %origami instruction
  646. match study2 You take on a studious look.
  647. match foldx Roundtime
  648. matchwait
  649.  
  650. study2:
  651. pause 0.5
  652. gosub humming
  653. send study my %origami instruction in my primer
  654. waitfor Roundtime:
  655. pause 0.5
  656. goto foldx
  657.  
  658. foldx:
  659. pause 0.5
  660. gosub humming
  661. send fold my paper
  662. match foldx but it doesn't come out quite
  663. match foldx make another fold
  664. match foldx a fold
  665. match nextx the final fold
  666. match foldxwait ...wait
  667. matchwait
  668.  
  669. foldxwait:
  670. pause 3
  671. goto foldx
  672.  
  673. nextx:
  674. pause 0.5
  675. send exhale my %origami
  676. send drop my %origami
  677. pause 0.5
  678. send exp lore 0
  679. pause
  680. if $Mechanical_Lore.LearningRate < 30 then goto mech
  681. else return
  682.  
  683. MECHx:
  684. send exp lore 0
  685. match MechDone % mind lock
  686. match MechDone % dazed
  687. match MechDone % bewilder
  688. match origami EXP HELP
  689. matchwait
  690.  
  691.  
  692. foragegrass:
  693. pause .5
  694. send forage grass
  695. match mechdone Roundtime:
  696. match mechdone cluttered
  697. match braid You manage to find some grass.
  698. match mechdone You need to have one hand free
  699. matchwait
  700.  
  701. braid:
  702. pause 1
  703. send braid my grass
  704. match remgloves Your efforts are hindered
  705. match foragegrass You need to have more material
  706. match braidexp Roundtime:
  707. match mechdone you need
  708. match mechdone nothing more than wasted effort.
  709. matchwait
  710.  
  711. remgloves:
  712. pause 1
  713. if matchre ($roomobjs,%garbage) then send put my grass in $1
  714. wait
  715. put remove my gauntlets
  716. wait
  717. put stow gauntlets
  718. wait
  719. goto foragegrass
  720.  
  721. braidexp:
  722. pause 1
  723. put exp sk mech
  724. pause
  725. if $Mechanical_Lore.LearningRate < 30 then goto braid
  726. else goto mechdone
  727.  
  728. mechdone:
  729. pause .5
  730. if contains ($roomobjs,%garbage) then send put my grass in $1; put my grass in $1
  731. return
  732. pause .5
  733. send drop my grass
  734. send drop my grass
  735. return
  736.  
  737.  
  738. ###############
  739. ###MAGIC SUB###
  740. ###############
  741. ###############
  742. #PRIMARY MAGIC#
  743. ###############
  744.  
  745. Magic:
  746. pause 0.5
  747. if %humming = 1 then send stop hum
  748. if $Primary_Magic.LearningRate < 30 then goto prep
  749. Else return
  750. Prep:
  751. send prep SOD 30
  752. matchre Harness ^You raise your arms
  753. matchre Harness ^You mutter a
  754. matchre Magic.Done ^You have to strain
  755. matchre Prep \.\.\.wait
  756. matchwait
  757. Harness:
  758. #waitfor You feel fully prepared
  759. pause 10
  760. goto cast
  761. #send harness 8
  762. matchre Cast ^Roundtime:
  763. matchre magic.Done ^You strain,
  764. matchre Harness \.\.\.wait
  765. matchwait
  766. Cast:
  767. pause 1
  768. send cast
  769. matchre Magic ^You gesture\.
  770. matchre Cast \.\.\.wait
  771. matchwait
  772. Magic.Done:
  773. send release
  774. return
  775.  
  776. RF.Spell:
  777. pause .5
  778. if %humming = 1 then send stop hum
  779. send prep rf
  780. pause .5
  781. waitfor You feel fully
  782. goto RF.Harness
  783.  
  784. RF.Harness:
  785. pause .5
  786. send harn 6
  787. matchre RF.Cast ^Roundtime
  788. matchre RF.Done ^You strain
  789. matchwait
  790.  
  791. RF.Cast:
  792. Pause .5
  793. send cast
  794. matchre RF.Check ^The whole world begins
  795. matchre RF.Harness ^You aren't holding
  796. match RF.Done backfires
  797. matchwait
  798.  
  799. RF.check:
  800. send exp magic
  801. if $Primary_Magic.LearningRate < 30 then goto RF.Prep
  802. else goto RF.Done
  803.  
  804. RF.Prep:
  805. send prepare RF
  806. goto RF.Recast
  807.  
  808. RF.Recast:
  809. waitforre ^The refractive field gathers around you
  810. send cast
  811. matchre RF.Check ^The whole world begins
  812. matchre RF.Harness ^You aren't holding
  813. matchre RF.Check ^The Refractive Field pattern
  814. matchre RF.Check ^You don't have a spell
  815. match RF.Done backfires
  816. match RF.Done fails completely
  817. matchwait
  818.  
  819. RF.Done:
  820. pause .5
  821. send release
  822. return
  823.  
  824.  
  825. ######################
  826. ###POWER PERCEPTION###
  827. ######################
  828.  
  829. power:
  830. pause .5
  831. if %power.counter = 0 then send perc
  832. if %power.counter = 1 then send perc katamba
  833. if %power.counter = 2 then send perc yavash
  834. if %power.counter = 3 then send perc xibar
  835. if %power.counter = 4 then send perc moon
  836. if %power.counter = 5 then send perc per
  837. if %power.counter = 6 then send perc manip
  838. if %power.counter = 7 then send perc psy
  839. if %power.counter = 8 then send perc trans
  840. if %power.counter = 9 then send perc stellar
  841. if %power.counter = 10 then send perc planet
  842. if %power.counter = 11 then send perc watch
  843. wait
  844. math power.counter add 1
  845. if %power.counter = 12 then setvar power.counter 0
  846. if %power.counter = 0 then return
  847. goto power
  848.  
  849.  
  850. #####################
  851. ###MAGICAL DEVICES###
  852. #####################
  853. var focuses 0
  854.  
  855. Arcana:
  856. pause .5
  857. send exp magic 0
  858. wait
  859. if $Arcana.LearningRate < 30 then goto Arcana.start
  860. else if $Primary_Magic.LearningRate < 30 then goto Arcana.start
  861. else goto arcana.done
  862.  
  863. Arcana.start:
  864. pause .5
  865. #setvar MD.spell 0
  866. if %AUS = 0 then gosub AUS
  867. if %humming = 1 then send stop hum
  868. if %MD.spell = 0 then send prep SOD 18
  869. if %MD.spell = 1 then if !contains ("$roomobjs", "shadowling") then if $Time.isDay != 1 then send prep shadowling
  870. else if %MD.spell = 1 then send prep SOD 18
  871. if %MD.spell = 2 then send prep MAF 16
  872. if %MD.spell = 3 then send prep PG 16
  873. if %MD.spell = 4 then send prep CV 16
  874. if %MD.spell = 5 then send prep shad 16
  875. if %MD.spell = 6 then send prep shear 16
  876. match Arcana.done You have to strain
  877. match ring You raise
  878. match Ring You trace
  879. matchwait
  880.  
  881. AUS:
  882. Pause .5
  883. send prep aus 18
  884. gosub ring
  885. return
  886.  
  887.  
  888. MOONS:
  889. send observe moons in sky
  890. match COL.KATAMBA moon Katamba
  891. match COL.XIBAR moon Xibar
  892. match COL.YAVASH moon Yavash
  893. match COL.XIBAR presence of Xibar.
  894. match COL.YAVASH presence of Yavash.
  895. match COL.KATAMBA presence of Katamba.
  896. match COL.XIBAR Xibar's presence
  897. match COL.YAVASH Yavash's presence
  898. match COL.KATAMBA Katamba's presence
  899. match COL.XIBAR Xibar lurking
  900. match COL.YAVASH Yavash lurking
  901. match COL.KATAMBA Katamba lurking
  902. match COL.DONE That's a bit hard to do
  903. match COL.DONE Roundtime:
  904. match MOONS You are a bit too distracted
  905. matchwait
  906.  
  907. COL.KATAMBA:
  908. setvar COL Katamba
  909. return
  910.  
  911. COL.YAVASH:
  912. setvar COL Yavash
  913. return
  914.  
  915. COL.XIBAR:
  916. setvar COL xibar
  917. return
  918.  
  919. COL.DONE:
  920. setvar COL off
  921. return
  922.  
  923.  
  924. Ring:
  925. pause .5
  926. math focuses add 1
  927. #if %focuses > 1 and "$preparedspell" = "Seal of Deflection" then goto focus
  928. if %focuses > 1 then goto focus
  929. #send remove my %cambrinth
  930. send charge my %cambrinth 18
  931. match empty while holding something else
  932. match ring You harness
  933. match focus too clumsy
  934. match freeup hand free
  935. match Arcana.done You are in no condition
  936. match Arcana.done You strain,
  937. matchwait
  938.  
  939. focus:
  940. pause .5
  941. setvar focuses 0
  942. send focus my %cambrinth
  943. match empty while holding something else
  944. match focus but fail.
  945. match Ring too clumsy
  946. match Arcana.cast readying it for your use.
  947. match Arcana.cast is intact.
  948. match Arcana.cast resists, only absorbing part
  949. match Arcana.cast is already holding as much power
  950. matchwait
  951.  
  952. empty:
  953. pause .5
  954. send wear %cambrinth
  955. send stow left
  956. pause .5
  957. send stow right
  958. goto Ring
  959.  
  960. Arcana.cast:
  961. pause .5
  962. math MD.spell add 1
  963. #if $spelltime < 20 then waitforre ^You feel fully prepared
  964. if "%COL" = "off" then goto COL.OFF
  965. if %MD.spell > 1 then setvar MD.spell 0
  966. send cast
  967. match Arcana A globe of shimmering blue fire
  968. match Arcana The shimmering globe of blue fire
  969. match Arcana You sense forces gathering about
  970. match Arcana Tendrils of blue-white light silently shimmer into view
  971. match Arcana With a dull roar
  972. match Arcana With a barely perceptible screech
  973. match Arcana You notice the shadows
  974. match Arcana There is a subtle change in the lighting
  975. match Arcana You feel more aware
  976. match Arcana Pale yellow sparks begin to flicker
  977. match Arcana Pale yellow sparks
  978. match Arcana You briefly feel less aware
  979. match Arcana The world around you wavers
  980. match Arcana The world around you brightens
  981. match Arcana Your spell causes the globe of blue
  982. match Arcana shifting plexus of glistening azure lines
  983. match Arcana The air around you shimmers
  984. match Arcana Bright golden light flares for a moment
  985. match arcana.done The auras around you remain unchanged
  986. match arcana.done Your color vision blossoms
  987. match arcana.done You are unable to harness
  988. match arcana.done backfires
  989. match Arcana is on the wrong side of Elanthia
  990. matchwait
  991.  
  992. COL.OFF:
  993. send release
  994. setvar MD.spell 0
  995. goto Arcana
  996.  
  997. Arcana.done:
  998. pause .5
  999. setvar focuses 0
  1000. #send wear my %cambrinth
  1001. send release
  1002. return
  1003.  
  1004.  
  1005. ############
  1006. ###HIDING###
  1007. ############
  1008.  
  1009. hide:
  1010. if $hidden = 1 then return
  1011. if %humming = 1 then send stop hum
  1012. send hide
  1013. match hide.done Roundtime:
  1014. match hide.done Eh?
  1015. matchwait
  1016.  
  1017. hide.done:
  1018. return
  1019.  
  1020.  
  1021. ###############
  1022. ###APPRAISAL###
  1023. ###############
  1024.  
  1025.  
  1026. Appraisal:
  1027. If $Appraisal.LearningRate < 30 then goto Appraise.1
  1028. else goto appraise.done
  1029. appraise.1:
  1030. pause .5
  1031. send app my case
  1032. matchre Appraise.2 ^Roundtime:
  1033. matchre Appraise.2 ^I could not
  1034. matchre Appraise.1 \.\.\.wait
  1035. matchwait
  1036. appraise.2:
  1037. pause .5
  1038. send app my bala
  1039. matchre Appraise.3 ^Roundtime:
  1040. matchre Appraise.3 ^I could not
  1041. matchre Appraise.2 \.\.\.wait
  1042. matchwait
  1043. appraise.3:
  1044. pause .5
  1045. send app my gloves
  1046. matchre Appraise.4 ^Roundtime:
  1047. matchre Appraise.4 ^I could not
  1048. matchre Appraise.4 ^It's hard to appraise fa
  1049. matchre Appraise.3 \.\.\.wait
  1050. matchwait
  1051. appraise.4:
  1052. pause .5
  1053. send app my bundle
  1054. matchre Appraise.5 ^Roundtime:
  1055. matchre Appraise.5 ^Appraise what?
  1056. matchre Appraise.5 ^I could not
  1057. matchre Appraise.4 \.\.\.wait
  1058. matchwait
  1059. appraise.5:
  1060. pause .5
  1061. send app my shield
  1062. matchre Appraise.done ^Roundtime:
  1063. matchre Appraise.done ^I could not
  1064. matchre Appraise.5 \.\.\.wait
  1065. matchwait
  1066. appraise.6:
  1067. pause .5
  1068. send app my gem pouch
  1069. matchre Appraise.done ^Roundtime:
  1070. matchre Appraise.done ^I could not
  1071. matchre Appraise.6 \.\.\.wait
  1072. matchwait
  1073. Appraise.Done:
  1074. pause 2
  1075. send close my gem pouch
  1076. waitforre ^You close your|^That is already closed\.|^What were you
  1077. return
  1078.  
  1079.  
  1080. #######################
  1081. ###CLIMBING/SWIMMING###
  1082. #######################
  1083.  
  1084. swimming:
  1085. pause .5
  1086. gosub move 99
  1087. gosub move 80
  1088. gosub move 56
  1089. pause .5
  1090. swim:
  1091. move w
  1092. wait
  1093. move s
  1094. wait
  1095. move e
  1096. wait
  1097. move n
  1098. wait
  1099. send climb embankment
  1100. wait
  1101. send dive hole
  1102. wait
  1103. if $Swimming.LearningRate < 30 then goto swim
  1104.  
  1105. swimdone:
  1106. pause .5
  1107. gosub move 102
  1108. gosub move 81
  1109. gosub move 103
  1110. return
  1111.  
  1112.  
  1113.  
  1114. exitnow:
  1115. EXIT.NOW:
  1116. send #beep
  1117. send #beep
  1118. #play beep1.wav
  1119. echo $timedate
  1120. send exit
  1121. send exit
  1122. exit
  1123.  
  1124. STOPSCRIPT:
  1125. send #play beep1.wav
  1126. send #play beep1.wav
  1127. echo
  1128. echo
  1129. echo
  1130. echo
  1131. echo
  1132. echo
  1133. echo
  1134. echo
  1135. echo
  1136. echo
  1137. echo
  1138. echo
  1139. echo PULLED UP INTO A CONSULTATION SUITE!!!!
  1140. echo
  1141. echo
  1142. echo
  1143. echo
  1144. echo
  1145. echo
  1146. echo
  1147. send #abortscript
  1148.  
  1149. CONNECT:
  1150. echo *** You have been disconnected. Attempting to reconnect ***
  1151. put #echo >Log Lime *** Attempting to reconnect ***
  1152. action goto CONNECTED when You look around, taking a moment to get your bearings.
  1153. goto connecting
  1154. exit
  1155.  
  1156. CONNECTING:
  1157. put #connect
  1158. pause 15
  1159. if $connected = 1 then goto Connected
  1160. goto CONNECTING
  1161.  
  1162. CONNECTED:
  1163. Echo *** You have been Reconnected ***
  1164. put #echo >Log *** Reconnected ***
  1165. action remove You look around, taking a moment to get your bearings.
  1166. gosub clear
  1167. pause 5
  1168. goto mainloop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement