A very preliminary sketch of how I'd imagine the Quoningar quest to be restored. The only real difficult thing here is that there aren't any good war hammers to reward (war hammer +1 would be worth less than 2 potions of magic blocking, but I think it'd be the better reward). The rep increase is also questionable.// maybe gnome or half-elf?
COPY_EXISTING ~~ ~OVERRIDE/U!QUONIN.CRE~
SAY 0x8 ~Quoningar~
SAY 0xc ~Quoningar~
// check generic stats
// probably INNOCENT class
// scripts: SHOUT, maybe PRIEST*, WTASIGHT (or should run?)
// dlg: QUONIN
// have hammer equipped (possibly not wielded)
// have potions quick item (or just GiveItemCreate())
<<<<<<<< .../bg1ub/eb_ar1234.baf
IF
Global("UB_QUONIN_SPAWN","GLOBAL",1)
!Exists("U!QUONIN")
!Dead("U!QUONIN")
Global("UB_HelpQuoningar","GLOBAL",0)
THEN
RESPONSE #100
CreateCreature("U!QUONIN",[0.0],0)
ActionOverride("U!QUONIN",Face(0))
SetGlobal("UB_QUONIN_SPAWN","GLOBAL",1)
END
>>>>>>>>
EXTEND_BOTTOM AR1234.BCS ~.../bg1ub/eb_ar1234.baf~
BEGIN QUONIN
IF WEIGHT #1 ~NumTimesTalkedTo(0)
ReactionLT(LastTalkedToBy,8)~ 0
SAY #15528 /* ~Do not disturb the meditations of the holy.~ */
IF ~~ EXIT
END
IF WEIGHT #2 ~NumTimesTalkedTo(0)
ReactionGT(LastTalkedToBy,7)~ 1
SAY #15532 /* ~It is hard for me to pursue my meditations in the bustle of this city. Could I ask your assitance in obtaining a potion of mind focusing?~ */
IF ~~ DO ~SetGlobal("UB_HelpQuonin","GLOBAL",2)~ JOURNAL #15809 /* ~The priest Quoningar, apparently as unused to the city's endless bustle as myself, is looking for a potion of mind focusing. Without it, I doubt if he will ever finish his meditations...~ */ EXIT
END
IF WEIGHT #5 ~Global("UB_HelpQuoningar","GLOBAL",2)
!PartyHasItem("POTN37")~ 2
SAY #15538 /* ~Please, unless you have a potion of mind focusing, I must return to my near-futile motivations.~ */
IF ~~ EXIT
END
// hammer +1 maybe not work so well
IF WEIGHT #3 ~Global("UB_HelpQuoningar","GLOBAL",2)
ReactionGT(LastTalkedToBy,14)
PartyHasItem("POTN37")~ 3
SAY #15539 /* ~For all its many brutalities, I am grateful to have found people such as yourselves to soften this city's rougher edges. You may call me Quoningar, if you will. Please, take this hammer of mine to remember me by when next you venture into battle.~ */
IF ~~ DO ~TakePartyItem("POTN37")
AddexperienceParty(500)
SetGlobal("UB_HelpQuoningar","GLOBAL",1)
GiveItem("HAMM02",LastTalkedToBy)
//ReputationInc(1) -- I think not?~ EXIT // Finished JOURNAL ??
END
// Turns out, potions of magic blocking worth more than hammer +1
IF WEIGHT #4 ~Global("UB_HelpQuoningar","GLOBAL",2)
ReactionLT(LastTalkedToBy,15)
PartyHasItem("POTN37")~ 4
SAY #15540 /* ~For all its many brutalities, I am grateful to have found people such as yourselves to soften this city's rougher edges. You may call me Quoningar, if you will. Please, take these potions of magic blocking. I get the sense that one could need them in these streets.~ */
IF ~~ DO ~TakePartyItem("POTN37")
AddexperienceParty(500)
SetGlobal("UB_HelpQuoningar","GLOBAL",1)
GiveItem("POTN33",LastTalkedToBy)
GiveItem("POTN33",LastTalkedToBy)
//ReputationInc(1) -- I think not?~ EXIT // Finished JOURNAL ??
END
IF WEIGHT #0 ~StateCheck(Myself,8192)~ 5
SAY #15541 /* ~This city scares me, friend. Every day I stay here, I grow more concerned.~ */
IF ~~ EXIT
END
IF ~~ 6 // HOSTILE string reference (these are always False()d -- set as 0x198 in creature def)
SAY #15542 /* ~I cannot bear this city but perhaps it would be more enjoyable without you around!~ */
IF ~~ EXIT
END