Apc and light construction partial fix (#5030)

* Fix APC placement type

* Fix wall tags.

* Change wall light placement to match how it actually is now

* Change spawn-entity wall light snap mode

Separate commit so it can be nixed out for JREV

* Default switch placement mode to SnapgridCenter
This commit is contained in:
20kdc
2021-10-26 15:15:02 +01:00
committed by GitHub
parent 9c3a603e7e
commit 632a4bcd95
5 changed files with 30 additions and 7 deletions

View File

@@ -10,11 +10,13 @@
sprite: Structures/Wallmounts/Lighting/light_tube.rsi
state: off
objectType: Structure
placementMode: WallmountLight
placementMode: SnapgridCenter
canRotate: true
canBuildInImpassable: true
canBuildInImpassable: false
conditions:
- !type:WallmountCondition {}
# Need an *additional* condition here that forces there to be a wall in the opposite direction to the one used for placement.
# Also see below. Didn't add it b/c construction ECS work going on. Cheers, - 20kdc
- !type:TileNotBlocked {}
- type: construction
name: small wall light
@@ -28,11 +30,12 @@
sprite: Structures/Wallmounts/Lighting/light_small.rsi
state: off
objectType: Structure
placementMode: WallmountLight
placementMode: SnapgridCenter
canRotate: true
canBuildInImpassable: true
canBuildInImpassable: false
conditions:
- !type:WallmountCondition {}
# Same here. - 20kdc
- !type:TileNotBlocked {}
- type: construction
name: light switch

View File

@@ -10,7 +10,7 @@
sprite: Structures/Power/apc.rsi
state: apc0
objectType: Structure
placementMode: AlignWallProper
placementMode: SnapgridCenter
canBuildInImpassable: true
- type: construction