SCTX |
scn NDArmorBootsSCRIPT
ref tempRef
begin OnEquip player
if getPCInfamy > 1
MessageBox "You are unable to equip the holy armor. Walk the Pilgrim's Way to repent of your sins and once again seek the favor of the gods."
set tempRef to GetContainer
tempRef.unequipitem NDArmorHeavyBoots1 1
tempRef.unequipitem NDArmorHeavyBoots2 1
tempRef.unequipitem NDArmorHeavyBoots3 1
tempRef.unequipitem NDArmorHeavyBoots4 1
tempRef.unequipitem NDArmorHeavyBoots5 1
tempRef.unequipitem NDArmorLightBoots1 1
tempRef.unequipitem NDArmorLightBoots2 1
tempRef.unequipitem NDArmorLightBoots3 1
tempRef.unequipitem NDArmorLightBoots4 1
tempRef.unequipitem NDArmorLightBoots5 1
else
set ND00.BootsEquipped to 1
Player.SetFactionRank NDPredators 0
Player.AddSpell NDAbWoodlandGrace ; empty script, used only to put name in spell list
endif
end
begin OnUnequip player
; NOTE: Any changes here need to be reflected in ND00 stages, which are used when placing armor on the armor stand
set ND00.BootsEquipped to 0
Player.SetFactionRank NDPredators -1
Player.RemoveSpell NDAbWoodlandGrace ; empty script, used only to put name in spell list
end
begin OnDrop player
set ND00.BootsCarried to 0
end
begin OnAdd player
set ND00.BootsCarried to 1
end
|