From 93545a7c2258dc414835e5af9c6fb4da9abbc59d Mon Sep 17 00:00:00 2001 From: Joseph Botosh Date: Fri, 30 Oct 2015 19:11:13 +0200 Subject: rename rumli to rumly --- db/const.txt | 2 +- db/quest_db.conf | 2 +- npc/000-2-1/_import.txt | 2 +- npc/000-2-1/rumli.txt | 114 ------------------------------------------------ npc/000-2-1/rumly.txt | 114 ++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 117 insertions(+), 117 deletions(-) delete mode 100644 npc/000-2-1/rumli.txt create mode 100644 npc/000-2-1/rumly.txt diff --git a/db/const.txt b/db/const.txt index 4a2ebe05e..3d75cc135 100644 --- a/db/const.txt +++ b/db/const.txt @@ -3438,7 +3438,7 @@ NPC_FLYING_PIOU 440 NPC_WATER_SPLASH 441 NPC_ALIGE_BARREL 442 NPC_BACCHUS 443 -NPC_RUMLI 444 +NPC_RUMLY 444 NPC_TEST1 800 NPC_PLAYER 801 NPC_SAVE_POINT 901 diff --git a/db/quest_db.conf b/db/quest_db.conf index 9d8210c57..09dfcb188 100644 --- a/db/quest_db.conf +++ b/db/quest_db.conf @@ -131,6 +131,6 @@ quest_db: ( }, { Id: 26 - Name: "General_Rumli" + Name: "General_Rumly" } ) diff --git a/npc/000-2-1/_import.txt b/npc/000-2-1/_import.txt index 032c5187d..9b97cf854 100644 --- a/npc/000-2-1/_import.txt +++ b/npc/000-2-1/_import.txt @@ -11,6 +11,6 @@ npc: npc/000-2-1/devis.txt npc: npc/000-2-1/hammock.txt npc: npc/000-2-1/knife.txt npc: npc/000-2-1/peter.txt -npc: npc/000-2-1/rumli.txt +npc: npc/000-2-1/rumly.txt npc: npc/000-2-1/q'onan.txt npc: npc/000-2-1/savepoint.txt diff --git a/npc/000-2-1/rumli.txt b/npc/000-2-1/rumli.txt deleted file mode 100644 index 3c0565e08..000000000 --- a/npc/000-2-1/rumli.txt +++ /dev/null @@ -1,114 +0,0 @@ -000-2-1,67,25,0 script Rumli NPC_RUMLI,{ - mesn; - mesq lg("Hello! Do you have any mushrooms?"); - .@visited = getq(General_StatsReset); - -L_Menu: - menu - rif(.@visited == 0, l("Who are you?")), L_FirstTime, - rif(.@visited > 0, lg("Can you reset my stats please?")), L_ResetStats, - lg("I should go, sorry."), -; - - if (.@visited != 2) goto L_Quit; - - mesn; - mesq lg("See you! And come back with mushrooms!"); - goto L_Quit; - -L_ResetStats: - if (.@visited == 1) goto L_ChangedMind; - - mesn; - mesq lg("Are you sure about this?"); - menu - lg("Yes, I am sure I want to reset my stats."), -, - rif(countitem(Plushroom) >= 1, lg("Yes, and I have even brought the mushrooms you like!")), -, - lg("No, I need to think about it a little bit more."), L_Later, - lg("I've just decided I will never reset my stats, sorry."), L_Never; - -L_GiveShrooms: - mesn; - mesq lg("Give me one @@ and we should start.", getitemlink(Plushroom)); - - menu - rif(countitem(Plushroom) >= 1, l("Of course! *give him one @@*", l(getitemname(Plushroom)))), -, - rif(countitem(Plushroom) == 0, lg("Sorry, I have no mushrooms with me")), L_Later, - lg("No way. I really should go."), L_Later; - - delitem Plushroom, 1; - mesn; - mesq lg("Thank you very much!"); - next; - mesq lg("Now stand still. It would not take much time..."); - next; - .@wasSP = StatusPoint; - resetstatus; - if (StatusPoint == .@wasSP) goto L_NothingToReset; - mesq lg("Let's see. Your @@ status points have just been reset.", StatusPoint - .@wasSP); - next; - mesn; - mesq lg("Spend it wisely this time."); - next; - mesq lg("But you are welcome to reset your stats again if you will bring me more mushrooms!"); - goto L_Quit; - -L_NothingToReset: - mesn; - mesq l("It seems that you have no status points to be reset!"); - next; - mesq lg("But mushrooms you have brought are really awesome you know."); - next; - mesq lg("Come back when you will have status points to be reset. And bring more mushrooms!"); - goto L_Quit; - -L_ChangedMind: - mesn; - mesq lg("Changed your mind, uh?"); - menu - lg("Yes, I really need my stats to be reset."), -, - lg("Sorry, I've just realized that I still do not need my stats reset."), L_Never, - rif(countitem(Plushroom) >= 1, lg("I have brought some mushrooms to you!")), L_GiveShrooms; - - mesn; - mesq lg("Very good!"); - setq General_StatsReset, 2; - .@visited = 2; - next; - goto L_ResetStats; - -L_FirstTime: - mesn; - mesq lg("I am Rumli, the one who likes mushrooms so much!"); - next; - mesq lg("Also I can make your stats clean! Just like fresh mushrooms..."); - menu - lg("Sounds well! I think I could get you that mushrooms"), -, - rif(countitem(Plushroom) >= 1, lg("I already have some mushrooms you like so much.")), -, - lg("I have no time for collecting mushrooms right now. We should talk later."), L_Later, - lg("I will never need to reset my stats because I am sure I am doing right!"), L_Never; - - mesn; - mesq lg("Great! Can't wait for tasty mushrooms!"); - next; - goto L_Menu; - -L_Later: - setq ShipQuests_Rumli, 2; - mesn; - mesq lg("Come back soon! And bring the mushrooms with you!"); - goto L_Quit; - -L_Never: - setq ShipQuests_Rumli, 1; - mesn; - mesq lg("I am sure you will change your mind."); - goto L_Quit; - -L_Quit: - next; - goodbye; - -OnInit: - .sex = G_MALE; - end; -} diff --git a/npc/000-2-1/rumly.txt b/npc/000-2-1/rumly.txt new file mode 100644 index 000000000..b10c06dce --- /dev/null +++ b/npc/000-2-1/rumly.txt @@ -0,0 +1,114 @@ +000-2-1,67,25,0 script Rumly NPC_RUMLY,{ + mesn; + mesq lg("Hello! Do you have any mushrooms?"); + .@visited = getq(General_StatsReset); + +L_Menu: + menu + rif(.@visited == 0, l("Who are you?")), L_FirstTime, + rif(.@visited > 0, lg("Can you reset my stats please?")), L_ResetStats, + lg("I should go, sorry."), -; + + if (.@visited != 2) goto L_Quit; + + mesn; + mesq lg("See you! And come back with mushrooms!"); + goto L_Quit; + +L_ResetStats: + if (.@visited == 1) goto L_ChangedMind; + + mesn; + mesq lg("Are you sure about this?"); + menu + lg("Yes, I am sure I want to reset my stats."), -, + rif(countitem(Plushroom) >= 1, lg("Yes, and I have even brought the mushrooms you like!")), -, + lg("No, I need to think about it a little bit more."), L_Later, + lg("I've just decided I will never reset my stats, sorry."), L_Never; + +L_GiveShrooms: + mesn; + mesq lg("Give me one @@ and we should start.", getitemlink(Plushroom)); + + menu + rif(countitem(Plushroom) >= 1, l("Of course! *give him one @@*", l(getitemname(Plushroom)))), -, + rif(countitem(Plushroom) == 0, lg("Sorry, I have no mushrooms with me")), L_Later, + lg("No way. I really should go."), L_Later; + + delitem Plushroom, 1; + mesn; + mesq lg("Thank you very much!"); + next; + mesq lg("Now stand still. It would not take much time..."); + next; + .@wasSP = StatusPoint; + resetstatus; + if (StatusPoint == .@wasSP) goto L_NothingToReset; + mesq lg("Let's see. Your @@ status points have just been reset.", StatusPoint - .@wasSP); + next; + mesn; + mesq lg("Spend it wisely this time."); + next; + mesq lg("But you are welcome to reset your stats again if you will bring me more mushrooms!"); + goto L_Quit; + +L_NothingToReset: + mesn; + mesq l("It seems that you have no status points to be reset!"); + next; + mesq lg("But mushrooms you have brought are really awesome you know."); + next; + mesq lg("Come back when you will have status points to be reset. And bring more mushrooms!"); + goto L_Quit; + +L_ChangedMind: + mesn; + mesq lg("Changed your mind, uh?"); + menu + lg("Yes, I really need my stats to be reset."), -, + lg("Sorry, I've just realized that I still do not need my stats reset."), L_Never, + rif(countitem(Plushroom) >= 1, lg("I have brought some mushrooms to you!")), L_GiveShrooms; + + mesn; + mesq lg("Very good!"); + setq General_StatsReset, 2; + .@visited = 2; + next; + goto L_ResetStats; + +L_FirstTime: + mesn; + mesq lg("I am Rumly, the one who likes mushrooms so much!"); + next; + mesq lg("Also I can make your stats clean! Just like fresh mushrooms..."); + menu + lg("Sounds well! I think I could get you that mushrooms"), -, + rif(countitem(Plushroom) >= 1, lg("I already have some mushrooms you like so much.")), -, + lg("I have no time for collecting mushrooms right now. We should talk later."), L_Later, + lg("I will never need to reset my stats because I am sure I am doing right!"), L_Never; + + mesn; + mesq lg("Great! Can't wait for tasty mushrooms!"); + next; + goto L_Menu; + +L_Later: + setq ShipQuests_Rumly, 2; + mesn; + mesq lg("Come back soon! And bring the mushrooms with you!"); + goto L_Quit; + +L_Never: + setq ShipQuests_Rumly, 1; + mesn; + mesq lg("I am sure you will change your mind."); + goto L_Quit; + +L_Quit: + next; + goodbye; + +OnInit: + .sex = G_MALE; + end; +} -- cgit v1.2.3-60-g2f50