summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/evil_obelisk.txt
diff options
context:
space:
mode:
authorThe Kandiman <kandiman@kandiman.(none)>2011-09-10 20:15:17 -0400
committerThe Kandiman <kandiman@kandiman.(none)>2011-09-11 16:48:18 -0400
commit1cb0e75cbd356485ebe35bb3f5af10e1454e57a5 (patch)
tree594bbf4a1bb428ef527f6ce6ec79e4eb3e478607 /world/map/npc/functions/evil_obelisk.txt
parenta9868851cfe19c503cc72b0289889c564b41dd20 (diff)
downloadserverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.gz
serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.bz2
serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.tar.xz
serverdata-1cb0e75cbd356485ebe35bb3f5af10e1454e57a5.zip
Tab conversion and formatting project.
npc/functions and npc/items complete.
Diffstat (limited to 'world/map/npc/functions/evil_obelisk.txt')
-rw-r--r--world/map/npc/functions/evil_obelisk.txt123
1 files changed, 69 insertions, 54 deletions
diff --git a/world/map/npc/functions/evil_obelisk.txt b/world/map/npc/functions/evil_obelisk.txt
index 4de46eb9..d7373bae 100644
--- a/world/map/npc/functions/evil_obelisk.txt
+++ b/world/map/npc/functions/evil_obelisk.txt
@@ -1,70 +1,85 @@
-function script EvilObelisk {
- mes "[Evil Obelisk]";
- mes "(A mystical aura surrounds this stone. It seems to crave money.)";
- next;
+function|script|EvilObelisk|{
+ mes "[Evil Obelisk]";
+ mes "(A mystical aura surrounds this stone. It seems to crave money.)";
+ next;
- menu
- "Pay it 200,000 gold", L_JACKO,
- "Pay it 100,000 gold", L_GRAVEYARD1,
- "Pay it 75,000 gold", L_GRAVEYARD2,
- "Pay it 50,000 gold", L_SKULL,
- "Pay it 25,000 gold", L_SNAKE,
- "Don't pay it anything.", -;
- close;
- return;
+ menu
+ "Pay it 200,000 gold", L_JACKO,
+ "Pay it 100,000 gold", L_GRAVEYARD1,
+ "Pay it 75,000 gold", L_GRAVEYARD2,
+ "Pay it 50,000 gold", L_SKULL,
+ "Pay it 25,000 gold", L_SNAKE,
+ "Don't pay it anything.", -;
+ close;
+ return;
L_JACKO:
- if (zeny < 200000) goto L_NotEnough;
- set zeny, zeny - 200000;
- set @mob_id, 1022;
- set @mob_count, rand(2) + 1;
- goto L_Summon;
+ if (zeny < 200000)
+ goto L_NotEnough;
+ set zeny, zeny - 200000;
+ set @mob_id, 1022;
+ set @mob_count, rand(2) + 1;
+ goto L_Summon;
L_GRAVEYARD1:
- if (zeny < 100000) goto L_NotEnough;
- set @temp, rand(2);
- if(@temp == 0) set @mob_id, 1036; // Zombie
- if(@temp == 1) set @mob_id, 1045; // Fallen
- set @mob_count, rand(2) + 1;
- set zeny, zeny - 100000;
- goto L_Summon;
+ if (zeny < 100000)
+ goto L_NotEnough;
+ set @temp, rand(2);
+ if(@temp == 0)
+ set @mob_id, 1036; // Zombie
+ if(@temp == 1)
+ set @mob_id, 1045; // Fallen
+ set @mob_count, rand(2) + 1;
+ set zeny, zeny - 100000;
+ goto L_Summon;
L_GRAVEYARD2:
- if (zeny < 75000) goto L_NotEnough;
- set @temp, rand(2);
- if(@temp == 0) set @mob_id, 1044; // Lady Skelly
- if(@temp == 1) set @mob_id, 1043; // Normal Skelly
- set @mob_count, rand(2) + 1;
- set zeny, zeny - 75000;
- goto L_Summon;
+ if (zeny < 75000)
+ goto L_NotEnough;
+ set @temp, rand(2);
+ if(@temp == 0)
+ set @mob_id, 1044; // Lady Skelly
+ if(@temp == 1)
+ set @mob_id, 1043; // Normal Skelly
+ set @mob_count, rand(2) + 1;
+ set zeny, zeny - 75000;
+ goto L_Summon;
L_SKULL:
- if (zeny < 50000) goto L_NotEnough;
- set @temp, rand(2);
- if(@temp == 0) set @mob_id, 1024; // Poison
- if(@temp == 1) set @mob_id, 1023; // Fire
- set @mob_count, rand(4) + 1;
- set zeny, zeny - 50000;
- goto L_Summon;
+ if (zeny < 50000)
+ goto L_NotEnough;
+ set @temp, rand(2);
+ if(@temp == 0)
+ set @mob_id, 1024; // Poison
+ if(@temp == 1)
+ set @mob_id, 1023; // Fire
+ set @mob_count, rand(4) + 1;
+ set zeny, zeny - 50000;
+ goto L_Summon;
L_SNAKE:
- if (zeny < 25000) goto L_NotEnough;
- set @temp, rand(4);
- if(@temp == 0) set @mob_id, 1034; // Grass
- if(@temp == 1) set @mob_id, 1026; // Mnt.
- if(@temp == 2) set @mob_id, 1010; // Normal
- if(@temp == 3) set @mob_id, 1021; // Cave
- set @mob_count, rand(4) + 1;
- set zeny, zeny - 25000;
- goto L_Summon;
+ if (zeny < 25000)
+ goto L_NotEnough;
+ set @temp, rand(4);
+ if(@temp == 0)
+ set @mob_id, 1034; // Grass
+ if(@temp == 1)
+ set @mob_id, 1026; // Mnt.
+ if(@temp == 2)
+ set @mob_id, 1010; // Normal
+ if(@temp == 3)
+ set @mob_id, 1021; // Cave
+ set @mob_count, rand(4) + 1;
+ set zeny, zeny - 25000;
+ goto L_Summon;
L_Summon:
- monster @map$, @x, @y, "Evil", @mob_id, @mob_count;
- close;
- return;
+ monster @map$, @x, @y, "Evil", @mob_id, @mob_count;
+ close;
+ return;
L_NotEnough:
- mes "You don't have that much money";
- close;
- return;
+ mes "You don't have that much money";
+ close;
+ return;
}