* Add stamina and mob damage playtest modifiers * Fix typo * Add FTL * Review fixes * Update Content.Shared/Mobs/Systems/MobStateSystem.Subscribers.cs --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
95 lines
4.1 KiB
C#
95 lines
4.1 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);
|
|
|
|
/// <summary>
|
|
/// Scales the damage dealt to mobs in the game (i.e. entities with MobStateComponent).
|
|
/// </summary>
|
|
[CVarControl(AdminFlags.VarEdit)]
|
|
public static readonly CVarDef<float> PlaytestMobDamageModifier =
|
|
CVarDef.Create("playtest.mob_damage_modifier", 1f, CVar.SERVER | CVar.REPLICATED);
|
|
|
|
/// <summary>
|
|
/// Scales the stamina damage dealt the game.
|
|
/// </summary>
|
|
[CVarControl(AdminFlags.VarEdit)]
|
|
public static readonly CVarDef<float> PlaytestStaminaDamageModifier =
|
|
CVarDef.Create("playtest.stamina_damage_modifier", 1f, CVar.SERVER | CVar.REPLICATED);
|
|
|
|
}
|