* Initial commit * Add universal modifier for all damage/heals, make guidebooks work. * help text
81 lines
3.4 KiB
C#
81 lines
3.4 KiB
C#
using Content.Shared.Administration;
|
|
using Content.Shared.CCVar.CVarAccess;
|
|
using Content.Shared.Roles;
|
|
using Robust.Shared.Configuration;
|
|
|
|
namespace Content.Shared.CCVar;
|
|
|
|
public sealed partial class CCVars
|
|
{
|
|
/// <summary>
|
|
/// Scales all damage dealt in the game.
|
|
/// </summary>
|
|
[CVarControl(AdminFlags.VarEdit)]
|
|
public static readonly CVarDef<float> PlaytestAllDamageModifier =
|
|
CVarDef.Create("playtest.all_damage_modifier", 1f, CVar.SERVER | CVar.REPLICATED);
|
|
|
|
/// <summary>
|
|
/// Scales all healing done in the game.
|
|
/// </summary>
|
|
[CVarControl(AdminFlags.VarEdit)]
|
|
public static readonly CVarDef<float> PlaytestAllHealModifier =
|
|
CVarDef.Create("playtest.all_heal_modifier", 1f, CVar.SERVER | CVar.REPLICATED);
|
|
|
|
/// <summary>
|
|
/// Scales the damage dealt by all melee attacks in the game.
|
|
/// </summary>
|
|
[CVarControl(AdminFlags.VarEdit)]
|
|
public static readonly CVarDef<float> PlaytestMeleeDamageModifier =
|
|
CVarDef.Create("playtest.melee_damage_modifier", 1f, CVar.SERVER | CVar.REPLICATED);
|
|
|
|
/// <summary>
|
|
/// Scales the damage dealt by all projectiles in the game.
|
|
/// </summary>
|
|
[CVarControl(AdminFlags.VarEdit)]
|
|
public static readonly CVarDef<float> PlaytestProjectileDamageModifier =
|
|
CVarDef.Create("playtest.projectile_damage_modifier", 1f, CVar.SERVER | CVar.REPLICATED);
|
|
|
|
/// <summary>
|
|
/// Scales the damage dealt by all hitscan attacks in the game.
|
|
/// </summary>
|
|
[CVarControl(AdminFlags.VarEdit)]
|
|
public static readonly CVarDef<float> PlaytestHitscanDamageModifier =
|
|
CVarDef.Create("playtest.hitscan_damage_modifier", 1f, CVar.SERVER | CVar.REPLICATED);
|
|
|
|
/// <summary>
|
|
/// Scales the damage dealt by all thrown weapons in the game.
|
|
/// </summary>
|
|
[CVarControl(AdminFlags.VarEdit)]
|
|
public static readonly CVarDef<float> PlaytestThrownDamageModifier =
|
|
CVarDef.Create("playtest.thrown_damage_modifier", 1f, CVar.SERVER | CVar.REPLICATED);
|
|
|
|
/// <summary>
|
|
/// Scales the healing given by all topicals in the game.
|
|
/// </summary>
|
|
[CVarControl(AdminFlags.VarEdit)]
|
|
public static readonly CVarDef<float> PlaytestTopicalsHealModifier =
|
|
CVarDef.Create("playtest.topicals_heal_modifier", 1f, CVar.SERVER | CVar.REPLICATED);
|
|
|
|
/// <summary>
|
|
/// Scales the damage dealt by all reagents in the game.
|
|
/// </summary>
|
|
[CVarControl(AdminFlags.VarEdit)]
|
|
public static readonly CVarDef<float> PlaytestReagentDamageModifier =
|
|
CVarDef.Create("playtest.reagent_damage_modifier", 1f, CVar.SERVER | CVar.REPLICATED);
|
|
|
|
/// <summary>
|
|
/// Scales the healing given by all reagents in the game.
|
|
/// </summary>
|
|
[CVarControl(AdminFlags.VarEdit)]
|
|
public static readonly CVarDef<float> PlaytestReagentHealModifier =
|
|
CVarDef.Create("playtest.reagent_heal_modifier", 1f, CVar.SERVER | CVar.REPLICATED);
|
|
|
|
/// <summary>
|
|
/// Scales the explosion damage dealt in the game.
|
|
/// </summary>
|
|
[CVarControl(AdminFlags.VarEdit)]
|
|
public static readonly CVarDef<float> PlaytestExplosionDamageModifier =
|
|
CVarDef.Create("playtest.explosion_damage_modifier", 1f, CVar.SERVER | CVar.REPLICATED);
|
|
|
|
}
|