$Requirements:

From GECK
Jump to: navigation, search

Weapon Smith

Description

Either Defines/Overwrites the requirements for weapon mod. Accepts an item baseform, or a perk baseform. If a perk is used, "count" will be the rank of the perk.

Syntax

$Requirements: EditorID:ref count:int

Example

;Inside "WeaponAttachments\MyGlobalAttachments.ini"

   $EditorID: MySilencerAttachment
   $Name: Silencer Mod
   $Requirements: DuctTape 2
   $Requirements: MyAttachment 1

2 Duct Tape, and 1 Silencer Mod (Itself) will be removed from the players inventory when the mod is attached to a weapon. Once removed, the 2 duct tape, and Silencer Mod will be added back to the players inventory.


;Inside "WeaponAttachments\WeapNV9mmPistol\Barrel Device\BarrelDevice_Config.ini"

   $EditorID: MySilencerAttachment
   $Requirements: Conductor 3
   $Requirements: BigPot 1
   $Requirements: MyAttachment 1

These requirements will be used on the 9mm pistol, instead of the ones from MyGlobalAttachments.ini

Notes

  • Requirements must be an existing form in an esp/esm.

See Also