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
|
||||
;NEXT FRAGMENT INDEX 36
|
||||
;NEXT FRAGMENT INDEX 37
|
||||
Scriptname PRKF_ETAxTakePerk_02000805 Extends Perk Hidden
|
||||
|
||||
;BEGIN FRAGMENT Fragment_33
|
||||
Function Fragment_33(ObjectReference akTargetRef, Actor akActor)
|
||||
;BEGIN FRAGMENT Fragment_36
|
||||
Function Fragment_36(ObjectReference akTargetRef, Actor akActor)
|
||||
;BEGIN CODE
|
||||
PlayerScript.TakeByKeyword(VendorItemAnimalHide, true)
|
||||
PlayerScript.TakeByKeyword(VendorItemGem)
|
||||
;END CODE
|
||||
EndFunction
|
||||
;END FRAGMENT
|
||||
@ -27,11 +27,21 @@ endif
|
||||
EndFunction
|
||||
;END FRAGMENT
|
||||
|
||||
;BEGIN FRAGMENT Fragment_6
|
||||
Function Fragment_6(ObjectReference akTargetRef, Actor akActor)
|
||||
;BEGIN FRAGMENT Fragment_33
|
||||
Function Fragment_33(ObjectReference akTargetRef, Actor akActor)
|
||||
;BEGIN CODE
|
||||
; Arrows and projectiles
|
||||
PlayerScript.TakeByFormOrList(ETAxArrowList)
|
||||
PlayerScript.TakeByKeyword(VendorItemAnimalHide, true)
|
||||
;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
|
||||
EndFunction
|
||||
;END FRAGMENT
|
||||
@ -52,13 +62,11 @@ PlayerScript.TakeByKeyword(VendorItemOreIngot, true)
|
||||
EndFunction
|
||||
;END FRAGMENT
|
||||
|
||||
;BEGIN FRAGMENT Fragment_18
|
||||
Function Fragment_18(ObjectReference akTargetRef, Actor akActor)
|
||||
;BEGIN FRAGMENT Fragment_6
|
||||
Function Fragment_6(ObjectReference akTargetRef, Actor akActor)
|
||||
;BEGIN CODE
|
||||
; Flora
|
||||
if ! akTargetRef.IsActivationBlocked()
|
||||
PlayerScript.PickFloraByType(akTargetRef.GetBaseObject())
|
||||
endif
|
||||
; Arrows and projectiles
|
||||
PlayerScript.TakeByFormOrList(ETAxArrowList)
|
||||
;END CODE
|
||||
EndFunction
|
||||
;END FRAGMENT
|
||||
@ -86,3 +94,5 @@ Keyword Property VendorItemOreIngot Auto
|
||||
MiscObject Property Lockpick Auto
|
||||
|
||||
Keyword Property VendorItemAnimalHide Auto
|
||||
|
||||
Keyword Property VendorItemGem Auto
|
||||
|
Loading…
Reference in New Issue
Block a user