Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rxup committed Jun 16, 2024
1 parent 0d76827 commit 488da6e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Content.Client/Backmen/LightHandleSystem.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Content.Shared.Backmen.Blob;
using Content.Shared.Backmen.Blob.Components;
using Content.Shared.Backmen.Eye.NightVision.Components;
using Content.Shared.Eye.Blinding.Components;
using Content.Shared.Mobs.Components;
using Robust.Client.Console;
Expand Down Expand Up @@ -37,6 +38,8 @@ public override void Update(float frameTime)
return;
if (TryComp<BlindableComponent>(plr, out var blindableComponent) && blindableComponent.LightSetup)
return;
if (TryComp<NightVisionComponent>(plr, out var nightVisionComponent) && nightVisionComponent.IsNightVision)
return;

_light.Enabled = true;
_light.DrawShadows = true;
Expand Down
16 changes: 16 additions & 0 deletions Resources/Prototypes/_Backmen/Entities/Supermatter/supermatter.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
- type: entity
parent: BaseFlatpack
id: SupermatterFlatpack
name: Supermatter flatpack
description: A flatpack used for constructing an supermatter engine reactor.
components:
- type: Sprite
layers:
- state: ame-part
- type: Flatpack
entity: supermatter
- type: StaticPrice
price: 500
- type: CargoSellBlacklist


- type: entity
id: supermatter
name: Supermatter
description: A strangely translucent and iridescent crystal.
Expand Down

0 comments on commit 488da6e

Please sign in to comment.