diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-10 08:38:06 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-10 08:38:06 -0300 |
commit | 2dea206938d578f94a1489d26f30fed82bfa94b2 (patch) | |
tree | 3c02f3969d7a47e2fd4fd683c5091ef172dee37b | |
parent | 8f8a8d051ae8720a27e0b525341b068ac1d3a2ea (diff) | |
download | serverdata-2dea206938d578f94a1489d26f30fed82bfa94b2.tar.gz serverdata-2dea206938d578f94a1489d26f30fed82bfa94b2.tar.bz2 serverdata-2dea206938d578f94a1489d26f30fed82bfa94b2.tar.xz serverdata-2dea206938d578f94a1489d26f30fed82bfa94b2.zip |
Sketch up Nunia's dialog.
-rw-r--r-- | npc/001-3-2/henry.txt | 4 | ||||
-rw-r--r-- | npc/008-3-5/nunia.txt | 52 |
2 files changed, 54 insertions, 2 deletions
diff --git a/npc/001-3-2/henry.txt b/npc/001-3-2/henry.txt index 136259f6..8e5c3a87 100644 --- a/npc/001-3-2/henry.txt +++ b/npc/001-3-2/henry.txt @@ -1,9 +1,10 @@ // Evol scripts. // Author: // Micksha +// Jesusalva // Description: // Henry, a Brotherhood member managing the Hideout in Artis. -// THIS IS A PLACEHOLDER! +// TODO: Koga-related functions (possibly in another NPC) 001-3-2,24,51,0 script Henry#001-3-2 NPC_HENRY,{ function proposeFirstQuest; @@ -213,6 +214,7 @@ function reportSecondQuest { // TODO: If we add a daily legion quest, it must be "redemption"~ish // That is, destroy points from all other three factions + // ...Also, is *this* specific code a good idea at all? .@t$=faction_addrep("Legion", -15); mesc .@t$; .@t$=faction_addrep("Thief", 15); diff --git a/npc/008-3-5/nunia.txt b/npc/008-3-5/nunia.txt index 99751009..af0b8e32 100644 --- a/npc/008-3-5/nunia.txt +++ b/npc/008-3-5/nunia.txt @@ -6,12 +6,62 @@ // THIS IS A PLACEHOLDER! 008-3-5,50,35,0 script Nunia NPC_NUNIA,{ + function nuniaIntruder; + function nuniaHenry; + function nuniaBegin; + + // What do we have here? + .@q=getq(ThiefQuests_Artis); + switch (.@q) { + case 7: + nuniaHenry(); + break; + case 8: + case 9: + nuniaBegin(); + break; + default: + nuniaIntruder(); + break; + } + close; + +/////////////////////////////////////////////////////////////////////////////// +function nuniaIntruder { + speech + l("Who dares to enter this cave? Who are you?"), + l("At least, you look peaceful."), + lg("Let's do like this: You leave me alone, and I don't mess with you. Deal?"); + select + l("Deal."), + l("No deal, I'm going to report you to authorities!"); + mes ""; + // Some meta option/dialog to improve the immersion + if (@menu == 2) { + mesn; + mesq l("There's only one problem, you know..."); + next; + mesn; + mesq l("The dead can't speak."); + percentheal -100, -100; + } + return; +} + +function nuniaHenry { + mesn; + mesq l("Henry? Micksha and Jesusalva told me nothing of that."); + return; +} + +function nuniaBegin { speech l("Who dares to enter this cave? Who are you?"), l("At least, you look peaceful. And I see by your fingers that you can deal with lockpicks."), l("I am going to teach you all what a thief needs to know, later"), l("Call for Micksha and Jesusalva to implement all this, please."); - close; + return; +} OnInit: .sex = G_FEMALE; |