diff options
Diffstat (limited to 'npc/008-1')
-rwxr-xr-x | npc/008-1/annualeaster.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/008-1/annualeaster.txt b/npc/008-1/annualeaster.txt index 358769a7..9e9d73a2 100755 --- a/npc/008-1/annualeaster.txt +++ b/npc/008-1/annualeaster.txt @@ -32,7 +32,7 @@ .@random = rand(.@size+2); if (.@random < .@size) getitem get(.small_rewards$[.@random], "Easter Eggs"), rand(1, 2); - elif (.@random == .@size) + else if (.@random == .@size) getexp rand(200), 0; else Zeny = Zeny + rand(50); @@ -194,14 +194,15 @@ L_Menu: "Disable eggs.", L_Disable; L_Enable: - .disabled = 0, "Easter Eggs"; + set(getvariableofnpc(.disabled, "Easter Eggs"), 0); clear; mes "Easter Eggs enabled."; next; goto L_Menu; L_Disable: - set .disabled, 1, "Easter Eggs"; // TODO: (tmwa) automatically destroy puppets when using @disablenpc & also discard timers + set(getvariableofnpc(.disabled, "Easter Eggs"), 1); + // TODO: Destroy puppets/timers/etc clear; mes "Easter Eggs disabled."; next; |