Skip to content

Commit

Permalink
fix upstream
Browse files Browse the repository at this point in the history
fixes

raaagh
  • Loading branch information
Roudenn committed Dec 19, 2024
1 parent bb38e9e commit 1be2c8c
Show file tree
Hide file tree
Showing 17 changed files with 30 additions and 119 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/validate-rgas.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/validate-rsis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Content.Client/Holopad/HolopadSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private void OnTypingChanged(TypingChangedEvent ev, EntitySessionEventArgs args)
if (!HasComp<HolopadUserComponent>(uid))
return;

var netEv = new HolopadUserTypingChangedEvent(GetNetEntity(uid.Value), ev.IsTyping);
var netEv = new HolopadUserTypingChangedEvent(GetNetEntity(uid.Value), ev.State == TypingIndicatorState.Typing);
RaiseNetworkEvent(netEv);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public override void Initialize()
SubscribeLocalEvent<MindSwappedComponent, ComponentInit>(OnSwapInit);
}

[ValidatePrototypeId<EntityPrototype>] private const string ActionMindSwap = "ActionMindSwap";
[ValidatePrototypeId<EntityPrototype>] private const string ActionMindSwap = "ActionMindSwapPsionic";
[ValidatePrototypeId<EntityPrototype>] private const string ActionMindSwapReturn = "ActionMindSwapReturn";

private void OnInit(EntityUid uid, MindSwapPowerComponent component, ComponentInit args)
Expand Down
1 change: 1 addition & 0 deletions Content.Server/Chat/Systems/SpeakOnTriggerSystem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Content.Server.Explosion.EntitySystems;
using Content.Shared.Backmen.Chat;
using Content.Shared.Timing;
using Robust.Shared.Prototypes;
using Robust.Shared.Random;
Expand Down
6 changes: 0 additions & 6 deletions Content.Server/Connection/ConnectionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -319,12 +319,6 @@ session.Status is SessionStatus.Connected or SessionStatus.InGame

foreach (var whitelist in _whitelists)
{
if (!IsValid(whitelist, softPlayerCount))
{
// Not valid for current player count.
continue;
}

var whitelistStatus = await IsWhitelisted(whitelist, e.UserData, _sawmill);
if (!whitelistStatus.isWhitelisted)
{
Expand Down
4 changes: 2 additions & 2 deletions Content.Server/Holopad/HolopadSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ private void OnTypingChanged(HolopadUserTypingChangedEvent ev, EntitySessionEven
if (receiverHolopad.Comp.Hologram == null)
continue;

_appearanceSystem.SetData(receiverHolopad.Comp.Hologram.Value.Owner, TypingIndicatorVisuals.IsTyping, ev.IsTyping);
_appearanceSystem.SetData(receiverHolopad.Comp.Hologram.Value.Owner, TypingIndicatorVisuals.State, ev.IsTyping);
}
}
}
Expand Down Expand Up @@ -557,7 +557,7 @@ private void UnlinkHolopadFromUser(Entity<HolopadComponent> entity, Entity<Holop
{
if (linkedHolopad.Comp.Hologram != null)
{
_appearanceSystem.SetData(linkedHolopad.Comp.Hologram.Value.Owner, TypingIndicatorVisuals.IsTyping, false);
_appearanceSystem.SetData(linkedHolopad.Comp.Hologram.Value.Owner, TypingIndicatorVisuals.State, false);

// Send message with no sprite data to the client
// This will set the holgram sprite to a generic icon
Expand Down
3 changes: 2 additions & 1 deletion Content.Server/Telephone/TelephoneSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using Robust.Shared.Random;
using Robust.Shared.Replays;
using System.Linq;
using Content.Shared.Backmen.Chat;
using Content.Shared.Silicons.StationAi;
using Content.Shared.Silicons.Borgs.Components;

Expand Down Expand Up @@ -151,7 +152,7 @@ public override void Update(float frameTime)

break;

// Try to hang up if their has been no recent in-call activity
// Try to hang up if their has been no recent in-call activity
case TelephoneState.InCall:
if (_timing.CurTime > telephone.StateStartTime + TimeSpan.FromSeconds(telephone.IdlingTimeout))
EndTelephoneCalls(entity);
Expand Down
2 changes: 1 addition & 1 deletion Resources/Locale/ru-RU/backmen/actions/types.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ent-ActionPsionicInvisibility = action-name-psionic-invisibility
.desc = action-description-psionic-invisibility
ent-ActionPsionicInvisibilityOff = action-description-psionic-invisibility-off
.desc = action-description-psionic-invisibility
ent-ActionMindSwap = action-name-mind-swap
ent-ActionMindSwapPsionic = action-name-mind-swap
.desc = action-description-mind-swap
ent-ActionMindSwapReturn = action-name-mind-swap-return
.desc = action-description-mind-swap-return
Expand Down
39 changes: 8 additions & 31 deletions Resources/Prototypes/Corvax/Procedural/biome_templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,9 @@
allowedTiles:
- FloorPlanetGrass
entities:
- FloraTree01
- FloraTree02
- FloraTree03
- FloraTree04
- FloraTree05
- FloraTree06
- FloraTreeLarge01
- FloraTreeLarge02
- FloraTreeLarge03
- FloraTreeLarge04
- FloraTreeLarge05
- FloraTreeLarge06
- FloraRockSolid01
- FloraRockSolid02
- FloraRockSolid03
- FloraTree
- FloraTreeLarge
- FloraRockSolid
- FloraTreeStump
- !type:BiomeDecalLayer
allowedTiles:
Expand Down Expand Up @@ -89,14 +77,8 @@
allowedTiles:
- FloorCaveDrought
entities:
- FloraStalagmite1
- FloraStalagmite2
- FloraStalagmite3
- FloraStalagmite4
- FloraStalagmite5
- FloraRockSolid01
- FloraRockSolid02
- FloraRockSolid03
- FloraStalagmite
- FloraRockSolid
- CrystalOrange
- !type:BiomeEntityLayer
allowedTiles:
Expand All @@ -118,9 +100,7 @@
allowedTiles:
- FloorAsteroidSand
entities:
- FloraRockSolid01
- FloraRockSolid02
- FloraRockSolid03
- FloraRockSolid
- CrystalOrange
- CrystalGrey
- !type:BiomeEntityLayer
Expand Down Expand Up @@ -367,11 +347,8 @@
allowedTiles:
- FloorSnow
entities:
- FloraTreeConifer01
- FloraTreeConifer02
- FloraTreeConifer03
- FloraTreeSnow01
- FloraTreeSnow06
- FloraTreeConifer
- FloraTreeSnow
# Snow rock formations
- !type:BiomeEntityLayer
allowedTiles:
Expand Down
16 changes: 8 additions & 8 deletions Resources/Prototypes/Entities/Mobs/NPCs/animals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2437,16 +2437,16 @@
- type: Sprite
drawdepth: Mobs
layers:
- map: [ "enum.DamageStateVisualLayers.Base", "movement" ]
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: tarantula
sprite: Mobs/Animals/spider.rsi
- type: SpriteMovement
movementLayers:
movement:
state: tarantula-moving
noMovementLayers:
movement:
state: tarantula
# - type: SpriteMovement
# movementLayers:
# movement:
# state: tarantula-moving
# noMovementLayers:
# movement:
# state: tarantula
- type: Physics
- type: Arachne
- type: Cocooner
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Maps/gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
SecurityOfficer: [ 6, 6 ]
Detective: [ 1, 1 ]
SecurityCadet: [ 4, 4 ]
Lawyer: [ 2, 2 ]
IAA: [ 1, 1 ] # Corvax-IAA
#supply
Quartermaster: [ 1, 1 ]
SalvageSpecialist: [ 3, 3 ]
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Maps/loop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
SecurityOfficer: [ 5, 5 ]
Detective: [ 1, 1 ]
SecurityCadet: [ 4, 4 ]
Lawyer: [ 2, 2 ]
IAA: [ 1, 1 ] # Corvax-IAA
#supply
Quartermaster: [ 1, 1 ]
SalvageSpecialist: [ 3, 3 ]
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/_Backmen/Actions/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
event: !type:PsionicInvisibilityPowerOffActionEvent

- type: entity
id: ActionMindSwap
id: ActionMindSwapPsionic
name: action-name-mind-swap
description: action-description-mind-swap
components:
Expand Down
6 changes: 0 additions & 6 deletions Resources/Prototypes/_Backmen/Damage/types.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
delay: 10
- type: Speech
speechSounds: Combine
- type: SpeakOnUse
pack: ArtilleryComander
# - type: SpeakOnUse
# pack: ArtilleryComander

- type: entity
id: ActionCallAirSupportMissiles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,7 @@
allowedTiles:
- FloorSnow
entities:
- FloraTreeSnow01
- FloraTreeSnow02
- FloraTreeSnow03
- FloraTreeSnow04
- FloraTreeSnow05
- FloraTreeSnow06
- FloraTreeSnow
- !type:BiomeDummyLayer
id: Loot
- !type:BiomeTileLayer
Expand Down

0 comments on commit 1be2c8c

Please sign in to comment.