diff --git a/Content.Server/Mapping/MappingSystem.cs b/Content.Server/Mapping/MappingSystem.cs index 6c2840fa22..1780883c89 100644 --- a/Content.Server/Mapping/MappingSystem.cs +++ b/Content.Server/Mapping/MappingSystem.cs @@ -73,10 +73,10 @@ public override void Update(float frameTime) } _currentlyAutosaving[uid] = (CalculateNextTime(), name); - var saveDir = Path.Combine(_cfg.GetCVar(CCVars.AutosaveDirectory), name).Replace(Path.DirectorySeparatorChar, '/'); - _resMan.UserData.CreateDir(new ResPath(saveDir).ToRootedPath()); + var saveDir = new ResPath(Path.Combine(_cfg.GetCVar(CCVars.AutosaveDirectory), name).Replace(Path.DirectorySeparatorChar, '/')); + _resMan.UserData.CreateDir(saveDir.ToRootedPath()); - var path = new ResPath(Path.Combine(saveDir, $"{DateTime.Now:yyyy-M-dd_HH.mm.ss}-AUTO.yml")); + var path = saveDir / new ResPath($"{DateTime.Now:yyyy-M-dd_HH.mm.ss}-AUTO.yml"); Log.Info($"Autosaving map {name} ({uid}) to {path}. Next save in {ReadableTimeLeft(uid)} seconds."); if (HasComp(uid)) diff --git a/Resources/Maps/_ES/toast.yml b/Resources/Maps/_ES/toast.yml index 67bc7be61b..642d70cc38 100644 --- a/Resources/Maps/_ES/toast.yml +++ b/Resources/Maps/_ES/toast.yml @@ -4,8 +4,8 @@ meta: engineVersion: 277.0.0 forkId: "" forkVersion: "" - time: 06/14/2026 16:50:29 - entityCount: 14692 + time: 06/15/2026 15:02:42 + entityCount: 14710 maps: - 3 grids: @@ -39641,6 +39641,19 @@ entities: - uid: 23 components: - type: Transform + rot: 1.5707963267948966 rad + pos: -54.5,9.5 + parent: 2 + - uid: 5128 + components: + - type: Transform + rot: -1.5707963267948966 rad + pos: -30.5,-46.5 + parent: 2 + - uid: 8029 + components: + - type: Transform + rot: 1.5707963267948966 rad pos: -54.5,12.5 parent: 2 - uid: 8911 @@ -39648,10 +39661,29 @@ entities: - type: Transform pos: -0.5,15.5 parent: 2 - - uid: 12286 + - uid: 9512 components: - type: Transform - pos: -30.5,-46.5 + rot: 3.141592653589793 rad + pos: -20.5,-2.5 + parent: 2 + - uid: 10480 + components: + - type: Transform + rot: 3.141592653589793 rad + pos: -36.5,4.5 + parent: 2 + - uid: 11129 + components: + - type: Transform + rot: 3.141592653589793 rad + pos: -45.5,2.5 + parent: 2 + - uid: 11868 + components: + - type: Transform + rot: 3.141592653589793 rad + pos: -47.5,-3.5 parent: 2 - uid: 12287 components: @@ -39668,35 +39700,38 @@ entities: - type: Transform pos: -17.5,-28.5 parent: 2 - - uid: 12290 + - uid: 12293 components: - type: Transform - pos: 16.5,-27.5 + rot: 3.141592653589793 rad + pos: -11.5,-32.5 parent: 2 - - uid: 12291 + - uid: 13819 components: - type: Transform - pos: -54.5,9.5 + pos: -13.5,-14.5 parent: 2 - - uid: 12292 + - uid: 13820 components: - type: Transform - pos: -20.5,-2.5 + pos: -4.5,-20.5 parent: 2 - - uid: 12293 + - uid: 13823 components: - type: Transform - pos: -36.5,4.5 + rot: -1.5707963267948966 rad + pos: -0.5,15.5 parent: 2 - - uid: 12294 + - uid: 13824 components: - type: Transform - pos: -45.5,2.5 + rot: 1.5707963267948966 rad + pos: -0.5,16.5 parent: 2 - - uid: 12295 + - uid: 13825 components: - type: Transform - pos: -47.5,-3.5 + pos: 4.5,-10.5 parent: 2 - uid: 14305 components: @@ -39720,6 +39755,12 @@ entities: - type: Transform pos: 26.5,-1.5 parent: 2 + - uid: 12286 + components: + - type: Transform + rot: -1.5707963267948966 rad + pos: -65.5,8.5 + parent: 2 - uid: 12296 components: - type: Transform @@ -39750,6 +39791,36 @@ entities: - type: Transform pos: 24.5,-5.5 parent: 2 + - uid: 13816 + components: + - type: Transform + rot: 1.5707963267948966 rad + pos: 24.5,-5.5 + parent: 2 + - uid: 13817 + components: + - type: Transform + rot: 1.5707963267948966 rad + pos: 24.5,-6.5 + parent: 2 + - uid: 13818 + components: + - type: Transform + rot: -1.5707963267948966 rad + pos: 29.5,-3.5 + parent: 2 + - uid: 13821 + components: + - type: Transform + rot: 3.141592653589793 rad + pos: -19.5,10.5 + parent: 2 + - uid: 13822 + components: + - type: Transform + rot: -1.5707963267948966 rad + pos: -17.5,13.5 + parent: 2 - uid: 14306 components: - type: Transform @@ -39760,11 +39831,6 @@ entities: - type: Transform pos: -50.5,19.5 parent: 2 - - uid: 14308 - components: - - type: Transform - pos: -65.5,8.5 - parent: 2 - proto: ESRandomPosterLegit entities: - uid: 681 @@ -39772,6 +39838,12 @@ entities: - type: Transform pos: 14.5,-19.5 parent: 2 + - uid: 7515 + components: + - type: Transform + rot: -1.5707963267948966 rad + pos: 14.5,-19.5 + parent: 2 - uid: 8004 components: - type: Transform @@ -39787,16 +39859,58 @@ entities: - type: Transform pos: -46.5,-41.5 parent: 2 - - uid: 12303 + - uid: 12290 components: - type: Transform + rot: 1.5707963267948966 rad pos: -34.5,-2.5 parent: 2 - - uid: 14214 + - uid: 12291 components: - type: Transform + rot: 1.5707963267948966 rad pos: -49.5,-43.5 parent: 2 + - uid: 12294 + components: + - type: Transform + rot: 1.5707963267948966 rad + pos: -78.5,-13.5 + parent: 2 + - uid: 12295 + components: + - type: Transform + pos: -47.5,-8.5 + parent: 2 + - uid: 13116 + components: + - type: Transform + rot: 1.5707963267948966 rad + pos: 16.5,-27.5 + parent: 2 + - uid: 13815 + components: + - type: Transform + rot: 3.141592653589793 rad + pos: 27.5,3.5 + parent: 2 + - uid: 13826 + components: + - type: Transform + rot: -1.5707963267948966 rad + pos: 8.5,-18.5 + parent: 2 + - uid: 13827 + components: + - type: Transform + pos: 14.5,-10.5 + parent: 2 + - uid: 13828 + components: + - type: Transform + rot: 3.141592653589793 rad + pos: 15.5,-18.5 + parent: 2 - proto: ESRound357 entities: - uid: 13326 @@ -40113,9 +40227,10 @@ entities: parent: 2 - proto: ESSpawnerRandomArcadeOrPiano entities: - - uid: 14310 + - uid: 7514 components: - type: Transform + rot: -1.5707963267948966 rad pos: -3.5,-8.5 parent: 2 - proto: ESSpawnerRandomDistributedArmory @@ -65806,10 +65921,9 @@ entities: fixtures: {} - proto: PosterContrabandRedRum entities: - - uid: 8029 + - uid: 12292 components: - type: Transform - rot: 1.5707963267948966 rad pos: -10.5,-37.5 parent: 2 - type: Fixtures @@ -83283,11 +83397,6 @@ entities: - type: Transform pos: -14.5,-37.5 parent: 2 - - uid: 5128 - components: - - type: Transform - pos: -11.5,-37.5 - parent: 2 - uid: 5129 components: - type: Transform @@ -85883,6 +85992,11 @@ entities: - type: Transform pos: -60.5,22.5 parent: 2 + - uid: 12303 + components: + - type: Transform + pos: -11.5,-37.5 + parent: 2 - uid: 12439 components: - type: Transform diff --git a/Resources/Prototypes/_ES/Entities/Markers/Spawners/Random/posters.yml b/Resources/Prototypes/_ES/Entities/Markers/Spawners/Random/posters.yml index 4817eb2c76..693f9d1b31 100644 --- a/Resources/Prototypes/_ES/Entities/Markers/Spawners/Random/posters.yml +++ b/Resources/Prototypes/_ES/Entities/Markers/Spawners/Random/posters.yml @@ -1,5 +1,5 @@ - type: entity - parent: ESSpawnerBase + parent: ESSpawnerBaseDirectional id: ESRandomPosterAny name: random poster spawner suffix: ES @@ -16,10 +16,9 @@ - type: EntityTableSpawner table: tableId: ESPosterAny - directional: true - type: entity - parent: ESSpawnerBase + parent: ESSpawnerBaseDirectional id: ESRandomPosterContraband name: random contraband poster spawner suffix: ES @@ -35,10 +34,9 @@ - type: EntityTableSpawner table: tableId: ESPosterContraband - directional: true - type: entity - parent: ESSpawnerBase + parent: ESSpawnerBaseDirectional id: ESRandomPosterLegit name: random legit poster spawner suffix: ES @@ -54,4 +52,3 @@ - type: EntityTableSpawner table: tableId: ESPosterLegit - directional: true diff --git a/Resources/Prototypes/_ES/Entities/Markers/Spawners/Random/structures.yml b/Resources/Prototypes/_ES/Entities/Markers/Spawners/Random/structures.yml index 5f0aafd89d..d86fff08ef 100644 --- a/Resources/Prototypes/_ES/Entities/Markers/Spawners/Random/structures.yml +++ b/Resources/Prototypes/_ES/Entities/Markers/Spawners/Random/structures.yml @@ -182,7 +182,7 @@ weight: 1 - type: entity - parent: ESSpawnerBase + parent: ESSpawnerBaseDirectional id: ESSpawnerRandomArcadeOrPiano name: Bar Entertainment Spawner suffix: ES @@ -201,4 +201,3 @@ weight: 2 - id: ESInstrumentPiano weight: 1 - directional: true diff --git a/Resources/Prototypes/_ES/Entities/Markers/es_marker_base.yml b/Resources/Prototypes/_ES/Entities/Markers/es_marker_base.yml index 35b966314c..b8c8cd9a58 100644 --- a/Resources/Prototypes/_ES/Entities/Markers/es_marker_base.yml +++ b/Resources/Prototypes/_ES/Entities/Markers/es_marker_base.yml @@ -23,3 +23,14 @@ # shader: unshaded - type: EntityTableSpawner offset: 0.0 + +- type: entity + parent: ESSpawnerBase + id: ESSpawnerBaseDirectional + abstract: true + components: + - type: EntityTableSpawner + directional: true + - type: Tag + tags: + - ForceNoFixRotations diff --git a/Resources/Textures/_ES/Markers/spawners.rsi/directional.png b/Resources/Textures/_ES/Markers/spawners.rsi/directional.png index 15187cf9dd..fd68f01388 100644 Binary files a/Resources/Textures/_ES/Markers/spawners.rsi/directional.png and b/Resources/Textures/_ES/Markers/spawners.rsi/directional.png differ