diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-07-07 20:36:00 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-07-07 20:36:00 -0300 |
commit | 6967b9e0b63d19141d4f59b7933a960ac81916d0 (patch) | |
tree | 8ecd9cd2461f3598cb7faece71eb77162aa4ef2a /npc/031-2/cindyHouse.txt | |
parent | 9877fd4ad81120af8e63e96d5d429092014dc017 (diff) | |
parent | 046c659193e1ca8bd13478678d1277df8bf9395c (diff) | |
download | serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.tar.gz serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.tar.bz2 serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.tar.xz serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.zip |
Merge branch 'master' into legacy
Override all files with 'master' version.
This version is meant to preserve git history as requested by bjorn.
Diffstat (limited to 'npc/031-2/cindyHouse.txt')
-rw-r--r-- | npc/031-2/cindyHouse.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/npc/031-2/cindyHouse.txt b/npc/031-2/cindyHouse.txt new file mode 100644 index 00000000..798d4037 --- /dev/null +++ b/npc/031-2/cindyHouse.txt @@ -0,0 +1,43 @@ + +031-2,27,26,0 script Cindy#house NPC197,{ + if (getq(KaizeiQuest_Cindy) > 3) goto L_Happy_Random; + + mes "..."; + goto L_close; + +L_Happy_Random: + getinventorylist; + @candy = rand(50); + if (@inventorylist_count < 100 && @candy == 42) + goto L_Candy; + + setarray @quote_Cindy$, "Thank you so much for rescuing me!", + "My mother made really tasty cookies yesterday. But I already ate them all...", + "I want to go ice skating tomorrow. That will be fun!", + "I wonder when Daddy will come home next time. He always brings exciting stuff!", + strcharinfo(0) + "! You're my hero!", + "My mother is so upset about the Yetis - they are very very shy usually. You have to be lucky to see one. I wonder what's wrong with them.", + "When I'm a little older, I want to travel like you and my father. I want to see every place on the world!", + "Did you ever meet Santa? He's very kind! He always gives me some candy when we go to see him.", + strcharinfo(0) + ", you are sooo strong! Amazing! But my dad is strong too!"; + @random = rand(9); + if (@random != 5) + emotion EMOTE_HAPPY, strcharinfo(0); + @quote$ = "\"" + @quote_Cindy$[@random] + "\""; + mes "[Cindy]"; + mes @quote$; + goto L_close; + +L_Candy: + mes "[Cindy]"; + mes "\"Santa gave me some candy! Please, take that!\""; + getitem "Candy", 1; + goto L_close; + +L_close: + @candy = 0; + @inventorylist_count = 0; + @random = 0; + @quote$ = ""; + close; +} |