Mod:Creation Kit/GetWorkshopResourceDamage - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Returns the total amount of damage on either the given resource actor value across all items in the Workshop.

Syntax
float Function GetWorkshopResourceDamage(ActorValue akAV = None) native

Parameters

 * akAV : A Resource-type Actor Value.

Return Value
The amount of damage for the specified actor value across all relevant items in the Workshop.

Examples
float allDamage = SanctuaryWorkshopRef.GetWorkshopResourceDamage( Food )
 * What's the total amount of Food damage on all food producers in SanctuaryWorkshopRef?