blob: 5d4ad54971e77f99dc418d681aa756471181b9bd (
plain) (
tree)
|
|
// TMW2 scripts.
// Authors:
// Pyndragon
// Jesusalva
// Description:
// Hand Teleporter (also saves coordinates - @memo)
- script LoF Teleporter NPC_HIDDEN,{
close;
L_Cooldown:
mesn;
mesc l("This teleporter is currently recharging.");
mesc l("You can use it again in @@.", FuzzyTime(TELEPORTER_TIME));
close;
OnUse:
if (TELEPORTER_TIME > gettimetick(2))
goto L_Cooldown;
mesn;
mesc l("Do you want to cut this @@?", getitemlink(Croconut));
next;
menu
l("Yes."), L_Weapon,
l("No."), -;
getitem Croconut, 1;
close;
L_Weapon:
mesc l("You perfectly cut your @@ into two edible parts.", getitemlink(Croconut));
getitem HalfCroconut, 2;
close;
}
|