EXTEND_TOP WSMITH01 13
  IF ~OR(2)
      PartyHasItem("bdbrac05")
      PartyHasItem("bdhelm16")
  ~ THEN GOTO Gel_Crom_Hub
END

APPEND WSMITH01

IF ~~ THEN BEGIN Gel_Crom_Hub
  SAY ~Hmmm... aye, I see ye have some unusual pieces here. Cromwell might be able to make something of them.~

  IF ~PartyHasItem("bdbrac05")~ THEN REPLY ~Can you improve these Stalker Gauntlets?~ GOTO Gel_StalkerGloves
  IF ~PartyHasItem("bdhelm16")~ THEN REPLY ~Can you improve this Circlet of Lost Souls?~ GOTO Gel_SoulCirclet

  IF ~~ THEN REPLY ~Never mind.~ GOTO 13
END

IF ~~ THEN BEGIN Gel_StalkerGloves
  SAY ~Aye, I could reinforce those gauntlets with an ankheg shell. It'll cost ye 15,000 gold.~

  IF ~PartyHasItem("bdbrac05") PartyHasItem("misc12") PartyGoldGT(14999)~
    THEN REPLY ~Yes, let's do it.~
    DO ~
      TakePartyGold(15000)
      DestroyGold(15000)
      TakePartyItemNum("bdbrac05",1)
      DestroyItem("bdbrac05")
      TakePartyItemNum("misc12",1)
      DestroyItem("misc12")
      SetGlobal("GelForgeItem","GLOBAL",1)
      SetGlobal("GelForgeStuff","GLOBAL",1)
    ~ GOTO 56

  IF ~PartyHasItem("bdbrac05") !PartyHasItem("misc12")~
    THEN REPLY ~What am I missing?~
    GOTO Gel_StalkerMissing

  IF ~PartyGoldLT(15000)~
    THEN REPLY ~I do not have enough gold.~
    GOTO Gel_Crom_Hub

  IF ~~ THEN REPLY ~Not right now.~ GOTO Gel_Crom_Hub
END

IF ~~ THEN BEGIN Gel_StalkerMissing
  SAY ~Ye still need an ankheg shell for this work.~
  IF ~~ THEN REPLY ~I see.~ GOTO Gel_Crom_Hub
END

IF ~~ THEN BEGIN Gel_SoulCirclet
  SAY ~Aye, I could combine the Circlet of Lost Souls with the Helm of Vhailor. It'll cost ye 15,000 gold.~

  IF ~PartyHasItem("bdhelm16") PartyHasItem("WA2HELM") PartyGoldGT(14999)~
    THEN REPLY ~Yes, let's do it.~
    DO ~
      TakePartyGold(15000)
      DestroyGold(15000)
      TakePartyItemNum("bdhelm16",1)
      DestroyItem("bdhelm16")
      TakePartyItemNum("WA2HELM",1)
      DestroyItem("WA2HELM")
      SetGlobal("GelForgeItem","GLOBAL",2)
      SetGlobal("GelForgeStuff","GLOBAL",1)
    ~ GOTO 56

  IF ~PartyHasItem("bdhelm16") !PartyHasItem("WA2HELM")~
    THEN REPLY ~What am I missing?~
    GOTO Gel_SoulMissing

  IF ~PartyGoldLT(15000)~
    THEN REPLY ~I do not have enough gold.~
    GOTO Gel_Crom_Hub

  IF ~~ THEN REPLY ~Not right now.~ GOTO Gel_Crom_Hub
END

IF ~~ THEN BEGIN Gel_SoulMissing
  SAY ~Ye still need the Helm of Vhailor for this work.~
  IF ~~ THEN REPLY ~I see.~ GOTO Gel_Crom_Hub
END

END