Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EE Merge + Early Merge Fixes #89

Merged
merged 28 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e46a863
Religious Headgear For Character Customization (#1297)
VMSolidus Nov 30, 2024
56be690
Automatic Changelog Update (#1297)
SimpleStation14 Nov 30, 2024
f287188
Don't Require Running in Release to Test Mood (#1257)
DEATHB4DEFEAT Nov 30, 2024
dfb12e5
Start of Lore Documents
VMSolidus Nov 30, 2024
2a8bf58
Finally Done
VMSolidus Dec 1, 2024
9ef8252
Update Credits (#1300)
github-actions[bot] Dec 1, 2024
386fd77
Merge branch 'master' into Lore-Documentation
sleepyyapril Dec 1, 2024
a535d98
Loadouts Lore Documentation (#1298)
sleepyyapril Dec 1, 2024
8a368bb
Automatic Changelog Update (#1298)
SimpleStation14 Dec 1, 2024
932f9e3
Fashion Update: Earrings & Makeup (#1299)
angelofallars Dec 1, 2024
b05ab8e
Automatic Changelog Update (#1299)
SimpleStation14 Dec 1, 2024
1bab6b8
♂️ Add Male Arachne (#1301)
angelofallars Dec 1, 2024
5476ee0
Automatic Changelog Update (#1301)
SimpleStation14 Dec 1, 2024
4bf7624
Add Localization for Senior Physician and Senior Engineer (#1302)
zelezniciar1 Dec 1, 2024
9169818
Automatic Changelog Update (#1302)
SimpleStation14 Dec 1, 2024
8573914
Make Cultist Constructs Speak Eldritch (#1303)
angelofallars Dec 2, 2024
114ecde
Automatic Changelog Update (#1303)
SimpleStation14 Dec 2, 2024
f0de977
Merge branch 'master' of https://github.com/Simple-Station/Einstein-E…
sleepyyapril Dec 3, 2024
9d75659
Merge branch 'master' of https://github.com/TheDenSS14/TheDen into ea…
sleepyyapril Dec 4, 2024
8f4f317
Unrelated
sleepyyapril Dec 3, 2024
4588d02
Made ChemMaster Sorted (#2498)
DmitriTheDemon Dec 3, 2024
46d8814
One
fenndragon Nov 2, 2024
d857a23
Update uplink_catalog.yml
fenndragon Nov 2, 2024
3850de7
Remove deception, put items into utility.
fenndragon Nov 2, 2024
0de5ce3
Add ComplexInteractions check for power toggles.
sleepyyapril Dec 4, 2024
664b423
Cleanup
sleepyyapril Dec 4, 2024
a515ebf
A revenant will never have hands, silly self.
sleepyyapril Dec 4, 2024
0d982d2
Enable revenants
sleepyyapril Dec 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Content.Client/Chemistry/UI/ChemMasterWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private void UpdatePanelInfo(ChemMasterBoundUserInterfaceState state)
};
bufferHBox.AddChild(bufferVol);

foreach (var (reagent, quantity) in state.BufferReagents)
foreach (var (reagent, quantity) in state.BufferReagents.OrderBy(x => x.Reagent.Prototype)) // Frontier: add OrderBy
{
// Try to get the prototype for the given reagent. This gives us its name.
_prototypeManager.TryIndex(reagent.Prototype, out ReagentPrototype? proto);
Expand Down
8 changes: 7 additions & 1 deletion Content.Server/Power/EntitySystems/PowerReceiverSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
using Robust.Shared.Audio;
using Robust.Shared.Utility;
using Content.Shared.Emp;
using Content.Shared.Interaction;


namespace Content.Server.Power.EntitySystems
{
Expand All @@ -22,6 +24,7 @@ public sealed class PowerReceiverSystem : EntitySystem
[Dependency] private readonly IAdminManager _adminManager = default!;
[Dependency] private readonly AppearanceSystem _appearance = default!;
[Dependency] private readonly AudioSystem _audio = default!;
[Dependency] private readonly SharedInteractionSystem _interaction = default!;
private EntityQuery<ApcPowerReceiverComponent> _recQuery;
private EntityQuery<ApcPowerProviderComponent> _provQuery;

Expand Down Expand Up @@ -120,12 +123,15 @@ private void OnReceiverDisconnected(EntityUid uid, ApcPowerProviderComponent pro

private void AddSwitchPowerVerb(EntityUid uid, PowerSwitchComponent component, GetVerbsEvent<AlternativeVerb> args)
{
if(!args.CanAccess || !args.CanInteract)
if (!args.CanAccess || !args.CanInteract)
return;

if (!HasComp<HandsComponent>(args.User))
return;

if (!_interaction.SupportsComplexInteractions(args.User))
return;

if (!_recQuery.TryGetComponent(uid, out var receiver))
return;

Expand Down
14 changes: 5 additions & 9 deletions Content.Shared/Interaction/SharedInteractionSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ public void InteractUsing(
bool checkCanInteract = true,
bool checkCanUse = true)
{
if ((IsDeleted(user) || IsDeleted(used) || IsDeleted(target)))
if (IsDeleted(user) || IsDeleted(used) || IsDeleted(target))
return;

if (checkCanInteract && !_actionBlockerSystem.CanInteract(user, target))
Expand Down Expand Up @@ -1002,10 +1002,10 @@ public void InteractUsing(
/// Used when clicking on an entity resulted in no other interaction. Used for low-priority interactions.
/// </summary>
public void InteractDoAfter(
EntityUid user,
EntityUid used,
EntityUid? target,
EntityCoordinates clickLocation,
EntityUid user,
EntityUid used,
EntityUid? target,
EntityCoordinates clickLocation,
bool canReach,
bool checkDeletion = false
)
Expand Down Expand Up @@ -1097,10 +1097,6 @@ public bool InteractionActivate(
if (checkAccess && !_containerSystem.IsInSameOrParentContainer(user, used) && !CanAccessViaStorage(user, used))
return false;

// Does the user have hands?
if (!HasComp<HandsComponent>(user))
return false;

complexInteractions ??= SupportsComplexInteractions(user);
var activateMsg = new ActivateInWorldEvent(user, used, complexInteractions.Value);
RaiseLocalEvent(used, activateMsg, true);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#When an admin adds a game rule
# When an admin adds a game rule
add-gamerule-admin = Game rule({$rule}) added - {$admin}
list-gamerule-admin-header = | Time | Rule added
list-gamerule-admin-no-rules = No game rules have been added.
Expand Down
16 changes: 16 additions & 0 deletions Resources/Prototypes/Catalog/uplink_catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@
Telecrystal: 40
categories:
- UplinkMisc
- UplinkMisc
conditions:
- !type:StoreWhitelistCondition
whitelist:
Expand All @@ -423,6 +424,7 @@
Telecrystal: 6
categories:
- UplinkMisc
- UplinkMisc
saleLimit: 1

- type: listing
Expand All @@ -434,6 +436,7 @@
Telecrystal: 5
categories:
- UplinkMisc
- UplinkMisc
saleLimit: 1

- type: listing
Expand All @@ -445,6 +448,7 @@
Telecrystal: 4
categories:
- UplinkMisc
- UplinkMisc
saleLimit: 1

- type: listing
Expand All @@ -456,6 +460,7 @@
Telecrystal: 4
categories:
- UplinkMisc
- UplinkMisc
saleLimit: 1

- type: listing
Expand All @@ -467,6 +472,7 @@
Telecrystal: 12
categories:
- UplinkMisc
- UplinkMisc
saleLimit: 1

- type: listing
Expand All @@ -478,6 +484,7 @@
Telecrystal: 2
categories:
- UplinkMisc
- UplinkMisc

- type: listing
id: UplinkMedsBundle
Expand All @@ -488,6 +495,7 @@
Telecrystal: 20
categories:
- UplinkMisc
- UplinkMisc
conditions:
- !type:StoreWhitelistCondition
whitelist:
Expand All @@ -510,6 +518,7 @@
Telecrystal: 3
categories:
- UplinkUtility
- UplinkUtility

- type: listing
id: UplinkStealthBox
Expand All @@ -520,6 +529,7 @@
Telecrystal: 5
categories:
- UplinkUtility
- UplinkUtility

- type: listing
id: UplinkChameleonProjector
Expand All @@ -530,6 +540,7 @@
Telecrystal: 7
categories:
- UplinkUtility
- UplinkUtility

- type: listing
id: UplinkCyberpen
Expand All @@ -540,6 +551,7 @@
Telecrystal: 1
categories:
- UplinkUtility
- UplinkUtility

- type: listing
id: UplinkDecoyDisk
Expand All @@ -550,6 +562,7 @@
Telecrystal: 1
categories:
- UplinkUtility
- UplinkUtility

- type: listing
id: UplinkUltrabrightLantern
Expand All @@ -560,6 +573,7 @@
Telecrystal: 2
categories:
- UplinkUtility
- UplinkUtility

- type: listing
id: UplinkBribe
Expand All @@ -570,6 +584,7 @@
Telecrystal: 4
categories:
- UplinkUtility
- UplinkUtility

# - type: listing
# id: UplinkGigacancerScanner
Expand All @@ -580,6 +595,7 @@
# Telecrystal: 5
# categories:
# - UplinkUtility
# - UplinkUtility

- type: listing
id: UplinkHolster
Expand Down
24 changes: 12 additions & 12 deletions Resources/Prototypes/GameRules/events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,18 @@
minimumPlayers: 30 # Floof
- type: NinjaSpawnRule

#- type: entity
# parent: BaseGameRule
# id: RevenantSpawn
# categories: [ HideSpawnMenu ]
# components:
# - type: StationEvent
# weight: 7.5
# duration: 1
# earliestStart: 45
# minimumPlayers: 20
# - type: RandomSpawnRule
# prototype: MobRevenant
- type: entity
parent: BaseGameRule
id: RevenantSpawn
categories: [ HideSpawnMenu ]
components:
- type: StationEvent
weight: 7.5
duration: 1
earliestStart: 45
minimumPlayers: 20
- type: RandomSpawnRule
prototype: MobRevenant

# disabled until event is rewritten to be more interesting
#- type: entity
Expand Down
22 changes: 11 additions & 11 deletions Resources/Prototypes/Nyanotrasen/GameRules/events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,17 @@
maximumGlimmer: 1000
- type: GlimmerRandomSentienceRule

#- type: entity
# parent: BaseGlimmerSignaturesEvent
# id: GlimmerRevenantSpawn
# categories: [ HideSpawnMenu ]
# components:
# - type: GlimmerEvent
# minimumGlimmer: 450
# maximumGlimmer: 900
# glimmerBurnLower: 50
# glimmerBurnUpper: 100 # Gives epi a chance to recover
# - type: GlimmerRevenantRule
- type: entity
parent: BaseGlimmerSignaturesEvent
id: GlimmerRevenantSpawn
categories: [ HideSpawnMenu ]
components:
- type: GlimmerEvent
minimumGlimmer: 450
maximumGlimmer: 900
glimmerBurnLower: 50
glimmerBurnUpper: 100 # Gives epi a chance to recover
- type: GlimmerRevenantRule

- type: entity
parent: BaseGlimmerSignaturesEvent
Expand Down
Loading