Unpowered lights and new ground light structure (#6566)

This commit is contained in:
Peptide90
2022-02-09 00:47:33 +00:00
committed by GitHub
parent 7bea452f7e
commit b79b84cc02
7 changed files with 202 additions and 0 deletions

View File

@@ -14,6 +14,11 @@
- material: Steel
amount: 2
doAfter: 2.0
- to: groundLight
steps:
- material: Steel
amount: 5
doAfter: 2.0
- node: tubeLight
entity: PoweredlightEmpty
edges:
@@ -44,6 +49,22 @@
prototype: SheetSteel1
amount: 1
- !type:DeleteEntity {}
- node: groundLight
entity: PoweredLightPostSmallEmpty
edges:
- to: start
conditions:
- !type:ContainerEmpty
container: "light_bulb"
steps:
- tool: Screwing
doAfter: 4.0
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 5
- !type:DeleteEntity {}
- type: constructionGraph
id: LightSwitch

View File

@@ -450,6 +450,24 @@
conditions:
# Same here. - 20kdc
- !type:TileNotBlocked
- type: construction
name: ground light post
id: LightGroundFixture
graph: LightFixture
startNode: start
targetNode: groundLight
category: Structures
description: A ground light fixture. Use light bulbs.
icon:
sprite: Structures/Decoration/LightPosts/small_light_post.rsi
state: off
objectType: Structure
placementMode: SnapgridCenter
canRotate: false
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
- type: construction
name: light switch