diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-08 10:35:52 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-08 10:35:52 -0300 |
commit | 192313ec4b2dc2ef78f4ffdd93d7e8ad3af1bc71 (patch) | |
tree | f43f395443d9abaa24e4f100d24a595debc09664 | |
parent | 0c6be55b280d8446d6fa3a82842aa17d55f8a70a (diff) | |
download | serverdata-192313ec4b2dc2ef78f4ffdd93d7e8ad3af1bc71.tar.gz serverdata-192313ec4b2dc2ef78f4ffdd93d7e8ad3af1bc71.tar.bz2 serverdata-192313ec4b2dc2ef78f4ffdd93d7e8ad3af1bc71.tar.xz serverdata-192313ec4b2dc2ef78f4ffdd93d7e8ad3af1bc71.zip |
Randomness improvements to lockpicking
Sketch some of Henry dialog
-rw-r--r-- | npc/001-3-2/henry.txt | 19 | ||||
-rw-r--r-- | npc/functions/lockpicks.txt | 8 |
2 files changed, 22 insertions, 5 deletions
diff --git a/npc/001-3-2/henry.txt b/npc/001-3-2/henry.txt index 91a2a2d7..cd586853 100644 --- a/npc/001-3-2/henry.txt +++ b/npc/001-3-2/henry.txt @@ -37,7 +37,7 @@ case 8: reportFirstQuest(); break; - case 9: + default: completedHenry(); break; } @@ -52,22 +52,39 @@ l("Call for Micksha and Jesusalva to implement all this, please."); return; } + function reportFirstQuest { return; } /////////////////////////////////////////////////////// function proposeSecondQuest { + speech + l("Ah, its you again. Welcome back."), + l("So, if you want to go to Hurnscald, just whistle on the beach."), // FIXME Not Koga? Talk to another NPC, though. + l("Anyway, I stil could use your help! You see, I would like to play tricks on the legion members during the night."), + l("For this, I would like you to to repair the secret passage to the Legion Building."), + l("Don't use the passage, you're not skilled enough and will be busted! Just repair it, it'll be enough."); + mesc l("You suspect that he is withholding information. Do he really only wants to do pranks? But then, do you care with what he wants to do inside?"); return; } + function reportSecondQuest { return; } /////////////////////////////////////////////////////// function proposeThirdQuest { + speech + l("Thanks for the help the other day."), + l("I have a beloved friend called Nunia, who handles the Thieves' Guild branch in Hurnscald."), + l("What, you thought we wouldn't have an organization and structure? Please. We can even smuggle in a major ship route!"), + l("Anyway, I haven't heard about her from quite a while, which is concerning."), + l("Could you please go there see if she is well?"), + l("I'll give you something... useful... If you want to pursue in being a thief. I'll even put a good word about you."); return; } + function reportThirdQuest { return; } diff --git a/npc/functions/lockpicks.txt b/npc/functions/lockpicks.txt index 3cfdde2f..f4ebc012 100644 --- a/npc/functions/lockpicks.txt +++ b/npc/functions/lockpicks.txt @@ -73,8 +73,8 @@ function script LockPicking { l("Give up!"), 0; if (!@menuret) { - // 25% chance to save the lockpick - if (rand2(1,4) == 2) + // 50% chance to save the lockpick + if (rand2(2) == 1) getitem Lockpicks, 1; else dispbottom l("The lockpick broke."); @@ -100,8 +100,8 @@ function script LockPicking { break; if (@pos >= .@d) { - // 20% chance to save the lockpick - if (rand2(1,5) == 3) + // 33% chance to save the lockpick + if (rand2(3) == 1) getitem Lockpicks, 1; else dispbottom l("The lockpick broke."); |