18 lines
444 B
Ucode
18 lines
444 B
Ucode
|
Class Ext_TraitNightvision extends Ext_TraitBase;
|
||
|
|
||
|
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
||
|
{
|
||
|
Perk.bHasNightVision = true;
|
||
|
}
|
||
|
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
||
|
{
|
||
|
Perk.bHasNightVision = false;
|
||
|
}
|
||
|
|
||
|
defaultproperties
|
||
|
{
|
||
|
TraitName="Nightvision"
|
||
|
NumLevels=1
|
||
|
DefLevelCosts(0)=25
|
||
|
Description="Spawn with nightvision goggles."
|
||
|
}
|