Barotrauma Client Doc
Barotrauma.StatusEffect.GiveTalentInfo Class Reference

Unlocks a talent, or multiple talents when the effect executes. Only valid if the target is a character or a limb. More...

Public Member Functions

 GiveTalentInfo (XElement element, string _)
 

Public Attributes

Identifier[] TalentIdentifiers
 The identifier(s) of the talents that should be unlocked. More...
 
bool GiveRandom
 If true and there's multiple identifiers defined, a random one will be chosen instead of unlocking all of them. More...
 

Detailed Description

Unlocks a talent, or multiple talents when the effect executes. Only valid if the target is a character or a limb.

Definition at line 299 of file BarotraumaShared/SharedSource/StatusEffects/StatusEffect.cs.

Constructor & Destructor Documentation

◆ GiveTalentInfo()

Barotrauma.StatusEffect.GiveTalentInfo.GiveTalentInfo ( XElement  element,
string  _ 
)

Member Data Documentation

◆ GiveRandom

bool Barotrauma.StatusEffect.GiveTalentInfo.GiveRandom

If true and there's multiple identifiers defined, a random one will be chosen instead of unlocking all of them.

Definition at line 308 of file BarotraumaShared/SharedSource/StatusEffects/StatusEffect.cs.

◆ TalentIdentifiers

Identifier [] Barotrauma.StatusEffect.GiveTalentInfo.TalentIdentifiers

The identifier(s) of the talents that should be unlocked.

Definition at line 304 of file BarotraumaShared/SharedSource/StatusEffects/StatusEffect.cs.