コード例 #1
0
        protected override void PrepareEffects(Effects effects)
        {
            base.PrepareEffects(effects);

            // adds ability to eat spoiled food, drink dirty water, etc.
            effects.AddPerk(this, StatName.PerkEatSpoiledFood);

            // adds ability to overeat without consequences
            effects.AddPerk(this, StatName.PerkOvereatWithoutConsequences);
        }
コード例 #2
0
        protected override void PrepareEffects(Effects effects)
        {
            effects.AddPerk(this, StatName.PerkCannotRun);

            // -10% movement speed
            effects.AddPercent(this, StatName.MoveSpeed, -10);
        }
コード例 #3
0
        protected override void PrepareEffects(Effects effects)
        {
            base.PrepareEffects(effects);

            // just adds information into the tooltip about the effect of this implant
            effects.AddPerk(this, StatName.VanityLowLightVision);
        }
コード例 #4
0
 protected override void PrepareEffects(Effects effects)
 {
     effects.AddValue(this, StatName.VanityContinuousDamage, 1);
     effects.AddPerk(this, StatName.PerkCannotRun);
 }
コード例 #5
0
 protected override void PrepareEffects(Effects effects)
 {
     effects.AddPerk(this, StatName.PerkCannotRun);
     effects.AddPerk(this, StatName.PerkCannotAttack);
     effects.AddPerk(this, StatName.PerkCannotUseMedicalItems);
 }
コード例 #6
0
 protected override void PrepareEffects(Effects effects)
 {
     effects.AddPerk(this, StatName.PerkCannotRun);
 }
コード例 #7
0
 protected override void PrepareEffects(Effects effects)
 {
     // add info to tooltip
     effects.AddPerk(this, StatName.VanityCantEatOrDrink);
 }
コード例 #8
0
 protected override void PrepareEffects(Effects effects)
 {
     effects.AddPerk(this, StatName.PerkCannotRun);
     effects.AddPercent(this, StatName.MoveSpeed, -5);
 }