Hello!
I made it!
Thank you for your help!
I made it!
Thank you for your help!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
function map:on_started()
if bau_tunica:is_open() then --"BAU_TUNICA" IS THE CHEST
bau_tunica:set_enabled(true)
interruptor_a:set_activated(true) --"INTERRUPTOR_A" IS THE SWITCH
elseif interruptor_a:is_activated() then --this is my attempt
bau_tunica:set_enabled(true)
end
end
function fogo:on_interaction()
game:start_dialog("salvar_jogo-perguntar", function(resposta)
if resposta==1 then
game:save()
game:start_dialog("jogo_salvo")
end
end)
end
function interruptor_a:on_activated()
sol.audio.play_sound("cursor")
bau_tunica:set_enabled(true)
end