home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 38 / ZGIDEMO.iso / ZGI_DEMO / DATA / SCRIPTS.ZFS / universe.scr < prev    next >
Text File  |  1997-09-04  |  53KB  |  1,628 lines

  1. # Node universe generated on Thu Sep 04 16:19:01 1997
  2. world u
  3. room n
  4. nodeview iv
  5.  
  6. puzzle:01826 {    # universe_play_music
  7.     criteria {
  8.         [01010] = 1    # gary_start_music
  9.     }
  10.     results {
  11.         action:music:01788(1 u000h01p.raw 0 85)    # universe_sound_task
  12.         action:attenuate(01788, -500)    # universe_sound_task
  13.     }
  14.     flags {
  15.         once_per_inst
  16.     }
  17. }
  18.  
  19. puzzle:01827 {    # universe_restored_game
  20.     criteria {
  21.         [00020] = 1    # JustRestored
  22.     }
  23.     results {
  24.         action:assign(00020, 0)    # JustRestored
  25.         action:assign(01024, 0)    # voice_over
  26.         action:assign(01827, 0)    # universe_restored_game
  27.         action:assign(01826, 0)    # universe_play_music
  28.     }
  29.     flags {
  30.         once_per_inst
  31.     }
  32. }
  33.  
  34. puzzle:01828 {    # universe_start_slide_timer
  35.     criteria {
  36.         [01409] = 1    # slide_controller
  37.     }
  38.     results {
  39.         action:assign(01409, 0)    # slide_controller
  40.         action:assign(01828, 0)    # universe_start_slide_timer
  41.         action:timer:01408(70)    # universe_slide_timer
  42.     }
  43.     flags {
  44.         once_per_inst
  45.     }
  46. }
  47.  
  48. puzzle:01829 {    # universe_goto_inv
  49.     criteria {
  50.         [00008] = 116    # KeyPress
  51.         [00019] ! 1    # MenuState
  52.     }
  53.     criteria {
  54.         [00018] = 1    # mouse_rightclick
  55.         [00019] ! 1    # MenuState
  56.     }
  57.     results {
  58.         action:assign(00008, 0)    # KeyPress
  59.         action:assign(01829, 0)    # universe_goto_inv
  60.         action:dissolve()
  61.         action:change_location(G, J, IV, 0)
  62.     }
  63.     flags {
  64.         once_per_inst
  65.     }
  66. }
  67.  
  68. puzzle:01830 {    # universe_goto_inv_emptyclick
  69.     criteria {
  70.         [00008] = 116    # KeyPress
  71.         [00019] = 1    # MenuState
  72.     }
  73.     criteria {
  74.         [00018] = 1    # mouse_rightclick
  75.         [00019] = 1    # MenuState
  76.     }
  77.     results {
  78.         action:assign(00008, 0)    # KeyPress
  79.         action:assign(01830, 0)    # universe_goto_inv_emptyclick
  80.     }
  81.     flags {
  82.         once_per_inst
  83.     }
  84. }
  85.  
  86. puzzle:01831 {    # universe_goto_magic_book
  87.     criteria {
  88.         [00008] = 117    # KeyPress
  89.         [01003] = 1    # user_is_user
  90.         [00019] ! 3    # MenuState
  91.     }
  92.     results {
  93.         action:assign(00008, 0)    # KeyPress
  94.         action:assign(01831, 0)    # universe_goto_magic_book
  95.         action:dissolve()
  96.         action:change_location(G, J, MB, 0)
  97.     }
  98.     flags {
  99.         once_per_inst
  100.     }
  101. }
  102.  
  103. puzzle:01832 {    # universe_goto_magic_book_emptyclick
  104.     criteria {
  105.         [00008] = 117    # KeyPress
  106.         [00019] = 3    # MenuState
  107.     }
  108.     criteria {
  109.         [00008] = 117    # KeyPress
  110.         [01003] ! 1    # user_is_user
  111.     }
  112.     results {
  113.         action:assign(00008, 0)    # KeyPress
  114.         action:assign(01832, 0)    # universe_goto_magic_book_emptyclick
  115.     }
  116.     flags {
  117.         once_per_inst
  118.     }
  119. }
  120.  
  121. puzzle:01833 {    # universe_current_item_to_inv
  122.     criteria {
  123.         [00008] = 119    # KeyPress
  124.         [00009] < 224    # Inventory
  125.     }
  126.     results {
  127.         action:assign(00008, 0)    # KeyPress
  128.         action:assign(01833, 0)    # universe_current_item_to_inv
  129.         action:assign(00102, [00009])    # Inventory
  130.         action:assign(00009, 0)    # Inventory
  131.     }
  132.     flags {
  133.         once_per_inst
  134.     }
  135. }
  136.  
  137. puzzle:01834 {    # universe_current_item_to_inv_empty
  138.     criteria {
  139.         [00008] = 119    # KeyPress
  140.         [00009] = 0    # Inventory
  141.     }
  142.     results {
  143.         action:assign(00008, 0)    # KeyPress
  144.         action:assign(01834, 0)    # universe_current_item_to_inv_empty
  145.     }
  146.     flags {
  147.         once_per_inst
  148.     }
  149. }
  150.  
  151. puzzle:01835 {    # universe_current_item_to_drop_spell
  152.     criteria {
  153.         [00008] = 119    # KeyPress
  154.         [00009] = 224    # Inventory
  155.     }
  156.     criteria {
  157.         [00008] = 119    # KeyPress
  158.         [00009] > 224    # Inventory
  159.     }
  160.     results {
  161.         action:inventory(Dropi 00009)    # Inventory
  162.         action:assign(01835, 0)    # universe_current_item_to_drop_spell
  163.         action:assign(00008, 0)    # KeyPress
  164.     }
  165.     flags {
  166.         once_per_inst
  167.     }
  168. }
  169.  
  170. puzzle:01836 {    # universe_setup_miscast
  171.     criteria {
  172.         [00010] = 1    # MouseDown
  173.     }
  174.     results {
  175.         action:assign(01836, 0)    # universe_setup_miscast
  176.         action:assign(01837, 0)    # universe_magic_spell_miscast_timer
  177.     }
  178.     flags {
  179.         once_per_inst
  180.     }
  181. }
  182.  
  183. puzzle:01837 {    # universe_magic_spell_miscast_timer
  184.     criteria {
  185.         [00010] = 0    # MouseDown
  186.     }
  187.     results {
  188.         action:timer:01094(10)    # universe_magic_timer
  189.         action:assign(01198, 0)    # universe_magic_spell_miscast
  190.         action:assign(01199, 0)    # universe_magic_spell_miscast_beburtt
  191.     }
  192.     flags {
  193.         once_per_inst
  194.     }
  195. }
  196.  
  197. puzzle:01199 {    # universe_magic_spell_miscast_beburtt
  198.     criteria {
  199.         [01094] = 2    # universe_magic_timer
  200.         [00009] = 225    # Inventory
  201.     }
  202.     results {
  203.         action:assign(01094, 0)    # universe_magic_timer
  204.         action:inventory(drop 225)
  205.         action:assign(01198, 1)    # universe_magic_spell_miscast
  206.         action:universe_music:01838(0 g000h07q.raw 0 100)    # universe_cast_beburtt
  207.     }
  208.     flags {
  209.         once_per_inst
  210.     }
  211. }
  212.  
  213. puzzle:01198 {    # universe_magic_spell_miscast
  214.     criteria {
  215.         [01094] = 2    # universe_magic_timer
  216.         [00009] = 224    # Inventory
  217.     }
  218.     criteria {
  219.         [01094] = 2    # universe_magic_timer
  220.         [00009] = 235    # Inventory
  221.     }
  222.     criteria {
  223.         [01094] = 2    # universe_magic_timer
  224.         [00009] = 228    # Inventory
  225.     }
  226.     criteria {
  227.         [01094] = 2    # universe_magic_timer
  228.         [00009] = 226    # Inventory
  229.     }
  230.     criteria {
  231.         [01094] = 2    # universe_magic_timer
  232.         [00009] = 229    # Inventory
  233.     }
  234.     criteria {
  235.         [01094] = 2    # universe_magic_timer
  236.         [00009] = 234    # Inventory
  237.     }
  238.     criteria {
  239.         [01094] = 2    # universe_magic_timer
  240.         [00009] = 232    # Inventory
  241.     }
  242.     criteria {
  243.         [01094] = 2    # universe_magic_timer
  244.         [00009] = 236    # Inventory
  245.     }
  246.     criteria {
  247.         [01094] = 2    # universe_magic_timer
  248.         [00009] = 233    # Inventory
  249.     }
  250.     criteria {
  251.         [01094] = 2    # universe_magic_timer
  252.         [00009] = 231    # Inventory
  253.     }
  254.     criteria {
  255.         [01094] = 2    # universe_magic_timer
  256.         [00009] = 230    # Inventory
  257.     }
  258.     criteria {
  259.         [01094] = 2    # universe_magic_timer
  260.         [00009] = 227    # Inventory
  261.     }
  262.     results {
  263.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  264.         action:assign(01094, 0)    # universe_magic_timer
  265.         action:inventory(drop 225)
  266.         action:inventory(drop 224)
  267.         action:inventory(drop 235)
  268.         action:inventory(drop 228)
  269.         action:inventory(drop 226)
  270.         action:inventory(drop 229)
  271.         action:inventory(drop 234)
  272.         action:inventory(drop 232)
  273.         action:inventory(drop 236)
  274.         action:inventory(drop 233)
  275.         action:inventory(drop 231)
  276.         action:inventory(drop 230)
  277.         action:inventory(drop 227)
  278.     }
  279.     flags {
  280.         once_per_inst
  281.     }
  282. }
  283.  
  284. puzzle:01839 {    # universe_extra_inventory
  285.     criteria {
  286.         [00102] > 0    # Inventory_storage1
  287.         [00102] < 224    # Inventory_storage1
  288.     }
  289.     results {
  290.         action:assign(01135, [00102])    # Inventory_storage1
  291.         action:assign(00102, 0)    # Inventory_storage1
  292.         action:inventory(Dropi 01135)    # gjiv_find_me_a_slot
  293.         action:assign(01839, 0)    # universe_extra_inventory
  294.     }
  295.     flags {
  296.         once_per_inst
  297.     }
  298. }
  299.  
  300. puzzle:01840 {    # universe_extra_inventory_spell
  301.     criteria {
  302.         [00102] = 224    # Inventory_storage1
  303.     }
  304.     criteria {
  305.         [00102] > 224    # Inventory_storage1
  306.     }
  307.     results {
  308.         action:inventory(Dropi 00102)    # Inventory_storage1
  309.         action:assign(01840, 0)    # universe_extra_inventory_spell
  310.     }
  311.     flags {
  312.         once_per_inst
  313.     }
  314. }
  315.  
  316. puzzle:01841 {    # gjiv_setup_find_a_slot
  317.     criteria {
  318.         [01135] ! 0    # gjiv_find_me_a_slot
  319.     }
  320.     results {
  321.         action:assign(01047, 0)    # gjiv_put_away1
  322.         action:assign(01048, 0)    # gjiv_put_away2
  323.         action:assign(01049, 0)    # gjiv_put_away3
  324.         action:assign(01050, 0)    # gjiv_put_away4
  325.         action:assign(01051, 0)    # gjiv_put_away5
  326.         action:assign(01052, 0)    # gjiv_put_away6
  327.         action:assign(01053, 0)    # gjiv_put_away7
  328.         action:assign(01054, 0)    # gjiv_put_away8
  329.         action:assign(01055, 0)    # gjiv_put_away9
  330.         action:assign(01056, 0)    # gjiv_put_away10
  331.         action:assign(01057, 0)    # gjiv_put_away11
  332.         action:assign(01058, 0)    # gjiv_put_away12
  333.         action:assign(01059, 0)    # gjiv_put_away13
  334.         action:assign(01060, 0)    # gjiv_put_away14
  335.         action:assign(01061, 0)    # gjiv_put_away15
  336.         action:assign(01062, 0)    # gjiv_put_away16
  337.         action:assign(01063, 0)    # gjiv_put_away17
  338.         action:assign(01064, 0)    # gjiv_put_away18
  339.         action:assign(01842, 0)    # gjiv_put_away19
  340.         action:assign(01843, 0)    # gjiv_put_away20
  341.     }
  342.     flags {
  343.         once_per_inst
  344.     }
  345. }
  346.  
  347. puzzle:01047 {    # gjiv_put_away1
  348.     criteria {
  349.         [00151] = 0    # INV_SLOT_1
  350.     }
  351.     results {
  352.         action:assign(00151, [01135])    # gjiv_find_me_a_slot
  353.         action:enable_control(00151)    # INV_SLOT_1
  354.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  355.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  356.         action:assign(01047, 1)    # gjiv_put_away1
  357.         action:assign(01048, 1)    # gjiv_put_away2
  358.         action:assign(01049, 1)    # gjiv_put_away3
  359.         action:assign(01050, 1)    # gjiv_put_away4
  360.         action:assign(01051, 1)    # gjiv_put_away5
  361.         action:assign(01052, 1)    # gjiv_put_away6
  362.         action:assign(01053, 1)    # gjiv_put_away7
  363.         action:assign(01054, 1)    # gjiv_put_away8
  364.         action:assign(01055, 1)    # gjiv_put_away9
  365.         action:assign(01056, 1)    # gjiv_put_away10
  366.         action:assign(01057, 1)    # gjiv_put_away11
  367.         action:assign(01058, 1)    # gjiv_put_away12
  368.         action:assign(01059, 1)    # gjiv_put_away13
  369.         action:assign(01060, 1)    # gjiv_put_away14
  370.         action:assign(01061, 1)    # gjiv_put_away15
  371.         action:assign(01062, 1)    # gjiv_put_away16
  372.         action:assign(01063, 1)    # gjiv_put_away17
  373.         action:assign(01064, 1)    # gjiv_put_away18
  374.     }
  375.     flags {
  376.         once_per_inst
  377.     }
  378. }
  379.  
  380. puzzle:01048 {    # gjiv_put_away2
  381.     criteria {
  382.         [00152] = 0    # INV_SLOT_2
  383.     }
  384.     results {
  385.         action:assign(00152, [01135])    # gjiv_find_me_a_slot
  386.         action:enable_control(00152)    # INV_SLOT_2
  387.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  388.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  389.         action:assign(01047, 1)    # gjiv_put_away1
  390.         action:assign(01048, 1)    # gjiv_put_away2
  391.         action:assign(01049, 1)    # gjiv_put_away3
  392.         action:assign(01050, 1)    # gjiv_put_away4
  393.         action:assign(01051, 1)    # gjiv_put_away5
  394.         action:assign(01052, 1)    # gjiv_put_away6
  395.         action:assign(01053, 1)    # gjiv_put_away7
  396.         action:assign(01054, 1)    # gjiv_put_away8
  397.         action:assign(01055, 1)    # gjiv_put_away9
  398.         action:assign(01056, 1)    # gjiv_put_away10
  399.         action:assign(01057, 1)    # gjiv_put_away11
  400.         action:assign(01058, 1)    # gjiv_put_away12
  401.         action:assign(01059, 1)    # gjiv_put_away13
  402.         action:assign(01060, 1)    # gjiv_put_away14
  403.         action:assign(01061, 1)    # gjiv_put_away15
  404.         action:assign(01062, 1)    # gjiv_put_away16
  405.         action:assign(01063, 1)    # gjiv_put_away17
  406.         action:assign(01064, 1)    # gjiv_put_away18
  407.     }
  408.     flags {
  409.         once_per_inst
  410.     }
  411. }
  412.  
  413. puzzle:01049 {    # gjiv_put_away3
  414.     criteria {
  415.         [00153] = 0    # INV_SLOT_3
  416.     }
  417.     results {
  418.         action:assign(00153, [01135])    # gjiv_find_me_a_slot
  419.         action:enable_control(00153)    # INV_SLOT_3
  420.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  421.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  422.         action:assign(01047, 1)    # gjiv_put_away1
  423.         action:assign(01048, 1)    # gjiv_put_away2
  424.         action:assign(01049, 1)    # gjiv_put_away3
  425.         action:assign(01050, 1)    # gjiv_put_away4
  426.         action:assign(01051, 1)    # gjiv_put_away5
  427.         action:assign(01052, 1)    # gjiv_put_away6
  428.         action:assign(01053, 1)    # gjiv_put_away7
  429.         action:assign(01054, 1)    # gjiv_put_away8
  430.         action:assign(01055, 1)    # gjiv_put_away9
  431.         action:assign(01056, 1)    # gjiv_put_away10
  432.         action:assign(01057, 1)    # gjiv_put_away11
  433.         action:assign(01058, 1)    # gjiv_put_away12
  434.         action:assign(01059, 1)    # gjiv_put_away13
  435.         action:assign(01060, 1)    # gjiv_put_away14
  436.         action:assign(01061, 1)    # gjiv_put_away15
  437.         action:assign(01062, 1)    # gjiv_put_away16
  438.         action:assign(01063, 1)    # gjiv_put_away17
  439.         action:assign(01064, 1)    # gjiv_put_away18
  440.     }
  441.     flags {
  442.         once_per_inst
  443.     }
  444. }
  445.  
  446. puzzle:01050 {    # gjiv_put_away4
  447.     criteria {
  448.         [00154] = 0    # INV_SLOT_4
  449.     }
  450.     results {
  451.         action:assign(00154, [01135])    # gjiv_find_me_a_slot
  452.         action:enable_control(00154)    # INV_SLOT_4
  453.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  454.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  455.         action:assign(01047, 1)    # gjiv_put_away1
  456.         action:assign(01048, 1)    # gjiv_put_away2
  457.         action:assign(01049, 1)    # gjiv_put_away3
  458.         action:assign(01050, 1)    # gjiv_put_away4
  459.         action:assign(01051, 1)    # gjiv_put_away5
  460.         action:assign(01052, 1)    # gjiv_put_away6
  461.         action:assign(01053, 1)    # gjiv_put_away7
  462.         action:assign(01054, 1)    # gjiv_put_away8
  463.         action:assign(01055, 1)    # gjiv_put_away9
  464.         action:assign(01056, 1)    # gjiv_put_away10
  465.         action:assign(01057, 1)    # gjiv_put_away11
  466.         action:assign(01058, 1)    # gjiv_put_away12
  467.         action:assign(01059, 1)    # gjiv_put_away13
  468.         action:assign(01060, 1)    # gjiv_put_away14
  469.         action:assign(01061, 1)    # gjiv_put_away15
  470.         action:assign(01062, 1)    # gjiv_put_away16
  471.         action:assign(01063, 1)    # gjiv_put_away17
  472.         action:assign(01064, 1)    # gjiv_put_away18
  473.     }
  474.     flags {
  475.         once_per_inst
  476.     }
  477. }
  478.  
  479. puzzle:01051 {    # gjiv_put_away5
  480.     criteria {
  481.         [00155] = 0    # INV_SLOT_5
  482.     }
  483.     results {
  484.         action:assign(00155, [01135])    # gjiv_find_me_a_slot
  485.         action:enable_control(00155)    # INV_SLOT_5
  486.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  487.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  488.         action:assign(01047, 1)    # gjiv_put_away1
  489.         action:assign(01048, 1)    # gjiv_put_away2
  490.         action:assign(01049, 1)    # gjiv_put_away3
  491.         action:assign(01050, 1)    # gjiv_put_away4
  492.         action:assign(01051, 1)    # gjiv_put_away5
  493.         action:assign(01052, 1)    # gjiv_put_away6
  494.         action:assign(01053, 1)    # gjiv_put_away7
  495.         action:assign(01054, 1)    # gjiv_put_away8
  496.         action:assign(01055, 1)    # gjiv_put_away9
  497.         action:assign(01056, 1)    # gjiv_put_away10
  498.         action:assign(01057, 1)    # gjiv_put_away11
  499.         action:assign(01058, 1)    # gjiv_put_away12
  500.         action:assign(01059, 1)    # gjiv_put_away13
  501.         action:assign(01060, 1)    # gjiv_put_away14
  502.         action:assign(01061, 1)    # gjiv_put_away15
  503.         action:assign(01062, 1)    # gjiv_put_away16
  504.         action:assign(01063, 1)    # gjiv_put_away17
  505.         action:assign(01064, 1)    # gjiv_put_away18
  506.     }
  507.     flags {
  508.         once_per_inst
  509.     }
  510. }
  511.  
  512. puzzle:01052 {    # gjiv_put_away6
  513.     criteria {
  514.         [00156] = 0    # INV_SLOT_6
  515.     }
  516.     results {
  517.         action:assign(00156, [01135])    # gjiv_find_me_a_slot
  518.         action:enable_control(00156)    # INV_SLOT_6
  519.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  520.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  521.         action:assign(01047, 1)    # gjiv_put_away1
  522.         action:assign(01048, 1)    # gjiv_put_away2
  523.         action:assign(01049, 1)    # gjiv_put_away3
  524.         action:assign(01050, 1)    # gjiv_put_away4
  525.         action:assign(01051, 1)    # gjiv_put_away5
  526.         action:assign(01052, 1)    # gjiv_put_away6
  527.         action:assign(01053, 1)    # gjiv_put_away7
  528.         action:assign(01054, 1)    # gjiv_put_away8
  529.         action:assign(01055, 1)    # gjiv_put_away9
  530.         action:assign(01056, 1)    # gjiv_put_away10
  531.         action:assign(01057, 1)    # gjiv_put_away11
  532.         action:assign(01058, 1)    # gjiv_put_away12
  533.         action:assign(01059, 1)    # gjiv_put_away13
  534.         action:assign(01060, 1)    # gjiv_put_away14
  535.         action:assign(01061, 1)    # gjiv_put_away15
  536.         action:assign(01062, 1)    # gjiv_put_away16
  537.         action:assign(01063, 1)    # gjiv_put_away17
  538.         action:assign(01064, 1)    # gjiv_put_away18
  539.     }
  540.     flags {
  541.         once_per_inst
  542.     }
  543. }
  544.  
  545. puzzle:01053 {    # gjiv_put_away7
  546.     criteria {
  547.         [00157] = 0    # INV_SLOT_7
  548.     }
  549.     results {
  550.         action:assign(00157, [01135])    # gjiv_find_me_a_slot
  551.         action:enable_control(00157)    # INV_SLOT_7
  552.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  553.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  554.         action:assign(01047, 1)    # gjiv_put_away1
  555.         action:assign(01048, 1)    # gjiv_put_away2
  556.         action:assign(01049, 1)    # gjiv_put_away3
  557.         action:assign(01050, 1)    # gjiv_put_away4
  558.         action:assign(01051, 1)    # gjiv_put_away5
  559.         action:assign(01052, 1)    # gjiv_put_away6
  560.         action:assign(01053, 1)    # gjiv_put_away7
  561.         action:assign(01054, 1)    # gjiv_put_away8
  562.         action:assign(01055, 1)    # gjiv_put_away9
  563.         action:assign(01056, 1)    # gjiv_put_away10
  564.         action:assign(01057, 1)    # gjiv_put_away11
  565.         action:assign(01058, 1)    # gjiv_put_away12
  566.         action:assign(01059, 1)    # gjiv_put_away13
  567.         action:assign(01060, 1)    # gjiv_put_away14
  568.         action:assign(01061, 1)    # gjiv_put_away15
  569.         action:assign(01062, 1)    # gjiv_put_away16
  570.         action:assign(01063, 1)    # gjiv_put_away17
  571.         action:assign(01064, 1)    # gjiv_put_away18
  572.     }
  573.     flags {
  574.         once_per_inst
  575.     }
  576. }
  577.  
  578. puzzle:01054 {    # gjiv_put_away8
  579.     criteria {
  580.         [00158] = 0    # INV_SLOT_8
  581.     }
  582.     results {
  583.         action:assign(00158, [01135])    # gjiv_find_me_a_slot
  584.         action:enable_control(00158)    # INV_SLOT_8
  585.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  586.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  587.         action:assign(01047, 1)    # gjiv_put_away1
  588.         action:assign(01048, 1)    # gjiv_put_away2
  589.         action:assign(01049, 1)    # gjiv_put_away3
  590.         action:assign(01050, 1)    # gjiv_put_away4
  591.         action:assign(01051, 1)    # gjiv_put_away5
  592.         action:assign(01052, 1)    # gjiv_put_away6
  593.         action:assign(01053, 1)    # gjiv_put_away7
  594.         action:assign(01054, 1)    # gjiv_put_away8
  595.         action:assign(01055, 1)    # gjiv_put_away9
  596.         action:assign(01056, 1)    # gjiv_put_away10
  597.         action:assign(01057, 1)    # gjiv_put_away11
  598.         action:assign(01058, 1)    # gjiv_put_away12
  599.         action:assign(01059, 1)    # gjiv_put_away13
  600.         action:assign(01060, 1)    # gjiv_put_away14
  601.         action:assign(01061, 1)    # gjiv_put_away15
  602.         action:assign(01062, 1)    # gjiv_put_away16
  603.         action:assign(01063, 1)    # gjiv_put_away17
  604.         action:assign(01064, 1)    # gjiv_put_away18
  605.     }
  606.     flags {
  607.         once_per_inst
  608.     }
  609. }
  610.  
  611. puzzle:01055 {    # gjiv_put_away9
  612.     criteria {
  613.         [00159] = 0    # INV_SLOT_9
  614.     }
  615.     results {
  616.         action:assign(00159, [01135])    # gjiv_find_me_a_slot
  617.         action:enable_control(00159)    # INV_SLOT_9
  618.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  619.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  620.         action:assign(01047, 1)    # gjiv_put_away1
  621.         action:assign(01048, 1)    # gjiv_put_away2
  622.         action:assign(01049, 1)    # gjiv_put_away3
  623.         action:assign(01050, 1)    # gjiv_put_away4
  624.         action:assign(01051, 1)    # gjiv_put_away5
  625.         action:assign(01052, 1)    # gjiv_put_away6
  626.         action:assign(01053, 1)    # gjiv_put_away7
  627.         action:assign(01054, 1)    # gjiv_put_away8
  628.         action:assign(01055, 1)    # gjiv_put_away9
  629.         action:assign(01056, 1)    # gjiv_put_away10
  630.         action:assign(01057, 1)    # gjiv_put_away11
  631.         action:assign(01058, 1)    # gjiv_put_away12
  632.         action:assign(01059, 1)    # gjiv_put_away13
  633.         action:assign(01060, 1)    # gjiv_put_away14
  634.         action:assign(01061, 1)    # gjiv_put_away15
  635.         action:assign(01062, 1)    # gjiv_put_away16
  636.         action:assign(01063, 1)    # gjiv_put_away17
  637.         action:assign(01064, 1)    # gjiv_put_away18
  638.     }
  639.     flags {
  640.         once_per_inst
  641.     }
  642. }
  643.  
  644. puzzle:01056 {    # gjiv_put_away10
  645.     criteria {
  646.         [00160] = 0    # INV_SLOT_10
  647.     }
  648.     results {
  649.         action:assign(00160, [01135])    # gjiv_find_me_a_slot
  650.         action:enable_control(00160)    # INV_SLOT_10
  651.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  652.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  653.         action:assign(01047, 1)    # gjiv_put_away1
  654.         action:assign(01048, 1)    # gjiv_put_away2
  655.         action:assign(01049, 1)    # gjiv_put_away3
  656.         action:assign(01050, 1)    # gjiv_put_away4
  657.         action:assign(01051, 1)    # gjiv_put_away5
  658.         action:assign(01052, 1)    # gjiv_put_away6
  659.         action:assign(01053, 1)    # gjiv_put_away7
  660.         action:assign(01054, 1)    # gjiv_put_away8
  661.         action:assign(01055, 1)    # gjiv_put_away9
  662.         action:assign(01056, 1)    # gjiv_put_away10
  663.         action:assign(01057, 1)    # gjiv_put_away11
  664.         action:assign(01058, 1)    # gjiv_put_away12
  665.         action:assign(01059, 1)    # gjiv_put_away13
  666.         action:assign(01060, 1)    # gjiv_put_away14
  667.         action:assign(01061, 1)    # gjiv_put_away15
  668.         action:assign(01062, 1)    # gjiv_put_away16
  669.         action:assign(01063, 1)    # gjiv_put_away17
  670.         action:assign(01064, 1)    # gjiv_put_away18
  671.     }
  672.     flags {
  673.         once_per_inst
  674.     }
  675. }
  676.  
  677. puzzle:01057 {    # gjiv_put_away11
  678.     criteria {
  679.         [00161] = 0    # INV_SLOT_11
  680.     }
  681.     results {
  682.         action:assign(00161, [01135])    # gjiv_find_me_a_slot
  683.         action:enable_control(00161)    # INV_SLOT_11
  684.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  685.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  686.         action:assign(01047, 1)    # gjiv_put_away1
  687.         action:assign(01048, 1)    # gjiv_put_away2
  688.         action:assign(01049, 1)    # gjiv_put_away3
  689.         action:assign(01050, 1)    # gjiv_put_away4
  690.         action:assign(01051, 1)    # gjiv_put_away5
  691.         action:assign(01052, 1)    # gjiv_put_away6
  692.         action:assign(01053, 1)    # gjiv_put_away7
  693.         action:assign(01054, 1)    # gjiv_put_away8
  694.         action:assign(01055, 1)    # gjiv_put_away9
  695.         action:assign(01056, 1)    # gjiv_put_away10
  696.         action:assign(01057, 1)    # gjiv_put_away11
  697.         action:assign(01058, 1)    # gjiv_put_away12
  698.         action:assign(01059, 1)    # gjiv_put_away13
  699.         action:assign(01060, 1)    # gjiv_put_away14
  700.         action:assign(01061, 1)    # gjiv_put_away15
  701.         action:assign(01062, 1)    # gjiv_put_away16
  702.         action:assign(01063, 1)    # gjiv_put_away17
  703.         action:assign(01064, 1)    # gjiv_put_away18
  704.     }
  705.     flags {
  706.         once_per_inst
  707.     }
  708. }
  709.  
  710. puzzle:01058 {    # gjiv_put_away12
  711.     criteria {
  712.         [00162] = 0    # INV_SLOT_12
  713.     }
  714.     results {
  715.         action:assign(00162, [01135])    # gjiv_find_me_a_slot
  716.         action:enable_control(00162)    # INV_SLOT_12
  717.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  718.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  719.         action:assign(01047, 1)    # gjiv_put_away1
  720.         action:assign(01048, 1)    # gjiv_put_away2
  721.         action:assign(01049, 1)    # gjiv_put_away3
  722.         action:assign(01050, 1)    # gjiv_put_away4
  723.         action:assign(01051, 1)    # gjiv_put_away5
  724.         action:assign(01052, 1)    # gjiv_put_away6
  725.         action:assign(01053, 1)    # gjiv_put_away7
  726.         action:assign(01054, 1)    # gjiv_put_away8
  727.         action:assign(01055, 1)    # gjiv_put_away9
  728.         action:assign(01056, 1)    # gjiv_put_away10
  729.         action:assign(01057, 1)    # gjiv_put_away11
  730.         action:assign(01058, 1)    # gjiv_put_away12
  731.         action:assign(01059, 1)    # gjiv_put_away13
  732.         action:assign(01060, 1)    # gjiv_put_away14
  733.         action:assign(01061, 1)    # gjiv_put_away15
  734.         action:assign(01062, 1)    # gjiv_put_away16
  735.         action:assign(01063, 1)    # gjiv_put_away17
  736.         action:assign(01064, 1)    # gjiv_put_away18
  737.     }
  738.     flags {
  739.         once_per_inst
  740.     }
  741. }
  742.  
  743. puzzle:01059 {    # gjiv_put_away13
  744.     criteria {
  745.         [00163] = 0    # INV_SLOT_13
  746.     }
  747.     results {
  748.         action:assign(00163, [01135])    # gjiv_find_me_a_slot
  749.         action:enable_control(00163)    # INV_SLOT_13
  750.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  751.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  752.         action:assign(01047, 1)    # gjiv_put_away1
  753.         action:assign(01048, 1)    # gjiv_put_away2
  754.         action:assign(01049, 1)    # gjiv_put_away3
  755.         action:assign(01050, 1)    # gjiv_put_away4
  756.         action:assign(01051, 1)    # gjiv_put_away5
  757.         action:assign(01052, 1)    # gjiv_put_away6
  758.         action:assign(01053, 1)    # gjiv_put_away7
  759.         action:assign(01054, 1)    # gjiv_put_away8
  760.         action:assign(01055, 1)    # gjiv_put_away9
  761.         action:assign(01056, 1)    # gjiv_put_away10
  762.         action:assign(01057, 1)    # gjiv_put_away11
  763.         action:assign(01058, 1)    # gjiv_put_away12
  764.         action:assign(01059, 1)    # gjiv_put_away13
  765.         action:assign(01060, 1)    # gjiv_put_away14
  766.         action:assign(01061, 1)    # gjiv_put_away15
  767.         action:assign(01062, 1)    # gjiv_put_away16
  768.         action:assign(01063, 1)    # gjiv_put_away17
  769.         action:assign(01064, 1)    # gjiv_put_away18
  770.     }
  771.     flags {
  772.         once_per_inst
  773.     }
  774. }
  775.  
  776. puzzle:01060 {    # gjiv_put_away14
  777.     criteria {
  778.         [00164] = 0    # INV_SLOT_14
  779.     }
  780.     results {
  781.         action:assign(00164, [01135])    # gjiv_find_me_a_slot
  782.         action:enable_control(00164)    # INV_SLOT_14
  783.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  784.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  785.         action:assign(01047, 1)    # gjiv_put_away1
  786.         action:assign(01048, 1)    # gjiv_put_away2
  787.         action:assign(01049, 1)    # gjiv_put_away3
  788.         action:assign(01050, 1)    # gjiv_put_away4
  789.         action:assign(01051, 1)    # gjiv_put_away5
  790.         action:assign(01052, 1)    # gjiv_put_away6
  791.         action:assign(01053, 1)    # gjiv_put_away7
  792.         action:assign(01054, 1)    # gjiv_put_away8
  793.         action:assign(01055, 1)    # gjiv_put_away9
  794.         action:assign(01056, 1)    # gjiv_put_away10
  795.         action:assign(01057, 1)    # gjiv_put_away11
  796.         action:assign(01058, 1)    # gjiv_put_away12
  797.         action:assign(01059, 1)    # gjiv_put_away13
  798.         action:assign(01060, 1)    # gjiv_put_away14
  799.         action:assign(01061, 1)    # gjiv_put_away15
  800.         action:assign(01062, 1)    # gjiv_put_away16
  801.         action:assign(01063, 1)    # gjiv_put_away17
  802.         action:assign(01064, 1)    # gjiv_put_away18
  803.     }
  804.     flags {
  805.         once_per_inst
  806.     }
  807. }
  808.  
  809. puzzle:01061 {    # gjiv_put_away15
  810.     criteria {
  811.         [00165] = 0    # INV_SLOT_15
  812.     }
  813.     results {
  814.         action:assign(00165, [01135])    # gjiv_find_me_a_slot
  815.         action:enable_control(00165)    # INV_SLOT_15
  816.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  817.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  818.         action:assign(01047, 1)    # gjiv_put_away1
  819.         action:assign(01048, 1)    # gjiv_put_away2
  820.         action:assign(01049, 1)    # gjiv_put_away3
  821.         action:assign(01050, 1)    # gjiv_put_away4
  822.         action:assign(01051, 1)    # gjiv_put_away5
  823.         action:assign(01052, 1)    # gjiv_put_away6
  824.         action:assign(01053, 1)    # gjiv_put_away7
  825.         action:assign(01054, 1)    # gjiv_put_away8
  826.         action:assign(01055, 1)    # gjiv_put_away9
  827.         action:assign(01056, 1)    # gjiv_put_away10
  828.         action:assign(01057, 1)    # gjiv_put_away11
  829.         action:assign(01058, 1)    # gjiv_put_away12
  830.         action:assign(01059, 1)    # gjiv_put_away13
  831.         action:assign(01060, 1)    # gjiv_put_away14
  832.         action:assign(01061, 1)    # gjiv_put_away15
  833.         action:assign(01062, 1)    # gjiv_put_away16
  834.         action:assign(01063, 1)    # gjiv_put_away17
  835.         action:assign(01064, 1)    # gjiv_put_away18
  836.     }
  837.     flags {
  838.         once_per_inst
  839.     }
  840. }
  841.  
  842. puzzle:01062 {    # gjiv_put_away16
  843.     criteria {
  844.         [00166] = 0    # INV_SLOT_16
  845.     }
  846.     results {
  847.         action:assign(00166, [01135])    # gjiv_find_me_a_slot
  848.         action:enable_control(00166)    # INV_SLOT_16
  849.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  850.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  851.         action:assign(01047, 1)    # gjiv_put_away1
  852.         action:assign(01048, 1)    # gjiv_put_away2
  853.         action:assign(01049, 1)    # gjiv_put_away3
  854.         action:assign(01050, 1)    # gjiv_put_away4
  855.         action:assign(01051, 1)    # gjiv_put_away5
  856.         action:assign(01052, 1)    # gjiv_put_away6
  857.         action:assign(01053, 1)    # gjiv_put_away7
  858.         action:assign(01054, 1)    # gjiv_put_away8
  859.         action:assign(01055, 1)    # gjiv_put_away9
  860.         action:assign(01056, 1)    # gjiv_put_away10
  861.         action:assign(01057, 1)    # gjiv_put_away11
  862.         action:assign(01058, 1)    # gjiv_put_away12
  863.         action:assign(01059, 1)    # gjiv_put_away13
  864.         action:assign(01060, 1)    # gjiv_put_away14
  865.         action:assign(01061, 1)    # gjiv_put_away15
  866.         action:assign(01062, 1)    # gjiv_put_away16
  867.         action:assign(01063, 1)    # gjiv_put_away17
  868.         action:assign(01064, 1)    # gjiv_put_away18
  869.     }
  870.     flags {
  871.         once_per_inst
  872.     }
  873. }
  874.  
  875. puzzle:01063 {    # gjiv_put_away17
  876.     criteria {
  877.         [00167] = 0    # INV_SLOT_17
  878.     }
  879.     results {
  880.         action:assign(00167, [01135])    # gjiv_find_me_a_slot
  881.         action:enable_control(00167)    # INV_SLOT_17
  882.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  883.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  884.         action:assign(01047, 1)    # gjiv_put_away1
  885.         action:assign(01048, 1)    # gjiv_put_away2
  886.         action:assign(01049, 1)    # gjiv_put_away3
  887.         action:assign(01050, 1)    # gjiv_put_away4
  888.         action:assign(01051, 1)    # gjiv_put_away5
  889.         action:assign(01052, 1)    # gjiv_put_away6
  890.         action:assign(01053, 1)    # gjiv_put_away7
  891.         action:assign(01054, 1)    # gjiv_put_away8
  892.         action:assign(01055, 1)    # gjiv_put_away9
  893.         action:assign(01056, 1)    # gjiv_put_away10
  894.         action:assign(01057, 1)    # gjiv_put_away11
  895.         action:assign(01058, 1)    # gjiv_put_away12
  896.         action:assign(01059, 1)    # gjiv_put_away13
  897.         action:assign(01060, 1)    # gjiv_put_away14
  898.         action:assign(01061, 1)    # gjiv_put_away15
  899.         action:assign(01062, 1)    # gjiv_put_away16
  900.         action:assign(01063, 1)    # gjiv_put_away17
  901.         action:assign(01064, 1)    # gjiv_put_away18
  902.     }
  903.     flags {
  904.         once_per_inst
  905.     }
  906. }
  907.  
  908. puzzle:01064 {    # gjiv_put_away18
  909.     criteria {
  910.         [00168] = 0    # INV_SLOT_18
  911.     }
  912.     results {
  913.         action:assign(00168, [01135])    # gjiv_find_me_a_slot
  914.         action:enable_control(00168)    # INV_SLOT_18
  915.         action:assign(01135, 0)    # gjiv_find_me_a_slot
  916.         action:assign(01841, 0)    # gjiv_setup_find_a_slot
  917.         action:assign(01047, 1)    # gjiv_put_away1
  918.         action:assign(01048, 1)    # gjiv_put_away2
  919.         action:assign(01049, 1)    # gjiv_put_away3
  920.         action:assign(01050, 1)    # gjiv_put_away4
  921.         action:assign(01051, 1)    # gjiv_put_away5
  922.         action:assign(01052, 1)    # gjiv_put_away6
  923.         action:assign(01053, 1)    # gjiv_put_away7
  924.         action:assign(01054, 1)    # gjiv_put_away8
  925.         action:assign(01055, 1)    # gjiv_put_away9
  926.         action:assign(01056, 1)    # gjiv_put_away10
  927.         action:assign(01057, 1)    # gjiv_put_away11
  928.         action:assign(01058, 1)    # gjiv_put_away12
  929.         action:assign(01059, 1)    # gjiv_put_away13
  930.         action:assign(01060, 1)    # gjiv_put_away14
  931.         action:assign(01061, 1)    # gjiv_put_away15
  932.         action:assign(01062, 1)    # gjiv_put_away16
  933.         action:assign(01063, 1)    # gjiv_put_away17
  934.         action:assign(01064, 1)    # gjiv_put_away18
  935.     }
  936.     flags {
  937.         once_per_inst
  938.     }
  939. }
  940.  
  941. puzzle:01844 {    # universe_spell_1_choose
  942.     criteria {
  943.         [00205] = 224    # USER_CHOSE_THIS_SPELL
  944.         [00191] = 1    # SPELL_1_IN_BOOK
  945.     }
  946.     results {
  947.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  948.         action:assign(01844, 0)    # universe_spell_1_choose
  949.         action:inventory(drop 227)
  950.         action:inventory(drop 225)
  951.         action:inventory(drop 224)
  952.         action:inventory(drop 235)
  953.         action:inventory(drop 228)
  954.         action:inventory(drop 226)
  955.         action:inventory(drop 229)
  956.         action:inventory(drop 234)
  957.         action:inventory(drop 232)
  958.         action:inventory(drop 236)
  959.         action:inventory(drop 233)
  960.         action:inventory(drop 231)
  961.         action:inventory(drop 230)
  962.         action:inventory(drop 227)
  963.         action:inventory(add 224)
  964.         action:universe_music:01845(0 gs0zh02q.raw 0 100)    # universe_spell_sound_1
  965.         action:dissolve()
  966.         action:assign(01198, 1)    # universe_magic_spell_miscast
  967.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  968.     }
  969.     flags {
  970.         once_per_inst
  971.     }
  972. }
  973.  
  974. puzzle:01846 {    # universe_spell_1_nochoose
  975.     criteria {
  976.         [00205] = 224    # USER_CHOSE_THIS_SPELL
  977.         [00191] = 0    # SPELL_1_IN_BOOK
  978.     }
  979.     results {
  980.         action:assign(01846, 0)    # universe_spell_1_nochoose
  981.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  982.     }
  983.     flags {
  984.         once_per_inst
  985.     }
  986. }
  987.  
  988. puzzle:01847 {    # universe_spell_2_choose
  989.     criteria {
  990.         [00205] = 225    # USER_CHOSE_THIS_SPELL
  991.         [00192] = 1    # SPELL_2_IN_BOOK
  992.     }
  993.     results {
  994.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  995.         action:assign(01847, 0)    # universe_spell_2_choose
  996.         action:inventory(drop 227)
  997.         action:inventory(drop 225)
  998.         action:inventory(drop 224)
  999.         action:inventory(drop 235)
  1000.         action:inventory(drop 228)
  1001.         action:inventory(drop 226)
  1002.         action:inventory(drop 229)
  1003.         action:inventory(drop 234)
  1004.         action:inventory(drop 232)
  1005.         action:inventory(drop 236)
  1006.         action:inventory(drop 233)
  1007.         action:inventory(drop 231)
  1008.         action:inventory(drop 230)
  1009.         action:inventory(drop 227)
  1010.         action:inventory(add 225)
  1011.         action:universe_music:01848(0 gs0zh02q.raw 0 100)    # universe_spell_sound_2
  1012.         action:dissolve()
  1013.         action:assign(01198, 1)    # universe_magic_spell_miscast
  1014.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  1015.     }
  1016.     flags {
  1017.         once_per_inst
  1018.     }
  1019. }
  1020.  
  1021. puzzle:01849 {    # universe_spell_2_nochoose
  1022.     criteria {
  1023.         [00205] = 225    # USER_CHOSE_THIS_SPELL
  1024.         [00192] = 0    # SPELL_2_IN_BOOK
  1025.     }
  1026.     results {
  1027.         action:assign(01849, 0)    # universe_spell_2_nochoose
  1028.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1029.     }
  1030.     flags {
  1031.         once_per_inst
  1032.     }
  1033. }
  1034.  
  1035. puzzle:01850 {    # universe_spell_3_choose
  1036.     criteria {
  1037.         [00205] = 226    # USER_CHOSE_THIS_SPELL
  1038.         [00193] = 1    # SPELL_3_IN_BOOK
  1039.     }
  1040.     results {
  1041.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1042.         action:assign(01850, 0)    # universe_spell_3_choose
  1043.         action:inventory(drop 227)
  1044.         action:inventory(drop 225)
  1045.         action:inventory(drop 224)
  1046.         action:inventory(drop 235)
  1047.         action:inventory(drop 228)
  1048.         action:inventory(drop 226)
  1049.         action:inventory(drop 229)
  1050.         action:inventory(drop 234)
  1051.         action:inventory(drop 232)
  1052.         action:inventory(drop 236)
  1053.         action:inventory(drop 233)
  1054.         action:inventory(drop 231)
  1055.         action:inventory(drop 230)
  1056.         action:inventory(drop 227)
  1057.         action:inventory(add 226)
  1058.         action:universe_music:01851(0 gs0zh02q.raw 0 100)    # universe_spell_sound_3
  1059.         action:dissolve()
  1060.         action:assign(01198, 1)    # universe_magic_spell_miscast
  1061.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  1062.     }
  1063.     flags {
  1064.         once_per_inst
  1065.     }
  1066. }
  1067.  
  1068. puzzle:01852 {    # universe_spell_3_nochoose
  1069.     criteria {
  1070.         [00205] = 226    # USER_CHOSE_THIS_SPELL
  1071.         [00193] = 0    # SPELL_3_IN_BOOK
  1072.     }
  1073.     results {
  1074.         action:assign(01852, 0)    # universe_spell_3_nochoose
  1075.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1076.     }
  1077.     flags {
  1078.         once_per_inst
  1079.     }
  1080. }
  1081.  
  1082. puzzle:01853 {    # universe_spell_4_choose
  1083.     criteria {
  1084.         [00205] = 227    # USER_CHOSE_THIS_SPELL
  1085.         [00194] = 1    # SPELL_4_IN_BOOK
  1086.     }
  1087.     results {
  1088.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1089.         action:assign(01853, 0)    # universe_spell_4_choose
  1090.         action:inventory(drop 227)
  1091.         action:inventory(drop 225)
  1092.         action:inventory(drop 224)
  1093.         action:inventory(drop 235)
  1094.         action:inventory(drop 228)
  1095.         action:inventory(drop 226)
  1096.         action:inventory(drop 229)
  1097.         action:inventory(drop 234)
  1098.         action:inventory(drop 232)
  1099.         action:inventory(drop 236)
  1100.         action:inventory(drop 233)
  1101.         action:inventory(drop 231)
  1102.         action:inventory(drop 230)
  1103.         action:inventory(drop 227)
  1104.         action:inventory(add 227)
  1105.         action:universe_music:01854(0 gs0zh05q.raw 0 100)    # universe_spell_sound_4
  1106.         action:dissolve()
  1107.         action:assign(01198, 1)    # universe_magic_spell_miscast
  1108.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  1109.     }
  1110.     flags {
  1111.         once_per_inst
  1112.     }
  1113. }
  1114.  
  1115. puzzle:01855 {    # universe_spell_4_nochoose
  1116.     criteria {
  1117.         [00205] = 227    # USER_CHOSE_THIS_SPELL
  1118.         [00194] = 0    # SPELL_4_IN_BOOK
  1119.     }
  1120.     results {
  1121.         action:assign(01855, 0)    # universe_spell_4_nochoose
  1122.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1123.     }
  1124.     flags {
  1125.         once_per_inst
  1126.     }
  1127. }
  1128.  
  1129. puzzle:01856 {    # universe_spell_5_choose
  1130.     criteria {
  1131.         [00205] = 228    # USER_CHOSE_THIS_SPELL
  1132.         [00195] = 1    # SPELL_5_IN_BOOK
  1133.     }
  1134.     results {
  1135.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1136.         action:assign(01856, 0)    # universe_spell_5_choose
  1137.         action:inventory(drop 227)
  1138.         action:inventory(drop 225)
  1139.         action:inventory(drop 224)
  1140.         action:inventory(drop 235)
  1141.         action:inventory(drop 228)
  1142.         action:inventory(drop 226)
  1143.         action:inventory(drop 229)
  1144.         action:inventory(drop 234)
  1145.         action:inventory(drop 232)
  1146.         action:inventory(drop 236)
  1147.         action:inventory(drop 233)
  1148.         action:inventory(drop 231)
  1149.         action:inventory(drop 230)
  1150.         action:inventory(drop 227)
  1151.         action:inventory(add 228)
  1152.         action:universe_music:01857(0 gs0zh02q.raw 0 100)    # universe_spell_sound_5
  1153.         action:dissolve()
  1154.         action:assign(01198, 1)    # universe_magic_spell_miscast
  1155.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  1156.     }
  1157.     flags {
  1158.         once_per_inst
  1159.     }
  1160. }
  1161.  
  1162. puzzle:01858 {    # universe_spell_5_nochoose
  1163.     criteria {
  1164.         [00205] = 228    # USER_CHOSE_THIS_SPELL
  1165.         [00195] = 0    # SPELL_5_IN_BOOK
  1166.     }
  1167.     results {
  1168.         action:assign(01858, 0)    # universe_spell_5_nochoose
  1169.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1170.     }
  1171.     flags {
  1172.         once_per_inst
  1173.     }
  1174. }
  1175.  
  1176. puzzle:01859 {    # universe_spell_6_choose
  1177.     criteria {
  1178.         [00205] = 229    # USER_CHOSE_THIS_SPELL
  1179.         [00196] = 1    # SPELL_6_IN_BOOK
  1180.     }
  1181.     results {
  1182.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1183.         action:assign(01859, 0)    # universe_spell_6_choose
  1184.         action:inventory(drop 227)
  1185.         action:inventory(drop 225)
  1186.         action:inventory(drop 224)
  1187.         action:inventory(drop 235)
  1188.         action:inventory(drop 228)
  1189.         action:inventory(drop 226)
  1190.         action:inventory(drop 229)
  1191.         action:inventory(drop 234)
  1192.         action:inventory(drop 232)
  1193.         action:inventory(drop 236)
  1194.         action:inventory(drop 233)
  1195.         action:inventory(drop 231)
  1196.         action:inventory(drop 230)
  1197.         action:inventory(drop 227)
  1198.         action:inventory(add 229)
  1199.         action:universe_music:01860(0 gs0zh02q.raw 0 100)    # universe_spell_sound_6
  1200.         action:dissolve()
  1201.         action:assign(01198, 1)    # universe_magic_spell_miscast
  1202.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  1203.     }
  1204.     flags {
  1205.         once_per_inst
  1206.     }
  1207. }
  1208.  
  1209. puzzle:01861 {    # universe_spell_6_nochoose
  1210.     criteria {
  1211.         [00205] = 229    # USER_CHOSE_THIS_SPELL
  1212.         [00196] = 0    # SPELL_6_IN_BOOK
  1213.     }
  1214.     results {
  1215.         action:assign(01861, 0)    # universe_spell_6_nochoose
  1216.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1217.     }
  1218.     flags {
  1219.         once_per_inst
  1220.     }
  1221. }
  1222.  
  1223. puzzle:01862 {    # universe_spell_7_choose
  1224.     criteria {
  1225.         [00205] = 230    # USER_CHOSE_THIS_SPELL
  1226.         [00197] = 1    # SPELL_7_IN_BOOK
  1227.     }
  1228.     results {
  1229.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1230.         action:assign(01862, 0)    # universe_spell_7_choose
  1231.         action:inventory(drop 227)
  1232.         action:inventory(drop 225)
  1233.         action:inventory(drop 224)
  1234.         action:inventory(drop 235)
  1235.         action:inventory(drop 228)
  1236.         action:inventory(drop 226)
  1237.         action:inventory(drop 229)
  1238.         action:inventory(drop 234)
  1239.         action:inventory(drop 232)
  1240.         action:inventory(drop 236)
  1241.         action:inventory(drop 233)
  1242.         action:inventory(drop 231)
  1243.         action:inventory(drop 230)
  1244.         action:inventory(drop 227)
  1245.         action:inventory(add 230)
  1246.         action:universe_music:01863(0 gs0zh02q.raw 0 100)    # universe_spell_sound_7
  1247.         action:dissolve()
  1248.         action:assign(01198, 1)    # universe_magic_spell_miscast
  1249.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  1250.     }
  1251.     flags {
  1252.         once_per_inst
  1253.     }
  1254. }
  1255.  
  1256. puzzle:01864 {    # universe_spell_7_nochoose
  1257.     criteria {
  1258.         [00205] = 230    # USER_CHOSE_THIS_SPELL
  1259.         [00197] = 0    # SPELL_7_IN_BOOK
  1260.     }
  1261.     results {
  1262.         action:assign(01864, 0)    # universe_spell_7_nochoose
  1263.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1264.     }
  1265.     flags {
  1266.         once_per_inst
  1267.     }
  1268. }
  1269.  
  1270. puzzle:01865 {    # universe_spell_8_choose
  1271.     criteria {
  1272.         [00205] = 231    # USER_CHOSE_THIS_SPELL
  1273.         [00198] = 1    # SPELL_8_IN_BOOK
  1274.     }
  1275.     results {
  1276.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1277.         action:assign(01865, 0)    # universe_spell_8_choose
  1278.         action:inventory(drop 227)
  1279.         action:inventory(drop 225)
  1280.         action:inventory(drop 224)
  1281.         action:inventory(drop 235)
  1282.         action:inventory(drop 228)
  1283.         action:inventory(drop 226)
  1284.         action:inventory(drop 229)
  1285.         action:inventory(drop 234)
  1286.         action:inventory(drop 232)
  1287.         action:inventory(drop 236)
  1288.         action:inventory(drop 233)
  1289.         action:inventory(drop 231)
  1290.         action:inventory(drop 230)
  1291.         action:inventory(drop 227)
  1292.         action:inventory(add 231)
  1293.         action:universe_music:01866(0 gs0zh04q.raw 0 100)    # universe_spell_sound_8
  1294.         action:dissolve()
  1295.         action:assign(01198, 1)    # universe_magic_spell_miscast
  1296.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  1297.     }
  1298.     flags {
  1299.         once_per_inst
  1300.     }
  1301. }
  1302.  
  1303. puzzle:01867 {    # universe_spell_8_nochoose
  1304.     criteria {
  1305.         [00205] = 231    # USER_CHOSE_THIS_SPELL
  1306.         [00198] = 0    # SPELL_8_IN_BOOK
  1307.     }
  1308.     results {
  1309.         action:assign(01867, 0)    # universe_spell_8_nochoose
  1310.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1311.     }
  1312.     flags {
  1313.         once_per_inst
  1314.     }
  1315. }
  1316.  
  1317. puzzle:01868 {    # universe_spell_9_choose
  1318.     criteria {
  1319.         [00205] = 232    # USER_CHOSE_THIS_SPELL
  1320.         [00199] = 1    # SPELL_9_IN_BOOK
  1321.     }
  1322.     results {
  1323.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1324.         action:assign(01868, 0)    # universe_spell_9_choose
  1325.         action:inventory(drop 227)
  1326.         action:inventory(drop 225)
  1327.         action:inventory(drop 224)
  1328.         action:inventory(drop 235)
  1329.         action:inventory(drop 228)
  1330.         action:inventory(drop 226)
  1331.         action:inventory(drop 229)
  1332.         action:inventory(drop 234)
  1333.         action:inventory(drop 232)
  1334.         action:inventory(drop 236)
  1335.         action:inventory(drop 233)
  1336.         action:inventory(drop 231)
  1337.         action:inventory(drop 230)
  1338.         action:inventory(drop 227)
  1339.         action:inventory(add 232)
  1340.         action:universe_music:01869(0 gs0zh02q.raw 0 100)    # universe_spell_sound_9
  1341.         action:dissolve()
  1342.         action:assign(01198, 1)    # universe_magic_spell_miscast
  1343.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  1344.     }
  1345.     flags {
  1346.         once_per_inst
  1347.     }
  1348. }
  1349.  
  1350. puzzle:01870 {    # universe_spell_9_nochoose
  1351.     criteria {
  1352.         [00205] = 232    # USER_CHOSE_THIS_SPELL
  1353.         [00199] = 0    # SPELL_9_IN_BOOK
  1354.     }
  1355.     results {
  1356.         action:assign(01870, 0)    # universe_spell_9_nochoose
  1357.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1358.     }
  1359.     flags {
  1360.         once_per_inst
  1361.     }
  1362. }
  1363.  
  1364. puzzle:01871 {    # universe_spell_10_choose
  1365.     criteria {
  1366.         [00205] = 233    # USER_CHOSE_THIS_SPELL
  1367.         [00200] = 1    # SPELL_10_IN_BOOK
  1368.     }
  1369.     results {
  1370.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1371.         action:assign(01871, 0)    # universe_spell_10_choose
  1372.         action:inventory(drop 227)
  1373.         action:inventory(drop 225)
  1374.         action:inventory(drop 224)
  1375.         action:inventory(drop 235)
  1376.         action:inventory(drop 228)
  1377.         action:inventory(drop 226)
  1378.         action:inventory(drop 229)
  1379.         action:inventory(drop 234)
  1380.         action:inventory(drop 232)
  1381.         action:inventory(drop 236)
  1382.         action:inventory(drop 233)
  1383.         action:inventory(drop 231)
  1384.         action:inventory(drop 230)
  1385.         action:inventory(drop 227)
  1386.         action:inventory(add 233)
  1387.         action:universe_music:01872(0 gs0zh02q.raw 0 100)    # universe_spell_sound_10
  1388.         action:dissolve()
  1389.         action:assign(01198, 1)    # universe_magic_spell_miscast
  1390.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  1391.     }
  1392.     flags {
  1393.         once_per_inst
  1394.     }
  1395. }
  1396.  
  1397. puzzle:01873 {    # universe_spell_10_nochoose
  1398.     criteria {
  1399.         [00205] = 233    # USER_CHOSE_THIS_SPELL
  1400.         [00200] = 0    # SPELL_10_IN_BOOK
  1401.     }
  1402.     results {
  1403.         action:assign(01873, 0)    # universe_spell_10_nochoose
  1404.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1405.     }
  1406.     flags {
  1407.         once_per_inst
  1408.     }
  1409. }
  1410.  
  1411. puzzle:01874 {    # universe_spell_11_choose
  1412.     criteria {
  1413.         [00205] = 234    # USER_CHOSE_THIS_SPELL
  1414.         [00201] = 1    # SPELL_11_IN_BOOK
  1415.     }
  1416.     results {
  1417.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1418.         action:assign(01874, 0)    # universe_spell_11_choose
  1419.         action:inventory(drop 227)
  1420.         action:inventory(drop 225)
  1421.         action:inventory(drop 224)
  1422.         action:inventory(drop 235)
  1423.         action:inventory(drop 228)
  1424.         action:inventory(drop 226)
  1425.         action:inventory(drop 229)
  1426.         action:inventory(drop 234)
  1427.         action:inventory(drop 232)
  1428.         action:inventory(drop 236)
  1429.         action:inventory(drop 233)
  1430.         action:inventory(drop 231)
  1431.         action:inventory(drop 230)
  1432.         action:inventory(drop 227)
  1433.         action:inventory(add 234)
  1434.         action:universe_music:01875(0 gs0zh02q.raw 0 100)    # universe_spell_sound_11
  1435.         action:dissolve()
  1436.         action:assign(01198, 1)    # universe_magic_spell_miscast
  1437.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  1438.     }
  1439.     flags {
  1440.         once_per_inst
  1441.     }
  1442. }
  1443.  
  1444. puzzle:01876 {    # universe_spell_11_nochoose
  1445.     criteria {
  1446.         [00205] = 234    # USER_CHOSE_THIS_SPELL
  1447.         [00201] = 0    # SPELL_11_IN_BOOK
  1448.     }
  1449.     results {
  1450.         action:assign(01876, 0)    # universe_spell_11_nochoose
  1451.         action:assign(00205, 0)    # USER_CHOSE_THIS_SPELL
  1452.     }
  1453.     flags {
  1454.         once_per_inst
  1455.     }
  1456. }
  1457.  
  1458. puzzle:01877 {    # universe_person_done_talking
  1459.     criteria {
  1460.         [01024] = 2    # voice_over
  1461.     }
  1462.     results {
  1463.         action:assign(01024, 0)    # voice_over
  1464.         action:assign(01877, 0)    # universe_person_done_talking
  1465.         action:assign(01582, 0)    # person_talking
  1466.     }
  1467.     flags {
  1468.         once_per_inst
  1469.     }
  1470. }
  1471.  
  1472. puzzle:01878 {    # universe_setup_egg
  1473.     criteria {
  1474.         [00008] = 83    # KeyPress
  1475.     }
  1476.     results {
  1477.         action:assign(01878, 0)    # universe_setup_egg
  1478.         action:assign(01879, 1)    # universe_egg_state
  1479.         action:assign(00008, 0)    # KeyPress
  1480.     }
  1481.     flags {
  1482.         once_per_inst
  1483.     }
  1484. }
  1485.  
  1486. puzzle:01880 {    # universe_egg_1
  1487.     criteria {
  1488.         [00008] = 84    # KeyPress
  1489.         [01879] = 1    # universe_egg_state
  1490.     }
  1491.     results {
  1492.         action:assign(01880, 0)    # universe_egg_1
  1493.         action:add(01879, 1)    # universe_egg_state
  1494.         action:assign(00008, 0)    # KeyPress
  1495.     }
  1496.     flags {
  1497.         once_per_inst
  1498.     }
  1499. }
  1500.  
  1501. puzzle:01881 {    # universe_egg_1_no
  1502.     criteria {
  1503.         [00008] ! 84    # KeyPress
  1504.         [00008] ! 0    # KeyPress
  1505.         [01879] = 1    # universe_egg_state
  1506.     }
  1507.     results {
  1508.         action:assign(01881, 0)    # universe_egg_1_no
  1509.         action:assign(01879, 0)    # universe_egg_state
  1510.         action:assign(00008, 0)    # KeyPress
  1511.     }
  1512.     flags {
  1513.         once_per_inst
  1514.     }
  1515. }
  1516.  
  1517. puzzle:01882 {    # universe_egg_2
  1518.     criteria {
  1519.         [00008] = 69    # KeyPress
  1520.         [01879] = 2    # universe_egg_state
  1521.     }
  1522.     results {
  1523.         action:assign(01882, 0)    # universe_egg_2
  1524.         action:add(01879, 1)    # universe_egg_state
  1525.         action:assign(00008, 0)    # KeyPress
  1526.     }
  1527.     flags {
  1528.         once_per_inst
  1529.     }
  1530. }
  1531.  
  1532. puzzle:01883 {    # universe_egg_2_no
  1533.     criteria {
  1534.         [00008] ! 69    # KeyPress
  1535.         [00008] ! 0    # KeyPress
  1536.         [01879] = 2    # universe_egg_state
  1537.     }
  1538.     results {
  1539.         action:assign(01883, 0)    # universe_egg_2_no
  1540.         action:assign(01879, 0)    # universe_egg_state
  1541.         action:assign(00008, 0)    # KeyPress
  1542.     }
  1543.     flags {
  1544.         once_per_inst
  1545.     }
  1546. }
  1547.  
  1548. puzzle:01884 {    # universe_egg_3
  1549.     criteria {
  1550.         [00008] = 80    # KeyPress
  1551.         [01879] = 3    # universe_egg_state
  1552.     }
  1553.     results {
  1554.         action:assign(01884, 0)    # universe_egg_3
  1555.         action:add(01879, 1)    # universe_egg_state
  1556.         action:assign(00008, 0)    # KeyPress
  1557.     }
  1558.     flags {
  1559.         once_per_inst
  1560.     }
  1561. }
  1562.  
  1563. puzzle:01885 {    # universe_egg_3_no
  1564.     criteria {
  1565.         [00008] ! 80    # KeyPress
  1566.         [00008] ! 0    # KeyPress
  1567.         [01879] = 3    # universe_egg_state
  1568.     }
  1569.     results {
  1570.         action:assign(01885, 0)    # universe_egg_3_no
  1571.         action:assign(01879, 0)    # universe_egg_state
  1572.         action:assign(00008, 0)    # KeyPress
  1573.     }
  1574.     flags {
  1575.         once_per_inst
  1576.     }
  1577. }
  1578.  
  1579. puzzle:01886 {    # universe_egg_4
  1580.     criteria {
  1581.         [00008] = 72    # KeyPress
  1582.         [01879] = 4    # universe_egg_state
  1583.     }
  1584.     results {
  1585.         action:assign(01886, 0)    # universe_egg_4
  1586.         action:add(01879, 1)    # universe_egg_state
  1587.         action:assign(00008, 0)    # KeyPress
  1588.     }
  1589.     flags {
  1590.         once_per_inst
  1591.     }
  1592. }
  1593.  
  1594. puzzle:01887 {    # universe_egg_4_no
  1595.     criteria {
  1596.         [00008] ! 72    # KeyPress
  1597.         [00008] ! 0    # KeyPress
  1598.         [01879] = 4    # universe_egg_state
  1599.     }
  1600.     results {
  1601.         action:assign(01887, 0)    # universe_egg_4_no
  1602.         action:assign(01879, 0)    # universe_egg_state
  1603.         action:assign(00008, 0)    # KeyPress
  1604.     }
  1605.     flags {
  1606.         once_per_inst
  1607.     }
  1608. }
  1609.  
  1610. puzzle:01888 {    # universe_end_egg
  1611.     criteria {
  1612.         [01879] = 5    # universe_egg_state
  1613.     }
  1614.     results {
  1615.         action:assign(01879, 0)    # universe_egg_state
  1616.         action:assign(01888, 0)    # universe_end_egg
  1617.         action:dissolve()
  1618.         action:change_location(g, j, cr, 0)
  1619.     }
  1620.     flags {
  1621.         once_per_inst
  1622.     }
  1623. }
  1624.  
  1625. control:01889 flat {    # universe_flat
  1626. }
  1627.  
  1628.