Reformat and clean up npc scripts

This commit is contained in:
P0nk
2021-09-09 23:35:02 +02:00
parent 0c1545f81d
commit d893309b4f
665 changed files with 19932 additions and 19046 deletions

View File

@@ -20,21 +20,21 @@
*/
/**
-- Odin JavaScript --------------------------------------------------------------------------------
Orbis Magic Spot - Orbis Tower <1st Floor>(200082100)
-- By ---------------------------------------------------------------------------------------------
Unknown
-- Version Info -----------------------------------------------------------------------------------
1.2 - Now Official method (action(x,0,0) is weak) by Moogra
1.1 - Official Text and Method [Information]
1.0 - First Version by Unknown
---------------------------------------------------------------------------------------------------
**/
-- Odin JavaScript --------------------------------------------------------------------------------
Orbis Magic Spot - Orbis Tower <1st Floor>(200082100)
-- By ---------------------------------------------------------------------------------------------
Unknown
-- Version Info -----------------------------------------------------------------------------------
1.2 - Now Official method (action(x,0,0) is weak) by Moogra
1.1 - Official Text and Method [Information]
1.0 - First Version by Unknown
---------------------------------------------------------------------------------------------------
**/
function start() {
if (cm.haveItem(4001019))
if (cm.haveItem(4001019)) {
cm.sendYesNo("You can use #b#t4001019##k to activate #b#p2012014##k. Will you teleport to where #b#p2012015##k is?");
else {
} else {
cm.sendOk("There's a #b#p2012014##k that'll enable you to teleport to where #b#p2012015##k is, but you can't activate it without the scroll.");
cm.dispose();
}