forked from new-frontiers-14/frontier-station-14
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'RevertContent' of https://github.com/Succuberry/Frontie…
…rTSP into master # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.Nado
- Loading branch information
Showing
103 changed files
with
1,185 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Robust.Shared.Audio; | ||
|
||
namespace Content.Server.Corvax.Elzuosa | ||
{ | ||
[RegisterComponent] | ||
public sealed partial class ElzuosaColorComponent : Component | ||
{ | ||
public Color SkinColor { get; set; } | ||
|
||
public bool Hacked { get; set; } = false; | ||
|
||
[DataField("cycleRate")] | ||
public float CycleRate = 1f; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using Content.Shared.Humanoid; | ||
using Content.Shared.Preferences; | ||
using Robust.Server.GameObjects; | ||
using Content.Server.GameTicking; | ||
namespace Content.Server.Corvax.Elzuosa | ||
{ | ||
public sealed class ElzuosaColorSystem : EntitySystem | ||
{ | ||
[Dependency] private readonly PointLightSystem _pointLightSystem = default!; | ||
public override void Initialize() | ||
{ | ||
base.Initialize(); | ||
|
||
SubscribeLocalEvent<ElzuosaColorComponent, PlayerSpawnCompleteEvent>(OnPlayerSpawn); | ||
} | ||
|
||
private void OnPlayerSpawn(EntityUid uid, ElzuosaColorComponent comp, PlayerSpawnCompleteEvent args) | ||
{ | ||
if (!HasComp<HumanoidAppearanceComponent>(uid)) | ||
return; | ||
if (args == null) | ||
return; | ||
var profile = args.Profile; | ||
SetEntityPointLightColor(uid, profile); | ||
} | ||
|
||
public void SetEntityPointLightColor(EntityUid uid, HumanoidCharacterProfile? profile) | ||
{ | ||
if (profile == null) | ||
return; | ||
|
||
var color = profile.Appearance.SkinColor; | ||
_pointLightSystem.SetColor(uid,color); | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
Resources/Locale/ru-RU/corvax/interaction/interaction-popup-component.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### Corvax Interaction | ||
|
||
## Elzuosa | ||
|
||
pat-success-elzuosa = вы обнимаете { $target }, чувствуя, как по вам проходит высоковольтный ток. | ||
pat-success-elzuosa-others = { CAPITALIZE($user) } обнимает { $target }, наэлектризовываясь. | ||
pat-success-elzuosa-target = { CAPITALIZE($user) } обнимает вас. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
marking-EtherealPartsMElzuHornsClipped = рога (вросшие) | ||
marking-EtherealPartsMElzuHornsClipped-ethereal_parts_m_elzu_horns_clipped_ADJ = рога | ||
marking-EtherealPartsMElzuHornsClipped-ethereal_parts_m_elzu_horns_clipped_FRONT = рога (вросшие, передние) | ||
marking-EtherealPartsMElzuHornsHelm = рога (шлем) | ||
marking-EtherealPartsMElzuHornsHelm-ethereal_parts_m_elzu_horns_helm_ADJ = рога (шлем) | ||
marking-EtherealPartsMElzuHornsHelm-ethereal_parts_m_elzu_horns_helm_FRONT = рога (шлем, передние) | ||
marking-EtherealPartsMElzuHornsInward = рога (загнутые назад) | ||
marking-EtherealPartsMElzuHornsInward-ethereal_parts_m_elzu_horns_inward_ADJ = рога (загнутые назад) | ||
marking-EtherealPartsMElzuHornsInward-ethereal_parts_m_elzu_horns_inward_FRONT = рога (загнутые назад, передние) | ||
marking-EtherealPartsMElzuHornsLunar = рога (лунные) | ||
marking-EtherealPartsMElzuHornsLunar-ethereal_parts_m_elzu_horns_lunar_ADJ = рога (лунные) | ||
marking-EtherealPartsMElzuHornsLunar-ethereal_parts_m_elzu_horns_lunar_FRONT = рога (лунные, передние) | ||
marking-EtherealPartsMElzuHornsMajesty = рога (величественные) | ||
marking-EtherealPartsMElzuHornsMajesty-ethereal_parts_m_elzu_horns_majesty_ADJ = рога (величественные) | ||
marking-EtherealPartsMElzuHornsMajesty-ethereal_parts_m_elzu_horns_majesty_FRONT = рога (величественные, передние) | ||
marking-EtherealPartsMElzuHornsSharp = рога (острые) | ||
marking-EtherealPartsMElzuHornsSharp-ethereal_parts_m_elzu_horns_sharp_ADJ = рога (острые) | ||
marking-EtherealPartsMElzuHornsSharp-ethereal_parts_m_elzu_horns_sharp_FRONT = рога (острые, передние) | ||
marking-EtherealPartsMElzuHornsShort = рога (короткие) | ||
marking-EtherealPartsMElzuHornsShort-ethereal_parts_m_elzu_horns_short_ADJ = рога (короткие) | ||
marking-EtherealPartsMElzuHornsShort-ethereal_parts_m_elzu_horns_short_FRONT = рога (короткие, передние) | ||
marking-EtherealPartsMTailBifurcated = хвост (разделённый) | ||
marking-EtherealPartsMTailBifurcated-ethereal_parts_m_tail_bifurcated_BEHIND = хвост (разделённый) | ||
marking-EtherealPartsMTailBifurcated-ethereal_parts_m_tail_bifurcated_FRONT = хвост (разделённый, кончик) | ||
marking-EtherealPartsMTailLong = хвост (длинный) | ||
marking-EtherealPartsMTailLong-ethereal_parts_m_tail_long_BEHIND = хвост (длинный) | ||
marking-EtherealPartsMTailLong-ethereal_parts_m_tail_long_FRONT = хвост (длинный, кончик) | ||
marking-EtherealPartsMTailStubby = хвост (коренастый) | ||
marking-EtherealPartsMTailStubby-ethereal_parts_m_tail_stubby_BEHIND = хвост (коренастый) | ||
marking-EtherealPartsMTailStubby-ethereal_parts_m_tail_stubby_FRONT = хвост (коренастый, кончик) | ||
marking-EtherealPartsMAnimatedtailBifurcated = хвост (разделённый, анимированный) | ||
marking-EtherealPartsMAnimatedtailBifurcated-ethereal_parts_m_waggingtail_bifurcated_BEHIND = хвост (разделённый, анимированный) | ||
marking-EtherealPartsMAnimatedtailBifurcated-ethereal_parts_m_waggingtail_bifurcated_FRONT = хвост (разделённый, анимированный, кончик) | ||
marking-EtherealPartsMAnimatedtailLong = хвост (длинный, анимированный) | ||
marking-EtherealPartsMAnimatedtailLong-ethereal_parts_m_waggingtail_long_BEHIND = хвост (длинный, анимированный) | ||
marking-EtherealPartsMAnimatedtailLong-ethereal_parts_m_waggingtail_long_FRONT = хвост (длинный, анимированный, кончик) | ||
marking-EtherealPartsMAnimatedtailStubby = хвост (коренастый, анимированный) | ||
marking-EtherealPartsMAnimatedtailStubby-ethereal_parts_m_waggingtail_stubby_BEHIND = хвост (коренастый, анимированный) | ||
marking-EtherealPartsMAnimatedtailStubby-ethereal_parts_m_waggingtail_stubby_FRONT = хвост (коренастый, анимированный, кончик) | ||
marking-EtherealPartsEyesGlowGs = глаза (светящиеся) | ||
marking-EtherealPartsEyesGlowGs-ethereal_parts_eyes_glow_gs = глаза |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
metabolizer-type-elzuosa = Elzuosa |
Oops, something went wrong.