diff --git a/.github/workflows/build-test-debug.yml b/.github/workflows/build-test-debug.yml index d066fac91e1..03332736ead 100644 --- a/.github/workflows/build-test-debug.yml +++ b/.github/workflows/build-test-debug.yml @@ -54,7 +54,7 @@ jobs: shell: pwsh run: | $env:DOTNET_gcServer=1 - dotnet test --no-build --configuration DebugOpt Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0 NUnit.MapWarningTo=Failed + dotnet test --no-build --configuration DebugOpt Content.IntegrationTests/Content.IntegrationTests.csproj --filter FullyQualifiedName!~ShipyardTest -- NUnit.ConsoleOut=0 NUnit.MapWarningTo=Failed ci-success: name: Build & Test Debug needs: diff --git a/Content.Client/Nyanotrasen/Mail/MailSystem.cs b/Content.Client/Nyanotrasen/Mail/MailSystem.cs index 58d593712f4..3d622383c1c 100644 --- a/Content.Client/Nyanotrasen/Mail/MailSystem.cs +++ b/Content.Client/Nyanotrasen/Mail/MailSystem.cs @@ -38,7 +38,7 @@ protected override void OnAppearanceChange(EntityUid uid, MailComponent componen if (args.Sprite == null) return; - if (_appearance.TryGetData(uid, MailVisuals.JobIcon, out string job) || + if (!_appearance.TryGetData(uid, MailVisuals.JobIcon, out string job) || !_prototypeManager.TryIndex(job, out var icon)) return; diff --git a/Content.IntegrationTests/Tests/PostMapInitTest.cs b/Content.IntegrationTests/Tests/PostMapInitTest.cs index bdfb6457287..3da049082b5 100644 --- a/Content.IntegrationTests/Tests/PostMapInitTest.cs +++ b/Content.IntegrationTests/Tests/PostMapInitTest.cs @@ -20,6 +20,7 @@ using FastAccessors; using Robust.Shared.Utility; using YamlDotNet.RepresentationModel; +using Content.IntegrationTests.Tests._NF; namespace Content.IntegrationTests.Tests { @@ -44,11 +45,7 @@ public sealed class PostMapInitTest "/Maps/_NF/Shuttles/Bus/publicts.yml", }; - private static readonly string[] GameMaps = - { - "NFDev", - "Frontier", - }; + private static readonly string[] GameMaps = FrontierConstants.GameMapPrototypes; // Frontier: use test constants /// /// Asserts that specific files have been saved as grids and not maps. diff --git a/Content.IntegrationTests/Tests/Station/StationJobsTest.cs b/Content.IntegrationTests/Tests/Station/StationJobsTest.cs index d68fdafb769..e57b35c2297 100644 --- a/Content.IntegrationTests/Tests/Station/StationJobsTest.cs +++ b/Content.IntegrationTests/Tests/Station/StationJobsTest.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using System.Linq; +using Content.IntegrationTests.Tests._NF; using Content.Server.Maps; using Content.Server.Station.Components; using Content.Server.Station.Systems; @@ -227,8 +228,15 @@ await server.WaitAssertion(() => Assert.Multiple(() => { - foreach (var gameMap in prototypeManager.EnumeratePrototypes()) + foreach (var mapProto in FrontierConstants.GameMapPrototypes) // Frontier: EnumeratePrototypes < FrontierConstants.GameMapPrototypes { + // Frontier: get prototype from proto ID + if (!prototypeManager.TryIndex(mapProto, out var gameMap)) + { + Assert.Fail($"Could not find GameMapPrototype with ID {mapProto}! Is FrontierConstants up to date?"); + } + // End Frontier + foreach (var (stationId, station) in gameMap.Stations) { if (!station.StationComponentOverrides.TryGetComponent(name, out var comp)) diff --git a/Content.IntegrationTests/Tests/_NF/FrontierConstants.cs b/Content.IntegrationTests/Tests/_NF/FrontierConstants.cs new file mode 100644 index 00000000000..9f8cf97fd87 --- /dev/null +++ b/Content.IntegrationTests/Tests/_NF/FrontierConstants.cs @@ -0,0 +1,10 @@ +namespace Content.IntegrationTests.Tests._NF; + +public sealed class FrontierConstants +{ + public static readonly string[] GameMapPrototypes = + { + "Frontier", + "NFDev" + }; +} \ No newline at end of file diff --git a/Content.Server/Gateway/Systems/GatewayGeneratorSystem.cs b/Content.Server/Gateway/Systems/GatewayGeneratorSystem.cs index 7dcd42e06fa..a2db3c2b677 100644 --- a/Content.Server/Gateway/Systems/GatewayGeneratorSystem.cs +++ b/Content.Server/Gateway/Systems/GatewayGeneratorSystem.cs @@ -184,7 +184,7 @@ private void OnGeneratorOpen(Entity ent, r var dungeonRotation = _dungeon.GetDungeonRotation(seed); var dungeonPosition = (origin + dungeonRotation.RotateVec(new Vector2i(0, dungeonDistance))).Floored(); - _dungeon.GenerateDungeon(_protoManager.Index("Experiment"), args.MapUid, grid, dungeonPosition, seed); + _dungeon.GenerateDungeon(_protoManager.Index("Experiment"), "Experiment", args.MapUid, grid, dungeonPosition, seed); // Frontier: added "Experiment" // TODO: Dungeon mobs + loot. diff --git a/Content.Server/Procedural/DungeonJob/DungeonJob.cs b/Content.Server/Procedural/DungeonJob/DungeonJob.cs index cdb5eb08055..5973c11fe40 100644 --- a/Content.Server/Procedural/DungeonJob/DungeonJob.cs +++ b/Content.Server/Procedural/DungeonJob/DungeonJob.cs @@ -55,6 +55,7 @@ public sealed partial class DungeonJob : Job> private readonly EntityCoordinates? _targetCoordinates; private readonly ISawmill _sawmill; + private readonly string _genId; // Frontier: add ID public DungeonJob( ISawmill sawmill, @@ -73,6 +74,7 @@ public DungeonJob( EntityUid gridUid, int seed, Vector2i position, + string genID, // Frontier EntityCoordinates? targetCoordinates = null, CancellationToken cancellation = default) : base(maxTime, cancellation) { @@ -99,6 +101,7 @@ public DungeonJob( _seed = seed; _position = position; _targetCoordinates = targetCoordinates; + _genId = genID; // Frontier } /// @@ -144,7 +147,7 @@ private async Task> GetDungeons( protected override async Task?> Process() { - _sawmill.Info($"Generating dungeon {_gen} with seed {_seed} on {_entManager.ToPrettyString(_gridUid)}"); + _sawmill.Info($"Generating dungeon {_genId} with seed {_seed} on {_entManager.ToPrettyString(_gridUid)}"); // Frontier: _gen<_genId _grid.CanSplit = false; var random = new Random(_seed); var position = (_position + random.NextPolarVector2(_gen.MinOffset, _gen.MaxOffset)).Floored(); diff --git a/Content.Server/Procedural/DungeonSystem.Commands.cs b/Content.Server/Procedural/DungeonSystem.Commands.cs index 51a6a57bbeb..6149d1f8a24 100644 --- a/Content.Server/Procedural/DungeonSystem.Commands.cs +++ b/Content.Server/Procedural/DungeonSystem.Commands.cs @@ -71,7 +71,7 @@ private async void GenerateDungeon(IConsoleShell shell, string argstr, string[] } shell.WriteLine(Loc.GetString("cmd-dungen-start", ("seed", seed))); - GenerateDungeon(dungeon, dungeonUid, dungeonGrid, position, seed); + GenerateDungeon(dungeon, dungeon.ID, dungeonUid, dungeonGrid, position, seed); // Frontier: add dungeon.ID } private CompletionResult CompletionCallback(IConsoleShell shell, string[] args) diff --git a/Content.Server/Procedural/DungeonSystem.cs b/Content.Server/Procedural/DungeonSystem.cs index 6fe8414f74e..a8a58acc419 100644 --- a/Content.Server/Procedural/DungeonSystem.cs +++ b/Content.Server/Procedural/DungeonSystem.cs @@ -188,6 +188,7 @@ public MapId GetOrCreateTemplate(DungeonRoomPrototype proto) /// /// Coordinates to move the dungeon to afterwards. Will delete the original map public void GenerateDungeon(DungeonConfig gen, + string genID, // Frontier EntityUid gridUid, MapGridComponent grid, Vector2i position, @@ -212,6 +213,7 @@ public void GenerateDungeon(DungeonConfig gen, gridUid, seed, position, + genID, // Frontier coordinates, cancelToken.Token); @@ -221,6 +223,7 @@ public void GenerateDungeon(DungeonConfig gen, public async Task> GenerateDungeonAsync( DungeonConfig gen, + string genID, // Frontier EntityUid gridUid, MapGridComponent grid, Vector2i position, @@ -244,6 +247,7 @@ public async Task> GenerateDungeonAsync( gridUid, seed, position, + genID, // Frontier null, cancelToken.Token); diff --git a/Content.Server/Salvage/SalvageSystem.Magnet.cs b/Content.Server/Salvage/SalvageSystem.Magnet.cs index 81db78fb201..d124f988cce 100644 --- a/Content.Server/Salvage/SalvageSystem.Magnet.cs +++ b/Content.Server/Salvage/SalvageSystem.Magnet.cs @@ -268,12 +268,12 @@ private async Task TakeMagnetOffer(Entity data, int { case AsteroidOffering asteroid: var grid = _mapManager.CreateGridEntity(salvMap); - await _dungeon.GenerateDungeonAsync(asteroid.DungeonConfig, grid.Owner, grid.Comp, Vector2i.Zero, seed); + await _dungeon.GenerateDungeonAsync(asteroid.DungeonConfig, asteroid.Id, grid.Owner, grid.Comp, Vector2i.Zero, seed); // Frontier: added asteroid.Id - FIXME: value makes no sense. break; case DebrisOffering debris: var debrisProto = _prototypeManager.Index(debris.Id); var debrisGrid = _mapManager.CreateGridEntity(salvMap); - await _dungeon.GenerateDungeonAsync(debrisProto, debrisGrid.Owner, debrisGrid.Comp, Vector2i.Zero, seed); + await _dungeon.GenerateDungeonAsync(debrisProto, debrisProto.ID, debrisGrid.Owner, debrisGrid.Comp, Vector2i.Zero, seed); // Frontier: debrisProto.ID break; case SalvageOffering wreck: var salvageProto = wreck.SalvageMap; diff --git a/Content.Server/Salvage/SpawnSalvageMissionJob.cs b/Content.Server/Salvage/SpawnSalvageMissionJob.cs index ed50b0461d7..71284dae2d4 100644 --- a/Content.Server/Salvage/SpawnSalvageMissionJob.cs +++ b/Content.Server/Salvage/SpawnSalvageMissionJob.cs @@ -234,7 +234,7 @@ private async Task InternalProcess() // Frontier: make process an internal dungeonOffset = dungeonRotation.RotateVec(dungeonOffset); var dungeonMod = _prototypeManager.Index(mission.Dungeon); var dungeonConfig = _prototypeManager.Index(dungeonMod.Proto); - var dungeons = await WaitAsyncTask(_dungeon.GenerateDungeonAsync(dungeonConfig, mapUid, grid, (Vector2i) dungeonOffset, + var dungeons = await WaitAsyncTask(_dungeon.GenerateDungeonAsync(dungeonConfig, dungeonConfig.ID, mapUid, grid, (Vector2i) dungeonOffset, // Frontier: add dungeonConfig.ID _missionParams.Seed)); dungeon = dungeons.First(); diff --git a/Content.Server/Shipyard/Systems/ShipyardSystem.cs b/Content.Server/Shipyard/Systems/ShipyardSystem.cs index 8efe169d22a..1c86a899540 100644 --- a/Content.Server/Shipyard/Systems/ShipyardSystem.cs +++ b/Content.Server/Shipyard/Systems/ShipyardSystem.cs @@ -84,7 +84,6 @@ private void OnShipyardStartup(EntityUid uid, ShipyardConsoleComponent component if (!_enabled) return; InitializeConsole(); - SetupShipyard(); } private void OnRoundRestart(RoundRestartCleanupEvent ev) @@ -101,7 +100,7 @@ private void SetShipyardEnabled(bool value) if (value) { - SetupShipyard(); + SetupShipyardIfNeeded(); } else { @@ -148,6 +147,7 @@ public bool TryPurchaseShuttle(EntityUid stationUid, string shuttlePath, [NotNul private bool TryAddShuttle(string shuttlePath, [NotNullWhen(true)] out EntityUid? shuttleGrid) { shuttleGrid = null; + SetupShipyardIfNeeded(); if (ShipyardMap == null) return false; @@ -276,7 +276,7 @@ private void CleanupShipyard() _mapManager.DeleteMap(ShipyardMap.Value); } - private void SetupShipyard() + private void SetupShipyardIfNeeded() { if (ShipyardMap != null && _mapManager.MapExists(ShipyardMap.Value)) return; diff --git a/Content.Server/Shuttles/Systems/ShuttleSystem.GridFill.cs b/Content.Server/Shuttles/Systems/ShuttleSystem.GridFill.cs index dc2b929ac1b..a7613b46d6d 100644 --- a/Content.Server/Shuttles/Systems/ShuttleSystem.GridFill.cs +++ b/Content.Server/Shuttles/Systems/ShuttleSystem.GridFill.cs @@ -120,7 +120,7 @@ private bool TryDungeonSpawn(Entity targetGrid, DungeonSpawnG var spawnedGrid = _mapManager.CreateGridEntity(mapId); _transform.SetMapCoordinates(spawnedGrid, new MapCoordinates(Vector2.Zero, mapId)); - _dungeon.GenerateDungeon(dungeonProto, spawnedGrid.Owner, spawnedGrid.Comp, Vector2i.Zero, _random.Next(), spawnCoords); + _dungeon.GenerateDungeon(dungeonProto, dungeonProto.ID, spawnedGrid.Owner, spawnedGrid.Comp, Vector2i.Zero, _random.Next(), spawnCoords); // Frontier: add dungeonProto.ID spawned = spawnedGrid.Owner; return true; diff --git a/Content.Server/_NF/GameRule/NfAdventureRuleSystem.cs b/Content.Server/_NF/GameRule/NfAdventureRuleSystem.cs index def26963b99..c6b88987d95 100644 --- a/Content.Server/_NF/GameRule/NfAdventureRuleSystem.cs +++ b/Content.Server/_NF/GameRule/NfAdventureRuleSystem.cs @@ -166,6 +166,9 @@ protected override void Started(EntityUid uid, AdventureRuleComponent component, foreach (var dunGen in dungenTypes) { + if (dunGen.SkipDungeonGen) + continue; + var seed = _random.Next(); var offset = GetRandomPOICoord(3000f, 8500f, true); if (!_map.TryLoad(_mapId, "/Maps/_NF/Dungeon/spaceplatform.yml", out var grids, @@ -184,7 +187,7 @@ protected override void Started(EntityUid uid, AdventureRuleComponent component, //pls fit the grid I beg, this is so hacky //its better now but i think i need to do a normalization pass on the dungeon configs //because they are all offset. confirmed good size grid, just need to fix all the offsets. - _dunGen.GenerateDungeon(dunGen, grids[0], mapGrid, new Vector2i(0, 0), seed); + _dunGen.GenerateDungeon(dunGen, dunGen.ID, grids[0], mapGrid, new Vector2i(0, 0), seed); AddStationCoordsToSet(offset); } } diff --git a/Content.Server/_NF/Smuggling/DeadDropSystem.cs b/Content.Server/_NF/Smuggling/DeadDropSystem.cs index 4301ad35f04..bafbdaf098d 100644 --- a/Content.Server/_NF/Smuggling/DeadDropSystem.cs +++ b/Content.Server/_NF/Smuggling/DeadDropSystem.cs @@ -198,9 +198,7 @@ public void CompromiseDeadDrop(EntityUid uid, DeadDropComponent _) // Remove the dead drop. RemComp(uid); - // Get our station: FIXME - check lifecycle on entities before adding another drop. var station = _station.GetOwningStation(uid); - // If station is terminating, or if we aren't on one, nothing to do here. if (station == null || !station.Value.Valid || @@ -209,7 +207,7 @@ public void CompromiseDeadDrop(EntityUid uid, DeadDropComponent _) return; } - // Find a new potential dead drop to spawn. + //Find a new potential dead drop to spawn. var deadDropQuery = EntityManager.EntityQueryEnumerator(); List<(EntityUid ent, PotentialDeadDropComponent comp)> potentialDeadDrops = new(); while (deadDropQuery.MoveNext(out var ent, out var potentialDeadDrop)) @@ -229,6 +227,12 @@ public void CompromiseDeadDrop(EntityUid uid, DeadDropComponent _) if (potentialDeadDrops.Count > 0) { var item = _random.Pick(potentialDeadDrops); + + // If the item is tearing down, do nothing for now. + // FIXME: separate sector-wide scheduler? + if (MetaData(item.ent).EntityLifeStage >= EntityLifeStage.Terminating) + return; + AddDeadDrop(item.ent); _sawmill.Debug($"Dead drop at {uid} compromised, new drop at {item.ent}!"); } diff --git a/Content.Shared/Procedural/DungeonConfig.cs b/Content.Shared/Procedural/DungeonConfig.cs index c4093741ec0..2b2ced9685d 100644 --- a/Content.Shared/Procedural/DungeonConfig.cs +++ b/Content.Shared/Procedural/DungeonConfig.cs @@ -53,4 +53,9 @@ public sealed class DungeonConfigPrototype : DungeonConfig, IPrototype { [IdDataField] public string ID { get; private set; } = default!; + + // Frontier: skip dungeon generation + [DataField] + public bool SkipDungeonGen = false; + // End Frontier } diff --git a/Resources/Changelog/Frontier.yml b/Resources/Changelog/Frontier.yml index 4076736c4ae..70f061c1bc1 100644 --- a/Resources/Changelog/Frontier.yml +++ b/Resources/Changelog/Frontier.yml @@ -4558,3 +4558,42 @@ Entries: message: The NSF Marauder is no longer available for purchase. id: 5402 time: '2024-10-14T22:35:31.0000000+00:00' +- author: whatston3 + changes: + - type: Fix + message: Implanters in loadout selection are now properly labeled. + id: 5403 + time: '2024-10-15T07:41:16.0000000+00:00' +- author: dustylens + changes: + - type: Add + message: Skipper kitchen equipment. + id: 5404 + time: '2024-10-15T07:43:15.0000000+00:00' +- author: MisterMecky + changes: + - type: Fix + message: prebuilt tabletop computers can now be properly deconstructed + id: 5405 + time: '2024-10-15T13:51:09.0000000+00:00' +- author: erhardsteinhauer + changes: + - type: Tweak + message: >- + Slightly changed how wearable containers (like backpacks etc) work: now + it's possible (but rather pointless) to put a belt in backpack, a + backpack in duffel, a toolbox fits in a backpack. + id: 5406 + time: '2024-10-15T21:01:40.0000000+00:00' +- author: dvir001 + changes: + - type: Remove + message: >- + The old EVA suit, emergency EVA suit, and ancient EVA suit are no longer + printable. + - type: Tweak + message: >- + Material costs for small electronics like small gyroscope circuitboards + were increased. + id: 5407 + time: '2024-10-15T23:58:44.0000000+00:00' diff --git a/Resources/Maps/_NF/Shuttles/skipper.yml b/Resources/Maps/_NF/Shuttles/skipper.yml index d3a8498fd39..2945c51c5ee 100644 --- a/Resources/Maps/_NF/Shuttles/skipper.yml +++ b/Resources/Maps/_NF/Shuttles/skipper.yml @@ -829,15 +829,15 @@ entities: components: - type: Transform rot: 3.141592653589793 rad - pos: -4.5,1.5 + pos: -4.4,1.5 parent: 1 - proto: ButtonFrameGrey entities: - - uid: 307 + - uid: 305 components: - type: Transform - rot: -1.5707963267948966 rad - pos: 1.5,1.5 + rot: 3.141592653589793 rad + pos: -4.8,1.5 parent: 1 - proto: CableApcExtension entities: @@ -1236,6 +1236,13 @@ entities: - type: Transform pos: -1.2326875,8.501068 parent: 1 +- proto: ClosetWallO2N2FilledRandom + entities: + - uid: 307 + components: + - type: Transform + pos: 4.5,1.5 + parent: 1 - proto: ClothingOuterWinterChef entities: - uid: 415 @@ -1276,8 +1283,6 @@ entities: showEnts: False occludes: True ent: null - - type: Physics - canCollide: False - type: ItemSlots - proto: CrateNPCCow entities: @@ -1751,9 +1756,9 @@ entities: parent: 1 - type: AtmosPipeColor color: '#0055CCFF' -- proto: GasPressurePumpOn +- proto: GasPressurePumpOnMax entities: - - uid: 37 + - uid: 260 components: - type: Transform rot: -1.5707963267948966 rad @@ -2016,6 +2021,13 @@ entities: rot: -1.5707963267948966 rad pos: 1.5,0.5 parent: 1 +- proto: KitchenAssembler + entities: + - uid: 427 + components: + - type: Transform + pos: 0.5,3.5 + parent: 1 - proto: KitchenDeepFryer entities: - uid: 265 @@ -2024,9 +2036,9 @@ entities: rot: 1.5707963267948966 rad pos: -3.5,1.5 parent: 1 -- proto: KitchenElectricGrill +- proto: KitchenElectricRange entities: - - uid: 260 + - uid: 422 components: - type: Transform pos: -2.5,3.5 @@ -2145,8 +2157,7 @@ entities: - uid: 225 components: - type: Transform - rot: 25.132741228718352 rad - pos: -3.0563135,3.7324326 + pos: -3.3616345,3.6774707 parent: 1 - proto: OilJarGhee entities: @@ -2182,20 +2193,16 @@ entities: pos: -0.5,8.5 parent: 1 - type: FuelGenerator - targetPower: 9000 + targetPower: 10000 on: False - - type: Physics - bodyType: Static - uid: 149 components: - type: Transform pos: -2.5,8.5 parent: 1 - type: FuelGenerator - targetPower: 9000 + targetPower: 10000 on: False - - type: Physics - bodyType: Static - proto: Poweredlight entities: - uid: 244 @@ -2296,32 +2303,31 @@ entities: - uid: 256 components: - type: Transform - rot: 25.132741228718352 rad - pos: 0.2840351,3.6642082 + rot: 6.283185307179586 rad + pos: -0.64247394,3.4529877 parent: 1 - proto: ReagentContainerRice entities: - uid: 258 components: - type: Transform - rot: 25.132741228718352 rad - pos: 0.7215351,3.6642084 + rot: 6.283185307179586 rad + pos: -0.9028907,3.6509042 parent: 1 - proto: ReagentContainerSalt entities: - uid: 47 components: - type: Transform - rot: 25.132741228718352 rad - pos: -3.5050204,3.3574338 + pos: -3.6637177,3.5941372 parent: 1 - proto: ReagentContainerSugar entities: - uid: 314 components: - type: Transform - rot: 25.132741228718352 rad - pos: 0.5236185,3.4662917 + rot: 6.283185307179586 rad + pos: -0.9028907,3.4009042 parent: 1 - proto: SeedExtractor entities: @@ -2351,6 +2357,14 @@ entities: showEnts: False occludes: True ents: [] +- proto: ShelfKitchen + entities: + - uid: 37 + components: + - type: Transform + rot: 3.141592653589793 rad + pos: 1.5,1.5 + parent: 1 - proto: ShuttersNormalOpen entities: - uid: 23 @@ -2641,28 +2655,42 @@ entities: parent: 1 - proto: SignalButton entities: - - uid: 422 + - uid: 423 components: - type: Transform - rot: -1.5707963267948966 rad - pos: 1.5,1.5 + rot: 3.141592653589793 rad + pos: -4.4,1.5 parent: 1 - type: DeviceLinkSource linkedPorts: - 303: + 17: - Pressed: Toggle - 420: + 19: - Pressed: Toggle - 302: + 18: - Pressed: Toggle - 23: + 316: - Pressed: Toggle - 404: + 25: - Pressed: Toggle - 183: + 26: + - Pressed: Toggle + 27: + - Pressed: Toggle + 29: - Pressed: Toggle + - uid: 426 + components: + - type: Transform + rot: 3.141592653589793 rad + pos: -4.8,1.5 + parent: 1 + - type: DeviceLinkSource + linkedPorts: 172: - Pressed: Toggle + 183: + - Pressed: Toggle 152: - Pressed: Toggle 372: @@ -2685,34 +2713,6 @@ entities: - Pressed: Toggle 28: - Pressed: Toggle - 421: - - Pressed: Toggle - 419: - - Pressed: Toggle - - uid: 423 - components: - - type: Transform - rot: 3.141592653589793 rad - pos: -4.5,1.5 - parent: 1 - - type: DeviceLinkSource - linkedPorts: - 17: - - Pressed: Toggle - 19: - - Pressed: Toggle - 18: - - Pressed: Toggle - 316: - - Pressed: Toggle - 25: - - Pressed: Toggle - 26: - - Pressed: Toggle - 27: - - Pressed: Toggle - 29: - - Pressed: Toggle - proto: Sink entities: - uid: 40 @@ -2808,12 +2808,6 @@ entities: - type: Transform pos: -3.5,3.5 parent: 1 - - uid: 305 - components: - - type: Transform - rot: 1.5707963267948966 rad - pos: -2.5,3.5 - parent: 1 - uid: 309 components: - type: Transform diff --git a/Resources/Prototypes/Catalog/Fills/Boxes/general.yml b/Resources/Prototypes/Catalog/Fills/Boxes/general.yml index f4052a3b4b3..28242033e79 100644 --- a/Resources/Prototypes/Catalog/Fills/Boxes/general.yml +++ b/Resources/Prototypes/Catalog/Fills/Boxes/general.yml @@ -5,7 +5,7 @@ description: A cardboard box for storing things. components: - type: Item - size: Large + size: Normal # Frontier Large 'wizard belt' description: A belt designed to hold various rods of power. A veritable fanny pack of exotic magic. diff --git a/Resources/Prototypes/Entities/Clothing/OuterClothing/base_clothingouter.yml b/Resources/Prototypes/Entities/Clothing/OuterClothing/base_clothingouter.yml index b16acb1fa70..3ee38eef27f 100644 --- a/Resources/Prototypes/Entities/Clothing/OuterClothing/base_clothingouter.yml +++ b/Resources/Prototypes/Entities/Clothing/OuterClothing/base_clothingouter.yml @@ -174,10 +174,10 @@ flatReductions: Heat: 10 # the average lightbulb only does around four damage! slots: OUTERCLOTHING - - type: PhysicalComposition # Frontier - materialComposition: # Frontier - Durathread: 100 # Frontier - Cloth: 100 # Frontier +# - type: PhysicalComposition # Frontier +# materialComposition: # Frontier +# Durathread: 100 # Frontier +# Cloth: 50 # Frontier - type: entity parent: ClothingOuterBase diff --git a/Resources/Prototypes/Entities/Clothing/OuterClothing/softsuits.yml b/Resources/Prototypes/Entities/Clothing/OuterClothing/softsuits.yml index dd2b9525b13..f41fb27bd15 100644 --- a/Resources/Prototypes/Entities/Clothing/OuterClothing/softsuits.yml +++ b/Resources/Prototypes/Entities/Clothing/OuterClothing/softsuits.yml @@ -14,8 +14,6 @@ - SuitEVA - MonkeyWearable - WhitelistChameleon - - type: StaticPrice - price: 65 #Syndicate EVA - type: entity @@ -121,8 +119,6 @@ Radiation: 0.75 Caustic: 0.5 - type: GroupExamine - - type: StaticPrice # Frontier - price: 50 - type: StealTarget stealGroup: ClothingOuterHardsuitVoidParamed - type: ToggleableClothing @@ -130,4 +126,4 @@ slot: head - type: ContainerContainer containers: - toggleable-clothing: !type:ContainerSlot {} + toggleable-clothing: !type:ContainerSlot {} \ No newline at end of file diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/condiments.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/condiments.yml index 042e0aacf36..1b2dbbb7a04 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/condiments.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/condiments.yml @@ -69,8 +69,6 @@ - type: Tag tags: - Packet - - type: StaticPrice - price: 4.5 - type: entity parent: BaseFoodCondimentPacket @@ -99,6 +97,8 @@ - type: SolutionContainerVisuals maxFillLevels: 2 fillBaseName: packet-trans- + - type: StaticPrice # Frontier + price: 5 # Frontier - type: entity parent: BaseFoodCondimentPacket @@ -366,8 +366,8 @@ - type: PhysicalComposition materialComposition: Glass: 50 - - type: StaticPrice - price: 13.5 + - type: StaticPrice # Frontier + price: 13.5 # Frontier - type: entity parent: BaseFoodCondimentBottle @@ -564,10 +564,10 @@ acts: [ "Destruction" ] - type: Sprite state: shaker-empty - - type: StaticPrice - price: 9 - type: RefillableSolution solution: food + - type: StaticPrice # Frontier + price: 9 # Frontier - type: entity parent: BaseFoodShaker @@ -607,4 +607,4 @@ state: shaker-pepper - type: Tag tags: - - PepperShaker + - PepperShaker \ No newline at end of file diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/plate.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/plate.yml index 776dab0e2e7..02e51302227 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/plate.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/plate.yml @@ -54,8 +54,8 @@ materialComposition: Glass: 60 - type: SpaceGarbage - - type: StaticPrice - price: 3 + - type: StaticPrice # Frontier + price: 4.5 # Frontier - type: entity name: broken plate @@ -74,8 +74,8 @@ tags: - Trash - type: SpaceGarbage - - type: StaticPrice - price: 1 + - type: StaticPrice # Frontier + price: 1 # Frontier # Small Plate @@ -109,11 +109,11 @@ max: 1 - !type:DoActsBehavior acts: [ "Destruction" ] - - type: StaticPrice - price: 2 - type: PhysicalComposition materialComposition: Glass: 30 + - type: StaticPrice # Frontier + price: 2 # Frontier - type: entity parent: FoodPlateTrash @@ -143,8 +143,8 @@ - type: Tag tags: - Trash - - type: StaticPrice - price: 1 + - type: StaticPrice # Frontier + price: 1 # Frontier - type: entity name: plastic plate @@ -162,8 +162,8 @@ - type: Tag tags: - Trash - - type: StaticPrice - price: 1 + - type: StaticPrice # Frontier + price: 1 # Frontier # Pie Tin @@ -188,5 +188,5 @@ materialComposition: Steel: 60 - type: SpaceGarbage - - type: StaticPrice - price: 1 + - type: StaticPrice # Frontier + price: 1 # Frontier \ No newline at end of file diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/tin.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/tin.yml index c4e9f51f92c..ad5f53999d7 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/tin.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/tin.yml @@ -48,11 +48,8 @@ Blunt: 3 - type: Damageable damageContainer: Inorganic - - type: PhysicalComposition - materialComposition: - Steel: 100 - type: StaticPrice - price: 10 + price: 50 - type: entity abstract: true @@ -72,9 +69,10 @@ Steel: 100 - type: Tag tags: - - Trash - - type: StaticPrice - price: 1 + - Trash + - type: StaticPrice # Frontier + price: 6 # Frontier + # Tins # Need something that you can open these tins with. I suggest a prying or cutting tool. @@ -195,4 +193,4 @@ name: tinned meat components: - type: Sprite - sprite: Objects/Consumable/Food/Tins/meat.rsi + sprite: Objects/Consumable/Food/Tins/meat.rsi \ No newline at end of file diff --git a/Resources/Prototypes/Entities/Objects/Misc/broken_bottle.yml b/Resources/Prototypes/Entities/Objects/Misc/broken_bottle.yml index dc49fa5f66e..b42599a528a 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/broken_bottle.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/broken_bottle.yml @@ -32,4 +32,4 @@ refineResult: - id: SheetGlass1 - type: StaticPrice # Frontier - price: 1 # Frontier + price: 4 # Frontier diff --git a/Resources/Prototypes/Entities/Objects/Specific/Medical/medkits.yml b/Resources/Prototypes/Entities/Objects/Specific/Medical/medkits.yml index 82f91669cd1..910f79a6188 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Medical/medkits.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Medical/medkits.yml @@ -12,7 +12,9 @@ grid: - 0,0,3,1 - type: Item - size: Large + size: Normal # Frontier: Large - type: StaticPrice - price: 25 # Frontier: 75<25 - TODO: material value rework + price: 30 # Frontier: 75<30 - type: entity name: EMP grenade diff --git a/Resources/Prototypes/Entities/Structures/Furniture/bench.yml b/Resources/Prototypes/Entities/Structures/Furniture/bench.yml index 659224220eb..0b1a99e4627 100644 --- a/Resources/Prototypes/Entities/Structures/Furniture/bench.yml +++ b/Resources/Prototypes/Entities/Structures/Furniture/bench.yml @@ -16,7 +16,7 @@ - type: Physics bodyType: Static - type: StaticPrice - price: 15 # Frontier: 35<15 - TODO: material value rework + price: 20 # Frontier: 35<20 - type: entity id: BenchColorfulComfy diff --git a/Resources/Prototypes/Entities/Structures/Furniture/chairs.yml b/Resources/Prototypes/Entities/Structures/Furniture/chairs.yml index d992d79809f..6fd822ad1f6 100644 --- a/Resources/Prototypes/Entities/Structures/Furniture/chairs.yml +++ b/Resources/Prototypes/Entities/Structures/Furniture/chairs.yml @@ -47,7 +47,7 @@ sound: collection: MetalBreak - type: StaticPrice - price: 10 # Frontier: 50<10 + price: 15 # Frontier: 50<15 #Starts unanchored, cannot be rotated while anchored - type: entity diff --git a/Resources/Prototypes/Entities/Structures/Furniture/toilet.yml b/Resources/Prototypes/Entities/Structures/Furniture/toilet.yml index 75ad85ef514..6e85de59ab8 100644 --- a/Resources/Prototypes/Entities/Structures/Furniture/toilet.yml +++ b/Resources/Prototypes/Entities/Structures/Furniture/toilet.yml @@ -74,7 +74,7 @@ - type: Drain autoDrain: false - type: StaticPrice - price: 25 # Frontier: 100<25 - TODO: material value rework + price: 30 # Frontier: 100<30 - type: UserInterface interfaces: enum.DisposalUnitUiKey.Key: diff --git a/Resources/Prototypes/Entities/Structures/Lighting/ground_lighting.yml b/Resources/Prototypes/Entities/Structures/Lighting/ground_lighting.yml index ba50274ad50..fa0aa6daf3c 100644 --- a/Resources/Prototypes/Entities/Structures/Lighting/ground_lighting.yml +++ b/Resources/Prototypes/Entities/Structures/Lighting/ground_lighting.yml @@ -63,7 +63,7 @@ sound: collection: MetalGlassBreak - type: StaticPrice - price: 25 # Frontier: 75<25 - TODO: material value rework + price: 30 # Frontier: 75<30 - type: entity id: PoweredLightPostSmallEmpty diff --git a/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml b/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml index 0c75fbc92da..422218f1c69 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml @@ -122,7 +122,6 @@ id: ComputerShuttle name: shuttle console description: Used to pilot a shuttle. - categories: [ HideSpawnMenu ] # Frontier components: - type: Sprite layers: @@ -843,7 +842,7 @@ enum.WiresUiKey.Key: type: WiresBoundUserInterface - type: Computer - board: Null # Frontier: CargoRequestComputerCircuitboard