IF
    Global("DMWWkangaxxwalks","GLOBAL",1)
    !InMyArea("hldemi")  // Kangaxx the Demilich
    !Dead("hldemi")  // Kangaxx the Demilich
    InMyArea(Player1)
THEN
    RESPONSE #100
        MoveGlobalObject("hldemi",Player1)  // Kangaxx the Demilich
END

IF
    Global("ForgeItem","GLOBAL",1)
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        TakePartyItem("scaleb")  // Shadow Dragon Scales
        GiveItemCreate("leat19",Player1,0,0,0)  // Shadow Dragon Scale
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("ForgeItem","GLOBAL",2)
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        TakePartyItem("scaler")  // Red Dragon Scales
        GiveItemCreate("plat18",Player1,0,0,0)  // Red Dragon Scale
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("ForgeItem","GLOBAL",3)
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        TakePartyItemNum("misc12",1)  // Ankheg Shell
        GiveItemCreate("plat06",Player1,0,0,0)  // Ankheg Plate Mail
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("ForgeItem","GLOBAL",4)
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        TakePartyItem("scrlag")  // Crom Faeyr Scroll
        TakePartyItem("hamm07")  // Hammer of Thunderbolts +3
        TakePartyItem("brac06")  // Hands of Takkok
        TakePartyItem("belt08")  // Girdle of Frost Giant Strength
        GiveItemCreate("hamm09",Player1,0,0,0)  // Crom Faeyr +5
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("ForgeItem","GLOBAL",5)
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        TakePartyItem("sw1h54a")  // Hilt of the Equalizer
        TakePartyItem("sw1h54b")  // Blade of the Equalizer
        TakePartyItemNum("SW1H54C",1)  // Pommel Jewel of the Equalizer
        GiveItemCreate("sw1h54",Player1,0,0,0)  // The Equalizer
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("ForgeItem","GLOBAL",6)
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        TakePartyItem("bow19a")  // Gesen Bow Shaft
        TakePartyItem("bow19b")  // Gesen Bowstring
        GiveItemCreate("bow19",Player1,0,0,0)  // Shortbow of Gesen
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("ForgeItem","GLOBAL",7)
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        TakePartyItem("halb09a")  // Wave Shaft
        TakePartyItem("halb09b")  // Wave Blade
        GiveItemCreate("halb09",Player1,0,0,0)  // Wave +4
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("ForgeItem","GLOBAL",8)
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        TakePartyItem("misc8u")  // Silver Blade
        TakePartyItem("sw2h15a")  // Silver Hilt
        GiveItemCreate("sw2h15",Player1,0,0,0)  // Silver Sword
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("ForgeItem","GLOBAL",9)
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        TakePartyItem("misc5k")  // Illithium Ore
        TakePartyItem("blun12")  // Mace of Disruption +1
        GiveItemCreate("blun25",Player1,0,0,0)  // Mace of Disruption +2
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("GelItemUp","ar0334",2)  // Cromwell's Shop
    Global("ForgeItem","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeItem","GLOBAL",0)
        SetGlobal("XO#Craft","ar0334",1)  // Cromwell's Shop
        GiveItemCreate("Gehelm16",Player1,1,1,1)  // Circlet of soul control
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("GelItemUp","ar0334",1)  // Cromwell's Shop
    Global("ForgeItem","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeItem","GLOBAL",0)
        SetGlobal("XO#Craft","ar0334",1)  // Cromwell's Shop
        GiveItemCreate("Gebrac05",Player1,1,1,1)  // Ankheg Plated Stalker Gauntlets
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("RR#Items","ar0334",1)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("RR#Items","ar0334",0)  // Cromwell's Shop
        SetGlobal("RR#Craft","ar0334",1)  // Cromwell's Shop
        GiveItemCreate("RR#BUC11",Player1,1,0,0)  // Blazing Glory
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("RR#Items","ar0334",2)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("RR#Items","ar0334",0)  // Cromwell's Shop
        SetGlobal("RR#Craft","ar0334",1)  // Cromwell's Shop
        GiveItemCreate("RR#FDAR2",Player1,0,0,0)  // Returning Frost Dart +3
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("RR#Items","ar0334",3)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("RR#Items","ar0334",0)  // Cromwell's Shop
        SetGlobal("RR#Craft","ar0334",1)  // Cromwell's Shop
        GiveItemCreate("RR#KEEP2",Player1,0,3,1)  // Keeper of the Law +3
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("RR#Items","ar0334",4)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("RR#Items","ar0334",0)  // Cromwell's Shop
        SetGlobal("RR#Craft","ar0334",1)  // Cromwell's Shop
        GiveItemCreate("RR#WEAR2",Player1,0,0,0)  // The Weary Cudgel +3
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("RR#Items","ar0334",5)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("RR#Items","ar0334",0)  // Cromwell's Shop
        SetGlobal("RR#Craft","ar0334",1)  // Cromwell's Shop
        GiveItemCreate("RR#RWAR2",Player1,3,0,0)  // Rogue's Ward +3
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("RR#Items","ar0334",6)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("RR#Items","ar0334",0)  // Cromwell's Shop
        SetGlobal("RR#Craft","ar0334",1)  // Cromwell's Shop
        GiveItemCreate("RR#STON2",Player1,0,0,0)  // Stonesmasher +3
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",1)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("quiver04",Player1,0,0,0)  // Case of Plenty +2
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",2)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("helm30",Player1,3,0,0)  // Thieves' Hood
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",3)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("helm32",Player1,3,0,0)  // Helm of the Rock
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",4)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("brac25",Player1,0,0,0)  // Wondrous Gloves
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",5)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("brac23",Player1,1,1,0)  // Blessed Bracers
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",6)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("tome02",Player1,1,0,0)  // Clay Golem Manual
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",7)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("clck31",Player1,0,0,0)  // Improved Cloak of Protection +2
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",8)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("chan20",Player1,3,0,0)  // White Dragon Scale
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",9)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("chan19",Player1,0,0,0)  // Aslyferund Elven Chain +5
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",10)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("slng09",Player1,0,1,0)  // Erinne Sling +5
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",11)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("quiver03",Player1,0,0,0)  // Quiver of Plenty +2
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",12)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("blun30c",Player1,0,0,0)  // Flail of Ages +4
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",13)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("blun27",Player1,0,0,0)  // Club of Detonation +5
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",14)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("sper12",Player1,0,0,0)  // Ixil's Spike +6
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

IF
    Global("CDItems","ar0334",15)  // Cromwell's Shop
    Global("ForgeStuff","GLOBAL",1)
THEN
    RESPONSE #100
        SetGlobal("ForgeStuff","GLOBAL",0)
        SetGlobal("CDItems","ar0334",0)  // Cromwell's Shop
        SetGlobal("ForgeItem","GLOBAL",999)
        GiveItemCreate("dagg22",Player1,0,0,0)  // Dagger of the Star +5
        ActionOverride("wsmith01",StartDialogueNoSet([PC]))
END

