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:
@@ -53,6 +53,7 @@
|
|||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: ["Destruction"]
|
acts: ["Destruction"]
|
||||||
placement:
|
placement:
|
||||||
|
mode: SnapgridCenter
|
||||||
snap:
|
snap:
|
||||||
- Wallmount
|
- Wallmount
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
- key: enum.SignalTransmitterUiKey.Key
|
- key: enum.SignalTransmitterUiKey.Key
|
||||||
type: SignalPortSelectorBoundUserInterface
|
type: SignalPortSelectorBoundUserInterface
|
||||||
placement:
|
placement:
|
||||||
|
mode: SnapgridCenter
|
||||||
snap:
|
snap:
|
||||||
- Wallmount
|
- Wallmount
|
||||||
|
|
||||||
@@ -41,6 +42,7 @@
|
|||||||
outputs:
|
outputs:
|
||||||
- name: pressed
|
- name: pressed
|
||||||
placement:
|
placement:
|
||||||
|
mode: SnapgridCenter
|
||||||
snap:
|
snap:
|
||||||
- Wallmount
|
- Wallmount
|
||||||
|
|
||||||
@@ -65,5 +67,6 @@
|
|||||||
- type: ApcNetworkConnection
|
- type: ApcNetworkConnection
|
||||||
- type: ApcNetSwitch
|
- type: ApcNetSwitch
|
||||||
placement:
|
placement:
|
||||||
|
mode: SnapgridCenter
|
||||||
snap:
|
snap:
|
||||||
- Wallmount
|
- Wallmount
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/brick.rsi
|
sprite: Structures/Walls/brick.rsi
|
||||||
@@ -34,6 +35,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/clock.rsi
|
sprite: Structures/Walls/clock.rsi
|
||||||
@@ -63,6 +65,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/clown.rsi
|
sprite: Structures/Walls/clown.rsi
|
||||||
@@ -93,6 +96,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/cult.rsi
|
sprite: Structures/Walls/cult.rsi
|
||||||
@@ -123,6 +127,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- Debug
|
- Debug
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
@@ -153,6 +158,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/diamond.rsi
|
sprite: Structures/Walls/diamond.rsi
|
||||||
@@ -182,6 +188,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/gold.rsi
|
sprite: Structures/Walls/gold.rsi
|
||||||
@@ -211,6 +218,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/ice.rsi
|
sprite: Structures/Walls/ice.rsi
|
||||||
@@ -240,6 +248,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/metal.rsi
|
sprite: Structures/Walls/metal.rsi
|
||||||
@@ -269,6 +278,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/plasma.rsi
|
sprite: Structures/Walls/plasma.rsi
|
||||||
@@ -298,6 +308,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/plastic.rsi
|
sprite: Structures/Walls/plastic.rsi
|
||||||
@@ -359,6 +370,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/riveted.rsi
|
sprite: Structures/Walls/riveted.rsi
|
||||||
@@ -388,6 +400,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/sandstone.rsi
|
sprite: Structures/Walls/sandstone.rsi
|
||||||
@@ -417,6 +430,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/silver.rsi
|
sprite: Structures/Walls/silver.rsi
|
||||||
@@ -446,6 +460,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/solid.rsi
|
sprite: Structures/Walls/solid.rsi
|
||||||
@@ -506,6 +521,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Tag
|
- type: Tag
|
||||||
tags:
|
tags:
|
||||||
|
- Wall
|
||||||
- RCDDeconstructWhitelist
|
- RCDDeconstructWhitelist
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/wood.rsi
|
sprite: Structures/Walls/wood.rsi
|
||||||
|
|||||||
@@ -10,11 +10,13 @@
|
|||||||
sprite: Structures/Wallmounts/Lighting/light_tube.rsi
|
sprite: Structures/Wallmounts/Lighting/light_tube.rsi
|
||||||
state: off
|
state: off
|
||||||
objectType: Structure
|
objectType: Structure
|
||||||
placementMode: WallmountLight
|
placementMode: SnapgridCenter
|
||||||
canRotate: true
|
canRotate: true
|
||||||
canBuildInImpassable: true
|
canBuildInImpassable: false
|
||||||
conditions:
|
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
|
- type: construction
|
||||||
name: small wall light
|
name: small wall light
|
||||||
@@ -28,11 +30,12 @@
|
|||||||
sprite: Structures/Wallmounts/Lighting/light_small.rsi
|
sprite: Structures/Wallmounts/Lighting/light_small.rsi
|
||||||
state: off
|
state: off
|
||||||
objectType: Structure
|
objectType: Structure
|
||||||
placementMode: WallmountLight
|
placementMode: SnapgridCenter
|
||||||
canRotate: true
|
canRotate: true
|
||||||
canBuildInImpassable: true
|
canBuildInImpassable: false
|
||||||
conditions:
|
conditions:
|
||||||
- !type:WallmountCondition {}
|
# Same here. - 20kdc
|
||||||
|
- !type:TileNotBlocked {}
|
||||||
|
|
||||||
- type: construction
|
- type: construction
|
||||||
name: light switch
|
name: light switch
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
sprite: Structures/Power/apc.rsi
|
sprite: Structures/Power/apc.rsi
|
||||||
state: apc0
|
state: apc0
|
||||||
objectType: Structure
|
objectType: Structure
|
||||||
placementMode: AlignWallProper
|
placementMode: SnapgridCenter
|
||||||
canBuildInImpassable: true
|
canBuildInImpassable: true
|
||||||
|
|
||||||
- type: construction
|
- type: construction
|
||||||
|
|||||||
Reference in New Issue
Block a user