- Continuem desenvolupant l'història...

This commit is contained in:
2024-02-15 17:52:13 +01:00
parent 042e071ef2
commit 6332fa6d25
5 changed files with 139 additions and 38 deletions

View File

@@ -50,45 +50,45 @@ levels["prac1"]={
end
})
switches.add({x=4,y=14,w=10,h=1,action=
switches.add({x=9,y=15,w=1,h=1,action=
function()
--flags.prac1=1
if not flags.prac1 then
flags.prac1=1
scene.start({
function() balloon.show("OYE TU!",12,"profe",false,{x=4,w=6,h=1}) end,
function() actors.search("profe").path={pos=0,route='rrrdddddd'} end,
function() actors.search("profe").path={pos=0,route='rrrddddddd'} end,
function() balloon.show("TE PARECE HORA DE LLEGAR\nA LA PRÁCTICA?",12,"profe",false,{x=3,w=14,h=2}) end,
function() balloon.show("AL MENOS TENDRÁS\nLOS APUNTES\n¿NO?",12,"profe",false,{x=3,w=14,h=3}) end,
function() balloon.show("PUES...\nNO",2,"jailer",false,{x=5,w=7,h=2}) end,
function() balloon.show("¿¿QUÉ??\n¡ESTO ES EL COLMO!",12,"profe",false,{x=3,w=14,h=2}) end,
function() balloon.show("¡LARGO!\n¡Y NO VUELVAS SIN\nLOS APUNTES!",12,"profe",false,{x=3,w=14,h=3}) end,
function() actors.search("jailer").path={pos=0,route='dd'} end
function() actors.search("jailer").path={pos=0,route='d'} end
})
return true
elseif flags.prac1==1 then
if not objects.search("apuntes_1015") then
if not objects.search("apuntes") then
scene.start({
function() balloon.show("¿OTRA VEZ TU?",12,"profe",false,{x=4,w=9,h=1}) end,
function() actors.search("profe").path={pos=0,route='rrrdddddd'} end,
function() actors.search("profe").path={pos=0,route='rrrddddddd'} end,
function() balloon.show("¿TRAES LOS APUNTES?",12,"profe",false,{x=3,w=12,h=1}) end,
function() balloon.show("SI ES QUE NO SÉ\nQUINS SON!",2,"jailer",false,{x=5,w=10,h=2}) end,
function() balloon.show("NO...\nES QUE...",2,"jailer",false,{x=5,w=10,h=2}) end,
function() balloon.show("¡PUES TE BUSCAS LAS CASTAÑAS!\n¡HABER VENIDO A CLASE!",12,"profe",false,{x=3,w=16,h=2}) end,
function() balloon.show("CAGUEN L'OU...",2,"jailer",false,{x=5,w=9,h=1}) end,
function() actors.search("jailer").path={pos=0,route='dd'} end,
function() actors.search("jailer").path={pos=0,route='d'} end,
function() wait.start(1.5) end,
function() balloon.show("SI NO SÉ NI QUINA\nASSIGNATURA ES...",2,"jailer",false,{x=5,w=10,h=2}) end
function() if not flags.apuntes then balloon.show("SI NO SÉ NI QUINA\nASSIGNATURA ES...",2,"jailer",false,{x=5,w=10,h=2}) end end
})
else
flags.prac1=2
scene.start({
function() balloon.show("¿OTRA VEZ TU?",12,"profe",false,{x=4,w=6,h=1}) end,
function() actors.search("profe").path={pos=0,route='rrrdddddd'} end,
function() actors.search("profe").path={pos=0,route='rrrddddddd'} end,
function() balloon.show("¿TRAES LOS APUNTES?",12,"profe",false,{x=3,w=14,h=1}) end,
function() balloon.show("¡ACÍ ESTÀN!",2,"jailer",false,{x=5,w=7,h=1}) end,
function() balloon.show("¡AH!\n¡ASÍ ME GUSTA!",12,"profe",false,{x=3,w=14,h=2}) end,
function() balloon.show("BUSCA UN ORDENADOR\nLIBRE Y EMPIEZA",12,"profe",false,{x=3,w=14,h=2}) end,
function() actors.search("profe").path={pos=0,route='uuuuuullla'} end,
function() actors.search("profe").path={pos=0,route='uuuuuuullla'} end,
})
end
return true