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:
@@ -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
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
sprite: Structures/Power/apc.rsi
|
||||
state: apc0
|
||||
objectType: Structure
|
||||
placementMode: AlignWallProper
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: true
|
||||
|
||||
- type: construction
|
||||
|
||||
Reference in New Issue
Block a user