diff options
Diffstat (limited to 'world/map/npc/002-2')
-rw-r--r-- | world/map/npc/002-2/eurni.txt | 44 | ||||
-rw-r--r-- | world/map/npc/002-2/stranger.txt | 5 |
2 files changed, 29 insertions, 20 deletions
diff --git a/world/map/npc/002-2/eurni.txt b/world/map/npc/002-2/eurni.txt index f965b84b..7e7254ed 100644 --- a/world/map/npc/002-2/eurni.txt +++ b/world/map/npc/002-2/eurni.txt @@ -2,40 +2,46 @@ 002-2,22,77,0|script|Eurni|136 { - set @SERVICES_ZENY, 10000; - set @halloween_npc_id, $@halloween_npc_eurni; callfunc "TrickOrTreat"; - if (BaseLevel < 10) goto L_TooYoung; - if (Zeny < @SERVICES_ZENY) goto L_NoMoney; - mes "[Eurni the Surgeon]"; mes "\"Are you tired of who you are?\""; next; - mes "\"Would you be interested in changing your sex?"; - mes "It'll cost ##B" + @SERVICES_ZENY + " GP##b.\""; + mes "\"Would you be interested in changing your sex?\""; next; menu - "Please do.", L_Change, + "Please do.", L_Change_Menu, "Leave my family treasures alone!", L_Close; -L_Change: - if (Zeny < @SERVICES_ZENY) - goto L_NoMoney; - set Zeny, Zeny - @SERVICES_ZENY; - set Sex, !Sex; - close; +L_Change_Menu: + menu + "Female.", L_Female, + "Male.", L_Male, + "Non-binary.", L_NonBinary; -L_TooYoung: - mes "[Eurni the Surgeon]"; - mes "\"Move along, kid.\""; +L_Female: + set @sex, 0; + goto L_Change; + +L_Male: + set @sex, 1; + goto L_Change; + +L_NonBinary: + set @sex, 3; + goto L_Change; + +L_Change: + if (Sex == @sex) + goto L_Already_Change; + set Sex, @sex; close; -L_NoMoney: +L_Already_Change: mes "[Eurni the Surgeon]"; - mes "\"You don't have the kind of money to pay for my services.\""; + mes "\"Umm, you are that gender already.\""; close; L_Close: diff --git a/world/map/npc/002-2/stranger.txt b/world/map/npc/002-2/stranger.txt index 0b47e716..8186636b 100644 --- a/world/map/npc/002-2/stranger.txt +++ b/world/map/npc/002-2/stranger.txt @@ -1,9 +1,12 @@ +// FIXME: this script is very cringeworthy and almost never clears the arrays so they just fill up +// also some arrays should be global (and npc vars later), not stored in every single player +// -> should GET RID of that fugly magic-secrets system; the answers are public anyway 002-2,38,57,0|script|Stranger|192 { set @IRONINGOT, 5; set @PINKANTENNA, 21; set @Exp, 20000; - setarray @towelReq$, "WhiteHitchhikersTowel","RedHitchhikersTowel","GreenHitchhikersTowel","BlueHitchhikersTowel","YellowHitchhikersTowel","PurpleHitchhikersTowel","OrangeHitchhikersTowel","PinkHitchhikersTowel","TealHitchhikersTowel","LimeHitchhikersTowel","HitchhikersTowel"; + setarray @towelReq$[0], "HitchhikersTowel"; if (FLAGS & FLAG_TOWEL_COMPLETED) goto L_Event_Done; if ((gettimetick(2)-TUT_var < 6*7*86400) || (BaseLevel < 42)) //player must be created at least 6 weeks ago and at least level 42 |