Author Topic: Wilton, Farmer Brun's Neighbor  (Read 6338 times)

Offline icelus

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 3173
  • Gender: Male
Wilton, Farmer Brun's Neighbor
« on: February 12, 2006, 11:03:23 PM »
I don't recall this old man:

Quote
BEGIN ~WILTON~ 106 // non-zero flags may indicate non-pausing dialogue
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #3 /* Triggers after states #: 2 even though they appear after this state */
~NumTimesTalkedTo(0)
Global("GaveAnkheg","GLOBAL",1)
~ THEN BEGIN 0 // from:
  SAY ~Stop a second there young'n, 'cause I heard what you gone and done for old Brun.  It made me ashamed that I didn't try to help him myself.  Good to know there's still someone willin' to go the extra mile, even for a stranger.  I want you to have this heirloom of mine, because of what you did.  Now my heirs didn't loom so big, but you ought to get more use out o' it than my mantle does.  Folks like you make a jaded old man think there's still decent people out there.~ /* #106 */
  IF ~~ THEN DO ~GiveItem("CLCK03",LastTalkedToBy)
~ JOURNAL ~A man named Wilton gave me a reward for helping that old farmer, Brun.  What goes around, comes around I guess.~ /* #5833 */ EXIT
END

IF ~~ THEN BEGIN 1 // from:
  SAY ~Sorry youngin', but I gotta lot of farming to do.~ /* #6431 */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 2 // from:
  SAY ~Only thing exciting happenin' 'round these parts are the bandit raids.  I'll warn ya now friend: I wouldn't try to mess with them bandits, I hear they're a real nasty bunch.~ /* #6432 */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 3 // from:
  SAY ~Leave me be.  I got nothin' for you.~ /* #9036 */
  IF ~~ THEN EXIT
END
<Moongaze> Luckily BWL has a very understanding and friendly admin.

Offline icelus

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 3173
  • Gender: Male
Re: Wilton, Farmer Brun's Neighbor
« Reply #1 on: March 05, 2006, 10:28:36 PM »
See wilton.cre
<Moongaze> Luckily BWL has a very understanding and friendly admin.

Offline Echon

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1944
  • Gender: Male
    • The Fields of the Dead
Re: Wilton, Farmer Brun's Neighbor
« Reply #2 on: March 06, 2006, 01:04:11 AM »
Being a farmer on the Sword Coast cannot be that bad what with all the magical items they are hoarding. I suggest that the party should only be given the Flail +1 or the Cloak of Displacement (and is it not already being sold in Ulgoth's Beard?). Perhaps one of the rewards could be replaced with a potion or scroll.

-Echon

Offline SixOfSpades

  • Planewalker
  • *****
  • Posts: 821
  • Gender: Male
    • Volothamp's Comeuppance
Re: Wilton, Farmer Brun's Neighbor
« Reply #3 on: March 06, 2006, 04:45:11 PM »
But where would Wilton live? All the other homes are spoken for, unless he's rooming with one of the fishermen, and if I were him I wouldn't fancy randomly wandering about farmlands known to be infested with giant insects that kill Humans and drag them underground to be eaten.

Odd that the reward is so nonspecific. Just about anything could look good on a mantelpiece. Do you think the [Global("GaveAnkheg","GLOBAL",1)] implies that Wilton gives you an Ankheg shell? That's pretty pathetic, considering that you just killed about 14 of the damn things. For a more appropriate reward, I'd suggest a nearly-depleted Wand of the Heavens or some such.

Offline icelus

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 3173
  • Gender: Male
Re: Wilton, Farmer Brun's Neighbor
« Reply #4 on: March 11, 2006, 09:39:14 PM »
Change clck03 to clck01
<Moongaze> Luckily BWL has a very understanding and friendly admin.

Offline icelus

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 3173
  • Gender: Male
Re: Wilton, Farmer Brun's Neighbor
« Reply #5 on: March 11, 2006, 09:43:30 PM »
I think I'll add him to AR1403 [471.272],6
« Last Edit: March 11, 2006, 09:50:47 PM by icelus »
<Moongaze> Luckily BWL has a very understanding and friendly admin.

Offline icelus

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 3173
  • Gender: Male
Re: Wilton, Farmer Brun's Neighbor
« Reply #6 on: March 11, 2006, 10:08:08 PM »
Alright, was able to knock this one out, too.

tp2 code:
Code: [Select]
/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\
/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\
/////                                                  \\\\\
///// Wilton, Farmer Brun's Neighbor                   \\\\\
/////                                                  \\\\\
/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\
/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\

BEGIN ~Wilton, Farmer Brun's Neighbor~

COPY_EXISTING WILTON.CRE OVERRIDE
ADD_CRE_ITEM ~CLCK01~ #1 #0 #0 ~NONE~ ~INV1 INV2~ // Adds Cloak of Protection +1
WRITE_ASCII 0x2cc ~UBWILTON~                      // Assigns edited dialog file
WRITE_ASCII 0x280 ~Wilton~                        // Assigns death variable
WRITE_SHORT 0x240 0x03                            // Fix his morale setting
BUT_ONLY_IF_IT_CHANGES

COMPILE ~bg1ub/wilton/ubwilton.d~

<<<<<<<< .../bg1ub/ub_ar1403.baf
IF
Global("UB_WILTON_SPAWN","GLOBAL",0)
!Exists("Wilton")
!Dead("Wilton")
THEN
RESPONSE #100
CreateCreature("WILTON",[471.272],6)
SetGlobal("UB_WILTON_SPAWN","GLOBAL",1)
END
>>>>>>>>
EXTEND_BOTTOM AR1403.BCS ~.../bg1ub/ub_ar1403.baf~

revised .d code:
Code: [Select]
BEGIN ~UBWILTON~

IF ~Global("GaveAnkheg","GLOBAL",0)~ THEN BEGIN NotHelpedBrunYet
  SAY #9036 /* ~Leave me be.  I got nothin' for you.~ */
  IF ~~ THEN EXIT
END

IF ~Global("GaveAnkheg","GLOBAL",1)
Global("UBWiltonGaveCloak","GLOBAL",0)~ THEN BEGIN BrunHelped
  SAY #106 /* ~Stop a second there young'n, 'cause I heard what you gone and done for old Brun.  It made me ashamed that I didn't try to help him myself.  Good to know there's still someone willin' to go the extra mile, even for a stranger.  I want you to have this heirloom of mine, because of what you did.  Now my heirs didn't loom so big, but you ought to get more use out o' it than my mantle does.  Folks like you make a jaded old man think there's still decent people out there.~ */
  IF ~~ THEN DO ~GiveItem("CLCK01",LastTalkedToBy)
SetGlobal("UBWiltonGaveCloak","GLOBAL",1)
~ JOURNAL #5833 /* ~A man named Wilton gave me a reward for helping that old farmer, Brun.  What goes around, comes around I guess.~ */ EXIT
END

IF ~Global("UBWiltonGaveCloak","GLOBAL",1)~ THEN BEGIN Ciao
  SAY ~Sorry young'n, but I gotta lot of farming to do.~
  IF ~~ THEN DO ~EscapeArea()~ EXIT
END

IF ~StateCheck(Myself,STATE_CHARMED)~ THEN BEGIN Charmed
  SAY #6432 /* ~Only thing exciting happenin' 'round these parts are the bandit raids.  I'll warn ya now friend: I wouldn't try to mess with them bandits; I hear they're a real nasty bunch.~ */
  IF ~~ THEN EXIT
END

<Moongaze> Luckily BWL has a very understanding and friendly admin.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: