home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 38
/
ZGIDEMO.iso
/
ZGI_DEMO
/
DATA
/
SCRIPTS.ZFS
/
gjiv.scr
< prev
next >
Wrap
Text File
|
1997-09-04
|
36KB
|
1,272 lines
# Node gjiv generated on Thu Sep 04 16:18:39 1997
world g
room j
nodeview iv
puzzle:01046 { # gjiv_screenset
criteria {
}
results {
action:assign(01047, 1) # gjiv_put_away1
action:assign(01048, 1) # gjiv_put_away2
action:assign(01049, 1) # gjiv_put_away3
action:assign(01050, 1) # gjiv_put_away4
action:assign(01051, 1) # gjiv_put_away5
action:assign(01052, 1) # gjiv_put_away6
action:assign(01053, 1) # gjiv_put_away7
action:assign(01054, 1) # gjiv_put_away8
action:assign(01055, 1) # gjiv_put_away9
action:assign(01056, 1) # gjiv_put_away10
action:assign(01057, 1) # gjiv_put_away11
action:assign(01058, 1) # gjiv_put_away12
action:assign(01059, 1) # gjiv_put_away13
action:assign(01060, 1) # gjiv_put_away14
action:assign(01061, 1) # gjiv_put_away15
action:assign(01062, 1) # gjiv_put_away16
action:assign(01063, 1) # gjiv_put_away17
action:assign(01064, 1) # gjiv_put_away18
action:delay_render(10)
action:assign(00008, 0) # KeyPress
action:assign(00018, 0) # mouse_rightclick
action:set_screen(gjivf011.tga)
action:assign(01065, 1) # gjiv_can_set_partial
action:assign(01066, 0) # gjiv_came_from_inv
action:disable_control(01067) # gjiv_zorkmid_btn
action:disable_control(01068) # gjiv_magic_book
action:disable_control(01069) # gjiv_map
action:disable_control(01070) # gjiv_lamp_spot
action:disable_control(01071) # gjiv_totem_spot_1
action:disable_control(01072) # gjiv_totem_spot_2
action:disable_control(01073) # gjiv_totem_spot_3
action:disable_control(01074) # gjiv_magnified_area_click
action:disable_control(01075) # gjiv_de_magnify_2
action:disable_control(01076) # gjiv_backup
action:assign(01070, 0) # gjiv_lamp_spot
action:menu_bar_enable(1)
action:assign(01077, 1) # gjiv_i_just_got_here
action:assign(01078, 0) # gjiv_timer_to_jump
action:timer:01078(10) # gjiv_timer_to_jump
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01079 { # gjiv_screenset_disable_magic_menu
criteria {
[01037] = 1 # user_has_magicbook
}
results {
action:menu_bar_enable(513)
}
flags {
once_per_inst
}
}
puzzle:01080 { # gjiv_enable_backup
criteria {
[01017] ! 0 # user_just_grabbed
}
results {
action:enable_control(01076) # gjiv_backup
}
flags {
once_per_inst
}
}
puzzle:01081 { # gjiv_screenset_show_lantern
criteria {
[01046] = 1 # gjiv_screenset
[01004] = 1 # user_has_lantern
[01082] = 0 # gjiv_item_in_magnify_spot
}
results {
action:set_partial_screen(560 170 GJIVVC41.tga 0 992)
action:enable_control(01070) # gjiv_lamp_spot
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01083 { # gjiv_click_lantern
criteria {
[01070] = 1 # gjiv_lamp_spot
[01084] = 0 # user_underground
[01024] ! 1 # voice_over
}
results {
action:assign(01100, 666) # helper_variable
action:assign(01083, 0) # gjiv_click_lantern
action:assign(01070, 0) # gjiv_lamp_spot
action:universe_music:01024(0 P000H65p.raw 0 100) # voice_over
}
flags {
once_per_inst
}
}
puzzle:01085 { # gjiv_click_lantern_no
criteria {
[01070] = 1 # gjiv_lamp_spot
[01084] = 0 # user_underground
[01024] = 1 # voice_over
}
criteria {
[01070] = 1 # gjiv_lamp_spot
[01084] = 1 # user_underground
}
results {
action:assign(01085, 0) # gjiv_click_lantern_no
action:assign(01070, 0) # gjiv_lamp_spot
}
flags {
once_per_inst
}
}
puzzle:01086 { # gjiv_screenset_show_totem1
criteria {
[01046] = 1 # gjiv_screenset
[01027] = 1 # user_has_totem1
[01082] = 0 # gjiv_item_in_magnify_spot
}
results {
action:set_partial_screen(392 125 GJIVJB11.TGA 0 992)
action:enable_control(01071) # gjiv_totem_spot_1
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01087 { # gjiv_screenset_show_totem2
criteria {
[01046] = 1 # gjiv_screenset
[01029] = 1 # user_has_totem2
[01082] = 0 # gjiv_item_in_magnify_spot
}
results {
action:set_partial_screen(452 145 GJIVJB21.TGA 0 992)
action:enable_control(01072) # gjiv_totem_spot_2
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01088 { # gjiv_screenset_show_totem3
criteria {
[01046] = 1 # gjiv_screenset
[01031] = 1 # user_has_totem3
[01082] = 0 # gjiv_item_in_magnify_spot
}
results {
action:set_partial_screen(486 95 GJIVJB31.TGA 0 992)
action:enable_control(01073) # gjiv_totem_spot_3
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01089 { # gjiv_screenset_show_magicbook
criteria {
[01046] = 1 # gjiv_screenset
[01037] = 1 # user_has_magicbook
[01082] = 0 # gjiv_item_in_magnify_spot
}
results {
action:set_partial_screen(396 219 GJIVVC71.TGA 0 992)
action:enable_control(01068) # gjiv_magic_book
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01090 { # gjiv_screenset_show_map
criteria {
[01046] = 1 # gjiv_screenset
[01033] = 1 # user_has_map
[01082] = 0 # gjiv_item_in_magnify_spot
}
results {
action:set_partial_screen(399 192 GJIVJB61.TGA 0 992)
action:enable_control(01069) # gjiv_map
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01091 { # gjiv_screenset_show_coins
criteria {
[01046] = 1 # gjiv_screenset
[01025] = 1 # user_has_coins
[01082] = 0 # gjiv_item_in_magnify_spot
}
results {
action:set_partial_screen(556 18 GJIVJB81.TGA 0 992)
action:enable_control(01067) # gjiv_zorkmid_btn
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01092 { # gjiv_put_item_away_then_go
criteria {
[00008] = 32 # KeyPress
[01082] ! 0 # gjiv_item_in_magnify_spot
}
criteria {
[01093] = 1 # gjiv_return_arrow
[01082] ! 0 # gjiv_item_in_magnify_spot
}
results {
action:stop(01094) # universe_magic_timer
action:assign(01094, 0) # universe_magic_timer
action:assign(01095, 0) # gjiv_magic_spell_miscast_timer
action:assign(01096, 1) # gjiv_can_put_object_away
action:timer:01097(10) # gjiv_put_item_away_timer
}
flags {
once_per_inst
}
}
puzzle:01098 { # gjiv_go_back
criteria {
[00008] = 32 # KeyPress
[01099] ! 1 # gjmb_came_from_mb
[01017] = 0 # user_just_grabbed
[01082] = 0 # gjiv_item_in_magnify_spot
[01092] = 0 # gjiv_put_item_away_then_go
}
criteria {
[01093] = 1 # gjiv_return_arrow
[01099] ! 1 # gjmb_came_from_mb
[01017] = 0 # user_just_grabbed
[01082] = 0 # gjiv_item_in_magnify_spot
[01092] = 0 # gjiv_put_item_away_then_go
}
criteria {
[00008] = 32 # KeyPress
[01099] ! 1 # gjmb_came_from_mb
[01017] = 0 # user_just_grabbed
[01097] = 2 # gjiv_put_item_away_timer
[01092] = 1 # gjiv_put_item_away_then_go
}
criteria {
[01093] = 1 # gjiv_return_arrow
[01099] ! 1 # gjmb_came_from_mb
[01017] = 0 # user_just_grabbed
[01097] = 2 # gjiv_put_item_away_timer
[01092] = 1 # gjiv_put_item_away_then_go
}
results {
action:stop(01094) # universe_magic_timer
action:assign(01094, 0) # universe_magic_timer
action:assign(01095, 0) # gjiv_magic_spell_miscast_timer
action:assign(00008, 0) # KeyPress
action:assign(01093, 0) # gjiv_return_arrow
action:dissolve()
action:change_location(0, 0, 00, 0)
}
flags {
once_per_inst
}
}
puzzle:01101 { # gjiv_go_back_mb
criteria {
[01046] = 1 # gjiv_screenset
[00008] = 32 # KeyPress
[01099] = 1 # gjmb_came_from_mb
[01082] = 0 # gjiv_item_in_magnify_spot
[01092] = 0 # gjiv_put_item_away_then_go
}
criteria {
[01046] = 1 # gjiv_screenset
[01093] = 1 # gjiv_return_arrow
[01099] = 1 # gjmb_came_from_mb
[01082] = 0 # gjiv_item_in_magnify_spot
[01092] = 0 # gjiv_put_item_away_then_go
}
criteria {
[01046] = 1 # gjiv_screenset
[00008] = 32 # KeyPress
[01099] = 1 # gjmb_came_from_mb
[01097] = 2 # gjiv_put_item_away_timer
[01092] = 1 # gjiv_put_item_away_then_go
}
criteria {
[01046] = 1 # gjiv_screenset
[01093] = 1 # gjiv_return_arrow
[01099] = 1 # gjmb_came_from_mb
[01097] = 2 # gjiv_put_item_away_timer
[01092] = 1 # gjiv_put_item_away_then_go
}
results {
action:stop(01094) # universe_magic_timer
action:assign(01094, 0) # universe_magic_timer
action:assign(01095, 0) # gjiv_magic_spell_miscast_timer
action:assign(00008, 0) # KeyPress
action:assign(01093, 0) # gjiv_return_arrow
action:assign(01099, 0) # gjmb_came_from_mb
action:dissolve()
action:change_location(g, j, mb, 0)
}
flags {
once_per_inst
}
}
puzzle:01102 { # gjiv_go_back_map
criteria {
[01046] = 1 # gjiv_screenset
[00008] = 32 # KeyPress
[01103] = 1 # gjma_came_from_map
}
criteria {
[01046] = 1 # gjiv_screenset
[01093] = 1 # gjiv_return_arrow
[01103] = 1 # gjma_came_from_map
}
results {
action:stop(01094) # universe_magic_timer
action:assign(01094, 0) # universe_magic_timer
action:assign(01095, 0) # gjiv_magic_spell_miscast_timer
action:assign(00008, 0) # KeyPress
action:assign(01093, 0) # gjiv_return_arrow
action:assign(01103, 0) # gjma_came_from_map
action:dissolve()
action:change_location(g, j, ma, 0)
}
flags {
once_per_inst
}
}
puzzle:01104 { # gjiv_place_item_in_slot
criteria {
[01105] = 1 # gjiv_magnify_btn
[00009] ! 0 # Inventory
[00009] < 224 # Inventory
[01106] ! 1 # gjiv_magnify_spot_filled
}
results {
action:assign(01105, 0) # gjiv_magnify_btn
action:assign(01104, 0) # gjiv_place_item_in_slot
action:animplay:01107(gjiva021.avi 415 0 534 87 0 11 1 0 0 0 0) # gjiv_magnify_ani_task
action:assign(01082, [00009]) # Inventory
action:inventory(dropi 00009) # Inventory
action:assign(01106, 1) # gjiv_magnify_spot_filled
action:assign(01065, 0) # gjiv_can_set_partial
}
flags {
once_per_inst
}
}
puzzle:01108 { # gjiv_place_item_in_slot_end
criteria {
[01107] = 2 # gjiv_magnify_ani_task
}
results {
action:assign(01107, 0) # gjiv_magnify_ani_task
action:assign(01065, 1) # gjiv_can_set_partial
action:assign(01108, 0) # gjiv_place_item_in_slot_end
}
flags {
once_per_inst
}
}
puzzle:01109 { # gjiv_place_item_emptyclicks
criteria {
[01105] = 1 # gjiv_magnify_btn
[00009] = 0 # Inventory
}
criteria {
[01105] = 1 # gjiv_magnify_btn
[00009] = 224 # Inventory
}
criteria {
[01105] = 1 # gjiv_magnify_btn
[00009] > 224 # Inventory
}
criteria {
[01105] = 1 # gjiv_magnify_btn
[01106] = 1 # gjiv_magnify_spot_filled
}
results {
action:assign(01109, 0) # gjiv_place_item_emptyclicks
action:assign(01105, 0) # gjiv_magnify_btn
}
flags {
once_per_inst
}
}
puzzle:01110 { # gjiv_show_item_14
criteria {
[01082] = 20 # gjiv_item_in_magnify_spot
[01065] = 1 # gjiv_can_set_partial
[01046] = 1 # gjiv_screenset
}
results {
action:assign(01110, 0) # gjiv_show_item_14
action:assign(01065, 0) # gjiv_can_set_partial
action:set_partial_screen(320 0 gjivv141.tga 0 -1)
action:disable_control(01071) # gjiv_totem_spot_1
action:disable_control(01072) # gjiv_totem_spot_2
action:disable_control(01073) # gjiv_totem_spot_3
action:disable_control(01070) # gjiv_lamp_spot
action:disable_control(01069) # gjiv_map
action:disable_control(01068) # gjiv_magic_book
action:disable_control(01067) # gjiv_zorkmid_btn
action:disable_control(01105) # gjiv_magnify_btn
action:enable_control(01074) # gjiv_magnified_area_click
action:enable_control(01075) # gjiv_de_magnify_2
action:assign(01111, 0) # gjiv_speak_audio_14
action:assign(01112, 0) # gjiv_dont_speak_audio_14
action:assign(01113, 1) # gjiv_speak_now
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01111 { # gjiv_speak_audio_14
criteria {
[01114] = 1 # user_has_lantern_DEBUG
[01082] = 20 # gjiv_item_in_magnify_spot
[01113] = 1 # gjiv_speak_now
}
results {
action:kill(01115) # gjiv_large_task
action:universe_music:01115(0 gjivh00p.raw 0 100) # gjiv_large_task
action:assign(01112, 1) # gjiv_dont_speak_audio_14
action:assign(01113, 0) # gjiv_speak_now
}
}
puzzle:01112 { # gjiv_dont_speak_audio_14
criteria {
[01082] = 20 # gjiv_item_in_magnify_spot
[01114] = 0 # user_has_lantern_DEBUG
[01113] = 1 # gjiv_speak_now
}
results {
action:assign(01111, 1) # gjiv_speak_audio_14
action:assign(01113, 0) # gjiv_speak_now
}
}
puzzle:01116 { # gjiv_show_item_15
criteria {
[01082] = 21 # gjiv_item_in_magnify_spot
[01065] = 1 # gjiv_can_set_partial
[01046] = 1 # gjiv_screenset
}
results {
action:assign(01116, 0) # gjiv_show_item_15
action:assign(01065, 0) # gjiv_can_set_partial
action:set_partial_screen(320 0 gjivv151.tga 0 -1)
action:disable_control(01071) # gjiv_totem_spot_1
action:disable_control(01072) # gjiv_totem_spot_2
action:disable_control(01073) # gjiv_totem_spot_3
action:disable_control(01070) # gjiv_lamp_spot
action:disable_control(01069) # gjiv_map
action:disable_control(01068) # gjiv_magic_book
action:disable_control(01067) # gjiv_zorkmid_btn
action:disable_control(01105) # gjiv_magnify_btn
action:enable_control(01074) # gjiv_magnified_area_click
action:enable_control(01075) # gjiv_de_magnify_2
action:assign(01117, 0) # gjiv_speak_audio_15
action:assign(01118, 0) # gjiv_dont_speak_audio_15
action:assign(01113, 1) # gjiv_speak_now
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01117 { # gjiv_speak_audio_15
criteria {
[01114] = 1 # user_has_lantern_DEBUG
[01082] = 21 # gjiv_item_in_magnify_spot
[01113] = 1 # gjiv_speak_now
}
results {
action:kill(01115) # gjiv_large_task
action:universe_music:01115(0 gjivh00p.raw 0 100) # gjiv_large_task
action:assign(01118, 1) # gjiv_dont_speak_audio_15
action:assign(01113, 0) # gjiv_speak_now
}
}
puzzle:01118 { # gjiv_dont_speak_audio_15
criteria {
[01082] = 21 # gjiv_item_in_magnify_spot
[01114] = 0 # user_has_lantern_DEBUG
[01113] = 1 # gjiv_speak_now
}
results {
action:assign(01117, 1) # gjiv_speak_audio_15
action:assign(01113, 0) # gjiv_speak_now
}
}
puzzle:01119 { # gjiv_show_item_17
criteria {
[01082] = 23 # gjiv_item_in_magnify_spot
[01065] = 1 # gjiv_can_set_partial
[01046] = 1 # gjiv_screenset
}
results {
action:assign(01119, 0) # gjiv_show_item_17
action:assign(01065, 0) # gjiv_can_set_partial
action:set_partial_screen(320 0 gjivv171.tga 0 -1)
action:disable_control(01071) # gjiv_totem_spot_1
action:disable_control(01072) # gjiv_totem_spot_2
action:disable_control(01073) # gjiv_totem_spot_3
action:disable_control(01070) # gjiv_lamp_spot
action:disable_control(01069) # gjiv_map
action:disable_control(01068) # gjiv_magic_book
action:disable_control(01067) # gjiv_zorkmid_btn
action:disable_control(01105) # gjiv_magnify_btn
action:enable_control(01074) # gjiv_magnified_area_click
action:enable_control(01075) # gjiv_de_magnify_2
action:assign(01120, 0) # gjiv_speak_audio_17
action:assign(01121, 0) # gjiv_dont_speak_audio_17
action:assign(01113, 1) # gjiv_speak_now
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01120 { # gjiv_speak_audio_17
criteria {
[01114] = 1 # user_has_lantern_DEBUG
[01082] = 23 # gjiv_item_in_magnify_spot
[01113] = 1 # gjiv_speak_now
}
results {
action:kill(01115) # gjiv_large_task
action:universe_music:01115(0 gjivh00p.raw 0 100) # gjiv_large_task
action:assign(01121, 1) # gjiv_dont_speak_audio_17
action:assign(01113, 0) # gjiv_speak_now
}
}
puzzle:01121 { # gjiv_dont_speak_audio_17
criteria {
[01082] = 23 # gjiv_item_in_magnify_spot
[01114] = 0 # user_has_lantern_DEBUG
[01113] = 1 # gjiv_speak_now
}
results {
action:assign(01120, 1) # gjiv_speak_audio_17
action:assign(01113, 0) # gjiv_speak_now
}
}
puzzle:01122 { # gjiv_show_item_53
criteria {
[01082] = 83 # gjiv_item_in_magnify_spot
[01065] = 1 # gjiv_can_set_partial
[01046] = 1 # gjiv_screenset
}
results {
action:assign(01122, 0) # gjiv_show_item_53
action:assign(01065, 0) # gjiv_can_set_partial
action:set_partial_screen(320 0 gjivv531.tga 0 -1)
action:disable_control(01071) # gjiv_totem_spot_1
action:disable_control(01072) # gjiv_totem_spot_2
action:disable_control(01073) # gjiv_totem_spot_3
action:disable_control(01070) # gjiv_lamp_spot
action:disable_control(01069) # gjiv_map
action:disable_control(01068) # gjiv_magic_book
action:disable_control(01067) # gjiv_zorkmid_btn
action:disable_control(01105) # gjiv_magnify_btn
action:enable_control(01074) # gjiv_magnified_area_click
action:enable_control(01075) # gjiv_de_magnify_2
action:assign(01123, 0) # gjiv_speak_audio_53
action:assign(01124, 0) # gjiv_dont_speak_audio_53
action:assign(01113, 1) # gjiv_speak_now
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01123 { # gjiv_speak_audio_53
criteria {
[01114] = 1 # user_has_lantern_DEBUG
[01082] = 83 # gjiv_item_in_magnify_spot
[01113] = 1 # gjiv_speak_now
}
results {
action:kill(01115) # gjiv_large_task
action:universe_music:01115(0 gjivh00p.raw 0 100) # gjiv_large_task
action:assign(01124, 1) # gjiv_dont_speak_audio_53
action:assign(01113, 0) # gjiv_speak_now
}
}
puzzle:01124 { # gjiv_dont_speak_audio_53
criteria {
[01082] = 83 # gjiv_item_in_magnify_spot
[01114] = 0 # user_has_lantern_DEBUG
[01113] = 1 # gjiv_speak_now
}
results {
action:assign(01123, 1) # gjiv_speak_audio_53
action:assign(01113, 0) # gjiv_speak_now
}
}
puzzle:01125 { # gjiv_click_right_lever
criteria {
[01075] = 1 # gjiv_de_magnify_2
[01046] = 1 # gjiv_screenset
}
results {
action:assign(01125, 0) # gjiv_click_right_lever
action:assign(01075, 0) # gjiv_de_magnify_2
action:set_partial_screen(490 288 gjivva51.TGA 0 -1)
action:timer:01126(5) # gjiv_right_lever_timer
}
flags {
once_per_inst
}
}
puzzle:01127 { # gjiv_click_right_lever_end
criteria {
[01126] = 2 # gjiv_right_lever_timer
[01046] = 1 # gjiv_screenset
}
results {
action:assign(01127, 0) # gjiv_click_right_lever_end
action:assign(01126, 0) # gjiv_right_lever_timer
action:set_partial_screen(490 288 gjivva41.TGA 0 -1)
action:assign(01096, 1) # gjiv_can_put_object_away
}
flags {
once_per_inst
}
}
puzzle:01128 { # gjiv_get_item_14a
criteria {
[01129] = 1 # gjiv_can_grab_object
[01082] = 20 # gjiv_item_in_magnify_spot
}
results {
action:assign(01129, 0) # gjiv_can_grab_object
action:assign(01128, 0) # gjiv_get_item_14a
action:inventory(add 20)
action:assign(01130, 1) # gjiv_put_up_flooring
}
flags {
once_per_inst
}
}
puzzle:01131 { # gjiv_get_item_15a
criteria {
[01129] = 1 # gjiv_can_grab_object
[01082] = 21 # gjiv_item_in_magnify_spot
}
results {
action:assign(01129, 0) # gjiv_can_grab_object
action:assign(01131, 0) # gjiv_get_item_15a
action:inventory(add 21)
action:assign(01130, 1) # gjiv_put_up_flooring
}
flags {
once_per_inst
}
}
puzzle:01132 { # gjiv_get_item_17a
criteria {
[01129] = 1 # gjiv_can_grab_object
[01082] = 23 # gjiv_item_in_magnify_spot
}
results {
action:assign(01129, 0) # gjiv_can_grab_object
action:assign(01132, 0) # gjiv_get_item_17a
action:inventory(add 23)
action:assign(01130, 1) # gjiv_put_up_flooring
}
flags {
once_per_inst
}
}
puzzle:01133 { # gjiv_get_item_53a
criteria {
[01129] = 1 # gjiv_can_grab_object
[01082] = 83 # gjiv_item_in_magnify_spot
}
results {
action:assign(01129, 0) # gjiv_can_grab_object
action:assign(01133, 0) # gjiv_get_item_53a
action:inventory(add 83)
action:assign(01130, 1) # gjiv_put_up_flooring
}
flags {
once_per_inst
}
}
puzzle:01134 { # gjiv_move_item_14a
criteria {
[01096] = 1 # gjiv_can_put_object_away
[01082] = 20 # gjiv_item_in_magnify_spot
}
results {
action:assign(01096, 0) # gjiv_can_put_object_away
action:assign(01134, 0) # gjiv_move_item_14a
action:assign(01135, 20) # gjiv_find_me_a_slot
action:assign(01130, 1) # gjiv_put_up_flooring
}
flags {
once_per_inst
}
}
puzzle:01136 { # gjiv_move_item_15a
criteria {
[01096] = 1 # gjiv_can_put_object_away
[01082] = 21 # gjiv_item_in_magnify_spot
}
results {
action:assign(01096, 0) # gjiv_can_put_object_away
action:assign(01136, 0) # gjiv_move_item_15a
action:assign(01135, 21) # gjiv_find_me_a_slot
action:assign(01130, 1) # gjiv_put_up_flooring
}
flags {
once_per_inst
}
}
puzzle:01137 { # gjiv_move_item_17a
criteria {
[01096] = 1 # gjiv_can_put_object_away
[01082] = 23 # gjiv_item_in_magnify_spot
}
results {
action:assign(01096, 0) # gjiv_can_put_object_away
action:assign(01137, 0) # gjiv_move_item_17a
action:assign(01135, 23) # gjiv_find_me_a_slot
action:assign(01130, 1) # gjiv_put_up_flooring
}
flags {
once_per_inst
}
}
puzzle:01138 { # gjiv_move_item_53a
criteria {
[01096] = 1 # gjiv_can_put_object_away
[01082] = 83 # gjiv_item_in_magnify_spot
}
results {
action:assign(01096, 0) # gjiv_can_put_object_away
action:assign(01138, 0) # gjiv_move_item_53a
action:assign(01135, 83) # gjiv_find_me_a_slot
action:assign(01130, 1) # gjiv_put_up_flooring
}
flags {
once_per_inst
}
}
puzzle:01139 { # gjiv_get_obj_from_magnify
criteria {
[01074] = 1 # gjiv_magnified_area_click
[00009] = 0 # Inventory
[01082] ! 22 # gjiv_item_in_magnify_spot
[01082] ! 98 # gjiv_item_in_magnify_spot
[01082] ! 24 # gjiv_item_in_magnify_spot
}
results {
action:assign(01129, 1) # gjiv_can_grab_object
action:assign(01074, 0) # gjiv_magnified_area_click
action:assign(01139, 0) # gjiv_get_obj_from_magnify
}
flags {
once_per_inst
}
}
puzzle:01140 { # gjiv_blit_empty_floor
criteria {
[01130] = 1 # gjiv_put_up_flooring
}
results {
action:assign(01140, 0) # gjiv_blit_empty_floor
action:assign(01130, 0) # gjiv_put_up_flooring
action:assign(01096, 0) # gjiv_can_put_object_away
action:assign(01106, 0) # gjiv_magnify_spot_filled
action:assign(01082, 0) # gjiv_item_in_magnify_spot
action:assign(01081, 0) # gjiv_screenset_show_lantern
action:assign(01086, 0) # gjiv_screenset_show_totem1
action:assign(01087, 0) # gjiv_screenset_show_totem2
action:assign(01088, 0) # gjiv_screenset_show_totem3
action:assign(01089, 0) # gjiv_screenset_show_magicbook
action:assign(01090, 0) # gjiv_screenset_show_map
action:assign(01091, 0) # gjiv_screenset_show_coins
action:enable_control(01105) # gjiv_magnify_btn
action:disable_control(01075) # gjiv_de_magnify_2
action:disable_control(01074) # gjiv_magnified_area_click
action:set_partial_screen(320 0 GJIVVA61.TGA 0 -1)
action:delay_render(10)
action:disable_control(01074) # gjiv_magnified_area_click
}
flags {
once_per_inst
}
}
puzzle:01141 { # gjiv_combine_empty_click
criteria {
[01082] = 2 # gjiv_item_in_magnify_spot
[00009] ! 25 # Inventory
[01074] = 1 # gjiv_magnified_area_click
}
criteria {
[01082] = 25 # gjiv_item_in_magnify_spot
[00009] ! 2 # Inventory
[01074] = 1 # gjiv_magnified_area_click
}
criteria {
[01082] = 21 # gjiv_item_in_magnify_spot
[00009] ! 83 # Inventory
[01074] = 1 # gjiv_magnified_area_click
}
criteria {
[01082] = 83 # gjiv_item_in_magnify_spot
[00009] ! 21 # Inventory
[01074] = 1 # gjiv_magnified_area_click
}
criteria {
[01082] = 41 # gjiv_item_in_magnify_spot
[00009] ! 48 # Inventory
[01074] = 1 # gjiv_magnified_area_click
}
criteria {
[01082] = 48 # gjiv_item_in_magnify_spot
[00009] ! 41 # Inventory
[01074] = 1 # gjiv_magnified_area_click
}
criteria {
[01082] = 101 # gjiv_item_in_magnify_spot
[00009] ! 102 # Inventory
[01074] = 1 # gjiv_magnified_area_click
}
criteria {
[01082] = 102 # gjiv_item_in_magnify_spot
[00009] ! 101 # Inventory
[01074] = 1 # gjiv_magnified_area_click
}
criteria {
[01082] = 72 # gjiv_item_in_magnify_spot
[00009] ! 73 # Inventory
[01074] = 1 # gjiv_magnified_area_click
}
criteria {
[01082] = 73 # gjiv_item_in_magnify_spot
[00009] ! 72 # Inventory
[01074] = 1 # gjiv_magnified_area_click
}
results {
action:assign(01141, 0) # gjiv_combine_empty_click
action:assign(01074, 0) # gjiv_magnified_area_click
}
flags {
once_per_inst
}
}
puzzle:01142 { # gjiv_dont_resend_to_invscreen
criteria {
[00018] = 1 # mouse_rightclick
}
results {
action:assign(00008, 32) # KeyPress
action:assign(01142, 0) # gjiv_dont_resend_to_invscreen
action:assign(00018, 0) # mouse_rightclick
}
flags {
once_per_inst
}
}
puzzle:01143 { # gjiv_goto_magic_book
criteria {
[01068] = 1 # gjiv_magic_book
}
results {
action:assign(01068, 0) # gjiv_magic_book
action:assign(01066, 1) # gjiv_came_from_inv
action:dissolve()
action:change_location(g, j, mb, 0)
}
flags {
once_per_inst
}
}
puzzle:01144 { # gjiv_goto_map
criteria {
[01069] = 1 # gjiv_map
}
results {
action:assign(01069, 0) # gjiv_map
action:assign(01066, 1) # gjiv_came_from_inv
action:dissolve()
action:change_location(g, j, ma, 0)
}
flags {
once_per_inst
}
}
puzzle:01145 { # gjiv_grab_coin
criteria {
[01067] = 1 # gjiv_zorkmid_btn
[00009] = 0 # Inventory
}
results {
action:assign(01067, 0) # gjiv_zorkmid_btn
action:assign(01145, 0) # gjiv_grab_coin
action:inventory(add 87)
}
flags {
once_per_inst
}
}
puzzle:01146 { # gjiv_place_coin
criteria {
[01067] = 1 # gjiv_zorkmid_btn
[00009] = 87 # Inventory
}
results {
action:assign(01067, 0) # gjiv_zorkmid_btn
action:assign(01146, 0) # gjiv_place_coin
action:inventory(drop 87)
}
flags {
once_per_inst
}
}
puzzle:01147 { # gjiv_place_coin_emptyclick
criteria {
[01067] = 1 # gjiv_zorkmid_btn
[00009] ! 0 # Inventory
[00009] ! 87 # Inventory
}
results {
action:assign(01067, 0) # gjiv_zorkmid_btn
action:assign(01147, 0) # gjiv_place_coin_emptyclick
}
flags {
once_per_inst
}
}
puzzle:01148 { # gjiv_jump_to_backup
criteria {
[01078] = 2 # gjiv_timer_to_jump
[01046] = 1 # gjiv_screenset
[01017] ! 0 # user_just_grabbed
}
results {
action:assign(01078, 0) # gjiv_timer_to_jump
action:dissolve()
action:change_location(g, j, bu, 0)
}
flags {
once_per_inst
}
}
control:00151 slot { # INV_SLOT_1
rectangle(0 21 63 84)
warp(0)
distance_id(y)
hotspot(0 21 63 84)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00152 slot { # INV_SLOT_2
rectangle(64 21 127 84)
warp(0)
distance_id(y)
hotspot(64 21 127 84)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00153 slot { # INV_SLOT_3
rectangle(128 21 191 84)
warp(0)
distance_id(y)
hotspot(128 21 191 84)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00154 slot { # INV_SLOT_4
rectangle(192 21 255 84)
warp(0)
distance_id(y)
hotspot(192 21 255 84)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00155 slot { # INV_SLOT_5
rectangle(256 21 319 84)
warp(0)
distance_id(y)
hotspot(256 21 319 84)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00156 slot { # INV_SLOT_6
rectangle(0 85 63 148)
warp(0)
distance_id(y)
hotspot(0 85 63 148)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00157 slot { # INV_SLOT_7
rectangle(64 85 127 148)
warp(0)
distance_id(y)
hotspot(64 85 127 148)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00158 slot { # INV_SLOT_8
rectangle(128 85 191 148)
warp(0)
distance_id(y)
hotspot(128 85 191 148)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00159 slot { # INV_SLOT_9
rectangle(192 85 255 148)
warp(0)
distance_id(y)
hotspot(192 85 255 148)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00160 slot { # INV_SLOT_10
rectangle(256 85 319 148)
warp(0)
distance_id(y)
hotspot(256 85 319 148)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00161 slot { # INV_SLOT_11
rectangle(0 149 63 212)
warp(0)
distance_id(y)
hotspot(0 149 63 212)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00162 slot { # INV_SLOT_12
rectangle(64 149 127 212)
warp(0)
distance_id(y)
hotspot(64 149 127 212)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00163 slot { # INV_SLOT_13
rectangle(128 149 191 212)
warp(0)
distance_id(y)
hotspot(128 149 191 212)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00164 slot { # INV_SLOT_14
rectangle(192 149 255 212)
warp(0)
distance_id(y)
hotspot(192 149 255 212)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00165 slot { # INV_SLOT_15
rectangle(256 149 319 212)
warp(0)
distance_id(y)
hotspot(256 149 319 212)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00166 slot { # INV_SLOT_16
rectangle(0 213 63 276)
warp(0)
distance_id(y)
hotspot(0 213 63 276)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00167 slot { # INV_SLOT_17
rectangle(64 213 127 276)
warp(0)
distance_id(y)
hotspot(64 213 127 276)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00168 slot { # INV_SLOT_18
rectangle(128 213 191 276)
warp(0)
distance_id(y)
hotspot(128 213 191 276)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00169 slot { # INV_SLOT_19
rectangle(192 213 255 276)
warp(0)
distance_id(y)
hotspot(192 213 255 276)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:00170 slot { # INV_SLOT_20
rectangle(256 213 319 276)
warp(0)
distance_id(y)
hotspot(256 213 319 276)
do_skip(1)
eligible_objects(20 21 23 83)
cursor(handpu)
}
control:01093 push_toggle { # gjiv_return_arrow
flat_hotspot(0, 283, 340, 60)
cursor(backward)
}
control:01071 push_toggle { # gjiv_totem_spot_1
flat_hotspot(396, 124, 56, 56)
cursor(active)
}
control:01072 push_toggle { # gjiv_totem_spot_2
flat_hotspot(455, 146, 61, 56)
cursor(active)
}
control:01073 push_toggle { # gjiv_totem_spot_3
flat_hotspot(491, 98, 55, 53)
cursor(active)
}
control:01105 push_toggle { # gjiv_magnify_btn
flat_hotspot(351, 0, 190, 95)
cursor(active)
}
control:01067 push_toggle { # gjiv_zorkmid_btn
flat_hotspot(562, 15, 69, 77)
cursor(active)
}
control:01075 push_toggle { # gjiv_de_magnify_2
flat_hotspot(490, 288, 135, 55)
cursor(active)
}
control:01074 push_toggle { # gjiv_magnified_area_click
flat_hotspot(360, 3, 250, 281)
cursor(active)
}
control:01070 push_toggle { # gjiv_lamp_spot
flat_hotspot(558, 219, 78, 123)
cursor(active)
}
control:01068 push_toggle { # gjiv_magic_book
flat_hotspot(413, 228, 139, 108)
cursor(active)
}
control:01149 flat { # gjiv_flat
}