Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

Commit 486d9f3

Browse files
authored
Merge branch 'space-wizards:master' into master
2 parents da7b00f + 1b63320 commit 486d9f3

22 files changed

Lines changed: 1033 additions & 760 deletions

File tree

Content.Server/GameTicking/Rules/DragonRuleSystem.cs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
using Content.Server.Antag;
2+
using Content.Server.Dragon;
23
using Content.Server.GameTicking.Rules.Components;
4+
using Content.Server.Mind;
5+
using Content.Server.Roles;
36
using Content.Server.Station.Components;
47
using Content.Server.Station.Systems;
8+
using Content.Shared.CharacterInfo;
59
using Content.Shared.Localizations;
610
using Robust.Server.GameObjects;
711

@@ -12,16 +16,37 @@ public sealed class DragonRuleSystem : GameRuleSystem<DragonRuleComponent>
1216
[Dependency] private readonly TransformSystem _transform = default!;
1317
[Dependency] private readonly AntagSelectionSystem _antag = default!;
1418
[Dependency] private readonly StationSystem _station = default!;
19+
[Dependency] private readonly RoleSystem _roleSystem = default!;
20+
[Dependency] private readonly MindSystem _mind = default!;
1521

1622
public override void Initialize()
1723
{
1824
base.Initialize();
1925

2026
SubscribeLocalEvent<DragonRuleComponent, AfterAntagEntitySelectedEvent>(AfterAntagEntitySelected);
27+
SubscribeLocalEvent<DragonRoleComponent, GetBriefingEvent>(UpdateBriefing);
28+
}
29+
30+
private void UpdateBriefing(Entity<DragonRoleComponent> entity, ref GetBriefingEvent args)
31+
{
32+
var ent = args.Mind.Comp.OwnedEntity;
33+
34+
if(ent is null)
35+
return;
36+
37+
args.Append(MakeBriefing(ent.Value));
2138
}
2239

2340
private void AfterAntagEntitySelected(Entity<DragonRuleComponent> ent, ref AfterAntagEntitySelectedEvent args)
2441
{
42+
if (!_mind.TryGetMind(args.EntityUid, out var mindId, out var mind))
43+
return;
44+
45+
_roleSystem.MindHasRole<DragonRoleComponent>(mindId, out var dragonRole);
46+
47+
if(dragonRole is null)
48+
return;
49+
2550
_antag.SendBriefing(args.EntityUid, MakeBriefing(args.EntityUid), null, null);
2651
}
2752

Resources/Changelog/Changelog.yml

Lines changed: 21 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,4 @@
11
Entries:
2-
- author: Centronias
3-
changes:
4-
- message: High-heeled Boots now click and clack when walking
5-
type: Tweak
6-
id: 7953
7-
time: '2025-02-13T22:35:59.0000000+00:00'
8-
url: https://github.com/space-wizards/space-station-14/pull/35083
9-
- author: keronshb
10-
changes:
11-
- message: The Supermatter Grenade has been renamed to Singularity Grenade.
12-
type: Tweak
13-
- message: The Singularity Grenade no longer has an explosion.
14-
type: Remove
15-
id: 7954
16-
time: '2025-02-14T15:01:41.0000000+00:00'
17-
url: https://github.com/space-wizards/space-station-14/pull/35122
18-
- author: ArtisticRoomba
19-
changes:
20-
- message: The Solar Panels section of the Engineering Guidebook has been updated
21-
to include information on upgrading solar panels, as well as how much each variant
22-
produces.
23-
type: Add
24-
- message: The Tesla Engine section of the Engineering Guidebook has been slightly
25-
reorganized to better outline the differences between Grounding Rods and Tesla
26-
Coils, as well as tips on how to use them.
27-
type: Tweak
28-
- message: The Access Configurator section of the Engineering Guidebook has been
29-
updated to reflect the recent addition of the Authentication Disruptor, as well
30-
as how to fix access-broken doors and equipment the easy way.
31-
type: Add
32-
id: 7955
33-
time: '2025-02-15T03:59:19.0000000+00:00'
34-
url: https://github.com/space-wizards/space-station-14/pull/34695
352
- author: Tayrtahn
363
changes:
374
- message: Chickens and ducks now report hunger levels when examined.
@@ -3933,3 +3900,24 @@
39333900
id: 8455
39343901
time: '2025-05-10T18:21:02.0000000+00:00'
39353902
url: https://github.com/space-wizards/space-station-14/pull/36807
3903+
- author: EmoGarbage404
3904+
changes:
3905+
- message: Fixed being able to toggle lighting as a ghost.
3906+
type: Fix
3907+
id: 8456
3908+
time: '2025-05-10T21:41:40.0000000+00:00'
3909+
url: https://github.com/space-wizards/space-station-14/pull/37335
3910+
- author: gorillagaming
3911+
changes:
3912+
- message: The space dragon briefing now shows the correct direction to the station
3913+
type: Fix
3914+
id: 8457
3915+
time: '2025-05-10T23:35:27.0000000+00:00'
3916+
url: https://github.com/space-wizards/space-station-14/pull/37181
3917+
- author: pyvik
3918+
changes:
3919+
- message: New hair named "Long With Bangs"
3920+
type: Add
3921+
id: 8458
3922+
time: '2025-05-11T00:09:28.0000000+00:00'
3923+
url: https://github.com/space-wizards/space-station-14/pull/36613

Resources/Changelog/Maps.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,19 @@
114114
id: 14
115115
time: '2025-05-08T01:39:09.0000000+00:00'
116116
url: https://github.com/space-wizards/space-station-14/pull/37262
117+
- author: Deerstop
118+
changes:
119+
- message: On Elkridge, the botany area has been improved with additional trays,
120+
vents, and scrubbers.
121+
type: Tweak
122+
- message: On Elkridge, firelocks and emergency lights have been added to security.
123+
type: Fix
124+
- message: On Elkridge, the backstage area is now accessible to service and theatre
125+
access.
126+
type: Tweak
127+
- message: On Elkridge, the service request console is now backstage
128+
type: Tweak
129+
id: 15
130+
time: '2025-05-11T00:49:26.0000000+00:00'
131+
url: https://github.com/space-wizards/space-station-14/pull/37206
117132
Order: 1

Resources/Credits/GitHub.txt

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

Resources/Locale/en-US/accessories/human-hair.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,4 @@ marking-HumanHairVeryshortovereyealternate = Very Short (Over Eye)
196196
marking-HumanHairVlongfringe = Very Long with Fringe
197197
marking-HumanHairVolaju = Volaju
198198
marking-HumanHairWisp = Wisp
199+
marking-HumanHairLongWithBangs = Long With Bangs

Resources/Maps/elkridge.yml

Lines changed: 955 additions & 718 deletions
Large diffs are not rendered by default.

Resources/Prototypes/Entities/Mobs/Customization/Markings/human_hair.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,3 +1384,10 @@
13841384
sprites:
13851385
- sprite: Mobs/Customization/human_hair.rsi
13861386
state: longbow
1387+
- type: marking
1388+
id: HumanHairLongWithBangs
1389+
bodyPart: Hair
1390+
markingCategory: Hair
1391+
sprites:
1392+
- sprite: Mobs/Customization/human_hair.rsi
1393+
state: longwithbangs

Resources/Prototypes/Entities/Mobs/Player/observer.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
tags:
6565
- BypassInteractionRangeChecks
6666
- type: PointLight
67+
netsync: false
6768
radius: 6
6869
castShadows: false
6970
enabled: false

Resources/Prototypes/Roles/MindRoles/mind_roles.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@
144144
subtype: role-subtype-dragon
145145
exclusiveAntag: true
146146
- type: DragonRole
147-
- type: RoleBriefing
148-
briefing: dragon-role-briefing
149147

150148
# Ninja
151149
- type: entity
61 Bytes
Loading

0 commit comments

Comments
 (0)