blob: fe2567bd68409e534ee2221beb164959b7843642 (
plain) (
tree)
|
|
// TMW2 scripts.
// Authors:
// The Mana World Team
// Jesusalva
// Description:
// Cave logic. Controls also switchs and false warps. See soren/main for more info.
// Passages
021-1,155,196,0 script #MainCindyLogic NPC_NO_SPRITE,0,0,{
end;
OnTouch:
.@q=getq(NivalisQuest_Cindy);
if (.@q < 4) end;
if ($@CINDY_STATE > gettimetick(2) || $@CINDY_STATE == 0) goto L_Safe;
if ($@CINDY_STATE % 2 == 0) goto L_Blocked;
warp "021-2", 80, 102;
end;
L_Blocked:
dispbottom l("This place is reeking blood. We better come again later.");
end;
L_Safe:
dispbottom l("There's no reason to enter these caves now.");
end;
}
021-1,136,29,0 script #FrostiaGateway NPC_NO_SPRITE,0,0,{
end;
OnTouch:
npctalkonce l("You need to be using a @@ because extremely cold temperatures.", getitemlink(RedknightArmor));
end;
}
// Other
|