home *** CD-ROM | disk | FTP | other *** search
/ Wacky Windows Stuff... / WACKY.iso / toolbook / archery.tbk (.txt) < prev    next >
Asymetrix ToolBook File  |  1990-06-13  |  66KB  |  1,058 lines

  1. Archery Tournament Standings as of 
  2.  on the day 
  3. :PRINTLAYOUT
  4. System
  5. :REPORTDATA
  6. Name of this background is "Range"
  7. Archer
  8. Shots
  9. Last Score
  10. Total Score
  11. System
  12. ToolBook Archery
  13. d is "Range"
  14. Last Score
  15. Total Score
  16. --Set 
  17. c"Page" 
  18. c"Text" 
  19. c"&Game" 
  20. e"&Start" 
  21. e"S&tandings" 
  22. default
  23. --Hide 
  24. initial positions 
  25. /range
  26. down 
  27. stand 
  28. flasher 
  29. arrow 
  30. "instructions" 
  31. 2840,350
  32. --Initialize 
  33. 4numshots, totscore, lastscore, tippoint, winddn, windac, nshooters, maxplayers, 
  34. --Display Window 
  35. reset
  36. ^values
  37. 4flag, 
  38. --Resets 
  39. bow, 
  40. bullseye 
  41. 7390,2581
  42. stringy 
  43. 1560,1336,1560,3963
  44. hand 
  45. 1395,2535
  46. 2200,2620.5
  47. --Hides 
  48. }that need hiding
  49. redfeather 
  50. bluefeather 
  51. --Determines 
  52. displays 
  53.  speeds 
  54. k32767
  55. (100)-50
  56. (100)-50
  57. vwind 
  58. " && 
  59.  > 0 
  60. hwind 
  61. " && 
  62.  >= 0 
  63. --Gets 
  64. tournament 
  65. restarts game
  66. validentry 
  67. Ask "How many archers are entered 
  68. --Check 
  69. V data 
  70. temp 
  71. isnumber 
  72. isinteger 
  73. o> 0 
  74. --Clear old 
  75. record fields
  76.  && i)
  77. "total 
  78.  && i)
  79.  && i)
  80.  && i)
  81.  && i)
  82. --Prepare 
  83. --Runs animation sequence on 
  84. allows 
  85. H125, 0
  86. --Requests 
  87. breaks 
  88. chosen
  89. invalid 
  90. Standings
  91. --Displays current standings 
  92. --Puts information 
  93. hidden 
  94. "TOURNAMENT STANDINGS" & 
  95. "Player" && i & "
  96. " && 
  97. --Shows 
  98. Zbox 
  99. dismissed
  100.  "Click OK 
  101. togglestatus
  102. --Disable ability 
  103. bring up 
  104. --Restore menus 
  105. rbook
  106. Start
  107. Standings
  108. reset
  109. togglestatus
  110. enterbook
  111. leavebook
  112. location
  113. location
  114. location
  115. locvalue
  116. location
  117. enterbook
  118. &Game
  119. &Start
  120. S&tandings
  121. instructions
  122. sizetopage
  123. numshots
  124. totscore
  125. lastscore
  126. tippoint
  127. winddn
  128. windac
  129. nshooters
  130. maxplayers
  131. shooter
  132. arrow
  133. flasher
  134. stand
  135. range
  136. default
  137. reset
  138. location
  139. location
  140. location
  141. seconds
  142. player
  143. player
  144. hwind
  145. vwind
  146. bluefeather
  147. redfeather
  148. arrow
  149. stringy
  150. range
  151. bullseye
  152. numshots
  153. shooter
  154. winddn
  155. windac
  156.     Start
  157. How many archers are entered in this tournament
  158. cancel
  159. total score
  160. last score
  161. reset
  162. instructions
  163. instructions
  164. player 1
  165.  is an invalid entry
  166. arrow
  167. hwind
  168. vwind
  169. player
  170. shots
  171. i:to1
  172. isinteger
  173. isnumber
  174. validentry
  175. maxplayers
  176. nshooters
  177. shooter
  178. numshots
  179. totscore
  180. lastscore
  181. winddn
  182. windac
  183. Standings
  184. TOURNAMENT STANDINGS
  185. Player
  186.         
  187. Stand
  188. range
  189. stand
  190. range
  191. Click OK to continue
  192. stand
  193. range
  194. range
  195. stand
  196. nshooters
  197. totscore
  198. togglestatus
  199. leavebook
  200. :CONDITIONDATA
  201. IdNumber of this Background = 0
  202. --Book created Michael L. Miller
  203. location 
  204. locvalue
  205. --Sets the 
  206.  passed 
  207. ] - x)
  208.  - y)
  209. --Calculates 
  210. --Set 
  211. c"Page" 
  212. c"Text" 
  213. c"&Game" 
  214. e"&Start" 
  215. e"S&tandings" 
  216. e"&Print Results" 
  217. port..." 
  218. e"Import..." 
  219. default
  220. --Hide 
  221. initial positions 
  222. /range
  223. down 
  224. stand 
  225. flasher 
  226. arrow 
  227. "instructions" 
  228. 2840,350
  229. --Initialize 
  230. 4numshots, totscore, lastscore, tippoint, winddn, windac, nshooters, maxplayers, 
  231. , printing
  232. --Display Window 
  233. reset
  234. ^values
  235. 4flag, 
  236. --Resets 
  237. bow, 
  238. bullseye 
  239. 7390,2581
  240. stringy 
  241. 1560,1336,1560,3963
  242. hand 
  243. 1395,2535
  244. 2200,2620.5
  245. --Hides 
  246. }that need hiding
  247. redfeather 
  248. bluefeather 
  249. --Determines 
  250. displays 
  251.  speeds 
  252. k32767
  253. (100)-50
  254. (100)-50
  255. vwind 
  256. " && 
  257.  > 0 
  258. hwind 
  259. " && 
  260.  >= 0 
  261. --Gets 
  262. tournament 
  263. restarts game
  264. validentry 
  265. Ask "How many archers are entered 
  266. --Check 
  267. V data 
  268. temp 
  269. isnumber 
  270. isinteger 
  271. o> 0 
  272. --Clear old 
  273. record fields
  274.  && i)
  275. "total 
  276.  && i)
  277.  && i)
  278.  && i)
  279.  && i)
  280. --Prepare 
  281. --Runs animation sequence on 
  282. allows 
  283. H125, 0
  284. --Requests 
  285. breaks 
  286. chosen
  287. invalid 
  288. Standings
  289. --Displays current standings 
  290. --Puts information 
  291. hidden 
  292. "TOURNAMENT STANDINGS" & 
  293. "Player" && i & "
  294. " && 
  295. --Shows 
  296. Zbox 
  297. dismissed
  298.  "Click OK 
  299. togglestatus
  300. --Disable ability 
  301. bring up 
  302. --Restore menus 
  303. rbook
  304. Start
  305. Standings
  306. reset
  307. togglestatus
  308. enterbook
  309. leavebook
  310. location
  311. location
  312. location
  313. locvalue
  314. location
  315. enterbook
  316. &Game
  317. &Start
  318. S&tandings
  319. &Print Results
  320. Print Report...
  321. Import...
  322. instructions
  323. sizetopage
  324. numshots
  325. totscore
  326. lastscore
  327. tippoint
  328. winddn
  329. windac
  330. nshooters
  331. maxplayers
  332. shooter
  333. printing
  334. arrow
  335. flasher
  336. stand
  337. range
  338. default
  339. reset
  340. location
  341. location
  342. location
  343. seconds
  344. player
  345. player
  346. hwind
  347. vwind
  348. bluefeather
  349. redfeather
  350. arrow
  351. stringy
  352. range
  353. bullseye
  354. numshots
  355. shooter
  356. winddn
  357. windac
  358.     Start
  359. How many archers are entered in this tournament
  360. cancel
  361. total score
  362. last score
  363. reset
  364. instructions
  365. instructions
  366. player 1
  367.  is an invalid entry
  368. arrow
  369. hwind
  370. vwind
  371. player
  372. shots
  373. i:to1
  374. isinteger
  375. isnumber
  376. validentry
  377. maxplayers
  378. nshooters
  379. shooter
  380. numshots
  381. totscore
  382. lastscore
  383. winddn
  384. windac
  385. Standings
  386. TOURNAMENT STANDINGS
  387. Player
  388.         
  389. Stand
  390. range
  391. stand
  392. range
  393. Click OK to continue
  394. stand
  395. range
  396. range
  397. stand
  398. nshooters
  399. totscore
  400. togglestatus
  401. leavebook
  402. range
  403. --Allows 
  404. the standings box 
  405. be brought up 
  406. results 
  407. be printed
  408. e"Standings" 
  409. e"Print Results" 
  410. 4printing
  411. --Fires 
  412. arrow, accounting 
  413. 4numshots, 
  414. , shooter
  415. --Registers that a 
  416. $ has been attempted
  417. O + 1)
  418. (player && 
  419. 4winddn
  420. 4windac
  421. --Draws 
  422. location 
  423. hand 
  424. stringy 
  425. --Releases 
  426. i = 1 
  427. redfeather 
  428. bluefeather 
  429. --Sends 
  430. destination 
  431. cvibrating bowstring
  432. + 300 + 
  433. + j + 
  434. i/2 = 
  435. Q(i/2) 
  436. --Score 
  437. indicate 
  438. fired successfuly
  439. score
  440. --Determines 
  441. 4lastscore, 
  442. , totscore, tippoint
  443. Z distance
  444. --Calcluates 
  445. assigns appropriate 
  446. bullseye 
  447.  <= 50 
  448. flash
  449.  <= 100 
  450. near 
  451.  <= 300 
  452. --elsewhere 
  453. circle
  454.  <=600 
  455.  <=900 
  456. >missed
  457. --Records 
  458. "total 
  459. default
  460. --Animation sequence 
  461. flasher 
  462. printresults
  463. --Gives printout 
  464. tournament 
  465. 4nshooters, 
  466. jAMPM"
  467. Set PrinterStyle 
  468. Margins 
  469. 1440, 1440, 1440, 1440
  470. 4Gutters 
  471. 360, 360
  472. HFields 
  473. "archer,
  474. jFieldWidths 
  475. "800,800,1500,1500"
  476. FieldNames 
  477. ClipText 
  478. Conditions 
  479. ""Range"""
  480. Start Spooler
  481. enterpage
  482. enterbackground
  483. score
  484. flash
  485. printresults
  486. enterbackground
  487. Standings
  488. Print Results
  489. enterpage
  490. printing
  491. location
  492. location
  493. location
  494. location
  495. location
  496. location
  497. score
  498. bluefeather
  499. redfeather
  500. arrow
  501. stringy
  502. windac
  503. winddn
  504. player
  505. shots
  506. numshots
  507. shooter
  508. score
  509. location
  510. location
  511. location
  512. flash
  513. last score
  514. total score
  515. default
  516. player
  517. bullseye
  518. arrow
  519. distance
  520. lastscore
  521. shooter
  522. totscore
  523. tippoint
  524. flash
  525. location
  526. location
  527. bullseye
  528. flasher
  529. printresults
  530. h:min AMPM
  531. archer,shots,last score,total score
  532. 800,800,1500,1500
  533. Name of this background is "Range"
  534. seconds
  535. default
  536. nshooters
  537. printing
  538. systimeforamt
  539. default
  540. nshooters
  541. printing
  542. +<,|,
  543. ,b-,N
  544. Last Shot
  545. Total Score
  546. --Fires shot 
  547. player has 
  548. xfired yet
  549. "You must 
  550. click the 
  551. 4firing 
  552. buttonup
  553. buttonup
  554. You must first click the next player button before firing again
  555.  No. of Shots
  556. --Prepares 
  557. tshooter
  558. , nshooters
  559. reset
  560. (Player && 
  561. buttonup
  562. buttonup
  563. reset
  564. Player
  565. shooter
  566. nshooters
  567. Vert. Wind
  568. Horiz. Wind
  569. right
  570. stringy
  571. Last Score
  572. Total Score
  573. Shots
  574. vwind
  575. hwind
  576. Player
  577. bullseye
  578. --Changes cursor 
  579. initial 
  580. 4flag
  581. --Restores 
  582. default
  583. --Grabs 
  584. can be moved
  585. 4 Xoffset, Yoffset, Origloc, 
  586. location 
  587. "You 
  588. only reposition the 
  589. >once per shot"
  590. --Moves 
  591. >according 
  592. user choice
  593. that 
  594. nhas been made
  595. useleave
  596. mouseenter
  597. buttonDown
  598. buttonStillDown
  599. mouseleave
  600. buttonUp
  601. mouseenter
  602. mouseleave
  603. default
  604. buttonDown
  605. location
  606. You can only reposition the target once per shot
  607. Xoffset
  608. Yoffset
  609. Origloc
  610. buttonStillDown
  611. location
  612. Xoffset
  613. Yoffset
  614. buttonUp
  615. default
  616. F2:PHYSSIZE
  617. flasher
  618. N:PHYSSIZE
  619. arrow
  620. redfeather
  621. bluefeather
  622. yellowfeather
  623. stand
  624. TOURNAMENT STANDINGS
  625. Player 1         1300
  626. Player 2         850
  627. Player 3         1550
  628.  4         0
  629. Archer
  630. player 1
  631. range
  632. instructions
  633. e"Standings" 
  634. e"Print Results" 
  635. enterpage
  636. enterpage
  637. Standings
  638. Print Results
  639. arrow
  640. postion
  641. 2840,350
  642. redfeather
  643. bluefeather
  644. yellowfeather
  645. ToolBook Archery
  646. This game can be played by 1 to 4 players, you will be asked to specify how many people will play before the game begins.  In the actual play of the game you will be given horizontal and vertical wind coefficients before each shot, you will then be able to move the target to your desired location.  Movement of the target is done by dragging the target with the mouse, you can tell when movement is possible by moving the cursor over the target, if the pointer changes to a move cursor you may drag and drop the target.  To fire the arrow, click the button labled "Fire".  After firing the arrow, clicking the "Next" button will reset the arrow and the target to their intitial position for the next round.  Scoring is as follows:  Bullseye--500 points; Inner red circle--250 points; Outer red circle--100 points; Yellow circle--50 points; Blue circle--25 points.  The score for the last shot as well as each player's total score is calculated and displayed in the fields at the top of the pages.  To start the game, select "Start" from the "Game" menu.  To display the current standings, select "Standings" from the game menu.  To print the current standings, select "Print Results" from the "Game" menu.
  647. instructions
  648. player 2
  649. player 1
  650. player 2
  651. Player 3
  652. Player 3
  653. Player 4
  654. Player 4
  655. :PRINTLAYOUT
  656. System
  657. :REPORTDATA
  658. Name of this background is "Range"
  659. Archer
  660. Shots
  661. Last Score
  662. Total Score
  663. System
  664. ToolBook Archery
  665. d is "Range"
  666. Last Score
  667. Total Score
  668. --Set 
  669. c"Page" 
  670. c"Text" 
  671. c"&Game" 
  672. e"&Start" 
  673. e"S&tandings" 
  674. default
  675. --Hide 
  676. initial positions 
  677. /range
  678. down 
  679. stand 
  680. flasher 
  681. arrow 
  682. "instructions" 
  683. 2840,350
  684. --Initialize 
  685. 4numshots, totscore, lastscore, tippoint, winddn, windac, nshooters, maxplayers, 
  686. --Display Window 
  687. reset
  688. ^values
  689. 4flag, 
  690. --Resets 
  691. bow, 
  692. bullseye 
  693. 7390,2581
  694. stringy 
  695. 1560,1336,1560,3963
  696. hand 
  697. 1395,2535
  698. 2200,2620.5
  699. --Hides 
  700. }that need hiding
  701. redfeather 
  702. bluefeather 
  703. --Determines 
  704. displays 
  705.  speeds 
  706. k32767
  707. (100)-50
  708. (100)-50
  709. vwind 
  710. " && 
  711.  > 0 
  712. hwind 
  713. " && 
  714.  >= 0 
  715. --Gets 
  716. tournament 
  717. restarts game
  718. validentry 
  719. Ask "How many archers are entered 
  720. --Check 
  721. V data 
  722. temp 
  723. isnumber 
  724. isinteger 
  725. o> 0 
  726. --Clear old 
  727. record fields
  728.  && i)
  729. "total 
  730.  && i)
  731.  && i)
  732.  && i)
  733.  && i)
  734. --Prepare 
  735. --Runs animation sequence on 
  736. allows 
  737. H125, 0
  738. --Requests 
  739. breaks 
  740. chosen
  741. invalid 
  742. Standings
  743. --Displays current standings 
  744. --Puts information 
  745. hidden 
  746. "TOURNAMENT STANDINGS" & 
  747. "Player" && i & "
  748. " && 
  749. --Shows 
  750. Zbox 
  751. dismissed
  752.  "Click OK 
  753. togglestatus
  754. --Disable ability 
  755. bring up 
  756. --Restore menus 
  757. rbook
  758. Start
  759. Standings
  760. reset
  761. togglestatus
  762. enterbook
  763. leavebook
  764. location
  765. location
  766. location
  767. locvalue
  768. location
  769. enterbook
  770. &Game
  771. &Start
  772. S&tandings
  773. instructions
  774. sizetopage
  775. numshots
  776. totscore
  777. lastscore
  778. tippoint
  779. winddn
  780. windac
  781. nshooters
  782. maxplayers
  783. shooter
  784. arrow
  785. flasher
  786. stand
  787. range
  788. default
  789. reset
  790. location
  791. location
  792. location
  793. seconds
  794. player
  795. player
  796. hwind
  797. vwind
  798. bluefeather
  799. redfeather
  800. arrow
  801. stringy
  802. range
  803. bullseye
  804. numshots
  805. shooter
  806. winddn
  807. windac
  808.     Start
  809. How many archers are entered in this tournament
  810. cancel
  811. total score
  812. last score
  813. reset
  814. instructions
  815. instructions
  816. player 1
  817.  is an invalid entry
  818. arrow
  819. hwind
  820. vwind
  821. player
  822. shots
  823. i:to1
  824. isinteger
  825. isnumber
  826. validentry
  827. maxplayers
  828. nshooters
  829. shooter
  830. numshots
  831. totscore
  832. lastscore
  833. winddn
  834. windac
  835. Standings
  836. TOURNAMENT STANDINGS
  837. Player
  838.         
  839. Stand
  840. range
  841. stand
  842. range
  843. Click OK to continue
  844. stand
  845. range
  846. range
  847. stand
  848. nshooters
  849. totscore
  850. togglestatus
  851. leavebook
  852. :CONDITIONDATA
  853. IdNumber of this Background = 0
  854. --Book created Michael L. Miller
  855. location 
  856. locvalue
  857. --Sets the 
  858.  passed 
  859. ] - x)
  860.  - y)
  861. --Calculates 
  862. --Set 
  863. c"Page" 
  864. c"Text" 
  865. c"&Game" 
  866. e"&Start" 
  867. e"S&tandings" 
  868. e"&Print Results" 
  869. port..." 
  870. e"Import..." 
  871. default
  872. --Hide 
  873. initial positions 
  874. /range
  875. down 
  876. stand 
  877. flasher 
  878. arrow 
  879. "instructions" 
  880. 2840,350
  881. --Initialize 
  882. 4numshots, totscore, lastscore, tippoint, winddn, windac, nshooters, maxplayers, 
  883. , printing
  884. --Display Window 
  885. reset
  886. ^values
  887. 4flag, 
  888. --Resets 
  889. bow, 
  890. bullseye 
  891. 7390,2581
  892. stringy 
  893. 1560,1336,1560,3963
  894. hand 
  895. 1395,2535
  896. 2200,2620.5
  897. --Hides 
  898. }that need hiding
  899. redfeather 
  900. bluefeather 
  901. --Determines 
  902. displays 
  903.  speeds 
  904. k32767
  905. (100)-50
  906. (100)-50
  907. vwind 
  908. " && 
  909.  > 0 
  910. hwind 
  911. " && 
  912.  >= 0 
  913. --Gets 
  914. tournament 
  915. restarts game
  916. validentry 
  917. Ask "How many archers are entered 
  918. --Check 
  919. V data 
  920. temp 
  921. isnumber 
  922. isinteger 
  923. o> 0 
  924. --Clear old 
  925. record fields
  926.  && i)\
  927. "Archer" 
  928.  && i)
  929.  && i)
  930. "total 
  931.  && i)
  932.  && i)
  933.  && i)
  934.  && i)
  935. --Prepare 
  936. --Runs animation sequence on 
  937. allows 
  938. H125, 0
  939. --Requests 
  940. breaks 
  941. chosen
  942. invalid 
  943. Standings
  944. --Displays current standings 
  945. --Puts information 
  946. hidden 
  947. "TOURNAMENT STANDINGS" & 
  948. "Player" && i & "
  949. " && 
  950. --Shows 
  951. Zbox 
  952. dismissed
  953.  "Click OK 
  954. togglestatus
  955. --Disable ability 
  956. bring up 
  957. --Restore menus 
  958. rbook
  959. Start
  960. Standings
  961. reset
  962. togglestatus
  963. enterbook
  964. leavebook
  965. location
  966. location
  967. location
  968. locvalue
  969. location
  970. enterbook
  971. &Game
  972. &Start
  973. S&tandings
  974. &Print Results
  975. Print Report...
  976. Import...
  977. instructions
  978. sizetopage
  979. numshots
  980. totscore
  981. lastscore
  982. tippoint
  983. winddn
  984. windac
  985. nshooters
  986. maxplayers
  987. shooter
  988. printing
  989. arrow
  990. flasher
  991. stand
  992. range
  993. default
  994. reset
  995. location
  996. location
  997. location
  998. seconds
  999. player
  1000. player
  1001. hwind
  1002. vwind
  1003. bluefeather
  1004. redfeather
  1005. arrow
  1006. stringy
  1007. range
  1008. bullseye
  1009. numshots
  1010. shooter
  1011. winddn
  1012. windac
  1013. Start
  1014. How many archers are entered in this tournament
  1015. cancel
  1016. Archer
  1017. total score
  1018. last score
  1019. reset
  1020. instructions
  1021. instructions
  1022. player 1
  1023.  is an invalid entry
  1024. arrow
  1025. hwind
  1026. vwind
  1027. shots
  1028. player
  1029. i:to1
  1030. isinteger
  1031. isnumber
  1032. validentry
  1033. maxplayers
  1034. nshooters
  1035. shooter
  1036. numshots
  1037. totscore
  1038. lastscore
  1039. winddn
  1040. windac
  1041. Standings
  1042. TOURNAMENT STANDINGS
  1043. Player
  1044.         
  1045. Stand
  1046. range
  1047. stand
  1048. range
  1049. Click OK to continue
  1050. stand
  1051. range
  1052. range
  1053. stand
  1054. nshooters
  1055. totscore
  1056. togglestatus
  1057. leavebook
  1058.