Трейты (#861)
This commit is contained in:
@@ -23,7 +23,7 @@ public sealed class HellSystem : EntitySystem
|
||||
if (sprite.LayerMapTryGet(HellKey.Key, out _))
|
||||
return;
|
||||
|
||||
var adj = sprite.Bounds.Height / 2 + 1.0f/32 * 6.0f;
|
||||
var adj = sprite.Bounds.Height / 2 + 1.0f / 32 * 6.0f;
|
||||
|
||||
var layer = sprite.AddLayer(new SpriteSpecifier.Rsi(new ResPath(Rsi), "animated"));
|
||||
|
||||
|
||||
19
Content.Server/_White/Cult/HellSystem.cs
Normal file
19
Content.Server/_White/Cult/HellSystem.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Content.Shared.CombatMode.Pacification;
|
||||
using Content.Server.Bible.Components;
|
||||
|
||||
namespace Content.Server._White.Cult;
|
||||
public sealed class HellSystem : EntitySystem
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
SubscribeLocalEvent<HellComponent, ComponentStartup>(PentagramAdded);
|
||||
}
|
||||
|
||||
private void PentagramAdded(EntityUid uid, HellComponent component, ComponentStartup args)
|
||||
{
|
||||
EnsureComp<PacifiedComponent>(uid);
|
||||
EnsureComp<BibleUserComponent>(uid);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -17,12 +17,13 @@
|
||||
- type: ReplacementAccent
|
||||
accent: dwarf
|
||||
|
||||
- type: trait
|
||||
id: Southern
|
||||
name: trait-southern-name
|
||||
description: trait-southern-desc
|
||||
components:
|
||||
- type: SouthernAccent
|
||||
# WD impossible to translate
|
||||
# - type: trait
|
||||
# id: Southern
|
||||
# name: trait-southern-name
|
||||
# description: trait-southern-desc
|
||||
# components:
|
||||
# - type: SouthernAccent
|
||||
|
||||
- type: trait
|
||||
id: Liar
|
||||
@@ -33,9 +34,9 @@
|
||||
replacementChance: 0.15
|
||||
accent: liar
|
||||
|
||||
- type: trait
|
||||
- type: trait # WD
|
||||
id: Hell
|
||||
name: Hell
|
||||
description: Hell
|
||||
name: Высшая добродетель
|
||||
description: Как в страстях, так и в поступках пороки переступают должное либо в сторону избытка, либо в сторону недостатка, добродетель же умеет находить середину и её избирает.
|
||||
components:
|
||||
- type: Hell
|
||||
|
||||
Reference in New Issue
Block a user