Ok I want to add one item to wsmith01.dlg (Cromwell's in case you are wondering)
I'm using the following code but in-game nothing happens. The entry seems to be skipped any ideas?
//==================================================
// Kron Hammer Upgrades
//==================================================
// SoA Content
EXTEND_TOP WSMITH01 13
IF ~PartyHasItem("KR_RUNEH")
PartyHasItem("KR_HAM1")~
THEN REPLY ~~ GOTO Hammer_Upgrade
END
APPEND WSMITH01
IF ~~ THEN BEGIN Hammer_Upgrade
SAY @280
=
@312
IF ~~ THEN REPLY @281
DO ~~ EXIT
IF ~PartyHasGoldGT(10001)~ THEN REPLY @282
DO ~TakePartyGold(10000)
DestroyGold(10000)
TakePartyItemNum("KR_HAM1",1)
DestroyItem("KR_HAM1")
TakePartyItemNum("KR_RUNEH",1)
DestroyItem("KR_RUNEH")
GiveItemCreate("KR_HAM2",Player1,1,1,1)
CreateVisualEffect("spcrtwpn",[401.348])~ EXIT
END
END
==========================
Cheers Kron
Adding to WSMITH01.dlg
Started by
-Arch_Angel-
, Oct 08 2002 02:13 AM
1 reply to this topic