]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
New Spawners, Modified Spawners, new Service/Theatre Airlock, and new Colorful Light...
authorSouthbridge <7013162+southbridge-fur@users.noreply.github.com>
Thu, 24 Apr 2025 17:41:55 +0000 (13:41 -0400)
committerGitHub <noreply@github.com>
Thu, 24 Apr 2025 17:41:55 +0000 (10:41 -0700)
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
Resources/Prototypes/Catalog/Cargo/cargo_service.yml
Resources/Prototypes/Catalog/Fills/Boxes/service.yml
Resources/Prototypes/Catalog/Fills/Crates/engineering.yml
Resources/Prototypes/Catalog/Fills/Crates/materials.yml
Resources/Prototypes/Catalog/Fills/Crates/service.yml
Resources/Prototypes/Entities/Markers/Spawners/Random/cables.yml [new file with mode: 0644]
Resources/Prototypes/Entities/Markers/Spawners/Random/crates.yml
Resources/Prototypes/Entities/Objects/Devices/Electronics/door_access.yml
Resources/Prototypes/Entities/Structures/Doors/Airlocks/access.yml

index ac7f02bd220e8e408b51ed956b25cae441f13b10..e170f8c59d88563ce9a0edd545d7765495c0483f 100644 (file)
   category: cargoproduct-category-name-service
   group: market
 
+- type: cargoProduct
+  id: ServiceLightsColorful
+  icon:
+    sprite: Objects/Power/light_bulb.rsi
+    state: normal
+  product: CrateServiceColorfulLights
+  cost: 800
+  category: cargoproduct-category-name-service
+  group: market
+
 - type: cargoProduct
   id: MousetrapBoxes
   icon:
   cost: 500
   category: cargoproduct-category-name-service
   group: market
-
-
index 5aba7bdb2aea67bd402e8285941c7cfd31140f0d..4ba7cf6f7e3ae105182b51a711fc1a5d4df5092f 100644 (file)
     guides:
     - Botanical
     - Chemicals
+
+- type: entity
+  parent: BoxLightbulb
+  id: BoxLightbulbColorfulMixed
+  name: mixed colorful lightbulb box
+  components:
+  - type: StorageFill
+    contents:
+    - id: LightBulbCrystalCyan
+      amount: 2
+    - id: LightBulbCrystalBlue
+      amount: 2
+    - id: LightBulbCrystalGreen
+      amount: 2
+    - id: LightBulbCrystalPink
+      amount: 2
+    - id: LightBulbCrystalRed
+      amount: 2
+    - id: LightBulbCrystalOrange
+      amount: 2
+
+- type: entity
+  parent: BoxLighttube
+  id: BoxLighttubeColorfulMixed
+  name: mixed colorful lighttube box
+  components:
+  - type: StorageFill
+    contents:
+    - id: LightTubeCrystalCyan
+      amount: 2
+    - id: LightTubeCrystalBlue
+      amount: 2
+    - id: LightTubeCrystalGreen
+      amount: 2
+    - id: LightTubeCrystalPink
+      amount: 2
+    - id: LightTubeCrystalRed
+      amount: 2
+    - id: LightTubeCrystalOrange
+      amount: 2
index 4b3f3f93392211d2bfa2056c89a387bed28a0d5a..23921b98e3694b34206dca635d2c3e46bb32d807 100644 (file)
     - id: SignalTimerElectronics
     - id: SMESMachineCircuitboard
     - id: SubstationMachineCircuitboard
+    - id: BorgChargerCircuitboard
+    - id: CellRechargerCircuitboard
     - id: SpaceVillainArcadeComputerCircuitboard
     - id: BlockGameArcadeComputerCircuitboard
 
       entity_storage: !type:NestedSelector
         tableId: RandomTechBoardTable
         rolls: !type:RangeNumberSelector
-          range: 3, 7
+          range: 6, 8
index 580319cd5f1bef9fb25166bb40009bca6df1da2b..cbc2330e3ca247e2af143d8691bf2db7efcb9052 100644 (file)
       entity_storage: !type:NestedSelector
         tableId: RandomMaterialCrateTable
         rolls: !type:RangeNumberSelector
-          range: 1, 3
-          # for some reason, the selector here adds 1 to whatever value it generates,
-          # so this is actually 2-4
+          range: 2, 4
 
 - type: entity
   id: CrateMaterialSilo
index 202a0ebc298214bf6158f6b39749a883db6f71cb..ccf39b2893d4e41f8767fdfcbfbb03faf3353726 100644 (file)
         amount: 2
       - id: BoxCandleSmall
         amount: 2
+
+- type: entity
+  parent: CrateGenericSteel
+  id: CrateServiceColorfulLights
+  name: colorful lights crate
+  description: It's not a party until it's hard to see, a little disorienting, and your ears hurt.
+  components:
+  - type: StorageFill
+    contents:
+    - id: BoxLightbulbColorfulMixed
+    - id: BoxLighttubeColorfulMixed
diff --git a/Resources/Prototypes/Entities/Markers/Spawners/Random/cables.yml b/Resources/Prototypes/Entities/Markers/Spawners/Random/cables.yml
new file mode 100644 (file)
index 0000000..7684c84
--- /dev/null
@@ -0,0 +1,61 @@
+- type: entity
+  parent: MarkerBase
+  id: RandomCableHVSpawner
+  name: HV power cable spawner
+  suffix: 50%
+  components:
+  - type: Sprite
+    layers:
+    - state: red
+    - sprite: Structures/Power/Cables/hv_cable.rsi
+      state: hvcable_3
+    - sprite: Structures/Power/Cables/hv_cable.rsi
+      state: hvcable_12
+  - type: RandomSpawner
+    prototypes:
+    - CableHV
+    chance: 0.5
+
+- type: entity
+  parent: MarkerBase
+  id: RandomCableMVSpawner
+  name: MV power cable spawner
+  suffix: 50%
+  components:
+  - type: Sprite
+    layers:
+    - state: red
+    - sprite: Structures/Power/Cables/mv_cable.rsi
+      state: mvcable_3
+      color: Yellow
+    - sprite: Structures/Power/Cables/mv_cable.rsi
+      state: mvstripes_3
+    - sprite: Structures/Power/Cables/mv_cable.rsi
+      state: mvcable_12
+      color: Yellow
+    - sprite: Structures/Power/Cables/mv_cable.rsi
+      state: mvstripes_12
+  - type: RandomSpawner
+    prototypes:
+    - CableMV
+    chance: 0.5
+
+- type: entity
+  parent: MarkerBase
+  id: RandomCableApcExtensionSpawner
+  name: LV power cable spawner
+  suffix: 50%
+  components:
+  - type: Sprite
+    layers:
+    - state: red
+    - sprite: Structures/Power/Cables/lv_cable.rsi
+      state: lvcable_3
+      color: Green
+    - sprite: Structures/Power/Cables/lv_cable.rsi
+      state: lvcable_12
+      color: Green
+  - type: RandomSpawner
+    prototypes:
+      - CableApcExtension
+    chance: 0.5
index 14852de558bad4e7a4ffee92645e893b2c3cd7f9..31f15ffad0370b1c11bd6995b578b0a9f6f288ce 100644 (file)
     chance: 0.7
     offset: 0.0
 
+- type: entityTable
+  id: LowValueInstrumentCrateTable
+  table: !type:GroupSelector
+    children:
+    - id: CrateFunInstrumentsVariety
+    - id: CrateFunInstrumentsBrass
+    - id: CrateFunInstrumentsString
+    - id: CrateFunInstrumentsWoodwind
+    - id: CrateFunInstrumentsKeyedPercussion
+    - id: CrateFunInstrumentsSpecial
+      weight: 0.01
+    - id: CrateFunSadTromboneImplants
+      weight: 0.01
+
+- type: entityTable
+  id: LowValueFunCrateTable
+  table: !type:GroupSelector
+    children:
+    - id: CrateFunPlushie
+      weight: 2
+    - id: CrateFunLizardPlushieBulk
+    - id: CrateFunSharkPlushieBulk
+    - id: CrateCandles
+    - id: CrateFunArtSupplies
+    - id: CrateFunFoamGuns
+      weight: 0.01
+
+- type: entityTable
+  id: LowValueMaterialCrateTable
+  table: !type:GroupSelector
+    children:
+    - id: CrateMaterialGlass
+    - id: CrateMaterialSteel
+    - id: CrateMaterialPlastic
+    - id: CrateMaterialWood
+    - id: CrateMaterialPlasteel
+    - id: CrateMaterialBasicResource
+    - id: CrateMaterialRandom
+      weight: 4
+
+- type: entityTable
+  id: LowValueEmergencyCrateTable
+  table: !type:GroupSelector
+    children:
+    - id: CrateEmergencyFire
+    - id: CrateEmergencyInternals
+    - id: CrateEmergencyInflatablewall
+      weight: 0.5
+
+- type: entityTable
+  id: LowValueServiceCrateTable
+  table: !type:GroupSelector
+    children:
+    - id: CrateServiceColorfulLights
+    - id: CrateServiceReplacementLights
+    - id: CrateServiceBureaucracy
+    - id: PetCarrier
+    - id: CrateHydroponicsTools
+    - id: CrateHydroponicsSeeds
+    - id: CrateHydroponicsSeedsExotic
+      weight: 0.5
+    - id: CrateHydroponicsSeedsMedicinal
+      weight: 0.5
+    - id: CrateServiceJanitorialSupplies
+    - id: JanitorialTrolley
+      weight: 0.2
+
+- type: entityTable
+  id: LowValueEngineeringCrateTable
+  table: !type:GroupSelector
+    children:
+    - id: CrateEngineeringCableLV
+    - id: CrateEngineeringCableMV
+    - id: CrateEngineeringCableHV
+    - id: CrateEngineeringCableBulk
+    - id: CrateTechBoardRandom
+    - id: CrateEngineeringSpaceHeater
+    - id: StorageCanister
+      weight: 0.5
+
+- type: entityTable
+  id: LowValueMedicalCrateTable
+  table: !type:GroupSelector
+    children:
+    - id: CrateEmergencyBurnKit
+    - id: CrateEmergencyToxinKit
+    - id: CrateEmergencyBruteKit
+    - id: CrateEmergencyO2Kit
+    - id: CrateEmergencyRadiationKit
+    - id: CrateBodyBags
+    - id: CrateChemistrySupplies
+    - id: CrateChemistryP
+      weight: 0.5
+    - id: CrateChemistryS
+      weight: 0.5
+    - id: CrateChemistryD
+      weight: 0.5
+
+- type: entityTable
+  id: LowValueScienceCrateTable
+  table: !type:GroupSelector
+    children:
+    - id: CrateArtifactContainer
+    - id: HandheldArtifactContainer
+      weight: 0.2
+    - id: CrateMaterialPlasma
+
+- type: entityTable
+  id: LowValueCrateTable
+  table: !type:GroupSelector
+    children:
+    - !type:NestedSelector
+      tableId: LowValueFunCrateTable
+    - !type:NestedSelector
+      tableId: LowValueInstrumentCrateTable
+      weight: 0.2
+    - !type:NestedSelector
+      tableId: LowValueMaterialCrateTable
+      weight: 2
+    - !type:NestedSelector
+      tableId: LowValueEmergencyCrateTable
+    - !type:NestedSelector
+      tableId: LowValueServiceCrateTable
+    - !type:NestedSelector
+      tableId: LowValueEngineeringCrateTable
+    - !type:NestedSelector
+      tableId: LowValueMedicalCrateTable
+      weight: 0.2
+    - !type:NestedSelector
+      tableId: LowValueScienceCrateTable
+      weight: 0.2
+
 - type: entity
   name: Filled Crate Spawner
   id: CrateFilledSpawner
     - state: red
     - sprite: Structures/Storage/Crates/o2.rsi
       state: icon
-  - type: RandomSpawner
-    prototypes:
-    - CrateServiceReplacementLights
-    - CrateServiceBureaucracy
-    - CrateChemistrySupplies
-    - CrateMaterialGlass
-    - CrateMaterialSteel
-    - CrateMaterialPlastic
-    - CrateMaterialWood
-    - CrateMaterialPlasteel
-    - CrateMaterialRandom
-    - CrateFunArtSupplies
-    - CrateEngineeringCableLV
-    - CrateEngineeringCableMV
-    - CrateEngineeringCableHV
-    - CrateEngineeringCableBulk
-    - CrateTechBoardRandom
-    - CrateEmergencyFire
-    - CrateEmergencyInternals
-    - CrateEmergencyInflatablewall
-    - CrateHydroponicsTools
-    - CrateHydroponicsSeeds
-    - PetCarrier
-    chance: 0.7
-    rarePrototypes:
-    - CrateMaterialPlasma
-    - CrateHydroponicsSeedsExotic
-    rareChance: 0.1
+  - type: EntityTableSpawner
+    table: !type:NestedSelector
+      tableId: LowValueCrateTable
+      prob: 0.8
     offset: 0.0
 
 - type: entity
     - CrateSecurityBiosuit
     chance: 0.9
     offset: 0.0
+
+- type: entityTable
+  id: LockboxTable
+  table: !type:GroupSelector
+    children:
+    - id: CrateLockBoxEngineering
+    - id: CrateLockBoxMedical
+    - id: CrateLockBoxSecurity
+    - id: CrateLockBoxScience
+    - id: CrateLockBoxService
+
+- type: entity
+  name: random lockbox spawner
+  id: LootSpawnerRandomLockbox
+  parent: MarkerBase
+  suffix: 90%
+  components:
+  - type: Sprite
+    layers:
+    - state: red
+    - sprite: Structures/Storage/Crates/lockbox.rsi
+      state: icon
+  - type: EntityTableSpawner
+    table: !type:NestedSelector
+      tableId: LockboxTable
+      prob: 0.9
+    offset: 0.0
index f75fa2584e21cdcd8f5051a3fafa08bff71e81a7..6176b6b2eaeaae399c7c6c8ef835a90aebef7884 100644 (file)
   - type: AccessReader
     access: [["Service"]]
 
+- type: entity
+  parent: DoorElectronics
+  id: DoorElectronicsServiceTheatre
+  suffix: Service, Theatre, Locked
+  components:
+  - type: AccessReader
+    access: [["Service"], ["Theatre"]]
+
 # Cargo
 - type: entity
   parent: DoorElectronics
index 1043ad5b8e275a3bae1e4e54219d97b72242cb8f..9847bdec2d5cf47683e4eb46fea6568cac042378 100644 (file)
     containers:
       board: [ DoorElectronicsTheatre ]
 
+- type: entity
+  parent: AirlockServiceLocked
+  id: AirlockServiceTheatreLocked
+  suffix: Service, Theatre, Locked
+  components:
+  - type: ContainerFill
+    containers:
+      board: [ DoorElectronicsServiceTheatre ]
+
 - type: entity
   parent: AirlockServiceLocked
   id: AirlockChapelLocked
     containers:
       board: [ DoorElectronicsTheatre ]
 
+- type: entity
+  parent: AirlockServiceGlassLocked
+  id: AirlockServiceTheatreGlassLocked
+  suffix: Service, Theatre, Locked
+  components:
+  - type: ContainerFill
+    containers:
+      board: [ DoorElectronicsServiceTheatre ]
+
 - type: entity
   parent: AirlockServiceGlassLocked
   id: AirlockBarGlassLocked
     containers:
       board: [ DoorElectronicsTheatre ]
 
+- type: entity
+  parent: AirlockMaintServiceLocked
+  id: AirlockMaintServiceTheatreLocked
+  suffix: Service, Theatre, Locked
+  components:
+  - type: ContainerFill
+    containers:
+      board: [ DoorElectronicsServiceTheatre ]
+
 - type: entity
   parent: AirlockMaintServiceLocked
   id: AirlockMaintKitchenLocked