home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 3.8 / 1997-11_Disc_3.8.bin / PATCHES / ZNPATCH.EXE / ZNPatch / Addon / subpatch.zfs / ac4h.scr < prev    next >
Text File  |  1997-06-04  |  11KB  |  246 lines

  1. # THIS SCRIPT WAS GENERATED ON 04-03-1996 AT 22:33:59
  2. world A                     # Asylum
  3. room C                      # Examination Room
  4. nodeview 4H                 # Nodeview 4H (1412)
  5. # SCRIPT VERSION: 24.9
  6. puzzle:26999 {                            # AUTO-PRELOAD-OF-ANIMATION 
  7.               results {
  8.                             action:animpreload:27063(ac4ga41c.avi 0 0 0 15)
  9.               }
  10.               flags {
  11.                             DO_ME_NOW
  12.                             ONCE_PER_INST
  13.               }
  14. }
  15.  
  16. # PUZZLES
  17. puzzle:6647 {               # ac4h-ac4f_nav (open safe) 0
  18.               criteria { 
  19.                             [7007] = 1                  # ac4h-ac4f
  20.                             [6690] ! 0                  # stomach jar
  21.                             [6613] = 3                  # state of safe
  22.               }
  23.               results {
  24.                             action:assign(6613, 2)      # state of safe
  25.                             action:assign(7007, 0)      # ac4h-ac4f
  26.                             action:disable_control(6650)               # close safe
  27.                             action:disable_control(7007)               # ac4h-ac4f
  28.                             action:syncsound(27063 0 ac4fq3tc.raw 22050 16 1 0) #b
  29.                             background:playpreload:6661(27063 0 0 511 319 85 100 1)
  30.               }
  31.               flags {
  32.                             ONCE_PER_INST
  33.               }
  34. }
  35. puzzle:6649 {               # ac4h-ac4f_nav (open safe) 1
  36.               criteria { 
  37.                             [6661] = 2                  # close safe exit tag
  38.               }
  39.               results {
  40.                             action:assign(6661, 0)      # close safe exit tag
  41.                             action:enable_control(6650)  # close safe
  42.                             action:enable_control(7007)  # ac4h-ac4f
  43.                             event:change_location(A,C,4F,0)
  44.               }
  45.               flags {
  46.                             ONCE_PER_INST
  47.               }
  48. }
  49. puzzle:6651 {               # close safe (empty) anim0
  50.               criteria { 
  51.                             [6690] ! 0                  # stomach jar
  52.                             [6650] = 1                  # close safe
  53.               }
  54.               results {
  55.                             action:assign(6650, 0)      # close safe
  56.                             action:assign(6613, 2)      # state of safe
  57.                             action:disable_control(7007)               # ac4h-ac4f
  58.                             action:disable_control(6650)               # close safe
  59.                             action:disable_control(6672)               # get-drop stomach jar
  60.                             action:syncsound(27063 0 ac4fq3tc.raw 22050 16 1 0) #b
  61.                             background:playpreload:6660(27063 0 0 511 319 85 100 1)
  62.               }
  63.               flags {
  64.                             ONCE_PER_INST
  65.               }
  66. }
  67. puzzle:6652 {               # close safe (empty) anim1
  68.               criteria { 
  69.                             [6660] = 2                  # close safe (jar) tag 2
  70.               }
  71.               results {
  72.                             action:assign(6660, 0)      # close safe (jar) tag 2
  73.                             action:enable_control(6650)  # close safe
  74.                             action:enable_control(7007)  # ac4h-ac4f
  75.                             event:change_location(A,C,4G,0)
  76.                             action:enable_control(6672)  # get-drop stomach jar
  77.               }
  78.               flags {
  79.                             ONCE_PER_INST
  80.               }
  81. }
  82. puzzle:6653 {               # close safe (jar) anim0
  83.               criteria { 
  84.                             [6690] = 0                  # stomach jar
  85.                             [6650] = 1                  # close safe
  86.               }
  87.               results {
  88.                             action:assign(6650, 0)      # close safe
  89.                             action:assign(6613, 2)      # state of safe
  90.                             action:disable_control(6650)               # close safe
  91.                             action:disable_control(7007)               # ac4h-ac4f
  92.                             action:disable_control(6672)               # get-drop stomach jar
  93.                             action:syncsound(27063 0 ac4fq3tc.raw 22050 16 1 0) #b
  94.                             background:playpreload:6658(27063 0 0 511 319 31 56 1)
  95.               }
  96.               flags {
  97.                             ONCE_PER_INST
  98.               }
  99. }
  100. puzzle:6657 {               # close safe (jar) anim1
  101.               criteria { 
  102.                             [6658] = 2                  # close safe (jar) tag
  103.               }
  104.               results {
  105.                             action:assign(6658, 0)      # close safe (jar) tag
  106.                             action:enable_control(7007)  # ac4h-ac4f
  107.                             action:enable_control(6650)  # close safe
  108.                             action:enable_control(6672)  # get-drop stomach jar
  109.                             event:change_location(A,C,4G,0)
  110.               }
  111.               flags {
  112.                             ONCE_PER_INST
  113.               }
  114. }
  115. puzzle:6668 {               # drop stomach jar puz
  116.               criteria { 
  117.                             [9] = 36
  118.                             [6690] = 1                  # stomach jar
  119.                             [6672] = 1                  # get-drop stomach jar
  120.               }
  121.               results {
  122.                             action:assign(6690, 0)      # stomach jar
  123.                             action:assign(6672, 0)      # get-drop stomach jar
  124.                             action:assign(6668, 0)      # drop stomach jar puz
  125.                             action:inventory(drop 36)
  126.                             action:set_screen(ac4gb31c.tga)
  127.                             background:music:7297(0 ac4hh2tc.raw 0)
  128.               }
  129.               flags {
  130.                             ONCE_PER_INST
  131.               }
  132. }
  133. puzzle:6671 {               # get stomach jar puz
  134.               criteria { 
  135.                             [9] = 0
  136.                             [6690] = 0                  # stomach jar
  137.                             [6672] = 1                  # get-drop stomach jar
  138.               }
  139.               results {
  140.                             action:assign(6672, 0)      # get-drop stomach jar
  141.                             action:assign(6690, 1)      # stomach jar
  142.                             action:assign(6671, 0)      # get stomach jar puz
  143.                             action:inventory(add 36)
  144.                             action:set_screen(ac4gb41c.tga)
  145.                             background:music:7296(0 ac4hh1tc.raw 0)
  146.               }
  147.               flags {
  148.                             ONCE_PER_INST
  149.               }
  150. }
  151. puzzle:6977 {               # ac4h-ac4f (safe jar) nav
  152.               criteria { 
  153.                             [7007] = 1                  # ac4h-ac4f
  154.                             [6613] = 3                  # state of safe
  155.                             [6690] = 0                  # stomach jar
  156.               }
  157.               results {
  158.                             action:assign(6613, 2)      # state of safe
  159.                             action:assign(7007, 0)      # ac4h-ac4f
  160.                             action:disable_control(6650)               # close safe
  161.                             action:disable_control(7007)               # ac4h-ac4f
  162.                             background:playpreload:6978(27063 0 0 511 319 31 56 1)
  163.                             background:music:6979(0 ac4fq3tc.raw 0)
  164.               }
  165.               flags {
  166.                             ONCE_PER_INST
  167.               }
  168. }
  169. puzzle:6980 {               # ac4h-ac4f (safe jar) nav 1
  170.               criteria { 
  171.                             [6978] = 2                  # close safe (exit jar) tag
  172.               }
  173.               results {
  174.                             action:assign(6978, 0)      # close safe (exit jar) tag
  175.                             action:enable_control(6650)  # close safe
  176.                             action:enable_control(7007)  # ac4h-ac4f
  177.                             event:change_location(A,C,4F,0)
  178.               }
  179.               flags {
  180.                             ONCE_PER_INST
  181.               }
  182. }
  183. puzzle:7008 {               # INITIAL AC4H
  184.               criteria { 
  185.                             [6690] = 0                  # stomach jar
  186.               }
  187.               results {
  188.                             action:assign(7008, 1)      # INITIAL AC4H
  189.                             action:assign(7010, 1)      # INITIAL AC4H 1
  190.                             action:set_screen(ac4gb31c.tga)
  191.                             action:enable_control(6650)  # close safe
  192.                             action:enable_control(7007)  # ac4h-ac4f
  193.               }
  194.               flags {
  195.                             ONCE_PER_INST
  196.                             DO_ME_NOW
  197.               }
  198. }
  199. puzzle:7009 {               # enable get-drop stomach
  200.               criteria { 
  201.                             [6690] < 2                  # stomach jar
  202.               }
  203.               results {
  204.                             action:enable_control(6672)  # get-drop stomach jar
  205.               }
  206.               flags {
  207.                             ONCE_PER_INST
  208.               }
  209. }
  210. puzzle:7010 {               # INITIAL AC4H 1
  211.               criteria { 
  212.                             [6690] > 1                  # stomach jar
  213.               }
  214.               results {
  215.                             action:assign(7008, 1)      # INITIAL AC4H
  216.                             action:assign(7010, 1)      # INITIAL AC4H 1
  217.                             action:set_screen(ac4gb41c.tga)
  218.                             action:disable_control(6672)               # get-drop stomach jar
  219.                             action:enable_control(6650)  # close safe
  220.                             action:enable_control(7007)  # ac4h-ac4f
  221.               }
  222.               flags {
  223.                             ONCE_PER_INST
  224.                             DO_ME_NOW
  225.               }
  226. }
  227.  
  228. # CONTROLS
  229. control:6650 push_toggle {                # close safe
  230.               flat_hotspot(58,12,107,263)
  231.               cursor(active)
  232. }
  233. control:6672 push_toggle {                # get-drop stomach jar
  234.               flat_hotspot(172,85,147,150)
  235.               cursor(handpu)
  236. }
  237. control:7007 push_toggle {                # ac4h-ac4f
  238.               flat_hotspot(1,268,507,49)
  239.               cursor(backward)
  240. }
  241. # state 7486 has been reserved as a global variable (timer for safe)
  242.  
  243. # AUTO-BACKWARDS PUZZLES AND CONTROLS
  244. control:25639 flat {
  245. }
  246.