-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into SpaceSecOrder
- Loading branch information
Showing
26 changed files
with
170 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using Content.Server.Body.Components; | ||
using Content.Shared.Traits; | ||
|
||
namespace Content.Server.Hemophilia; | ||
|
||
public sealed partial class HemophiliaSystem : EntitySystem | ||
{ | ||
public override void Initialize() | ||
{ | ||
base.Initialize(); | ||
|
||
SubscribeLocalEvent<HemophiliaComponent, MapInitEvent>(OnInitHemophilia); | ||
SubscribeLocalEvent<HemophiliaComponent, ComponentShutdown>(OnShutdown); | ||
|
||
} | ||
|
||
private void OnInitHemophilia(EntityUid uid, HemophiliaComponent component, MapInitEvent args) | ||
{ | ||
if (TryComp<BloodstreamComponent>(uid, out var bldcomp)) | ||
{ | ||
bldcomp.BleedReductionAmount *= component.Modifier; | ||
} | ||
} | ||
private void OnShutdown(EntityUid uid, HemophiliaComponent component, ComponentShutdown args) | ||
{ | ||
if (TryComp<BloodstreamComponent>(uid, out var bldcomp)) | ||
{ | ||
bldcomp.BleedReductionAmount /= component.Modifier; | ||
} | ||
} | ||
} |
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,10 @@ | ||
namespace Content.Shared.Traits; | ||
|
||
[RegisterComponent] | ||
public sealed partial class HemophiliaComponent : Component | ||
{ | ||
[DataField] | ||
public float Modifier = 0.3f; | ||
|
||
|
||
} |
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,2 @@ | ||
trait-hemophilia-name = Hemophilia | ||
trait-hemophilia-desc = Your blood is clotting extremely badly. |
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
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
Binary file added
BIN
+204 Bytes
Resources/Textures/ADT/Objects/Decoration/poster_syndicate.rsi/error.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+809 Bytes
Resources/Textures/ADT/Objects/Decoration/poster_syndicate.rsi/gasattack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
Resources/Textures/ADT/Objects/Decoration/poster_syndicate.rsi/meta.json
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,23 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "Created by discord:unlumy для Времени Приключений МРП сервер", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "error" | ||
}, | ||
{ | ||
"name": "nobad" | ||
}, | ||
{ | ||
"name": "nogood" | ||
}, | ||
{ | ||
"name": "gasattack" | ||
} | ||
] | ||
} |
Binary file added
BIN
+927 Bytes
Resources/Textures/ADT/Objects/Decoration/poster_syndicate.rsi/nobad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+878 Bytes
Resources/Textures/ADT/Objects/Decoration/poster_syndicate.rsi/nogood.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-609 Bytes
(53%)
...rces/Textures/Structures/Doors/Airlocks/Glass/clockwork_pinion.rsi/assembly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+178 Bytes
...ures/Structures/Doors/Airlocks/Glass/clockwork_pinion.rsi/bolted_open_unlit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-668 Bytes
(51%)
Resources/Textures/Structures/Doors/Airlocks/Glass/clockwork_pinion.rsi/closed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-111 Bytes
(97%)
...urces/Textures/Structures/Doors/Airlocks/Glass/clockwork_pinion.rsi/closing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+206 Bytes
...s/Structures/Doors/Airlocks/Glass/clockwork_pinion.rsi/emergency_open_unlit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Binary file added
BIN
+1.37 KB
...es/Textures/Structures/Doors/Airlocks/Glass/clockwork_pinion.rsi/open_unlit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-55 Bytes
(98%)
...urces/Textures/Structures/Doors/Airlocks/Glass/clockwork_pinion.rsi/opening.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+120 Bytes
.../Textures/Structures/Doors/Airlocks/Glass/clockwork_pinion.rsi/panel_closed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.