Advertisement
milevanfaent

Untitled

Jan 27th, 2018
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 83.28 KB | None | 0 0
  1. <!--Saved by Quest 5.7.6404.15496-->
  2. <asl version="550">
  3. <include ref="English.aslx" />
  4. <include ref="Core.aslx" />
  5. <include ref="StackLib.aslx" />
  6. <include ref="ConvLib.aslx" />
  7. <include ref="ShopLib.aslx" />
  8. <include ref="CombatLib.aslx" />
  9. <include ref="ClothingLib.aslx" />
  10. <include ref="ClockLib.aslx" />
  11. <game name="Quest for the magic Ring">
  12. <gameid>a2d49300-46cb-48a8-8e22-8ddd04eb6545</gameid>
  13. <version>1.0</version>
  14. <firstpublished>2018</firstpublished>
  15. <showhealth />
  16. <showmoney />
  17. <feature_limitinventory />
  18. <feature_lightdark />
  19. <feature_asktell />
  20. <feature_annotations />
  21. <attr name="feature_advancedwearables" type="boolean">false</attr>
  22. <appendobjectdescription />
  23. <allowlookdirections />
  24. <category>RPG</category>
  25. <feature_advancedscripts />
  26. <showscore type="boolean">false</showscore>
  27. <clearscreenonroomenter />
  28. <attr name="autodescription_youarein_newline" type="boolean">false</attr>
  29. <attr name="autodescription_youcansee_newline" type="boolean">false</attr>
  30. <attr name="autodescription_youcango_newline" type="boolean">false</attr>
  31. <attr name="autodescription_description_newline" type="boolean">false</attr>
  32. <showreactions />
  33. <notarealturn type="boolean">false</notarealturn>
  34. <statusattributes type="stringdictionary">
  35. <item>
  36. <key>clock</key>
  37. <value>Time: !</value>
  38. </item>
  39. </statusattributes>
  40. <start type="script">
  41. CombatInitialise
  42. raceselect
  43. SetTime ("01:14:35")
  44. </start>
  45. <unresolvedcommandhandler type="script">
  46. game.notarealturn = True
  47. msg (Template("UnrecognisedCommand"))
  48. </unresolvedcommandhandler>
  49. </game>
  50. <object name="room">
  51. <inherit name="editor_room" />
  52. <enter type="script">
  53. </enter>
  54. <object name="player">
  55. <inherit name="editor_object" />
  56. <inherit name="editor_player" />
  57. <inherit name="characterclass" />
  58. <inherit name="raceclass_type" />
  59. <money type="int">50</money>
  60. <statusattributes type="stringdictionary">
  61. <item>
  62. <key>alias</key>
  63. <value></value>
  64. </item>
  65. <item>
  66. <key>race</key>
  67. <value></value>
  68. </item>
  69. <item>
  70. <key>gender</key>
  71. <value></value>
  72. </item>
  73. <item>
  74. <key>Class</key>
  75. <value></value>
  76. </item>
  77. <item>
  78. <key>HP</key>
  79. <value></value>
  80. </item>
  81. <item>
  82. <key>MP</key>
  83. <value></value>
  84. </item>
  85. <item>
  86. <key>Combat</key>
  87. <value></value>
  88. </item>
  89. <item>
  90. <key>Knowledge</key>
  91. <value></value>
  92. </item>
  93. <item>
  94. <key>Charm</key>
  95. <value></value>
  96. </item>
  97. <item>
  98. <key>Intimidate</key>
  99. <value></value>
  100. </item>
  101. <item>
  102. <key>Deceive</key>
  103. <value></value>
  104. </item>
  105. <item>
  106. <key>Stealth</key>
  107. <value></value>
  108. </item>
  109. <item>
  110. <key>Survival</key>
  111. <value></value>
  112. </item>
  113. <item>
  114. <key>Awareness</key>
  115. <value></value>
  116. </item>
  117. <item>
  118. <key>Healing</key>
  119. <value></value>
  120. </item>
  121. <item>
  122. <key>Magic</key>
  123. <value></value>
  124. </item>
  125. </statusattributes>
  126. <volume type="int">100</volume>
  127. <containerfullmessage>You can't carry any more! It's too heavy!</containerfullmessage>
  128. <turncount type="int">0</turncount>
  129. </object>
  130. </object>
  131. <object name="characters">
  132. <inherit name="editor_room" />
  133. <object name="Soldier">
  134. <inherit name="editor_object" />
  135. <inherit name="editor_player" />
  136. <inherit name="characterclass" />
  137. <feature_player />
  138. <Class>Soldier</Class>
  139. <MaxHealth type="int">40</MaxHealth>
  140. <statusattributes type="stringdictionary">
  141. <item>
  142. <key>HP</key>
  143. <value></value>
  144. </item>
  145. <item>
  146. <key>Armor</key>
  147. <value></value>
  148. </item>
  149. <item>
  150. <key>Combat</key>
  151. <value></value>
  152. </item>
  153. <item>
  154. <key>MP</key>
  155. <value></value>
  156. </item>
  157. <item>
  158. <key>Intimidate</key>
  159. <value></value>
  160. </item>
  161. <item>
  162. <key>Knowledge</key>
  163. <value></value>
  164. </item>
  165. <item>
  166. <key>Charm</key>
  167. <value></value>
  168. </item>
  169. <item>
  170. <key>Stealth</key>
  171. <value></value>
  172. </item>
  173. <item>
  174. <key>Survival</key>
  175. <value></value>
  176. </item>
  177. <item>
  178. <key>Awareness</key>
  179. <value></value>
  180. </item>
  181. <item>
  182. <key>Healing</key>
  183. <value></value>
  184. </item>
  185. <item>
  186. <key>Magic</key>
  187. <value></value>
  188. </item>
  189. </statusattributes>
  190. </object>
  191. <object name="Mage">
  192. <inherit name="editor_object" />
  193. <inherit name="editor_player" />
  194. <inherit name="characterclass" />
  195. <feature_player />
  196. <Class>Mage</Class>
  197. <statusattributes type="stringdictionary">
  198. <item>
  199. <key>HP</key>
  200. <value></value>
  201. </item>
  202. <item>
  203. <key>Armor</key>
  204. <value></value>
  205. </item>
  206. <item>
  207. <key>Combat</key>
  208. <value></value>
  209. </item>
  210. <item>
  211. <key>MP</key>
  212. <value></value>
  213. </item>
  214. <item>
  215. <key>Intimidate</key>
  216. <value></value>
  217. </item>
  218. <item>
  219. <key>Knowledge</key>
  220. <value></value>
  221. </item>
  222. <item>
  223. <key>Charm</key>
  224. <value></value>
  225. </item>
  226. <item>
  227. <key>Stealth</key>
  228. <value></value>
  229. </item>
  230. <item>
  231. <key>Survival</key>
  232. <value></value>
  233. </item>
  234. <item>
  235. <key>Awareness</key>
  236. <value></value>
  237. </item>
  238. <item>
  239. <key>Healing</key>
  240. <value></value>
  241. </item>
  242. <item>
  243. <key>Magic</key>
  244. <value></value>
  245. </item>
  246. <item>
  247. <key>Equipment</key>
  248. <value></value>
  249. </item>
  250. </statusattributes>
  251. </object>
  252. <object name="Thief">
  253. <inherit name="editor_object" />
  254. <inherit name="editor_player" />
  255. <inherit name="characterclass" />
  256. <feature_player />
  257. <Class>Thief</Class>
  258. <statusattributes type="stringdictionary">
  259. <item>
  260. <key>HP</key>
  261. <value></value>
  262. </item>
  263. <item>
  264. <key>Armor</key>
  265. <value></value>
  266. </item>
  267. <item>
  268. <key>Combat</key>
  269. <value></value>
  270. </item>
  271. <item>
  272. <key>MP</key>
  273. <value></value>
  274. </item>
  275. <item>
  276. <key>Intimidate</key>
  277. <value></value>
  278. </item>
  279. <item>
  280. <key>Knowledge</key>
  281. <value></value>
  282. </item>
  283. <item>
  284. <key>Charm</key>
  285. <value></value>
  286. </item>
  287. <item>
  288. <key>Stealth</key>
  289. <value></value>
  290. </item>
  291. <item>
  292. <key>Survival</key>
  293. <value></value>
  294. </item>
  295. <item>
  296. <key>Awareness</key>
  297. <value></value>
  298. </item>
  299. <item>
  300. <key>Healing</key>
  301. <value></value>
  302. </item>
  303. <item>
  304. <key>Magic</key>
  305. <value></value>
  306. </item>
  307. <item>
  308. <key>Equipment</key>
  309. <value></value>
  310. </item>
  311. </statusattributes>
  312. </object>
  313. <object name="Priest">
  314. <inherit name="editor_object" />
  315. <inherit name="editor_player" />
  316. <inherit name="characterclass" />
  317. <feature_player />
  318. <Class>Priest</Class>
  319. <statusattributes type="stringdictionary">
  320. <item>
  321. <key>HP</key>
  322. <value></value>
  323. </item>
  324. <item>
  325. <key>Armor</key>
  326. <value></value>
  327. </item>
  328. <item>
  329. <key>Combat</key>
  330. <value></value>
  331. </item>
  332. <item>
  333. <key>MP</key>
  334. <value></value>
  335. </item>
  336. <item>
  337. <key>Intimidate</key>
  338. <value></value>
  339. </item>
  340. <item>
  341. <key>Knowledge</key>
  342. <value></value>
  343. </item>
  344. <item>
  345. <key>Charm</key>
  346. <value></value>
  347. </item>
  348. <item>
  349. <key>Stealth</key>
  350. <value></value>
  351. </item>
  352. <item>
  353. <key>Survival</key>
  354. <value></value>
  355. </item>
  356. <item>
  357. <key>Awareness</key>
  358. <value></value>
  359. </item>
  360. <item>
  361. <key>Healing</key>
  362. <value></value>
  363. </item>
  364. <item>
  365. <key>Magic</key>
  366. <value></value>
  367. </item>
  368. <item>
  369. <key>Equipment</key>
  370. <value></value>
  371. </item>
  372. </statusattributes>
  373. <Health type="int">20</Health>
  374. </object>
  375. <object name="Hunter">
  376. <inherit name="editor_object" />
  377. <inherit name="editor_player" />
  378. <inherit name="characterclass" />
  379. <feature_player />
  380. <Class>Hunter</Class>
  381. <statusattributes type="stringdictionary">
  382. <item>
  383. <key>HP</key>
  384. <value></value>
  385. </item>
  386. <item>
  387. <key>Armor</key>
  388. <value></value>
  389. </item>
  390. <item>
  391. <key>Combat</key>
  392. <value></value>
  393. </item>
  394. <item>
  395. <key>MP</key>
  396. <value></value>
  397. </item>
  398. <item>
  399. <key>Intimidate</key>
  400. <value></value>
  401. </item>
  402. <item>
  403. <key>Knowledge</key>
  404. <value></value>
  405. </item>
  406. <item>
  407. <key>Charm</key>
  408. <value></value>
  409. </item>
  410. <item>
  411. <key>Stealth</key>
  412. <value></value>
  413. </item>
  414. <item>
  415. <key>Survival</key>
  416. <value></value>
  417. </item>
  418. <item>
  419. <key>Awareness</key>
  420. <value></value>
  421. </item>
  422. <item>
  423. <key>Healing</key>
  424. <value></value>
  425. </item>
  426. <item>
  427. <key>Magic</key>
  428. <value></value>
  429. </item>
  430. <item>
  431. <key>Equipment</key>
  432. <value></value>
  433. </item>
  434. </statusattributes>
  435. </object>
  436. <object name="Bard">
  437. <inherit name="editor_object" />
  438. <inherit name="editor_player" />
  439. <inherit name="characterclass" />
  440. <feature_player />
  441. <Class>Bard</Class>
  442. <statusattributes type="stringdictionary">
  443. <item>
  444. <key>HP</key>
  445. <value></value>
  446. </item>
  447. <item>
  448. <key>Armor</key>
  449. <value></value>
  450. </item>
  451. <item>
  452. <key>Combat</key>
  453. <value></value>
  454. </item>
  455. <item>
  456. <key>MP</key>
  457. <value></value>
  458. </item>
  459. <item>
  460. <key>Intimidate</key>
  461. <value></value>
  462. </item>
  463. <item>
  464. <key>Knowledge</key>
  465. <value></value>
  466. </item>
  467. <item>
  468. <key>Charm</key>
  469. <value></value>
  470. </item>
  471. <item>
  472. <key>Stealth</key>
  473. <value></value>
  474. </item>
  475. <item>
  476. <key>Survival</key>
  477. <value></value>
  478. </item>
  479. <item>
  480. <key>Awareness</key>
  481. <value></value>
  482. </item>
  483. <item>
  484. <key>Healing</key>
  485. <value></value>
  486. </item>
  487. <item>
  488. <key>Magic</key>
  489. <value></value>
  490. </item>
  491. <item>
  492. <key>Equipment</key>
  493. <value></value>
  494. </item>
  495. </statusattributes>
  496. </object>
  497. <object name="Paladin">
  498. <inherit name="editor_object" />
  499. <inherit name="editor_player" />
  500. <inherit name="characterclass" />
  501. <feature_player />
  502. <Class>Paladin</Class>
  503. <statusattributes type="stringdictionary">
  504. <item>
  505. <key>HP</key>
  506. <value></value>
  507. </item>
  508. <item>
  509. <key>Armor</key>
  510. <value></value>
  511. </item>
  512. <item>
  513. <key>Combat</key>
  514. <value></value>
  515. </item>
  516. <item>
  517. <key>MP</key>
  518. <value></value>
  519. </item>
  520. <item>
  521. <key>Intimidate</key>
  522. <value></value>
  523. </item>
  524. <item>
  525. <key>Knowledge</key>
  526. <value></value>
  527. </item>
  528. <item>
  529. <key>Charm</key>
  530. <value></value>
  531. </item>
  532. <item>
  533. <key>Stealth</key>
  534. <value></value>
  535. </item>
  536. <item>
  537. <key>Survival</key>
  538. <value></value>
  539. </item>
  540. <item>
  541. <key>Awareness</key>
  542. <value></value>
  543. </item>
  544. <item>
  545. <key>Healing</key>
  546. <value></value>
  547. </item>
  548. <item>
  549. <key>Magic</key>
  550. <value></value>
  551. </item>
  552. <item>
  553. <key>Equipment</key>
  554. <value></value>
  555. </item>
  556. </statusattributes>
  557. </object>
  558. </object>
  559. <object name="weapons">
  560. <inherit name="editor_room" />
  561. <object name="Long Sword">
  562. <inherit name="editor_object" />
  563. <inherit name="weapontype" />
  564. <inherit name="wearable" />
  565. <inherit name="weapon" />
  566. <feature_wearable />
  567. <attr name="wear_layer" type="int">3</attr>
  568. <wear_slots type="stringlist">
  569. <value>Weapon</value>
  570. </wear_slots>
  571. <bonusatts>Combat+5</bonusatts>
  572. <volume type="int">3</volume>
  573. <multistate />
  574. <advanced />
  575. <damagedicenumber type="int">2</damagedicenumber>
  576. <damagedicesides type="int">4</damagedicesides>
  577. <damagebonus type="int">2</damagebonus>
  578. <take type="script">
  579. msg (DynamicTemplate("TakeSuccessful", this))
  580. this.parent = game.pov
  581. SetVerbs
  582. if (game.pov.Class = "Soldier") {
  583. msg (DynamicTemplate("TakeSuccessful", this))
  584. this.parent = game.pov
  585. SetVerbs
  586. }
  587. </take>
  588. </object>
  589. </object>
  590. <object name="basic_items">
  591. <inherit name="editor_room" />
  592. <object name="Pouch of Potions">
  593. <inherit name="editor_object" />
  594. <inherit name="container_limited" />
  595. <inherit name="wearable" />
  596. <feature_container />
  597. <look>This is a pouch for potions.</look>
  598. <inroomdescription>This is a pouch.</inroomdescription>
  599. <listalias>Pouch</listalias>
  600. <alt type="stringlist">
  601. <value>Potions Pouch</value>
  602. </alt>
  603. <volume type="int">20</volume>
  604. <feature_wearable />
  605. <attr name="wear_layer" type="int">3</attr>
  606. <wear_slots type="stringlist">
  607. <value>Pouch</value>
  608. </wear_slots>
  609. </object>
  610. </object>
  611. <object name="health_items">
  612. <inherit name="editor_room" />
  613. <object name="Small_Potion">
  614. <inherit name="editor_object" />
  615. <inherit name="healthitem" />
  616. <inherit name="childstack_object" />
  617. <stackparent type="object">Small Potion Stack</stackparent>
  618. </object>
  619. <object name="Basic_Potion">
  620. <inherit name="editor_object" />
  621. <inherit name="healthitem" />
  622. <attr name="feature_usegive" type="boolean">false</attr>
  623. <use type="boolean">false</use>
  624. </object>
  625. <object name="Super_Potion">
  626. <inherit name="editor_object" />
  627. <inherit name="healthitem" />
  628. </object>
  629. </object>
  630. <object name="armor">
  631. <inherit name="editor_room" />
  632. <object name="Cloth">
  633. <inherit name="editor_object" />
  634. <inherit name="armortype" />
  635. </object>
  636. <object name="Leather">
  637. <inherit name="editor_object" />
  638. <inherit name="armortype" />
  639. </object>
  640. <object name="Chainmail">
  641. <inherit name="editor_object" />
  642. <inherit name="armortype" />
  643. </object>
  644. </object>
  645. <object name="start">
  646. <inherit name="editor_room" />
  647. </object>
  648. <object name="race">
  649. <inherit name="editor_object" />
  650. <object name="Human">
  651. <inherit name="editor_object" />
  652. <inherit name="characterclass" />
  653. <inherit name="editor_player" />
  654. <Charm type="int">0</Charm>
  655. <Survival type="int">0</Survival>
  656. <feature_player />
  657. <Class type="string"></Class>
  658. <money type="int">60</money>
  659. <HP type="string"></HP>
  660. <Combat type="int">0</Combat>
  661. <Intimidate type="int">0</Intimidate>
  662. <Knowledge type="int">0</Knowledge>
  663. <Stealth type="int">0</Stealth>
  664. <Awareness type="int">0</Awareness>
  665. <Healing type="int">0</Healing>
  666. <Magic type="int">0</Magic>
  667. <statusattributes type="stringdictionary">
  668. <item>
  669. <key>gender</key>
  670. <value></value>
  671. </item>
  672. <item>
  673. <key>Class</key>
  674. <value></value>
  675. </item>
  676. <item>
  677. <key>HP</key>
  678. <value></value>
  679. </item>
  680. <item>
  681. <key>MP</key>
  682. <value></value>
  683. </item>
  684. <item>
  685. <key>Armor</key>
  686. <value></value>
  687. </item>
  688. <item>
  689. <key>Combat</key>
  690. <value></value>
  691. </item>
  692. <item>
  693. <key>Charm</key>
  694. <value></value>
  695. </item>
  696. <item>
  697. <key>Deceive</key>
  698. <value></value>
  699. </item>
  700. <item>
  701. <key>Intimidate</key>
  702. <value></value>
  703. </item>
  704. <item>
  705. <key>Knowledge</key>
  706. <value></value>
  707. </item>
  708. <item>
  709. <key>Stealth</key>
  710. <value></value>
  711. </item>
  712. <item>
  713. <key>Survival</key>
  714. <value></value>
  715. </item>
  716. <item>
  717. <key>Awareness</key>
  718. <value></value>
  719. </item>
  720. <item>
  721. <key>Healing</key>
  722. <value></value>
  723. </item>
  724. <item>
  725. <key>Magic</key>
  726. <value></value>
  727. </item>
  728. </statusattributes>
  729. <RaceHealth type="int">0</RaceHealth>
  730. <RaceMagic type="int">0</RaceMagic>
  731. <Size type="int">2</Size>
  732. </object>
  733. <object name="Dwarf">
  734. <inherit name="editor_object" />
  735. <inherit name="characterclass" />
  736. <inherit name="editor_player" />
  737. <Charm type="int">-5</Charm>
  738. <Survival type="int">5</Survival>
  739. <feature_player />
  740. <Class type="string"></Class>
  741. <money type="int">50</money>
  742. <HP type="string"></HP>
  743. <Combat type="int">0</Combat>
  744. <Intimidate type="int">0</Intimidate>
  745. <Knowledge type="int">0</Knowledge>
  746. <Stealth type="int">0</Stealth>
  747. <Awareness type="int">0</Awareness>
  748. <Healing type="int">0</Healing>
  749. <Magic type="int">0</Magic>
  750. <statusattributes type="stringdictionary">
  751. <item>
  752. <key>gender</key>
  753. <value></value>
  754. </item>
  755. <item>
  756. <key>Class</key>
  757. <value></value>
  758. </item>
  759. <item>
  760. <key>HP</key>
  761. <value></value>
  762. </item>
  763. <item>
  764. <key>MP</key>
  765. <value></value>
  766. </item>
  767. <item>
  768. <key>Armor</key>
  769. <value></value>
  770. </item>
  771. <item>
  772. <key>Combat</key>
  773. <value></value>
  774. </item>
  775. <item>
  776. <key>Charm</key>
  777. <value></value>
  778. </item>
  779. <item>
  780. <key>Deceive</key>
  781. <value></value>
  782. </item>
  783. <item>
  784. <key>Intimidate</key>
  785. <value></value>
  786. </item>
  787. <item>
  788. <key>Knowledge</key>
  789. <value></value>
  790. </item>
  791. <item>
  792. <key>Stealth</key>
  793. <value></value>
  794. </item>
  795. <item>
  796. <key>Survival</key>
  797. <value></value>
  798. </item>
  799. <item>
  800. <key>Awareness</key>
  801. <value></value>
  802. </item>
  803. <item>
  804. <key>Healing</key>
  805. <value></value>
  806. </item>
  807. <item>
  808. <key>Magic</key>
  809. <value></value>
  810. </item>
  811. </statusattributes>
  812. <RaceHealth type="int">10</RaceHealth>
  813. <RaceMagic type="int">5</RaceMagic>
  814. <Size type="int">2</Size>
  815. </object>
  816. <object name="Elf">
  817. <inherit name="editor_object" />
  818. <inherit name="characterclass" />
  819. <inherit name="editor_player" />
  820. <Charm type="int">0</Charm>
  821. <Survival type="int">0</Survival>
  822. <feature_player />
  823. <Class type="string"></Class>
  824. <money type="int">50</money>
  825. <HP type="string"></HP>
  826. <Combat type="int">-5</Combat>
  827. <Intimidate type="int">0</Intimidate>
  828. <Knowledge type="int">0</Knowledge>
  829. <Stealth type="int">0</Stealth>
  830. <Awareness type="int">0</Awareness>
  831. <Healing type="int">0</Healing>
  832. <Magic type="int">5</Magic>
  833. <statusattributes type="stringdictionary">
  834. <item>
  835. <key>gender</key>
  836. <value></value>
  837. </item>
  838. <item>
  839. <key>Class</key>
  840. <value></value>
  841. </item>
  842. <item>
  843. <key>HP</key>
  844. <value></value>
  845. </item>
  846. <item>
  847. <key>MP</key>
  848. <value></value>
  849. </item>
  850. <item>
  851. <key>Armor</key>
  852. <value></value>
  853. </item>
  854. <item>
  855. <key>Combat</key>
  856. <value></value>
  857. </item>
  858. <item>
  859. <key>Knowledge</key>
  860. <value></value>
  861. </item>
  862. <item>
  863. <key>Charm</key>
  864. <value></value>
  865. </item>
  866. <item>
  867. <key>Deceive</key>
  868. <value></value>
  869. </item>
  870. <item>
  871. <key>Intimidate</key>
  872. <value></value>
  873. </item>
  874. <item>
  875. <key>Stealth</key>
  876. <value></value>
  877. </item>
  878. <item>
  879. <key>Survival</key>
  880. <value></value>
  881. </item>
  882. <item>
  883. <key>Awareness</key>
  884. <value></value>
  885. </item>
  886. <item>
  887. <key>Healing</key>
  888. <value></value>
  889. </item>
  890. <item>
  891. <key>Magic</key>
  892. <value></value>
  893. </item>
  894. </statusattributes>
  895. <RaceHealth type="int">-5</RaceHealth>
  896. <RaceMagic type="int">15</RaceMagic>
  897. <Size type="int">2</Size>
  898. </object>
  899. <object name="Halfling">
  900. <inherit name="editor_object" />
  901. <inherit name="characterclass" />
  902. <inherit name="editor_player" />
  903. <Charm type="int">0</Charm>
  904. <Survival type="int">0</Survival>
  905. <feature_player />
  906. <Class type="string"></Class>
  907. <money type="int">50</money>
  908. <HP type="string"></HP>
  909. <Combat type="int">0</Combat>
  910. <Intimidate type="int">-5</Intimidate>
  911. <Knowledge type="int">0</Knowledge>
  912. <Stealth type="int">5</Stealth>
  913. <Awareness type="int">0</Awareness>
  914. <Healing type="int">0</Healing>
  915. <Magic type="int">0</Magic>
  916. <statusattributes type="stringdictionary">
  917. <item>
  918. <key>gender</key>
  919. <value></value>
  920. </item>
  921. <item>
  922. <key>Class</key>
  923. <value></value>
  924. </item>
  925. <item>
  926. <key>HP</key>
  927. <value></value>
  928. </item>
  929. <item>
  930. <key>MP</key>
  931. <value></value>
  932. </item>
  933. <item>
  934. <key>Armor</key>
  935. <value></value>
  936. </item>
  937. <item>
  938. <key>Combat</key>
  939. <value></value>
  940. </item>
  941. <item>
  942. <key>Knowledge</key>
  943. <value></value>
  944. </item>
  945. <item>
  946. <key>Charm</key>
  947. <value></value>
  948. </item>
  949. <item>
  950. <key>Deceive</key>
  951. <value></value>
  952. </item>
  953. <item>
  954. <key>Intimidate</key>
  955. <value></value>
  956. </item>
  957. <item>
  958. <key>Stealth</key>
  959. <value></value>
  960. </item>
  961. <item>
  962. <key>Survival</key>
  963. <value></value>
  964. </item>
  965. <item>
  966. <key>Awareness</key>
  967. <value></value>
  968. </item>
  969. <item>
  970. <key>Healing</key>
  971. <value></value>
  972. </item>
  973. <item>
  974. <key>Magic</key>
  975. <value></value>
  976. </item>
  977. </statusattributes>
  978. <RaceHealth type="int">-10</RaceHealth>
  979. <MP type="string"></MP>
  980. <RaceMagic type="int">-5</RaceMagic>
  981. <Size type="int">1</Size>
  982. </object>
  983. <object name="Orc">
  984. <inherit name="editor_object" />
  985. <inherit name="characterclass" />
  986. <inherit name="editor_player" />
  987. <Charm type="int">0</Charm>
  988. <Survival type="int">0</Survival>
  989. <feature_player />
  990. <Class type="string"></Class>
  991. <money type="int">50</money>
  992. <HP type="string"></HP>
  993. <Combat type="int">5</Combat>
  994. <Intimidate type="int">0</Intimidate>
  995. <Knowledge type="int">-5</Knowledge>
  996. <Stealth type="int">0</Stealth>
  997. <Awareness type="int">0</Awareness>
  998. <Healing type="int">0</Healing>
  999. <Magic type="int">0</Magic>
  1000. <statusattributes type="stringdictionary">
  1001. <item>
  1002. <key>gender</key>
  1003. <value></value>
  1004. </item>
  1005. <item>
  1006. <key>Class</key>
  1007. <value></value>
  1008. </item>
  1009. <item>
  1010. <key>HP</key>
  1011. <value></value>
  1012. </item>
  1013. <item>
  1014. <key>MP</key>
  1015. <value></value>
  1016. </item>
  1017. <item>
  1018. <key>Armor</key>
  1019. <value></value>
  1020. </item>
  1021. <item>
  1022. <key>Combat</key>
  1023. <value></value>
  1024. </item>
  1025. <item>
  1026. <key>Knowledge</key>
  1027. <value></value>
  1028. </item>
  1029. <item>
  1030. <key>Charm</key>
  1031. <value></value>
  1032. </item>
  1033. <item>
  1034. <key>Deceive</key>
  1035. <value></value>
  1036. </item>
  1037. <item>
  1038. <key>Intimidate</key>
  1039. <value></value>
  1040. </item>
  1041. <item>
  1042. <key>Stealth</key>
  1043. <value></value>
  1044. </item>
  1045. <item>
  1046. <key>Survival</key>
  1047. <value></value>
  1048. </item>
  1049. <item>
  1050. <key>Awareness</key>
  1051. <value></value>
  1052. </item>
  1053. <item>
  1054. <key>Healing</key>
  1055. <value></value>
  1056. </item>
  1057. <item>
  1058. <key>Magic</key>
  1059. <value></value>
  1060. </item>
  1061. </statusattributes>
  1062. <RaceHealth type="int">20</RaceHealth>
  1063. <RaceMagic type="int">0</RaceMagic>
  1064. <Size type="int">3</Size>
  1065. </object>
  1066. <object name="Goblin">
  1067. <inherit name="editor_object" />
  1068. <inherit name="characterclass" />
  1069. <inherit name="editor_player" />
  1070. <Charm type="int">0</Charm>
  1071. <Survival type="int">0</Survival>
  1072. <feature_player />
  1073. <Class type="string"></Class>
  1074. <money type="int">50</money>
  1075. <HP type="string"></HP>
  1076. <Combat type="int">0</Combat>
  1077. <Intimidate type="int">0</Intimidate>
  1078. <Knowledge type="int">0</Knowledge>
  1079. <Stealth type="int">0</Stealth>
  1080. <Awareness type="int">0</Awareness>
  1081. <Healing type="int">-5</Healing>
  1082. <Magic type="int">0</Magic>
  1083. <statusattributes type="stringdictionary">
  1084. <item>
  1085. <key>gender</key>
  1086. <value></value>
  1087. </item>
  1088. <item>
  1089. <key>Class</key>
  1090. <value></value>
  1091. </item>
  1092. <item>
  1093. <key>HP</key>
  1094. <value></value>
  1095. </item>
  1096. <item>
  1097. <key>MP</key>
  1098. <value></value>
  1099. </item>
  1100. <item>
  1101. <key>Armor</key>
  1102. <value></value>
  1103. </item>
  1104. <item>
  1105. <key>Combat</key>
  1106. <value></value>
  1107. </item>
  1108. <item>
  1109. <key>Knowledge</key>
  1110. <value></value>
  1111. </item>
  1112. <item>
  1113. <key>Charm</key>
  1114. <value></value>
  1115. </item>
  1116. <item>
  1117. <key>Deceive</key>
  1118. <value></value>
  1119. </item>
  1120. <item>
  1121. <key>Intimidate</key>
  1122. <value></value>
  1123. </item>
  1124. <item>
  1125. <key>Stealth</key>
  1126. <value></value>
  1127. </item>
  1128. <item>
  1129. <key>Survival</key>
  1130. <value></value>
  1131. </item>
  1132. <item>
  1133. <key>Awareness</key>
  1134. <value></value>
  1135. </item>
  1136. <item>
  1137. <key>Healing</key>
  1138. <value></value>
  1139. </item>
  1140. <item>
  1141. <key>Magic</key>
  1142. <value></value>
  1143. </item>
  1144. </statusattributes>
  1145. <RaceHealth type="int">5</RaceHealth>
  1146. <RaceMagic type="int">10</RaceMagic>
  1147. <Deceive type="int">5</Deceive>
  1148. <Size type="int">1</Size>
  1149. </object>
  1150. </object>
  1151. <object name="Character_Setup">
  1152. <inherit name="editor_room" />
  1153. <object name="Common Long Sword">
  1154. <inherit name="editor_object" />
  1155. <inherit name="weapontype" />
  1156. <inherit name="wearable" />
  1157. <inherit name="weapon" />
  1158. <attr name="feature_wearable" type="boolean">false</attr>
  1159. <attr name="wear_layer" type="int">4</attr>
  1160. <wear_slots type="stringlist">
  1161. <value>Weapon</value>
  1162. </wear_slots>
  1163. <bonusatts>Combat+5</bonusatts>
  1164. <volume type="int">3</volume>
  1165. <multistate type="boolean">false</multistate>
  1166. <advanced />
  1167. <damagedicenumber type="int">2</damagedicenumber>
  1168. <damagedicesides type="int">6</damagedicesides>
  1169. <damagebonus type="int">2</damagebonus>
  1170. <take type="script"><![CDATA[
  1171. if (game.pov.Combat >= 10) {
  1172. msg (DynamicTemplate("TakeSuccessful", this))
  1173. this.parent = game.pov
  1174. SetVerbs
  1175. }
  1176. ]]></take>
  1177. </object>
  1178. <object name="Small Shield">
  1179. <inherit name="editor_object" />
  1180. <inherit name="wearable" />
  1181. <inherit name="shield" />
  1182. <attr name="wear_layer" type="int">3</attr>
  1183. <wear_slots type="stringlist">
  1184. <value>Shield</value>
  1185. </wear_slots>
  1186. <advanced />
  1187. <removeable />
  1188. <level type="int">1</level>
  1189. <take type="script"><![CDATA[
  1190. if (game.pov.Combat >= 0) {
  1191. msg (DynamicTemplate("TakeSuccessful", this))
  1192. this.parent = game.pov
  1193. SetVerbs
  1194. if (game.pov.Size <= 2) {
  1195. }
  1196. }
  1197. ]]></take>
  1198. </object>
  1199. <object name="Goblin1">
  1200. <inherit name="editor_object" />
  1201. <inherit name="monster" />
  1202. <alias>Goblin</alias>
  1203. <level type="int">4</level>
  1204. <attackbonus type="int">0</attackbonus>
  1205. <reflectsmagic type="boolean">false</reflectsmagic>
  1206. <monstertype>Goblinoid</monstertype>
  1207. <hitpoints type="int">1</hitpoints>
  1208. <defence type="int">0</defence>
  1209. <xp type="int">20</xp>
  1210. <object name="Dagger">
  1211. <inherit name="editor_object" />
  1212. <inherit name="weapon" />
  1213. <damagedicesides type="int">12</damagedicesides>
  1214. <take type="script"><![CDATA[
  1215. if (game.pov.Combat >= 5) {
  1216. msg (DynamicTemplate("TakeSuccessful", this))
  1217. this.parent = game.pov
  1218. SetVerbs
  1219. if (game.pov.Size <= 2) {
  1220. }
  1221. }
  1222. ]]></take>
  1223. </object>
  1224. </object>
  1225. </object>
  1226. <object name="Class_Select">
  1227. <inherit name="editor_room" />
  1228. </object>
  1229. <object name="spellbook">
  1230. <inherit name="editor_room" />
  1231. <object name="Fireball">
  1232. <inherit name="editor_object" />
  1233. <singleuse type="boolean">false</singleuse>
  1234. <element type="object">fire</element>
  1235. </object>
  1236. <object name="Mystic Light">
  1237. <inherit name="editor_object" />
  1238. </object>
  1239. </object>
  1240. <object name="Stack Room">
  1241. <inherit name="editor_room" />
  1242. <object name="Small Potion Stack">
  1243. <inherit name="editor_object" />
  1244. <inherit name="healthitem" />
  1245. <inherit name="homo_stack_container" />
  1246. </object>
  1247. </object>
  1248. <object name="Cave of Alignment">
  1249. <inherit name="editor_room" />
  1250. <dark type="boolean">false</dark>
  1251. <description><![CDATA[This is a reminder for myself. Combine Tutorial with Moral Test. Determine Lawful/Chaotic and Good/Evil values. 0-100 values, each choice adds or removes from the values. <br/><br/>Start True Neutral for most. <br/><br/>Paladin = 75 Lawful 75 Good<br/>Goblin = 25 Chaotic 25 Evil<br/>Priest = 50 Neutral 75 Good<br/>Thief = 25 Chaotic 50 Neutral<br/><br/>0 Chaotic - Lawful 100<br/>0 Evil - Good 100]]></description>
  1252. </object>
  1253. <object name="South Warren Dj Inn">
  1254. <inherit name="editor_room" />
  1255. <alias>South Warren - Dj Inn: Main Room</alias>
  1256. <description>The inn is lively, with lots of people, and even a small group of Bards playing in the background. The decorations are mostly warm-colored, with well-kept furniture spread through-out. Opposite the door, front and center, is the Innkeeper.</description>
  1257. <enter type="script">
  1258. play sound ("23_The_Slaughtered_Ox.mp3", false, true)
  1259. </enter>
  1260. <onexit type="script">
  1261. stop sound
  1262. </onexit>
  1263. <beforeenter type="script">
  1264. ClearScreen
  1265. </beforeenter>
  1266. <exit alias="up" to="South Warren Dj Inn Upstairs Hall 1">
  1267. <inherit name="updirection" />
  1268. <message>South Warren - Dj Inn - Upstairs Hall 1</message>
  1269. </exit>
  1270. <object name="Innkeeper">
  1271. <inherit name="editor_object" />
  1272. <inherit name="talkingchar" />
  1273. <inherit name="namedmale" />
  1274. <activeconversations />
  1275. <exchange>"Welcome to Dj Inn!" The Innkeeper smiles at you. "Will you be staying the night?"</exchange>
  1276. <scenery type="boolean">false</scenery>
  1277. <alias>Innkeeper</alias>
  1278. <inroomdescription type="string"></inroomdescription>
  1279. <look>The Innkeeper is a Human, standing about 6' tall. He's wearing fine clothing. His hair is red and his eyes are brown.</look>
  1280. <reactions><![CDATA[@<br/>greeting<br/>true<br/>"Welcome to Dj Inn!" The Innkeeper smiles at you. "Will you be staying the night?"]]></reactions>
  1281. <greet type="script">
  1282. </greet>
  1283. <object name="Innkeeper Old Man Where">
  1284. <inherit name="editor_object" />
  1285. <inherit name="startingtopic" />
  1286. <alias>"I'm here about the Ring. Can you tell me where the Old Man is?"</alias>
  1287. <exchange><![CDATA["I'm here about the Ring. Can you tell me where the Old Man is?" You ask.<br/>"Ah, another one, huh?" He shakes his head. "Yeah, if you're willing to throw your life away like the rest. He's up the stairs, room 25."]]></exchange>
  1288. <nowshow type="stringlist">
  1289. <value>Innkeeper Room</value>
  1290. <value>Innkeeper Old Man Who</value>
  1291. <value>Innkeeper Doubt</value>
  1292. <value>Innkeeper Ring</value>
  1293. <value>Innkeeper Thanks</value>
  1294. <value>Innkeeper The Rest</value>
  1295. </nowshow>
  1296. </object>
  1297. <object name="Innkeeper The Rest">
  1298. <inherit name="editor_object" />
  1299. <inherit name="topic" />
  1300. <alias>"The rest?"</alias>
  1301. <exchange><![CDATA["The rest?"<br/>He nods his head. "Yeah. I've seen 6 other people go up there today. None of them have come back down. People are starting to wonder."]]></exchange>
  1302. </object>
  1303. <object name="Innkeeper Old Man Who">
  1304. <inherit name="topic" />
  1305. <inherit name="editor_object" />
  1306. <alias>(Charm) "Just who is this old man? No one seems to know."</alias>
  1307. <exchange><![CDATA[(Charm) "Just who is this old man? No one seems to know."<br/>The Innkeeper looks at you for a moment before responding.]]></exchange>
  1308. <talk type="script"><![CDATA[
  1309. if (game.pov.Charm >= 15) {
  1310. msg ("\"Yeah, I heard his name is Alphos Sadel.\"")
  1311. if (game.pov.Magic >= 10) {
  1312. ShowTopic (Innkeeper Alphos Sadel)
  1313. }
  1314. }
  1315. else {
  1316. msg ("\"Sorry, I haven't heard his name either.\"")
  1317. }
  1318. ]]></talk>
  1319. </object>
  1320. <object name="Innkeeper Alphos Sadel">
  1321. <inherit name="editor_object" />
  1322. <inherit name="topic" />
  1323. <alias>"Alphos Sadel, as in Grand Magus Alphos Sadel?"</alias>
  1324. <nowshow type="stringlist">
  1325. <value>Innkeeper Alphos 2</value>
  1326. </nowshow>
  1327. <exchange><![CDATA[You pause for a moment. "Alphos Sadel, as in Grand Magus Alphos Sadel?"<br/>The Innkeeper's smile grows larger. "The very same!"]]></exchange>
  1328. <talk type="script">
  1329. HideTopic (Innkeeper Doubt)
  1330. </talk>
  1331. </object>
  1332. <object name="Innkeeper Alphos 2">
  1333. <inherit name="editor_object" />
  1334. <inherit name="topic" />
  1335. <alias>"Why is one of the most powerful Mages asking for help finding a ring? Can't he do it himself?"</alias>
  1336. <exchange><![CDATA["Why is one of the most powerful Mages asking for help finding a ring? Can't he do it himself?"<br/>The Innkeeper shrugs. "Apparently this particular ring is special, and the one who stole it is somehow able to hide it's exact location. Going in to find it by force would of course be overkill. You don't send a Grand Magus for something like that. So, he's willing to pay handsomely to get an adventurer to do it for him."]]></exchange>
  1337. <talk type="script">
  1338. msg ("For asking about Grand Magus Alphos Sadel, you've earned 1 CP!")
  1339. game.pov.CP = game.pov.CP + 1
  1340. msg ("Your CP is now " +game.pov.CP+"!")
  1341. </talk>
  1342. </object>
  1343. <object name="Innkeeper Doubt">
  1344. <inherit name="editor_object" />
  1345. <inherit name="topic" />
  1346. <exchange><![CDATA["Can he really pay what he claims?"<br/>The Innkeeper nods emphatically. "Most definitely. He's very rich, and has a lot of power, both from his friends and from himself."]]></exchange>
  1347. <alias>"Can he really pay what he claims?"</alias>
  1348. </object>
  1349. <object name="Innkeeper Ring">
  1350. <inherit name="editor_object" />
  1351. <inherit name="topic" />
  1352. <alias>"Do you know anything about this ring he's looking for?"</alias>
  1353. <exchange><![CDATA["Do you know anything about this ring he's looking for?"<br/>The Innkeeper shakes his head. "Not much. I just know it's really old, and really powerful. Sorry I can't be more help than that."]]></exchange>
  1354. </object>
  1355. <object name="Innkeeper Room">
  1356. <inherit name="editor_object" />
  1357. <inherit name="topic" />
  1358. <nowshow type="stringlist">
  1359. <value>Innkeeper Gold</value>
  1360. <value>Innkeeper No Gold</value>
  1361. <value>Innkeeper Gold Cheap</value>
  1362. </nowshow>
  1363. <exchange><![CDATA["How much for a Room?<br/>"That'll be 10 gold." The Innkeeper says, holding out his hand.]]></exchange>
  1364. <hideafter type="boolean">false</hideafter>
  1365. <alias>"How much for a Room?</alias>
  1366. </object>
  1367. <object name="Innkeeper Gold">
  1368. <inherit name="editor_object" />
  1369. <inherit name="topic" />
  1370. <exchange type="string"></exchange>
  1371. <alias>"Sure, here you go."</alias>
  1372. <talk type="script"><![CDATA[
  1373. if (game.pov.money >= 10) {
  1374. game.pov.money = game.pov.money - 10
  1375. MakeObjectVisible (Key to Room 10)
  1376. msg ("\"Sure, here you go.\"")
  1377. msg ("You give the Innkeeper 10 Gold and the Innkeeper puts the " +ObjectLink (Key to Room 10)+ " on the counter.")
  1378. }
  1379. HideTopic (Innkeeper Gold Cheap)
  1380. HideTopic (Innkeeper No Gold)
  1381. ]]></talk>
  1382. </object>
  1383. <object name="Innkeeper No Gold">
  1384. <inherit name="editor_object" />
  1385. <inherit name="topic" />
  1386. <hideafter />
  1387. <exchange><![CDATA[You hestitate for a moment. "I'd rather not pay 10 gold for a room. Thanks though."<br/>"Oh well, plenty of other guests I suppose."]]></exchange>
  1388. <alias>"I'd rather not pay 10 gold for a room. Thanks though."</alias>
  1389. <talk type="script">
  1390. HideTopic (Innkeeper Gold)
  1391. HideTopic (Innkeeper Gold Cheap)
  1392. </talk>
  1393. </object>
  1394. <object name="Innkeeper Gold Cheap">
  1395. <inherit name="editor_object" />
  1396. <inherit name="topic" />
  1397. <exchange>(Charm) "Couldn't you give me a discount? I'm a hero after all."</exchange>
  1398. <alias>(Charm) "Couldn't you give me a discount? I'm a hero after all."</alias>
  1399. <talk type="script"><![CDATA[
  1400. if (game.pov.Charm <= 19) {
  1401. msg ("\"No deals. I gotta business to run.\"")
  1402. }
  1403. else if (game.pov.Charm >= 20) {
  1404. msg ("\"Fine, I guess I can make an exception for ya. 5 Gold then.\"")
  1405. if (game.pov.money >= 5) {
  1406. Ask ("Pay 5 Gold for the Key?") {
  1407. if (result = True) {
  1408. game.pov.money = game.pov.money - 5
  1409. MakeObjectVisible (Key to Room 10)
  1410. msg ("You give the Innkeeper 5 Gold and the Innkeeper puts the " +ObjectLink (Key to Room 10)+ " on the counter.")
  1411. }
  1412. else if (result = False) {
  1413. msg ("\"Suit yourself then. That's the cheapest I'll go.\"")
  1414. }
  1415. }
  1416. }
  1417. else if (game.pov.money <= 4) {
  1418. msg ("\"You don't even have THAT much? Get out of here, you cheapskate!\"")
  1419. }
  1420. }
  1421. HideTopic (Innkeeper Gold)
  1422. HideTopic (Innkeeper No Gold)
  1423. ]]></talk>
  1424. </object>
  1425. <object name="Innkeeper Thanks">
  1426. <inherit name="editor_object" />
  1427. <inherit name="topic" />
  1428. <terminal />
  1429. <exchange>"Not a problem. Good luck. You'll need it." The Innkeeper goes to talk to another customer.</exchange>
  1430. <expires type="boolean">false</expires>
  1431. <alias>"Thanks. Goodbye."</alias>
  1432. <hideafter type="boolean">false</hideafter>
  1433. </object>
  1434. </object>
  1435. <object name="Key to Room 10">
  1436. <inherit name="editor_object" />
  1437. <inherit name="merchandise" />
  1438. <visible type="boolean">false</visible>
  1439. <destroyonsale />
  1440. <notindescription />
  1441. </object>
  1442. </object>
  1443. <object name="Trash">
  1444. <inherit name="editor_room" />
  1445. <object name="Marie">
  1446. <inherit name="editor_object" />
  1447. <inherit name="talkingchar" />
  1448. <inherit name="namedfemale" />
  1449. <reactions><![CDATA[@<br/>greeting<br/>true<br/>'Hi!' says Mary<br/><br/>@<br/>plain hat<br/># ghhjhj<br/>plain_hat.worn<br/>'Oh, you are wearing a hat,' says Mary.<br/>& this testscript<br/><br/>@<br/>fancy hat<br/>fancy_hat.worn<br/>'Wow, what a fancy hat,' says Mary.<br/>~ plain hat<br/><br/>@<br/>trophy<br/>player.won_competition and trophy.parent = player<br/>'Cool trophy,' says Mary.<br/><br/>@<br/>trophy<br/>player.won_competition<br/>'Hey I heard you won the completion,' says Mary.<br/>= this alias "Happy Mary"<br/>+ Mary happiness 5<br/><br/>Each reaction is described by four or more lines, composed thus:<br/><br/>The first line must be a @ on a line on its own; this indicates the start of the reaction.<br/><br/>The second line is the name of the reaction. You can give a set of reactions the same name; only one will ever be used.<br/><br/>Third is the condition. The condition should be standard Quest code that will evaluate to true or false (you can use "this" as normal to refer to the character).<br/><br/>The four and all subsequent lines are "what will happen". You can use these to change the game world (to a limited extent) and to display text. These lines can be of various types, depending on the first character, however, most text (anything beginning with a letter or number) will be printed directly to screen.]]></reactions>
  1450. <object name="mary alibi">
  1451. <inherit name="editor_object" />
  1452. <inherit name="startingtopic" />
  1453. <alias>"Where were you last night?"</alias>
  1454. <exchange>I was playing pool with Clive.</exchange>
  1455. <nowshow type="stringlist">
  1456. <value>mary playing pool</value>
  1457. </nowshow>
  1458. </object>
  1459. <object name="mary dr black">
  1460. <inherit name="editor_object" />
  1461. <inherit name="startingtopic" />
  1462. <exchange>I didn't know him that well. The only time we spent together was when we were having wild crazy sex.</exchange>
  1463. <alias>"How well did you know Dr. Black?"</alias>
  1464. </object>
  1465. <object name="mary playing pool">
  1466. <inherit name="editor_object" />
  1467. <inherit name="topic" />
  1468. <alias>"What time exactly were you playing pool?"</alias>
  1469. <exchange>"Right after I finished having sex with Beckie, and right before I had sex with Clive."</exchange>
  1470. <expires type="boolean">false</expires>
  1471. </object>
  1472. </object>
  1473. </object>
  1474. <object name="South Warren Dj Inn Upstairs Hall 1">
  1475. <inherit name="editor_room" />
  1476. <alias>South Warren -- Dj Inn: Upstairs Hall Split</alias>
  1477. <description>This hall goes to the left and right, with Rooms 16-18 to the left, and 28-30 to your right.</description>
  1478. <exit alias="down" to="South Warren Dj Inn">
  1479. <inherit name="downdirection" />
  1480. </exit>
  1481. <exit alias="east" to="South Warren Dj Inn Upstairs Hall 2">
  1482. <inherit name="eastdirection" />
  1483. </exit>
  1484. </object>
  1485. <command name="Assign Points">
  1486. <pattern>points;pts;pt;stats;levelup;assign;lvl;lvlup</pattern>
  1487. <script>
  1488. assignpoints
  1489. </script>
  1490. </command>
  1491. <command name="Start Game">
  1492. <pattern>Start_Game</pattern>
  1493. <script>
  1494. if (game.pov.firststart = False) {
  1495. Ask ("You can only do this once! Once you leave this room, you will never return! Are you sure?") {
  1496. MoveObject (game.pov, South Warren Dj Inn)
  1497. game.pov.firststart = True
  1498. game.pov.volume = 100
  1499. }
  1500. }
  1501. else {
  1502. msg ("The game has already started!")
  1503. }
  1504. </script>
  1505. </command>
  1506. <object name="South Warren Dj Inn Upstairs Hall 2">
  1507. <inherit name="editor_room" />
  1508. <description>This hall ends in a corner, and has rooms 28-30 in it.</description>
  1509. <alias>South Warren -- Dj Inn: Upstairs Hall Rooms 28-30</alias>
  1510. <exit alias="west" to="South Warren Dj Inn Upstairs Hall 1">
  1511. <inherit name="westdirection" />
  1512. </exit>
  1513. <exit alias="north" to="South Warren Dj Inn Upstairs Hall 3">
  1514. <inherit name="northdirection" />
  1515. </exit>
  1516. </object>
  1517. <object name="South Warren Dj Inn Upstairs Hall 3">
  1518. <inherit name="editor_room" />
  1519. <alias>South Warren -- Dj Inn: Upstairs Hall Rooms 25-27</alias>
  1520. <exit alias="south" to="South Warren Dj Inn Upstairs Hall 2">
  1521. <inherit name="southdirection" />
  1522. </exit>
  1523. <exit name="Room 25" alias="west" to="South Warren Dj Inn Upstairs Hall Room 25">
  1524. <inherit name="westdirection" />
  1525. <locked type="boolean">false</locked>
  1526. <look>This is a test.</look>
  1527. </exit>
  1528. </object>
  1529. <object name="South Warren Dj Inn Upstairs Hall 4">
  1530. <inherit name="editor_room" />
  1531. </object>
  1532. <object name="South Warren Dj Inn Upstairs Hall Room 25">
  1533. <inherit name="editor_room" />
  1534. <exit alias="east" to="South Warren Dj Inn Upstairs Hall 3">
  1535. <inherit name="eastdirection" />
  1536. </exit>
  1537. </object>
  1538. <type name="raceclass_type">
  1539. <Charm type="int">0</Charm>
  1540. <Survival type="int">0</Survival>
  1541. <Class type="string"></Class>
  1542. <money type="int">60</money>
  1543. <HP type="string"></HP>
  1544. <Combat type="int">0</Combat>
  1545. <Intimidate type="int">0</Intimidate>
  1546. <Knowledge type="int">0</Knowledge>
  1547. <Stealth type="int">0</Stealth>
  1548. <Awareness type="int">0</Awareness>
  1549. <Healing type="int">0</Healing>
  1550. <Magic type="int">0</Magic>
  1551. <statusattributes type="stringdictionary">
  1552. <item>
  1553. <key>gender</key>
  1554. <value></value>
  1555. </item>
  1556. <item>
  1557. <key>Class</key>
  1558. <value></value>
  1559. </item>
  1560. <item>
  1561. <key>HP</key>
  1562. <value></value>
  1563. </item>
  1564. <item>
  1565. <key>MP</key>
  1566. <value></value>
  1567. </item>
  1568. <item>
  1569. <key>Armor</key>
  1570. <value></value>
  1571. </item>
  1572. <item>
  1573. <key>Combat</key>
  1574. <value></value>
  1575. </item>
  1576. <item>
  1577. <key>Charm</key>
  1578. <value></value>
  1579. </item>
  1580. <item>
  1581. <key>Deceive</key>
  1582. <value></value>
  1583. </item>
  1584. <item>
  1585. <key>Intimidate</key>
  1586. <value></value>
  1587. </item>
  1588. <item>
  1589. <key>Knowledge</key>
  1590. <value></value>
  1591. </item>
  1592. <item>
  1593. <key>Stealth</key>
  1594. <value></value>
  1595. </item>
  1596. <item>
  1597. <key>Survival</key>
  1598. <value></value>
  1599. </item>
  1600. <item>
  1601. <key>Awareness</key>
  1602. <value></value>
  1603. </item>
  1604. <item>
  1605. <key>Healing</key>
  1606. <value></value>
  1607. </item>
  1608. <item>
  1609. <key>Magic</key>
  1610. <value></value>
  1611. </item>
  1612. </statusattributes>
  1613. <RaceHealth type="int">0</RaceHealth>
  1614. <RaceMagic type="int">0</RaceMagic>
  1615. </type>
  1616. <type name="characterclass">
  1617. <HP type="string"></HP>
  1618. <MP type="string"></MP>
  1619. <Combat type="int">0</Combat>
  1620. <Intimidate type="int">0</Intimidate>
  1621. <Knowledge type="int">0</Knowledge>
  1622. <Charm type="int">0</Charm>
  1623. <Stealth type="int">0</Stealth>
  1624. <Survival type="int">0</Survival>
  1625. <Awareness type="int">0</Awareness>
  1626. <Healing type="int">0</Healing>
  1627. <Magic type="int">0</Magic>
  1628. <MaxHealth type="int">40</MaxHealth>
  1629. <Class type="string"></Class>
  1630. <CP type="int">5</CP>
  1631. <Armor type="int">0</Armor>
  1632. <Health type="int">30</Health>
  1633. <Mana type="int">0</Mana>
  1634. <MaxMana type="int">0</MaxMana>
  1635. <Deceive type="int">0</Deceive>
  1636. <RaceMagic type="int">0</RaceMagic>
  1637. <firststart type="boolean">false</firststart>
  1638. <turncount type="int">0</turncount>
  1639. <sneaklevel type="int">0</sneaklevel>
  1640. <equipped type="object">fists</equipped>
  1641. <changedHealth type="script">
  1642. game.pov.HP = ""+game.pov.Health+ " / " +game.pov.MaxHealth+ ""
  1643. </changedHealth>
  1644. <changedMana type="script">
  1645. game.pov.MP = ""+game.pov.Mana+ " / " +game.pov.MaxMana+ ""
  1646. </changedMana>
  1647. </type>
  1648. <type name="weapontype" />
  1649. <type name="healthitem" />
  1650. <type name="armortype" />
  1651. <type name="itemdata" />
  1652. <function name="namecharacter">
  1653. msg ("What is your name?")
  1654. get input {
  1655. game.pov.alias = result
  1656. Ask ("So your name is " +result+"?") {
  1657. if (result = True) {
  1658. msg ("Hello " +game.pov.alias+", nice to meet you.")
  1659. characterselect
  1660. }
  1661. else if (result = False) {
  1662. characterselect
  1663. }
  1664. }
  1665. }
  1666. </function>
  1667. <function name="choosegender">
  1668. gendermenu = NewStringList()
  1669. list add (gendermenu, "Male")
  1670. list add (gendermenu, "Female")
  1671. ShowMenu ("Choose a gender.", gendermenu, false) {
  1672. msg ("You're " +result+", huh?")
  1673. game.pov.gender = result
  1674. Ask ("Are you sure you want to be " +result+"?") {
  1675. if (result = True) {
  1676. if (game.pov.gender = "Male") {
  1677. game.pov.Combat = game.pov.Combat + 3
  1678. game.pov.Intimidate = game.pov.Intimidate + 3
  1679. game.pov.Survival = game.pov.Survival + 3
  1680. ClearScreen
  1681. namecharacter
  1682. }
  1683. else if (game.pov.gender = "Female") {
  1684. game.pov.Knowledge = game.pov.Knowledge + 3
  1685. game.pov.Healing = game.pov.Healing + 3
  1686. game.pov.Awareness = game.pov.Awareness + 3
  1687. ClearScreen
  1688. namecharacter
  1689. }
  1690. }
  1691. else if (result = False) {
  1692. choosegender
  1693. }
  1694. }
  1695. }
  1696. </function>
  1697. <function name="assignpoints"><![CDATA[
  1698. pointmenu = NewStringList()
  1699. list add (pointmenu, "Combat")
  1700. list add (pointmenu, "Charm")
  1701. list add (pointmenu, "Intimidate")
  1702. list add (pointmenu, "Deceive")
  1703. list add (pointmenu, "Survival")
  1704. list add (pointmenu, "Stealth")
  1705. list add (pointmenu, "Knowledge")
  1706. list add (pointmenu, "Awareness")
  1707. list add (pointmenu, "Healing")
  1708. list add (pointmenu, "Magic")
  1709. ShowMenu ("Select a Skill to increase. You have " +game.pov.CP+ " available.", pointmenu, true) {
  1710. if (result = "Combat") {
  1711. msg ("How many points would you like to assign to Combat? [For example: type 0, 3, or 5]")
  1712. get input {
  1713. i = ToInt(result)
  1714. if (game.pov.CP >= i) {
  1715. game.pov.Combat = game.pov.Combat + i
  1716. game.pov.CP = game.pov.CP - i
  1717. msg ("Your Combat is now " +game.pov.Combat+ ".")
  1718. Ask ("Would you like to assign more points? " +game.pov.CP+ " points remain!") {
  1719. if (result = True) {
  1720. assignpoints
  1721. }
  1722. else {
  1723. msg ("Very well. You can always assign points by typing points;pts;pt;stats;levelup;assign;lvl;lvlup")
  1724. wait {
  1725. if (game.pov.parent = Character_Setup) {
  1726. msg ("You may now choose your Starting Gear from the items in this room! You won't be able to carry nearly as much as you will outside of this room, so choose carefully what you want to start, but know you will be able to carry a lot more later. <br/><br/>When you are done, type Start_Game.")
  1727. game.pov.volume = 20
  1728. }
  1729. }
  1730. }
  1731. }
  1732. }
  1733. else {
  1734. msg ("You don't have enough points for that result!")
  1735. assignpoints
  1736. }
  1737. }
  1738. }
  1739. if (result = "Charm") {
  1740. msg ("How many points would you like to assign to Charm? [For example: type 0, 3, or 5]")
  1741. get input {
  1742. i = ToInt(result)
  1743. if (game.pov.CP >= i) {
  1744. game.pov.Charm = game.pov.Charm + i
  1745. game.pov.CP = game.pov.CP - i
  1746. msg ("Your Charm is now " +game.pov.Charm+ ".")
  1747. Ask ("Would you like to assign more points? " +game.pov.CP+ " points remain!") {
  1748. if (result = True) {
  1749. assignpoints
  1750. }
  1751. else {
  1752. msg ("Very well. You can always assign points by typing points;pts;pt;stats;levelup;assign;lvl;lvlup")
  1753. wait {
  1754. if (game.pov.parent = Character_Setup) {
  1755. msg ("You may now choose your Starting Gear from the items in this room! You won't be able to carry nearly as much as you will outside of this room, so choose carefully what you want to start, but know you will be able to carry a lot more later. <br/><br/>When you are done, type Start_Game.")
  1756. game.pov.volume = 20
  1757. }
  1758. }
  1759. }
  1760. }
  1761. }
  1762. else {
  1763. msg ("You don't have enough points for that result!")
  1764. assignpoints
  1765. }
  1766. }
  1767. }
  1768. if (result = "Intimidate") {
  1769. msg ("How many points would you like to assign to Intimidate? [For example: type 0, 3, or 5]")
  1770. get input {
  1771. i = ToInt(result)
  1772. if (game.pov.CP >= i) {
  1773. game.pov.Intimidate = game.pov.Intimidate + i
  1774. game.pov.CP = game.pov.CP - i
  1775. msg ("Your Intimidate is now " +game.pov.Intimidate+ ".")
  1776. Ask ("Would you like to assign more points? " +game.pov.CP+ " points remain!") {
  1777. if (result = True) {
  1778. assignpoints
  1779. }
  1780. else {
  1781. msg ("Very well. You can always assign points by typing points;pts;pt;stats;levelup;assign;lvl;lvlup")
  1782. wait {
  1783. if (game.pov.parent = Character_Setup) {
  1784. msg ("You may now choose your Starting Gear from the items in this room! You won't be able to carry nearly as much as you will outside of this room, so choose carefully what you want to start, but know you will be able to carry a lot more later. <br/><br/>When you are done, type Start_Game.")
  1785. game.pov.volume = 20
  1786. }
  1787. }
  1788. }
  1789. }
  1790. }
  1791. else {
  1792. msg ("You don't have enough points for that result!")
  1793. assignpoints
  1794. }
  1795. }
  1796. }
  1797. if (result = "Deceive") {
  1798. msg ("How many points would you like to assign to Deceive? [For example: type 0, 3, or 5]")
  1799. get input {
  1800. i = ToInt(result)
  1801. if (game.pov.CP >= i) {
  1802. game.pov.Deceive = game.pov.Deceive + i
  1803. game.pov.CP = game.pov.CP - i
  1804. msg ("Your Deceive is now " +game.pov.Deceive+ ".")
  1805. Ask ("Would you like to assign more points? " +game.pov.CP+ " points remain!") {
  1806. if (result = True) {
  1807. assignpoints
  1808. }
  1809. else {
  1810. msg ("Very well. You can always assign points by typing points;pts;pt;stats;levelup;assign;lvl;lvlup")
  1811. wait {
  1812. if (game.pov.parent = Character_Setup) {
  1813. msg ("You may now choose your Starting Gear from the items in this room! You won't be able to carry nearly as much as you will outside of this room, so choose carefully what you want to start, but know you will be able to carry a lot more later. <br/><br/>When you are done, type Start_Game.")
  1814. game.pov.volume = 20
  1815. }
  1816. }
  1817. }
  1818. }
  1819. }
  1820. else {
  1821. msg ("You don't have enough points for that result!")
  1822. assignpoints
  1823. }
  1824. }
  1825. }
  1826. if (result = "Survival") {
  1827. msg ("How many points would you like to assign to Survival? [For example: type 0, 3, or 5]")
  1828. get input {
  1829. i = ToInt(result)
  1830. if (game.pov.CP >= i) {
  1831. game.pov.Survival = game.pov.Survival + i
  1832. game.pov.MaxHealth = game.pov.MaxHealth + i * game.pov.HealthModifier
  1833. game.pov.Health = game.pov.Health + i * game.pov.HealthModifier
  1834. game.pov.CP = game.pov.CP - i
  1835. msg ("Your Survival is now " +game.pov.Survival+ ".")
  1836. Ask ("Would you like to assign more points? " +game.pov.CP+ " points remain!") {
  1837. if (result = True) {
  1838. assignpoints
  1839. }
  1840. else {
  1841. msg ("Very well. You can always assign points by typing points;pts;pt;stats;levelup;assign;lvl;lvlup")
  1842. wait {
  1843. if (game.pov.parent = Character_Setup) {
  1844. msg ("You may now choose your Starting Gear from the items in this room! You won't be able to carry nearly as much as you will outside of this room, so choose carefully what you want to start, but know you will be able to carry a lot more later. <br/><br/>When you are done, type Start_Game.")
  1845. game.pov.volume = 20
  1846. }
  1847. }
  1848. }
  1849. }
  1850. }
  1851. else {
  1852. msg ("You don't have enough points for that result!")
  1853. assignpoints
  1854. }
  1855. }
  1856. }
  1857. if (result = "Stealth") {
  1858. msg ("How many points would you like to assign to Stealth? [For example: type 0, 3, or 5]")
  1859. get input {
  1860. i = ToInt(result)
  1861. if (game.pov.CP >= i) {
  1862. game.pov.Stealth = game.pov.Stealth + i
  1863. game.pov.CP = game.pov.CP - i
  1864. msg ("Your Stealth is now " +game.pov.Stealth+ ".")
  1865. Ask ("Would you like to assign more points? " +game.pov.CP+ " points remain!") {
  1866. if (result = True) {
  1867. assignpoints
  1868. }
  1869. else {
  1870. msg ("Very well. You can always assign points by typing points;pts;pt;stats;levelup;assign;lvl;lvlup")
  1871. wait {
  1872. if (game.pov.parent = Character_Setup) {
  1873. msg ("You may now choose your Starting Gear from the items in this room! You won't be able to carry nearly as much as you will outside of this room, so choose carefully what you want to start, but know you will be able to carry a lot more later. <br/><br/>When you are done, type Start_Game.")
  1874. game.pov.volume = 20
  1875. }
  1876. }
  1877. }
  1878. }
  1879. }
  1880. else {
  1881. msg ("You don't have enough points for that result!")
  1882. assignpoints
  1883. }
  1884. }
  1885. }
  1886. if (result = "Knowledge") {
  1887. msg ("How many points would you like to assign to Knowledge? [For example: type 0, 3, or 5]")
  1888. get input {
  1889. i = ToInt(result)
  1890. if (game.pov.CP >= i) {
  1891. game.pov.Knowledge = game.pov.Knowledge + i
  1892. game.pov.MaxMana = game.pov.MaxMana + i * game.pov.ManaModifier
  1893. game.pov.Mana = game.pov.Mana + i * game.pov.ManaModifier
  1894. game.pov.CP = game.pov.CP - i
  1895. msg ("Your Knowledge is now " +game.pov.Knowledge+ ".")
  1896. Ask ("Would you like to assign more points? " +game.pov.CP+ " points remain!") {
  1897. if (result = True) {
  1898. assignpoints
  1899. }
  1900. else {
  1901. msg ("Very well. You can always assign points by typing points;pts;pt;stats;levelup;assign;lvl;lvlup")
  1902. wait {
  1903. if (game.pov.parent = Character_Setup) {
  1904. msg ("You may now choose your Starting Gear from the items in this room! You won't be able to carry nearly as much as you will outside of this room, so choose carefully what you want to start, but know you will be able to carry a lot more later. <br/><br/>When you are done, type Start_Game.")
  1905. game.pov.volume = 20
  1906. }
  1907. }
  1908. }
  1909. }
  1910. }
  1911. else {
  1912. msg ("You don't have enough points for that result!")
  1913. assignpoints
  1914. }
  1915. }
  1916. }
  1917. if (result = "Awareness") {
  1918. msg ("How many points would you like to assign to Awareness? [For example: type 0, 3, or 5]")
  1919. get input {
  1920. i = ToInt(result)
  1921. if (game.pov.CP >= i) {
  1922. game.pov.Awareness = game.pov.Awareness + i
  1923. game.pov.CP = game.pov.CP - i
  1924. msg ("Your Awareness is now " +game.pov.Awareness+ ".")
  1925. Ask ("Would you like to assign more points? " +game.pov.CP+ " points remain!") {
  1926. if (result = True) {
  1927. assignpoints
  1928. }
  1929. else {
  1930. msg ("Very well. You can always assign points by typing points;pts;pt;stats;levelup;assign;lvl;lvlup")
  1931. wait {
  1932. if (game.pov.parent = Character_Setup) {
  1933. msg ("You may now choose your Starting Gear from the items in this room! You won't be able to carry nearly as much as you will outside of this room, so choose carefully what you want to start, but know you will be able to carry a lot more later. <br/><br/>When you are done, type Start_Game.")
  1934. game.pov.volume = 20
  1935. }
  1936. }
  1937. }
  1938. }
  1939. }
  1940. else {
  1941. msg ("You don't have enough points for that result!")
  1942. assignpoints
  1943. }
  1944. }
  1945. }
  1946. if (result = "Healing") {
  1947. msg ("How many points would you like to assign to Healing? [For example: type 0, 3, or 5]")
  1948. get input {
  1949. i = ToInt(result)
  1950. if (game.pov.CP >= i) {
  1951. game.pov.Healing = game.pov.Healing + i
  1952. game.pov.CP = game.pov.CP - i
  1953. msg ("Your Healing is now " +game.pov.Healing+ ".")
  1954. Ask ("Would you like to assign more points? " +game.pov.CP+ " points remain!") {
  1955. if (result = True) {
  1956. assignpoints
  1957. }
  1958. else {
  1959. msg ("Very well. You can always assign points by typing points;pts;pt;stats;levelup;assign;lvl;lvlup")
  1960. wait {
  1961. if (game.pov.parent = Character_Setup) {
  1962. msg ("You may now choose your Starting Gear from the items in this room! You won't be able to carry nearly as much as you will outside of this room, so choose carefully what you want to start, but know you will be able to carry a lot more later. <br/><br/>When you are done, type Start_Game.")
  1963. game.pov.volume = 20
  1964. }
  1965. }
  1966. }
  1967. }
  1968. }
  1969. else {
  1970. msg ("You don't have enough points for that result!")
  1971. assignpoints
  1972. }
  1973. }
  1974. }
  1975. if (result = "Magic") {
  1976. msg ("How many points would you like to assign to Magic? [For example: type 0, 3, or 5]")
  1977. get input {
  1978. i = ToInt(result)
  1979. if (game.pov.CP >= i) {
  1980. game.pov.Magic = game.pov.Magic + i
  1981. game.pov.MaxMana = game.pov.MaxMana + i * game.pov.ManaModifier
  1982. game.pov.Mana = game.pov.Mana + i * game.pov.ManaModifier
  1983. game.pov.CP = game.pov.CP - i
  1984. msg ("Your Magic is now " +game.pov.Magic+ ".")
  1985. Ask ("Would you like to assign more points? " +game.pov.CP+ " points remain!") {
  1986. if (result = True) {
  1987. assignpoints
  1988. }
  1989. else {
  1990. msg ("Very well. You can always assign points by typing points;pts;pt;stats;levelup;assign;lvl;lvlup")
  1991. wait {
  1992. if (game.pov.parent = Character_Setup) {
  1993. msg ("You may now choose your Starting Gear from the items in this room! You won't be able to carry nearly as much as you will outside of this room, so choose carefully what you want to start, but know you will be able to carry a lot more later. <br/><br/>When you are done, type Start_Game.")
  1994. game.pov.volume = 20
  1995. }
  1996. }
  1997. }
  1998. }
  1999. }
  2000. else {
  2001. msg ("You don't have enough points for that result!")
  2002. assignpoints
  2003. }
  2004. }
  2005. }
  2006. }
  2007. ]]></function>
  2008. <function name="raceselect">
  2009. racemenu = NewStringList()
  2010. list add (racemenu, "Human")
  2011. list add (racemenu, "Dwarf")
  2012. list add (racemenu, "Elf")
  2013. list add (racemenu, "Halfling")
  2014. list add (racemenu, "Orc")
  2015. list add (racemenu, "Goblin")
  2016. ShowMenu ("Select Race", racemenu, false) {
  2017. msg ("You are a " +result+".")
  2018. set (player, "race", result)
  2019. // ----------------------------------------------------------------------------------------------------------
  2020. // fixed it up:
  2021. if (result = "Human") {
  2022. msg ("As a Human, you're adaptable, but you're not really great at anything.")
  2023. }
  2024. else if (result = "Dwarf") {
  2025. msg ("Dwarves are a hardy people! You're great at working with stone, and are at home in any cave or stonework.")
  2026. }
  2027. else if (result = "Elf") {
  2028. msg ("Elves are an ancient and wise people, whose natural gifts for Magic make them natural spellcasters. However, their fragile bodies often work against them in battle.")
  2029. }
  2030. else if (result = "Halfling") {
  2031. msg ("The tiny halfling is deceptively clever. Their size gives them a natural advantage, allowing them to go places most others can't.")
  2032. }
  2033. else if (result = "Orc") {
  2034. msg ("The powerful Orcs are brutes of raw strength. Never very bright, they are among the strongest of all races.")
  2035. }
  2036. else if (result = "Goblin") {
  2037. msg ("Vicious and cunning, the Goblins are surprisingly deceptive race, hiding powerful strength in their small bodies.")
  2038. }
  2039. // ----------------------------------------------------------------------------------------------------------
  2040. Ask ("Are you sure this is what you want?") {
  2041. if (result = True) {
  2042. game.pov.look = "You are "+game.pov.race+"."
  2043. obj = GetObject(game.pov.race)
  2044. atts = Split("Charm;Survival;Class;money;HP;Combat;Intimidate;Knowledge;Stealth;Awareness;Healing;Magic;RaceHealth;RaceMagic;Size",";")
  2045. foreach (att, atts) {
  2046. att_value = GetAttribute(obj, att)
  2047. set (game.pov, att, att_value)
  2048. Log ("Setting "+game.pov+"."+att+" to "+att_value)
  2049. }
  2050. ClearScreen
  2051. MoveObject (game.pov, Class_Select)
  2052. choosegender
  2053. }
  2054. else if (result = False) {
  2055. raceselect
  2056. }
  2057. }
  2058. }
  2059. </function>
  2060. <function name="characterselect"><![CDATA[
  2061. charactermenu = NewStringList()
  2062. if (game.pov.race = "Dwarf") {
  2063. charactermenu = NewStringList()
  2064. list add (charactermenu, "Soldier")
  2065. list add (charactermenu, "Priest")
  2066. list add (charactermenu, "Hunter")
  2067. list add (charactermenu, "Bard")
  2068. list add (charactermenu, "Paladin")
  2069. }
  2070. else if (game.pov.race = "Elf") {
  2071. list add (charactermenu, "Mage")
  2072. list add (charactermenu, "Priest")
  2073. list add (charactermenu, "Hunter")
  2074. list add (charactermenu, "Bard")
  2075. list add (charactermenu, "Paladin")
  2076. }
  2077. else if (game.pov.race = "Halfling") {
  2078. list add (charactermenu, "Mage")
  2079. list add (charactermenu, "Thief")
  2080. list add (charactermenu, "Hunter")
  2081. list add (charactermenu, "Bard")
  2082. list add (charactermenu, "Paladin")
  2083. }
  2084. else if (game.pov.race = "Orc") {
  2085. list add (charactermenu, "Soldier")
  2086. list add (charactermenu, "Mage")
  2087. list add (charactermenu, "Thief")
  2088. list add (charactermenu, "Priest")
  2089. list add (charactermenu, "Hunter")
  2090. }
  2091. else if (game.pov.race = "Goblin") {
  2092. list add (charactermenu, "Soldier")
  2093. list add (charactermenu, "Mage")
  2094. list add (charactermenu, "Thief")
  2095. list add (charactermenu, "Hunter")
  2096. list add (charactermenu, "Bard")
  2097. }
  2098. else if (game.pov.race = "Human") {
  2099. list add (charactermenu, "Soldier")
  2100. list add (charactermenu, "Mage")
  2101. list add (charactermenu, "Thief")
  2102. list add (charactermenu, "Priest")
  2103. list add (charactermenu, "Hunter")
  2104. list add (charactermenu, "Bard")
  2105. list add (charactermenu, "Paladin")
  2106. }
  2107. ShowMenu ("Select Class", charactermenu, false) {
  2108. char = result
  2109. msg ("You chose " +result+".")
  2110. if (result<>null) {
  2111. if (result = "Soldier") {
  2112. Ask ("Are you sure you want to be the " +result+"?") {
  2113. if (result = True) {
  2114. game.pov.Combat = game.pov.Combat + 15
  2115. game.pov.Intimidate = game.pov.Intimidate + 15
  2116. game.pov.Knowledge = game.pov.Knowledge + 5
  2117. game.pov.Stealth = game.pov.Stealth + 5
  2118. game.pov.Deceive = game.pov.Deceive + 5
  2119. game.pov.Magic = 0
  2120. game.pov.Healing = 0
  2121. game.pov.Charm = game.pov.Charm + 10
  2122. game.pov.Survival = game.pov.Survival + 10
  2123. game.pov.Awareness = game.pov.Awareness + 10
  2124. game.pov.Class = "Soldier"
  2125. game.pov.Health = game.pov.Survival + game.pov.RaceHealth
  2126. game.pov.Mana = game.pov.Knowledge + game.pov.RaceMagic
  2127. if (game.pov.Health < 5) {
  2128. game.pov.Health = 5
  2129. }
  2130. if (game.pov.Mana < 5) {
  2131. game.pov.Mana = 5
  2132. }
  2133. game.pov.Health = game.pov.Health * 5
  2134. game.pov.Mana = game.pov.Mana * 0
  2135. game.pov.HealthModifier = 5
  2136. game.pov.ManaModifier = 0
  2137. game.pov.MaxHealth = game.pov.Health
  2138. game.pov.MaxMana = game.pov.Mana
  2139. game.pov.HP = ""+game.pov.Health+ " / " +game.pov.MaxHealth+ ""
  2140. game.pov.MP = ""+game.pov.Mana+ " / " +game.pov.MaxMana+ ""
  2141. ClearScreen
  2142. MoveObject (game.pov, Character_Setup)
  2143. assignpoints
  2144. }
  2145. else if (result = False) {
  2146. characterselect
  2147. }
  2148. }
  2149. }
  2150. else if (char = "Mage") {
  2151. Ask ("Are you sure you want to be the " +char+"?") {
  2152. if (result = True) {
  2153. game.pov.Combat = 0
  2154. game.pov.Intimidate = 0
  2155. game.pov.Magic = game.pov.Magic + 15
  2156. game.pov.Knowledge = game.pov.Knowledge + 15
  2157. game.pov.Healing = game.pov.Healing + 10
  2158. game.pov.Survival = game.pov.Survival + 10
  2159. game.pov.Awareness = game.pov.Awareness + 5
  2160. game.pov.Stealth = game.pov.Stealth + 5
  2161. game.pov.Charm = game.pov.Charm + 5
  2162. game.pov.Deceive = game.pov.Deceive + 10
  2163. game.pov.Class = "Mage"
  2164. game.pov.Health = game.pov.Survival + game.pov.RaceHealth
  2165. game.pov.Mana = game.pov.Knowledge + game.pov.Magic + game.pov.RaceMagic
  2166. if (game.pov.Health < 5) {
  2167. game.pov.Health = 5
  2168. }
  2169. if (game.pov.Mana < 5) {
  2170. game.pov.Mana = 5
  2171. }
  2172. game.pov.Health = game.pov.Health * 1
  2173. game.pov.Mana = game.pov.Mana * 3
  2174. game.pov.MaxHealth = game.pov.Health
  2175. game.pov.HealthModifier = 1
  2176. game.pov.ManaModifier = 3
  2177. game.pov.MaxMana = game.pov.Mana
  2178. game.pov.HP = ""+game.pov.Health+ " / " +game.pov.MaxHealth+ ""
  2179. game.pov.MP = ""+game.pov.Mana+ " / " +game.pov.MaxMana+ ""
  2180. ClearScreen
  2181. MoveObject (game.pov, Character_Setup)
  2182. assignpoints
  2183. }
  2184. else if (result = False) {
  2185. characterselect
  2186. }
  2187. }
  2188. }
  2189. else if (char = "Thief") {
  2190. Ask ("Are you sure you want to be the " +char+"?") {
  2191. if (result = True) {
  2192. game.pov.Combat = game.pov.Combat + 5
  2193. game.pov.Intimidate = game.pov.Intimidate + 10
  2194. game.pov.Magic = 0
  2195. game.pov.Knowledge = game.pov.Knowledge + 5
  2196. game.pov.Healing = 0
  2197. game.pov.Survival = game.pov.Survival + 5
  2198. game.pov.Awareness = game.pov.Awareness + 10
  2199. game.pov.Stealth = game.pov.Stealth + 15
  2200. game.pov.Charm = game.pov.Charm + 15
  2201. game.pov.Deceive = game.pov.Deceive + 10
  2202. game.pov.Class = "Thief"
  2203. game.pov.Health = game.pov.Survival + game.pov.RaceHealth
  2204. game.pov.Mana = game.pov.Knowledge + game.pov.Magic + game.pov.RaceMagic
  2205. if (game.pov.Health < 5) {
  2206. game.pov.Health = 5
  2207. }
  2208. if (game.pov.Mana < 5) {
  2209. game.pov.Mana = 5
  2210. }
  2211. game.pov.Health = game.pov.Health * 2
  2212. game.pov.Mana = game.pov.Mana * 0
  2213. game.pov.MaxHealth = game.pov.Health
  2214. game.pov.HealthModifier = 2
  2215. game.pov.ManaModifier = 0
  2216. game.pov.MaxMana = game.pov.Mana
  2217. game.pov.HP = ""+game.pov.Health+ " / " +game.pov.MaxHealth+ ""
  2218. game.pov.MP = ""+game.pov.Mana+ " / " +game.pov.MaxMana+ ""
  2219. ClearScreen
  2220. MoveObject (game.pov, Character_Setup)
  2221. assignpoints
  2222. }
  2223. else if (result = False) {
  2224. characterselect
  2225. }
  2226. }
  2227. }
  2228. else if (char = "Priest") {
  2229. Ask ("Are you sure you want to be the " +char+"?") {
  2230. if (result = True) {
  2231. game.pov.Combat = 0
  2232. game.pov.Intimidate = game.pov.Intimidate + 5
  2233. game.pov.Magic = game.pov.Magic + 10
  2234. game.pov.Knowledge = game.pov.Knowledge + 10
  2235. game.pov.Healing = game.pov.Healing + 15
  2236. game.pov.Survival = game.pov.Survival + 5
  2237. game.pov.Awareness = game.pov.Awareness + 10
  2238. game.pov.Stealth = game.pov.Stealth + 5
  2239. game.pov.Charm = game.pov.Charm + 15
  2240. game.pov.Deceive = 0
  2241. game.pov.Class = "Priest"
  2242. game.pov.Health = game.pov.Survival + game.pov.RaceHealth
  2243. game.pov.Mana = game.pov.Knowledge + game.pov.Magic + game.pov.RaceMagic
  2244. if (game.pov.Health < 5) {
  2245. game.pov.Health = 5
  2246. }
  2247. if (game.pov.Mana < 5) {
  2248. game.pov.Mana = 5
  2249. }
  2250. game.pov.Health = game.pov.Health * 3
  2251. game.pov.Mana = game.pov.Mana * 2
  2252. game.pov.MaxHealth = game.pov.Health
  2253. game.pov.HealthModifier = 3
  2254. game.pov.ManaModifier = 2
  2255. game.pov.MaxMana = game.pov.Mana
  2256. game.pov.HP = ""+game.pov.Health+ " / " +game.pov.MaxHealth+ ""
  2257. game.pov.MP = ""+game.pov.Mana+ " / " +game.pov.MaxMana+ ""
  2258. ClearScreen
  2259. MoveObject (game.pov, Character_Setup)
  2260. assignpoints
  2261. }
  2262. else if (result = False) {
  2263. characterselect
  2264. }
  2265. }
  2266. }
  2267. else if (char = "Hunter") {
  2268. Ask ("Are you sure you want to be the " +char+"?") {
  2269. if (result = True) {
  2270. game.pov.Combat = game.pov.Combat + 10
  2271. game.pov.Intimidate = game.pov.Intimidate + 10
  2272. game.pov.Magic = 0
  2273. game.pov.Knowledge = game.pov.Knowledge + 5
  2274. game.pov.Healing = 0
  2275. game.pov.Survival = game.pov.Survival + 15
  2276. game.pov.Awareness = game.pov.Awareness + 15
  2277. game.pov.Stealth = game.pov.Stealth + 10
  2278. game.pov.Charm = game.pov.Charm + 5
  2279. game.pov.Deceive = game.pov.Deceive + 5
  2280. game.pov.Class = "Hunter"
  2281. game.pov.Health = game.pov.Survival + game.pov.RaceHealth
  2282. game.pov.Mana = game.pov.Knowledge + game.pov.Magic + game.pov.RaceMagic
  2283. if (game.pov.Health < 5) {
  2284. game.pov.Health = 5
  2285. }
  2286. if (game.pov.Mana < 5) {
  2287. game.pov.Mana = 5
  2288. }
  2289. game.pov.Health = game.pov.Health * 4
  2290. game.pov.Mana = game.pov.Mana * 0
  2291. game.pov.MaxHealth = game.pov.Health
  2292. game.pov.HealthModifier = 4
  2293. game.pov.ManaModifier = 0
  2294. game.pov.MaxMana = game.pov.Mana
  2295. game.pov.HP = ""+game.pov.Health+ " / " +game.pov.MaxHealth+ ""
  2296. game.pov.MP = ""+game.pov.Mana+ " / " +game.pov.MaxMana+ ""
  2297. ClearScreen
  2298. MoveObject (game.pov, Character_Setup)
  2299. assignpoints
  2300. }
  2301. else if (result = False) {
  2302. characterselect
  2303. }
  2304. }
  2305. }
  2306. else if (char = "Bard") {
  2307. Ask ("Are you sure you want to be the " +char+"?") {
  2308. if (result = True) {
  2309. game.pov.Combat = 0
  2310. game.pov.Intimidate = game.pov.Intimidate + 10
  2311. game.pov.Magic = game.pov.Magic + 5
  2312. game.pov.Knowledge = game.pov.Knowledge + 10
  2313. game.pov.Healing = game.pov.Healing + 5
  2314. game.pov.Survival = game.pov.Survival + 5
  2315. game.pov.Awareness = game.pov.Awareness + 10
  2316. game.pov.Stealth = 0
  2317. game.pov.Charm = game.pov.Charm + 15
  2318. game.pov.Deceive = game.pov.Deceive + 15
  2319. game.pov.Class = "Bard"
  2320. game.pov.Health = game.pov.Survival + game.pov.RaceHealth
  2321. game.pov.Mana = game.pov.Knowledge + game.pov.Magic + game.pov.RaceMagic
  2322. if (game.pov.Health < 5) {
  2323. game.pov.Health = 5
  2324. }
  2325. if (game.pov.Mana < 5) {
  2326. game.pov.Mana = 5
  2327. }
  2328. game.pov.Health = game.pov.Health * 1
  2329. game.pov.Mana = game.pov.Mana * 1
  2330. game.pov.MaxHealth = game.pov.Health
  2331. game.pov.HealthModifier = 1
  2332. game.pov.ManaModifier = 1
  2333. game.pov.MaxMana = game.pov.Mana
  2334. game.pov.HP = ""+game.pov.Health+ " / " +game.pov.MaxHealth+ ""
  2335. game.pov.MP = ""+game.pov.Mana+ " / " +game.pov.MaxMana+ ""
  2336. ClearScreen
  2337. MoveObject (game.pov, Character_Setup)
  2338. assignpoints
  2339. }
  2340. else if (result = False) {
  2341. characterselect
  2342. }
  2343. }
  2344. }
  2345. else if (char = "Paladin") {
  2346. Ask ("Are you sure you want to be the " +char+"?") {
  2347. if (result = True) {
  2348. game.pov.Combat = game.pov.Combat + 10
  2349. game.pov.Intimidate = game.pov.Intimidate + 5
  2350. game.pov.Magic = game.pov.Magic + 10
  2351. game.pov.Knowledge = game.pov.Knowledge + 5
  2352. game.pov.Healing = game.pov.Healing + 10
  2353. game.pov.Survival = game.pov.Survival + 15
  2354. game.pov.Awareness = game.pov.Awareness + 5
  2355. game.pov.Stealth = 0
  2356. game.pov.Charm = game.pov.Charm + 15
  2357. game.pov.Deceive = 0
  2358. game.pov.Class = "Paladin"
  2359. game.pov.Health = game.pov.Survival + game.pov.RaceHealth
  2360. game.pov.Mana = game.pov.Knowledge + game.pov.Magic + game.pov.RaceMagic
  2361. if (game.pov.Health < 5) {
  2362. game.pov.Health = 5
  2363. }
  2364. if (game.pov.Mana < 5) {
  2365. game.pov.Mana = 5
  2366. }
  2367. game.pov.Health = game.pov.Health * 3
  2368. game.pov.Mana = game.pov.Mana * 2
  2369. game.pov.MaxHealth = game.pov.Health
  2370. game.pov.HealthModifier = 3
  2371. game.pov.ManaModifier = 2
  2372. game.pov.MaxMana = game.pov.Mana
  2373. game.pov.HP = ""+game.pov.Health+ " / " +game.pov.MaxHealth+ ""
  2374. game.pov.MP = ""+game.pov.Mana+ " / " +game.pov.MaxMana+ ""
  2375. ClearScreen
  2376. MoveObject (game.pov, Character_Setup)
  2377. assignpoints
  2378. }
  2379. else if (result = False) {
  2380. characterselect
  2381. }
  2382. }
  2383. }
  2384. }
  2385. else {
  2386. msg ("You chose to cancel.")
  2387. }
  2388. }
  2389. game.pov.hitpoints = game.pov.Health
  2390. game.pov.changedHealth => {
  2391. game.pov.hitpoints = game.pov.Health
  2392. game.pov.HP = ""+game.pov.Health+ " / " +game.pov.MaxHealth+ ""
  2393. }
  2394. game.pov.changedhitpoints => {
  2395. set (game.pov, "Health", game.pov.hitpoints)
  2396. if (0 >= game.pov.hitpoints) {
  2397. if (game.pov.MaxHealth >= 1) {
  2398. msg ("You are dead!")
  2399. finish
  2400. }
  2401. }
  2402. else {
  2403. UpdateStatus
  2404. }
  2405. }
  2406. ]]></function>
  2407. </asl>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement