mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-05 05:47:27 +00:00
Roundstart variation game rules (#24397)
* Raise `StationPostInitEvent` broadcast
* Basic variation pass handling
* standardize names + rule entities
* why does it work like that?
* add to defaults
* light break variation pass
* ent spawn entry
* move some stationevent utility functions to gamerule + add one for finding random tile on specified station
* forgot how statistics works
* powered light variation pass is good now
* station tile count function
* public method to ensure all solutions (for procedural use before mapinit)
* move gamerulesystem utility funcs to partial
* ensure all solutions before spilling in puddlesystem. for use when spilling before mapinit
* trash & puddle variation passes!
* oh yeah
* ehh lets live a little
* std
* utility for game rule check based on comp
* entprotoid the trash spawner oops
* generalize trash variation
* use added instead of started for secret rule
* random cleanup
* generic replacement variation system
* Wall rusting variation rule
* account for modifying while enumerating
* use localaabb
* fix test
* minor tweaks
* reinforced wall replacer + puddletweaker
(cherry picked from commit cc24ba6a31)
This commit is contained in:
@@ -127,6 +127,19 @@
|
||||
lightRadius: 6
|
||||
lightSoftness: 1.1
|
||||
|
||||
- type: entity
|
||||
parent: LightBulb
|
||||
name: old incandescent light bulb
|
||||
id: LightBulbOld
|
||||
description: An aging light bulb.
|
||||
components:
|
||||
- type: LightBulb
|
||||
bulb: Bulb
|
||||
color: "#FFD1A3" # 4000K color temp
|
||||
lightEnergy: 0.3 # old incandescents just arent as bright
|
||||
lightRadius: 6
|
||||
lightSoftness: 1.1
|
||||
|
||||
- type: entity
|
||||
suffix: Broken
|
||||
parent: BaseLightbulb
|
||||
@@ -164,6 +177,19 @@
|
||||
lightSoftness: 1
|
||||
PowerUse: 25
|
||||
|
||||
- type: entity
|
||||
parent: LightTube
|
||||
name: old fluorescent light tube
|
||||
id: LightTubeOld
|
||||
description: An aging light fixture.
|
||||
components:
|
||||
- type: LightBulb
|
||||
color: "#FFDABB" # old fluorescents are yellower-4500K temp
|
||||
lightEnergy: 0.5
|
||||
lightRadius: 10
|
||||
lightSoftness: 1
|
||||
PowerUse: 10
|
||||
|
||||
- type: entity
|
||||
suffix: Broken
|
||||
parent: BaseLightTube
|
||||
|
||||
@@ -550,7 +550,8 @@
|
||||
3: { state: reinf_construct-3, visible: true}
|
||||
4: { state: reinf_construct-4, visible: true}
|
||||
5: { state: reinf_construct-5, visible: true}
|
||||
- type: StaticPrice #DynamicPrice
|
||||
- type: ReinforcedWallReplacementMarker
|
||||
- type: StaticPrice
|
||||
price: 150
|
||||
- type: RadiationBlocker
|
||||
resistance: 5
|
||||
@@ -843,6 +844,7 @@
|
||||
- RCDDeconstructWhitelist
|
||||
- type: Sprite
|
||||
sprite: Structures/Walls/solid.rsi
|
||||
- type: WallReplacementMarker
|
||||
- type: Construction
|
||||
graph: Girder
|
||||
node: wall
|
||||
|
||||
Reference in New Issue
Block a user