Added support for picking up gems
This commit is contained in:
parent
032935159f
commit
83629e9c79
Binary file not shown.
Binary file not shown.
@ -1,11 +1,11 @@
|
|||||||
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
|
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
|
||||||
;NEXT FRAGMENT INDEX 36
|
;NEXT FRAGMENT INDEX 37
|
||||||
Scriptname PRKF_ETAxTakePerk_02000805 Extends Perk Hidden
|
Scriptname PRKF_ETAxTakePerk_02000805 Extends Perk Hidden
|
||||||
|
|
||||||
;BEGIN FRAGMENT Fragment_33
|
;BEGIN FRAGMENT Fragment_36
|
||||||
Function Fragment_33(ObjectReference akTargetRef, Actor akActor)
|
Function Fragment_36(ObjectReference akTargetRef, Actor akActor)
|
||||||
;BEGIN CODE
|
;BEGIN CODE
|
||||||
PlayerScript.TakeByKeyword(VendorItemAnimalHide, true)
|
PlayerScript.TakeByKeyword(VendorItemGem)
|
||||||
;END CODE
|
;END CODE
|
||||||
EndFunction
|
EndFunction
|
||||||
;END FRAGMENT
|
;END FRAGMENT
|
||||||
@ -27,11 +27,21 @@ endif
|
|||||||
EndFunction
|
EndFunction
|
||||||
;END FRAGMENT
|
;END FRAGMENT
|
||||||
|
|
||||||
;BEGIN FRAGMENT Fragment_6
|
;BEGIN FRAGMENT Fragment_33
|
||||||
Function Fragment_6(ObjectReference akTargetRef, Actor akActor)
|
Function Fragment_33(ObjectReference akTargetRef, Actor akActor)
|
||||||
;BEGIN CODE
|
;BEGIN CODE
|
||||||
; Arrows and projectiles
|
PlayerScript.TakeByKeyword(VendorItemAnimalHide, true)
|
||||||
PlayerScript.TakeByFormOrList(ETAxArrowList)
|
;END CODE
|
||||||
|
EndFunction
|
||||||
|
;END FRAGMENT
|
||||||
|
|
||||||
|
;BEGIN FRAGMENT Fragment_18
|
||||||
|
Function Fragment_18(ObjectReference akTargetRef, Actor akActor)
|
||||||
|
;BEGIN CODE
|
||||||
|
; Flora
|
||||||
|
if ! akTargetRef.IsActivationBlocked()
|
||||||
|
PlayerScript.PickFloraByType(akTargetRef.GetBaseObject())
|
||||||
|
endif
|
||||||
;END CODE
|
;END CODE
|
||||||
EndFunction
|
EndFunction
|
||||||
;END FRAGMENT
|
;END FRAGMENT
|
||||||
@ -52,13 +62,11 @@ PlayerScript.TakeByKeyword(VendorItemOreIngot, true)
|
|||||||
EndFunction
|
EndFunction
|
||||||
;END FRAGMENT
|
;END FRAGMENT
|
||||||
|
|
||||||
;BEGIN FRAGMENT Fragment_18
|
;BEGIN FRAGMENT Fragment_6
|
||||||
Function Fragment_18(ObjectReference akTargetRef, Actor akActor)
|
Function Fragment_6(ObjectReference akTargetRef, Actor akActor)
|
||||||
;BEGIN CODE
|
;BEGIN CODE
|
||||||
; Flora
|
; Arrows and projectiles
|
||||||
if ! akTargetRef.IsActivationBlocked()
|
PlayerScript.TakeByFormOrList(ETAxArrowList)
|
||||||
PlayerScript.PickFloraByType(akTargetRef.GetBaseObject())
|
|
||||||
endif
|
|
||||||
;END CODE
|
;END CODE
|
||||||
EndFunction
|
EndFunction
|
||||||
;END FRAGMENT
|
;END FRAGMENT
|
||||||
@ -86,3 +94,5 @@ Keyword Property VendorItemOreIngot Auto
|
|||||||
MiscObject Property Lockpick Auto
|
MiscObject Property Lockpick Auto
|
||||||
|
|
||||||
Keyword Property VendorItemAnimalHide Auto
|
Keyword Property VendorItemAnimalHide Auto
|
||||||
|
|
||||||
|
Keyword Property VendorItemGem Auto
|
||||||
|
Loading…
Reference in New Issue
Block a user