Skip to content

Commit

Permalink
Merge branch 'justice-stamps' of https://github.com/Tomce795/Delta-v
Browse files Browse the repository at this point in the history
…into justice-stamps
  • Loading branch information
Tomce795 committed Nov 9, 2024
2 parents 3550087 + 3c575a6 commit 7f72544
Show file tree
Hide file tree
Showing 11 changed files with 108 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
using Content.Shared.Abilities.Psionics;

namespace Content.Client.Abilities.Psionics;

public sealed class TelegnosisPowerSystem : SharedTelegnosisPowerSystem;
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Content.Server.Abilities.Psionics
{
public sealed class TelegnosisPowerSystem : EntitySystem
public sealed class TelegnosisPowerSystem : SharedTelegnosisPowerSystem
{
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
[Dependency] private readonly StatusEffectsSystem _statusEffects = default!;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using Content.Shared.Interaction.Events;

namespace Content.Shared.Abilities.Psionics;

public abstract class SharedTelegnosisPowerSystem : EntitySystem
{
public override void Initialize()
{
base.Initialize();

SubscribeLocalEvent<TelegnosticProjectionComponent, InteractionAttemptEvent>(OnInteractionAttempt);
}

private void OnInteractionAttempt(Entity<TelegnosticProjectionComponent> ent, ref InteractionAttemptEvent args)
{
// no astrally stealing someones shoes
args.Cancelled = true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Content.Shared.Abilities.Psionics
{
[RegisterComponent]
[RegisterComponent, Access(typeof(SharedTelegnosisPowerSystem))]
public sealed partial class TelegnosisPowerComponent : Component
{
[DataField("prototype")]
Expand All @@ -20,4 +20,4 @@ public sealed partial class TelegnosisPowerComponent : Component
[DataField("telegnosisActionEntity")]
public EntityUid? TelegnosisActionEntity;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
namespace Content.Shared.Abilities.Psionics
{
[RegisterComponent]
public sealed partial class TelegnosticProjectionComponent : Component
{}
}
namespace Content.Shared.Abilities.Psionics;

[RegisterComponent, Access(typeof(SharedTelegnosisPowerSystem))]
public sealed partial class TelegnosticProjectionComponent : Component;
26 changes: 14 additions & 12 deletions Resources/Changelog/DeltaVChangelog.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
Entries:
- author: ps3moira
changes:
- message: Removed bionic syrinx implanter from surplus crate.
type: Remove
id: 163
time: '2023-12-11T23:11:41.0000000+00:00'
- author: ps3moira
changes:
- message: Removed Carpotoxin from Sashimi, now they are sushi-grade!
type: Remove
id: 164
time: '2023-12-13T20:12:46.0000000+00:00'
- author: Adrian16199
changes:
- message: Crew has learned how to make a straw hat out of wheat bushels!
Expand Down Expand Up @@ -3718,3 +3706,17 @@
id: 662
time: '2024-11-09T13:16:44.0000000+00:00'
url: https://github.com/DeltaV-Station/Delta-v/pull/2143
- author: deltanedas
changes:
- message: Fixed telegnostic projections being able to interact with things.
type: Tweak
id: 663
time: '2024-11-09T19:27:59.0000000+00:00'
url: https://github.com/DeltaV-Station/Delta-v/pull/2117
- author: Unkn0wnGh0st333
changes:
- message: Synthesis Specialist ghost rules have been slightly adjusted.
type: Tweak
id: 664
time: '2024-11-09T19:44:28.0000000+00:00'
url: https://github.com/DeltaV-Station/Delta-v/pull/2152
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ ghost-role-information-silvia-rules = Keep the medical team company and help out
ghost-role-information-synthesis-name = Synthesis Specialist
ghost-role-information-synthesis-description = You are a member of Interdyne Pharmaceutics! You are provided all the tools to manufacture a variety of medical cocktails. Establish your craft, peddle your poisons, and make profit.
ghost-role-information-synthesis-rules =
Brew deadly poisons, marvelous medicines, and anything in between.
Sell your concoctions to local agents, crew, and anyone with supplies.
Stay on your ship, it is your lifeblood!
You are a [color=yellow][bold]Free-Agent[/bold][/color]. You are free to act as either an antagonist or a non-antagonist.
You are just a chemist so do not act like a full-on antagonist, i.e. no killing people yourself unless your ship is in danger.
Brew deadly poisons, marvelous medicines, and anything in between.
Sell your concoctions to [color=red]local agents[/color], crew, and anyone with supplies.
Stay on your ship; it is your job, home, and lifeblood.
ghost-role-information-closet-skeleton-rules = You are a old member of the station, try to get your previous job back or dwell in the maintenance tunnels!.
You are a [color=green][bold]Non-antagonist[/bold][/color]. You should generally not seek to harm the station and its crew.
You're allowed some minor mischief.
Expand Down
45 changes: 45 additions & 0 deletions Resources/Prototypes/DeltaV/Catalog/Fills/Crates/engine.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
- type: entity
parent: CrateEngineering
id: CrateEngineEssentials
name: engine essentials crate
description: Everything you need to power the station, in a superposition of containing both a singularity and a tesla.
suffix: 1 per map MAX
components:
- type: EntityTableContainerFill
containers:
entity_storage: !type:GroupSelector
children:
- !type:NestedSelector
tableId: TeslaEssentials
- !type:NestedSelector
tableId: SingularityEssentials

- type: entityTable
id: TeslaEssentials
table: !type:AllSelector
children:
- id: TeslaGeneratorFlatpack
- id: TeslaGeneratorFlatpack
prob: 0.3 # Small chance of a free backup
- id: TeslaCoilFlatpack
amount: !type:RangeNumberSelector
range: 4, 6
- id: TeslaGroundingRodFlatpack
amount: !type:ConstantNumberSelector
value: 4

- type: entityTable
id: SingularityEssentials
table: !type:AllSelector
children:
- id: SingularityGeneratorFlatpack
- id: SingularityGeneratorFlatpack
prob: 0.3 # Small chance of a free backup
# intentionally separate rolls so they are probably mismatched
# you might get spare tanks you might have to get more from the tank dispenser
- id: RadiationCollectorFlatpack
amount: !type:RangeNumberSelector
range: 8, 12
- id: PlasmaTankFilled
amount: !type:RangeNumberSelector
range: 8, 12
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,12 @@
sprite: DeltaV/Structures/Wallmounts/signs.rsi
state: direction_court


- type: entity
parent: BaseSignDirectional
id: SignDirectionaAI
name: AI sign
description: A direction sign, pointing out which way the AI core is.
components:
- type: Sprite
sprite: DeltaV/Structures/Wallmounts/signs.rsi
state: direction_aicore
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
"name": "direction_justice",
"directions": 4
},
{
"name": "direction_aicore",
"directions": 4
},
{
"name": "chapel"
}
Expand Down

0 comments on commit 7f72544

Please sign in to comment.