home *** CD-ROM | disk | FTP | other *** search
/ Ultra Mac Games 1 & 2 / UltraMacGames1.iso / Adventure / SpaceEscape / SpaceEscape / card_5754.txt < prev    next >
Text File  |  1988-07-31  |  6KB  |  297 lines

  1. -- card: 5754 from stack: in
  2. -- bmap block id: 8102
  3. -- flags: 4000
  4. -- background id: 2669
  5. -- name: open cell
  6. ----- HyperTalk script -----
  7. on opencard
  8.   put "You are in a cell similar to your own.  The previous"& " inhabitant seems to have already vacated the premises." & return & "The exit is to the west." into field "info"
  9.   global position
  10.   put "open cell" into position
  11.   global keyhide
  12.   if keyhide is "yes" then
  13.     show card field "keyhide"
  14.   else hide card field "keyhide"
  15.   pass opencard
  16. end opencard
  17.  
  18.  
  19. -- part 1 (button)
  20. -- low flags: 00
  21. -- high flags: 0000
  22. -- rect: left=190 top=187 right=204 bottom=210
  23. -- title width / last selected line: 0
  24. -- icon id / first selected line: 0 / 0
  25. -- text alignment: 1
  26. -- font id: 0
  27. -- text size: 12
  28. -- style flags: 0
  29. -- line height: 16
  30. -- part name: bunk
  31. ----- HyperTalk script -----
  32. on mouseUp
  33.   global objectname
  34.   put "bunk" into objectname
  35.   visual effect zoom open
  36.   go to card "bunk"
  37. end mouseUp
  38.  
  39.  
  40.  
  41. -- part 10 (button)
  42. -- low flags: 00
  43. -- high flags: 0000
  44. -- rect: left=219 top=193 right=205 bottom=236
  45. -- title width / last selected line: 0
  46. -- icon id / first selected line: 0 / 0
  47. -- text alignment: 1
  48. -- font id: 0
  49. -- text size: 12
  50. -- style flags: 0
  51. -- line height: 16
  52. -- part name: 
  53. ----- HyperTalk script -----
  54. on mouseUp
  55.   global objectname
  56.   put "key" into objectname
  57.   visual effect zoom open
  58.   go to card "key"
  59. end mouseUp
  60.  
  61.  
  62.  
  63. -- part 11 (field)
  64. -- low flags: 01
  65. -- high flags: 0001
  66. -- rect: left=219 top=194 right=207 bottom=240
  67. -- title width / last selected line: 0
  68. -- icon id / first selected line: 0 / 0
  69. -- text alignment: 0
  70. -- font id: 3
  71. -- text size: 12
  72. -- style flags: 0
  73. -- line height: 16
  74. -- part name: keyhide
  75. ----- HyperTalk script -----
  76. on mouseup
  77. end mouseup
  78.  
  79.  
  80. -- part 13 (button)
  81. -- low flags: 00
  82. -- high flags: 0000
  83. -- rect: left=360 top=113 right=191 bottom=403
  84. -- title width / last selected line: 0
  85. -- icon id / first selected line: 0 / 0
  86. -- text alignment: 1
  87. -- font id: 0
  88. -- text size: 12
  89. -- style flags: 0
  90. -- line height: 16
  91. -- part name: hallway open door
  92. ----- HyperTalk script -----
  93. on mouseUp
  94.   global objectname
  95.   put "door" into objectname
  96.   global halldoor
  97.   if halldoor contains "openED" then
  98.     visual effect zoom open
  99.     go to card "hallway open door"
  100.     exit mouseup
  101.   end if
  102.   put "open" into halldoor
  103.   visual effect zoom open
  104.   go to card "closed hallway door"
  105. end mouseUp
  106.  
  107.  
  108.  
  109. -- part 15 (button)
  110. -- low flags: 00
  111. -- high flags: 0000
  112. -- rect: left=205 top=171 right=188 bottom=225
  113. -- title width / last selected line: 0
  114. -- icon id / first selected line: 0 / 0
  115. -- text alignment: 1
  116. -- font id: 0
  117. -- text size: 12
  118. -- style flags: 0
  119. -- line height: 16
  120. -- part name: bunk
  121. ----- HyperTalk script -----
  122. on mouseUp
  123.   global objectname
  124.   put "bunk" into objectname
  125.   visual effect zoom open
  126.   go to card "bunk"
  127. end mouseUp
  128.  
  129.  
  130.  
  131. -- part 16 (button)
  132. -- low flags: 00
  133. -- high flags: 0000
  134. -- rect: left=221 top=159 right=176 bottom=241
  135. -- title width / last selected line: 0
  136. -- icon id / first selected line: 0 / 0
  137. -- text alignment: 1
  138. -- font id: 0
  139. -- text size: 12
  140. -- style flags: 0
  141. -- line height: 16
  142. -- part name: bunk
  143. ----- HyperTalk script -----
  144. on mouseUp
  145.   global objectname
  146.   put "bunk" into objectname
  147.   visual effect zoom open
  148.   go to card "bunk"
  149. end mouseUp
  150.  
  151.  
  152.  
  153. -- part 17 (button)
  154. -- low flags: 00
  155. -- high flags: 0000
  156. -- rect: left=240 top=160 right=172 bottom=252
  157. -- title width / last selected line: 0
  158. -- icon id / first selected line: 0 / 0
  159. -- text alignment: 1
  160. -- font id: 0
  161. -- text size: 12
  162. -- style flags: 0
  163. -- line height: 16
  164. -- part name: bunk
  165. ----- HyperTalk script -----
  166. on mouseUp
  167.   global objectname
  168.   put "bunk" into objectname
  169.   visual effect zoom open
  170.   go to card "bunk"
  171. end mouseUp
  172.  
  173.  
  174.  
  175. -- part 18 (button)
  176. -- low flags: 00
  177. -- high flags: 0000
  178. -- rect: left=223 top=174 right=186 bottom=235
  179. -- title width / last selected line: 0
  180. -- icon id / first selected line: 0 / 0
  181. -- text alignment: 1
  182. -- font id: 0
  183. -- text size: 12
  184. -- style flags: 0
  185. -- line height: 16
  186. -- part name: bunk
  187. ----- HyperTalk script -----
  188. on mouseUp
  189.   global objectname
  190.   put "bunk" into objectname
  191.   visual effect zoom open
  192.   go to card "bunk"
  193. end mouseUp
  194.  
  195.  
  196.  
  197. -- part 19 (button)
  198. -- low flags: 00
  199. -- high flags: 0000
  200. -- rect: left=209 top=187 right=199 bottom=221
  201. -- title width / last selected line: 0
  202. -- icon id / first selected line: 0 / 0
  203. -- text alignment: 1
  204. -- font id: 0
  205. -- text size: 12
  206. -- style flags: 0
  207. -- line height: 16
  208. -- part name: bunk
  209. ----- HyperTalk script -----
  210. on mouseUp
  211.   global objectname
  212.   put "bunk" into objectname
  213.   visual effect zoom open
  214.   go to card "bunk"
  215. end mouseUp
  216.  
  217.  
  218.  
  219. -- part 20 (button)
  220. -- low flags: 00
  221. -- high flags: 0000
  222. -- rect: left=194 top=176 right=188 bottom=206
  223. -- title width / last selected line: 0
  224. -- icon id / first selected line: 0 / 0
  225. -- text alignment: 1
  226. -- font id: 0
  227. -- text size: 12
  228. -- style flags: 0
  229. -- line height: 16
  230. -- part name: bunk
  231. ----- HyperTalk script -----
  232. on mouseUp
  233.   global objectname
  234.   put "bunk" into objectname
  235.   visual effect zoom open
  236.   go to card "bunk"
  237. end mouseUp
  238.  
  239.  
  240.  
  241. -- part 21 (button)
  242. -- low flags: 00
  243. -- high flags: 0000
  244. -- rect: left=210 top=160 right=172 bottom=222
  245. -- title width / last selected line: 0
  246. -- icon id / first selected line: 0 / 0
  247. -- text alignment: 1
  248. -- font id: 0
  249. -- text size: 12
  250. -- style flags: 0
  251. -- line height: 16
  252. -- part name: bunk
  253. ----- HyperTalk script -----
  254. on mouseUp
  255.   global objectname
  256.   put "bunk" into objectname
  257.   visual effect zoom open
  258.   go to card "bunk"
  259. end mouseUp
  260.  
  261.  
  262.  
  263. -- part 22 (button)
  264. -- low flags: 00
  265. -- high flags: 0000
  266. -- rect: left=179 top=191 right=203 bottom=191
  267. -- title width / last selected line: 0
  268. -- icon id / first selected line: 0 / 0
  269. -- text alignment: 1
  270. -- font id: 0
  271. -- text size: 12
  272. -- style flags: 0
  273. -- line height: 16
  274. -- part name: bunk
  275. ----- HyperTalk script -----
  276. on mouseUp
  277.   global objectname
  278.   put "bunk" into objectname
  279.   visual effect zoom open
  280.   go to card "bunk"
  281. end mouseUp
  282.  
  283.  
  284.  
  285. -- part contents for background part 6
  286. ----- text -----
  287. You are in a cell similar to your own.  The previous inhabitant seems to have already vacated the premises.
  288. The exit is to the west.
  289.  
  290. -- part contents for background part 18
  291. ----- text -----
  292. Cell
  293.  
  294. -- part contents for background part 20
  295. ----- text -----
  296. Key
  297.