Alchemy update
This commit is contained in:
parent
f29f19b25b
commit
3a0b6bc204
Binary file not shown.
@ -25,7 +25,10 @@ Beware, spoilers ahead!
|
|||||||
-- Fixed several ingredients with duplicated or contradicting effects (for example, Damage and Restore Health).
|
-- Fixed several ingredients with duplicated or contradicting effects (for example, Damage and Restore Health).
|
||||||
-- Fixed excessive damage caused by Stain Mushroom poisons.
|
-- Fixed excessive damage caused by Stain Mushroom poisons.
|
||||||
-- Fixed inability to sell Glimmerdust.
|
-- Fixed inability to sell Glimmerdust.
|
||||||
-- Fixed 6 ingredients having 'Fortify' effects with zero seconds duration.
|
-- Human Heart no longer costs zero coins.
|
||||||
|
-- Feline predators now drop Feline Cat Teeth.
|
||||||
|
-- Added Moon Carrot Pulp to a couple vendors; previously existed only as 3 world items.
|
||||||
|
-- Fixed six ingredients having 'Fortify' effects with zero seconds duration.
|
||||||
-- Fixed the 'Slow' effect never working due to an engine bug.
|
-- Fixed the 'Slow' effect never working due to an engine bug.
|
||||||
-- Effects of unique ingredients are known from the start.
|
-- Effects of unique ingredients are known from the start.
|
||||||
-- Added Waterwalking potions introduced with the Dragonborn Skyrim DLC.
|
-- Added Waterwalking potions introduced with the Dragonborn Skyrim DLC.
|
||||||
|
|||||||
Binary file not shown.
@ -3,55 +3,3 @@ Scriptname briarheartIngredientScript extends ObjectReference
|
|||||||
armor property ArmorBriarHeartEmpty auto
|
armor property ArmorBriarHeartEmpty auto
|
||||||
armor property ArmorBriarHeart auto
|
armor property ArmorBriarHeart auto
|
||||||
spell property dunReanimateSelf auto
|
spell property dunReanimateSelf auto
|
||||||
|
|
||||||
EVENT OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
|
|
||||||
|
|
||||||
if (akOldContainer as actor)
|
|
||||||
|
|
||||||
; ; debug.trace("Briarheart: Handle removal from an actor")
|
|
||||||
actor oldHost = (akOldContainer as actor)
|
|
||||||
if oldHost.isEquipped(armorBriarHeart)
|
|
||||||
if oldHost.getItemCount(armorBriarHeartEmpty) < 1
|
|
||||||
oldHost.additem(armorBriarHeartEmpty, 1)
|
|
||||||
endif
|
|
||||||
if !oldHost.isDead()
|
|
||||||
; ; debug.trace("Briarheart: if I was a living Briarheart, then kill me and blame it on whomever took my heart.:")
|
|
||||||
oldHost.kill(akNewContainer as actor)
|
|
||||||
endif
|
|
||||||
while utility.isInMenuMode()
|
|
||||||
utility.wait(0.1)
|
|
||||||
endWhile
|
|
||||||
|
|
||||||
oldHost.equipItem(armorBriarHeartEmpty, TRUE, TRUE)
|
|
||||||
oldHost.unequipItem(armorBriarHeart, TRUE, TRUE)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
if (akNewContainer as actor)
|
|
||||||
; debug.trace("DEBUG LiNE 28")
|
|
||||||
; ; debug.trace("Briarheart: my new container is an actor. See if it's a briarheart w/o a heart")
|
|
||||||
actor newHost = (akNewContainer as actor)
|
|
||||||
|
|
||||||
if newHost.isEquipped(armorBriarHeartEmpty)
|
|
||||||
if newHost.getItemCount(ArmorBriarHeart) < 1
|
|
||||||
newHost.addItem(armorBriarHeart,1)
|
|
||||||
endif
|
|
||||||
|
|
||||||
if newHost.isDead()
|
|
||||||
; if the briarheart was dead, resurrect it.
|
|
||||||
;dunReanimateSelf.cast(newHost,newHost)
|
|
||||||
|
|
||||||
while utility.isInMenuMode()
|
|
||||||
utility.wait(0.1)
|
|
||||||
endWhile
|
|
||||||
|
|
||||||
if !newHost.isEquipped(armorBriarHeart)
|
|
||||||
newHost.equipItem (armorBriarHeart, TRUE, TRUE)
|
|
||||||
endif
|
|
||||||
|
|
||||||
;newHost.unequipItem (armorBriarHeartEmpty, TRUE, TRUE)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
endEVENT
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user