* Initial Commit * Unfinished * Continuing, more abilities * Remove necromicon healing * oops * Continuing * Continuing * Checkpoint incase i need to undo something * Rewrite to use event per power, working passives * refactor fixes * so many fixes * some fixes * some fixes * new textures, status icon * vampire antag role, mind role * проверку на дауна вызывали?(если Null, у сервера ступор головного фатала) * fix 1 * fix 2 * fix fatal, fix build * breafing audio * fix icons style, store in action * clear store things, add gamerule, mid round game rule * some rework * clear any store systems * clear x2 * if you have 150 Blood Essence, you get mutation * upd * some changes * simple mutation menu * я вот сижу, в 12 ночи, пишу какую-то очередную хуйню, вместо приятного сна... * upd * normal mutations menu * actions translate * None type, base actions list * passive abilities * ability earning * fix * translate vampire preset * translate vampire mutations menu * mutations menu textures * disable some * ДРАНЫЙ БРИФ ФАТАЛКУ ПО ПРИКОЛУ БЕЕМ * game preset * mutation can infinity changed * fix * fully rework abilities update system * gargantua info * update ignore list * fix gargantua passives * vampire objectives * new icons * balance * fix * upd objectives * fix metabolizer type, balance 2 * fix metabolizer type 2 * fix syntax * clear translation * xd * update * round end info * fix * drain objective fix * fix * fix syntax * fix * clear --------- Co-authored-by: Rainfey <rainfey0+github@gmail.com>
53 lines
1.8 KiB
C#
53 lines
1.8 KiB
C#
using Content.Shared.Damage;
|
|
using Robust.Shared.Audio;
|
|
|
|
namespace Content.Server.Bible.Components
|
|
{
|
|
[RegisterComponent]
|
|
public sealed partial class BibleComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Damage that will be healed on a success
|
|
/// </summary>
|
|
[DataField("damage", required: true)]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public DamageSpecifier Damage = default!;
|
|
|
|
/// <summary>
|
|
/// Damage that will be dealt on a failure
|
|
/// </summary>
|
|
[DataField("damageOnFail", required: true)]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public DamageSpecifier DamageOnFail = default!;
|
|
|
|
/// <summary>
|
|
/// Damage that will be dealt when a non-chaplain attempts to heal
|
|
/// </summary>
|
|
[DataField("damageOnUntrainedUse", required: true)]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public DamageSpecifier DamageOnUntrainedUse = default!;
|
|
|
|
[DataField("damageOnUnholyUse", required: true)]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public DamageSpecifier DamageOnUnholyUse = default!;
|
|
|
|
[DataField("damageUnholy", required: true)]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public DamageSpecifier DamageUnholy = default!;
|
|
|
|
/// <summary>
|
|
/// Chance the bible will fail to heal someone with no helmet
|
|
/// </summary>
|
|
[DataField("failChance")]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float FailChance = 0.34f;
|
|
|
|
[DataField("sizzleSound")]
|
|
public SoundSpecifier SizzleSoundPath = new SoundPathSpecifier("/Audio/Effects/lightburn.ogg");
|
|
[DataField("healSound")]
|
|
public SoundSpecifier HealSoundPath = new SoundPathSpecifier("/Audio/Effects/holy.ogg");
|
|
|
|
[DataField("locPrefix")]
|
|
public string LocPrefix = "bible";
|
|
}
|
|
}
|