SCTX |
scn DL9TransmuteGoldSCRIPT
begin ScriptEffectStart
if player.getItemCount Gem0GoldNugget >= 1
player.additem gold001 50 ;Add gold to player inventory
Message "You transmute a gold nugget into coins."
player.removeItem Gem0GoldNugget 1
else
if player.getItemCount Gem0SilverNugget >= 1
player.additem Gem0GoldNugget 1 ;Add gold nugget to inventory
Message "You transmute a silver nugget into gold"
player.removeItem Gem0SilverNugget 1
else
if player.getItemCount DL9Gem0IronNugget >= 1
player.additem Gem0SilverNugget 1 ;add silver nugget to inventory
Message "You transmute iron ore into silver"
player.removeItem DL9Gem0IronNugget 1
else
Message "With nothing to transmute, the scroll is wasted."
endif
endif
endif
end |