Window improvements (#1292)
* Added stone brick and marble brick windows to the crafting menu proper. Sanitized capitalization of construction graph ids and nodes (but not entities). Sanitized stone and marble structure descriptions. * Windows that are built with frames now leave those frames behind when you smash them instead of disintegrating entirely. * Syntax error because entity id * wooden windows * Added a base window frame as well as a wooden window frame and its broken variant. Frames can be vaulted through, and the broken glass variant will deal slash damage and a short stun upon entering. Wooden windows now deconstruct and shatter into both types of frames, which can also be deconstructed. Fixed an issue with window collisions when connected across tiles. Gave wooden windows their own prototype file and construction graph. * stonevrick windows * Added functionality to stone window frame types. Fixed an issue where shattered windows weren't triggering unless they were flammable. * some parenting work * fix fixtures --------- Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com> Co-authored-by: Ed <edwardxperia2000@gmail.com>
@@ -1,8 +1,8 @@
|
||||
# Stonebrick
|
||||
# Stone brick
|
||||
|
||||
- type: entity
|
||||
id: CP14WallFrameStonebrick
|
||||
name: stonebrick wall base
|
||||
name: stone brick wall base
|
||||
parent: CP14BaseWallFrame
|
||||
components:
|
||||
- type: Sprite
|
||||
@@ -12,8 +12,8 @@
|
||||
sprite: _CP14/Structures/Walls/bricks_stone_wall.rsi
|
||||
state: frame
|
||||
- type: Construction
|
||||
graph: CP14WallStonebrick
|
||||
node: CP14WallFrameStonebrick
|
||||
graph: CP14WallStoneBrick
|
||||
node: CP14WallFrameStoneBrick
|
||||
- type: Damageable
|
||||
damageContainer: StructuralInorganic
|
||||
damageModifierSet: CP14RockStructural
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
- type: entity
|
||||
id: CP14WallStonebrick
|
||||
name: stonebrick wall
|
||||
name: stone brick wall
|
||||
parent: CP14BaseWall
|
||||
components:
|
||||
- type: Sprite
|
||||
@@ -48,8 +48,8 @@
|
||||
- type: IconSmooth
|
||||
base: stonebricks
|
||||
- type: Construction
|
||||
graph: CP14WallStonebrick
|
||||
node: CP14WallStonebrick
|
||||
graph: CP14WallStoneBrick
|
||||
node: CP14WallStoneBrick
|
||||
- type: Damageable
|
||||
damageContainer: StructuralInorganic
|
||||
damageModifierSet: CP14RockStructural
|
||||
@@ -65,7 +65,7 @@
|
||||
min: 1
|
||||
max: 2
|
||||
- !type:ChangeConstructionNodeBehavior
|
||||
node: CP14WallFrameStonebrick
|
||||
node: CP14WallFrameStoneBrick
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
path: /Audio/Effects/break_stone.ogg
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
- type: entity
|
||||
id: CP14WallFrameMarblebrick
|
||||
name: marblebrick wall base
|
||||
name: marble brick wall base
|
||||
parent: CP14BaseWallFrame
|
||||
components:
|
||||
- type: Sprite
|
||||
@@ -90,7 +90,7 @@
|
||||
state: frame
|
||||
- type: Construction
|
||||
graph: CP14WallMarbleBrick
|
||||
node: CP14WallFrameMarblebrick
|
||||
node: CP14WallFrameMarbleBrick
|
||||
- type: Damageable
|
||||
damageContainer: StructuralInorganic
|
||||
damageModifierSet: CP14RockStructural
|
||||
@@ -144,7 +144,7 @@
|
||||
min: 1
|
||||
max: 2
|
||||
- !type:ChangeConstructionNodeBehavior
|
||||
node: CP14WallFrameMarblebrick
|
||||
node: CP14WallFrameMarbleBrick
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: Construction
|
||||
@@ -154,7 +154,7 @@
|
||||
|
||||
- type: entity
|
||||
id: CP14WallStonebrickOld
|
||||
name: old stonebrick wall
|
||||
name: old stone brick wall
|
||||
parent: CP14BaseWall
|
||||
components:
|
||||
- type: Sprite
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
- type: entity
|
||||
id: CP14WindowMarbleBrick
|
||||
parent: CP14WindowBase
|
||||
name: marble brick window
|
||||
description: A marble brick wall with a glass window in it.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/marble_bricks_window.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/marble_bricks_window.rsi
|
||||
state: full
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 50
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: WindowShatter
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14GlassShard:
|
||||
min: 1
|
||||
max: 2
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- !type:ChangeConstructionNodeBehavior
|
||||
node: CP14WindowMarbleBrickBroken
|
||||
- type: Construction
|
||||
graph: CP14WindowMarbleBrick
|
||||
node: CP14WindowMarbleBrick
|
||||
|
||||
- type: entity
|
||||
id: CP14WindowFrameMarbleBrick
|
||||
name: marble brick window frame
|
||||
parent: CP14BaseWindowFrame
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/marble_bricks_window_frame.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/marble_bricks_window_frame.rsi
|
||||
- type: Damageable
|
||||
damageContainer: StructuralInorganic
|
||||
damageModifierSet: CP14RockStructural
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 100
|
||||
behaviors:
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14MarbleBlock1:
|
||||
min: 1
|
||||
max: 2
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
path: /Audio/Effects/break_stone.ogg
|
||||
params:
|
||||
volume: -6
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: Construction
|
||||
graph: CP14WindowMarbleBrick
|
||||
node: CP14WindowFrameMarbleBrick
|
||||
|
||||
- type: entity
|
||||
id: CP14WindowMarbleBrickBroken
|
||||
name: shattered marble brick window
|
||||
parent:
|
||||
- CP14BaseWindowFrameBroken
|
||||
- CP14WindowFrameMarbleBrick
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/marble_bricks_window_broken.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/marble_bricks_window_broken.rsi
|
||||
- type: Construction
|
||||
graph: CP14WindowMarbleBrick
|
||||
node: CP14WindowMarbleBrickBroken
|
||||
@@ -0,0 +1,33 @@
|
||||
- type: entity
|
||||
id: CP14WindowIceBlock
|
||||
parent: CP14WindowBase
|
||||
name: ice block
|
||||
description: Smooth and translucent ice.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/ice_block.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/ice_block.rsi
|
||||
state: full
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 15
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: WindowShatter
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: MeleeSound
|
||||
soundGroups:
|
||||
Brute:
|
||||
collection: GlassSmash
|
||||
- type: InteractionPopup
|
||||
interactSuccessString: popup-cp14crystal-ding
|
||||
messagePerceivedByOthers: popup-cp14crystal-ding
|
||||
interactSuccessSound:
|
||||
collection: CP14CrystalDings
|
||||
params:
|
||||
variation: 0.03
|
||||
@@ -0,0 +1,81 @@
|
||||
- type: entity
|
||||
id: CP14WindowStoneBrick
|
||||
parent: CP14WindowBase
|
||||
name: stone brick window
|
||||
description: A stone brick wall with a glass window in it.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/stone_bricks_window.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/stone_bricks_window.rsi
|
||||
state: full
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 50
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: WindowShatter
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14GlassShard:
|
||||
min: 1
|
||||
max: 2
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- !type:ChangeConstructionNodeBehavior
|
||||
node: CP14WindowStoneBrickBroken
|
||||
- type: Construction
|
||||
graph: CP14WindowStoneBrick
|
||||
node: CP14WindowStoneBrick
|
||||
|
||||
- type: entity
|
||||
id: CP14WindowFrameStoneBrick
|
||||
name: stone brick window frame
|
||||
parent: CP14BaseWindowFrame
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/stone_bricks_window_frame.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/stone_bricks_window_frame.rsi
|
||||
- type: Damageable
|
||||
damageContainer: StructuralInorganic
|
||||
damageModifierSet: CP14RockStructural
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 100
|
||||
behaviors:
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14StoneBlock1:
|
||||
min: 1
|
||||
max: 2
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
path: /Audio/Effects/break_stone.ogg
|
||||
params:
|
||||
volume: -6
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: Construction
|
||||
graph: CP14WindowStoneBrick
|
||||
node: CP14WindowFrameStoneBrick
|
||||
|
||||
- type: entity
|
||||
id: CP14WindowStoneBrickBroken
|
||||
name: shattered stone brick window
|
||||
parent:
|
||||
- CP14BaseWindowFrameBroken
|
||||
- CP14WindowFrameStoneBrick
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/stone_bricks_window_broken.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/stone_bricks_window_broken.rsi
|
||||
- type: Construction
|
||||
graph: CP14WindowStoneBrick
|
||||
node: CP14WindowStoneBrickBroken
|
||||
@@ -13,6 +13,16 @@
|
||||
base: window
|
||||
- type: PlacementReplacement
|
||||
key: walls
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.5,-0.5,0.5,0.5"
|
||||
mask:
|
||||
- FullTileMask
|
||||
layer:
|
||||
- GlassLayer
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Glass
|
||||
@@ -27,97 +37,73 @@
|
||||
collection: WindowShatter
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 50
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: WindowShatter
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14GlassShard:
|
||||
min: 1
|
||||
max: 2
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
|
||||
- type: entity
|
||||
id: CP14WindowStoneBrick
|
||||
parent: CP14WindowBase
|
||||
name: stone brick window
|
||||
description: A stone brick wall with a glass window in it.
|
||||
id: CP14BaseWindowFrame
|
||||
categories: [ ForkFiltered ]
|
||||
parent: BaseStructure
|
||||
abstract: true
|
||||
description: Provides a nice breeze. The gap looks big enough to climb through.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
- Window
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/stone_bricks_window.rsi
|
||||
drawdepth: Mobs
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/stone_bricks_window.rsi
|
||||
state: full
|
||||
- type: Construction
|
||||
graph: CP14WallStonebrick
|
||||
node: CP14WallStonebrick
|
||||
- type: IconSmooth
|
||||
key: CP14window
|
||||
base: window
|
||||
- type: PlacementReplacement
|
||||
key: walls
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.5,-0.5,0.5,0.5"
|
||||
mask:
|
||||
- FullTileMask
|
||||
layer:
|
||||
- HalfWallLayer
|
||||
- type: Appearance
|
||||
- type: Climbable
|
||||
|
||||
- type: entity
|
||||
id: CP14WindowMarbleBrick
|
||||
parent: CP14WindowBase
|
||||
name: marble brick window
|
||||
description: A stone brick wall with a glass window in it.
|
||||
id: CP14BaseWindowFrameBroken
|
||||
parent: CP14BaseWindowFrame
|
||||
abstract: true
|
||||
description: Broken window. You can get in, but the sharp splinters will tear your skin.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/marble_bricks_window.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/marble_bricks_window.rsi
|
||||
state: full
|
||||
- type: Construction
|
||||
graph: CP14WallMarbleBrick
|
||||
node: CP14WindowMarbleBrick
|
||||
|
||||
- type: entity
|
||||
id: CP14WindowWooden
|
||||
parent:
|
||||
- CP14WindowBase
|
||||
- CP14BaseFlammable
|
||||
name: wooden window
|
||||
description: A wooden wall with a glass window in it.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/wooden_window.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/wooden_window.rsi
|
||||
- type: Construction
|
||||
graph: CP14WallWooden
|
||||
node: CP14WindowWooden
|
||||
|
||||
- type: entity
|
||||
id: CP14WindowIceBlock
|
||||
parent: CP14WindowBase
|
||||
name: ice block
|
||||
description: Smooth and translucent ice.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/ice_block.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/ice_block.rsi
|
||||
state: full
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 15
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: WindowShatter
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: MeleeSound
|
||||
soundGroups:
|
||||
Brute:
|
||||
collection: GlassSmash
|
||||
- type: InteractionPopup
|
||||
interactSuccessString: popup-cp14crystal-ding
|
||||
messagePerceivedByOthers: popup-cp14crystal-ding
|
||||
interactSuccessSound:
|
||||
collection: CP14CrystalDings
|
||||
params:
|
||||
variation: 0.03
|
||||
- type: StepTrigger
|
||||
requiredTriggeredSpeed: 0
|
||||
intersectRatio: 0.2
|
||||
- type: Slippery
|
||||
slipSound:
|
||||
collection: GlassCrack
|
||||
slipData:
|
||||
launchForwardsMultiplier: 0
|
||||
- type: TriggerOnStepTrigger
|
||||
- type: DamageUserOnTrigger
|
||||
damage:
|
||||
types:
|
||||
Slash: 10
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.5,-0.5,0.5,0.5"
|
||||
mask:
|
||||
- FullTileMask
|
||||
layer:
|
||||
- HalfWallLayer
|
||||
slips: # For stun & damage
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.3,-0.3,0.3,0.3"
|
||||
hard: false
|
||||
mask:
|
||||
- FullTileLayer
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
- type: entity
|
||||
id: CP14WindowWooden
|
||||
parent:
|
||||
- CP14WindowBase
|
||||
- CP14BaseFlammable
|
||||
name: wooden window
|
||||
description: A wooden wall with a glass window in it.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/wooden_window.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/wooden_window.rsi
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 50
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: WindowShatter
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14GlassShard:
|
||||
min: 1
|
||||
max: 2
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- !type:ChangeConstructionNodeBehavior
|
||||
node: CP14WindowWoodenBroken
|
||||
- type: Construction
|
||||
graph: CP14WindowWooden
|
||||
node: CP14WindowWooden
|
||||
|
||||
- type: entity
|
||||
id: CP14WindowFrameWooden
|
||||
name: wooden window frame
|
||||
parent:
|
||||
- CP14BaseWindowFrame
|
||||
- CP14BaseFlammable
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/wooden_window_frame.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/wooden_window_frame.rsi
|
||||
- type: Damageable
|
||||
damageContainer: StructuralInorganic
|
||||
damageModifierSet: CP14WoodStructural
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 50
|
||||
behaviors:
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14WoodenPlanks1:
|
||||
min: 1
|
||||
max: 2
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: WoodDestroy
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: Construction
|
||||
graph: CP14WindowWooden
|
||||
node: CP14WindowFrameWooden
|
||||
|
||||
- type: entity
|
||||
id: CP14WindowWoodenBroken
|
||||
name: shattered wooden window
|
||||
parent:
|
||||
- CP14BaseWindowFrameBroken
|
||||
- CP14WindowFrameWooden
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/wooden_window_broken.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/wooden_window_broken.rsi
|
||||
- type: Construction
|
||||
graph: CP14WindowWooden
|
||||
node: CP14WindowWoodenBroken
|
||||
@@ -1,10 +1,10 @@
|
||||
- type: constructionGraph
|
||||
id: CP14WallStonebrick
|
||||
id: CP14WallStoneBrick
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: CP14WallFrameStonebrick
|
||||
- to: CP14WallFrameStoneBrick
|
||||
completed:
|
||||
- !type:SnapToGrid
|
||||
southRotation: true
|
||||
@@ -13,7 +13,7 @@
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
|
||||
- node: CP14WallFrameStonebrick
|
||||
- node: CP14WallFrameStoneBrick
|
||||
entity: CP14WallFrameStonebrick
|
||||
edges:
|
||||
- to: start
|
||||
@@ -25,28 +25,20 @@
|
||||
steps:
|
||||
- tool: Prying
|
||||
doAfter: 2
|
||||
- to: CP14WallStonebrick
|
||||
- to: CP14WallStoneBrick
|
||||
steps:
|
||||
- material: CP14Stone
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
- to: CP14WindowStoneBrick
|
||||
steps:
|
||||
- material: CP14GlassSheet
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
|
||||
- node: CP14WallStonebrick
|
||||
- node: CP14WallStoneBrick
|
||||
entity: CP14WallStonebrick
|
||||
edges:
|
||||
- to: CP14WallFrameStonebrick
|
||||
- to: CP14WallFrameStoneBrick
|
||||
steps:
|
||||
- tool: CP14Hammering
|
||||
doAfter: 2
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CP14StoneBlock1
|
||||
amount: 2
|
||||
|
||||
- node: CP14WindowStoneBrick
|
||||
entity: CP14WindowStoneBrick
|
||||
amount: 2
|
||||
@@ -4,7 +4,7 @@
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: CP14WallFrameMarblebrick
|
||||
- to: CP14WallFrameMarbleBrick
|
||||
completed:
|
||||
- !type:SnapToGrid
|
||||
southRotation: true
|
||||
@@ -13,7 +13,7 @@
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
|
||||
- node: CP14WallFrameMarblebrick
|
||||
- node: CP14WallFrameMarbleBrick
|
||||
entity: CP14WallFrameMarblebrick
|
||||
edges:
|
||||
- to: start
|
||||
@@ -30,23 +30,15 @@
|
||||
- material: CP14MarbleStone
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
- to: CP14WindowMarbleBrick
|
||||
steps:
|
||||
- material: CP14GlassSheet
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
|
||||
- node: CP14WallMarbleBrick
|
||||
entity: CP14WallMarbleBrick
|
||||
edges:
|
||||
- to: CP14WallFrameMarblebrick
|
||||
- to: CP14WallFrameMarbleBrick
|
||||
steps:
|
||||
- tool: CP14Hammering
|
||||
doAfter: 2
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CP14MarbleBlock1
|
||||
amount: 2
|
||||
|
||||
- node: CP14WindowMarbleBrick
|
||||
entity: CP14WindowMarbleBrick
|
||||
amount: 2
|
||||
@@ -30,11 +30,6 @@
|
||||
- material: CP14WoodenPlanks
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
- to: CP14WindowWooden
|
||||
steps:
|
||||
- material: CP14GlassSheet
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
|
||||
- node: CP14WallWooden
|
||||
entity: CP14WallWooden
|
||||
@@ -46,7 +41,4 @@
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CP14WoodenPlanks1
|
||||
amount: 2
|
||||
|
||||
- node: CP14WindowWooden
|
||||
entity: CP14WindowWooden
|
||||
amount: 2
|
||||
@@ -0,0 +1,58 @@
|
||||
- type: constructionGraph
|
||||
id: CP14WindowStoneBrick
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: CP14WindowFrameStoneBrick
|
||||
completed:
|
||||
- !type:SnapToGrid
|
||||
southRotation: true
|
||||
steps:
|
||||
- material: CP14Stone
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
|
||||
- node: CP14WindowFrameStoneBrick
|
||||
entity: CP14WindowFrameStoneBrick
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CP14StoneBlock1
|
||||
amount: 2
|
||||
- !type:DeleteEntity {}
|
||||
steps:
|
||||
- tool: Prying
|
||||
doAfter: 2
|
||||
- to: CP14WindowStoneBrick
|
||||
steps:
|
||||
- material: CP14GlassSheet
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
|
||||
- node: CP14WindowStoneBrick
|
||||
entity: CP14WindowStoneBrick
|
||||
edges:
|
||||
- to: CP14WindowFrameStoneBrick
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
- tool: Anchoring
|
||||
doAfter: 2
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CP14GlassSheet1
|
||||
amount: 2
|
||||
|
||||
- node: CP14WindowStoneBrickBroken
|
||||
entity: CP14WindowStoneBrickBroken
|
||||
edges:
|
||||
- to: CP14WindowFrameStoneBrick
|
||||
steps:
|
||||
- tool: Anchoring
|
||||
doAfter: 2
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CP14GlassShard
|
||||
amount: 1
|
||||
@@ -0,0 +1,58 @@
|
||||
- type: constructionGraph
|
||||
id: CP14WindowMarbleBrick
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: CP14WindowFrameMarbleBrick
|
||||
completed:
|
||||
- !type:SnapToGrid
|
||||
southRotation: true
|
||||
steps:
|
||||
- material: CP14MarbleStone
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
|
||||
- node: CP14WindowFrameMarbleBrick
|
||||
entity: CP14WindowFrameMarbleBrick
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CP14MarbleBlock1
|
||||
amount: 2
|
||||
- !type:DeleteEntity {}
|
||||
steps:
|
||||
- tool: Prying
|
||||
doAfter: 2
|
||||
- to: CP14WindowMarbleBrick
|
||||
steps:
|
||||
- material: CP14GlassSheet
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
|
||||
- node: CP14WindowMarbleBrick
|
||||
entity: CP14WindowMarbleBrick
|
||||
edges:
|
||||
- to: CP14WindowFrameMarbleBrick
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
- tool: Anchoring
|
||||
doAfter: 2
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CP14GlassSheet1
|
||||
amount: 2
|
||||
|
||||
- node: CP14WindowMarbleBrickBroken
|
||||
entity: CP14WindowMarbleBrickBroken
|
||||
edges:
|
||||
- to: CP14WindowFrameMarbleBrick
|
||||
steps:
|
||||
- tool: Anchoring
|
||||
doAfter: 2
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CP14GlassShard
|
||||
amount: 1
|
||||
@@ -0,0 +1,58 @@
|
||||
- type: constructionGraph
|
||||
id: CP14WindowWooden
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: CP14WindowFrameWooden
|
||||
completed:
|
||||
- !type:SnapToGrid
|
||||
southRotation: true
|
||||
steps:
|
||||
- material: CP14WoodenPlanks
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
|
||||
- node: CP14WindowFrameWooden
|
||||
entity: CP14WindowFrameWooden
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CP14WoodenPlanks1
|
||||
amount: 2
|
||||
- !type:DeleteEntity {}
|
||||
steps:
|
||||
- tool: Prying
|
||||
doAfter: 2
|
||||
- to: CP14WindowWooden
|
||||
steps:
|
||||
- material: CP14GlassSheet
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
|
||||
- node: CP14WindowWooden
|
||||
entity: CP14WindowWooden
|
||||
edges:
|
||||
- to: CP14WindowFrameWooden
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
- tool: Anchoring
|
||||
doAfter: 2
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CP14GlassSheet1
|
||||
amount: 2
|
||||
|
||||
- node: CP14WindowWoodenBroken
|
||||
entity: CP14WindowWoodenBroken
|
||||
edges:
|
||||
- to: CP14WindowFrameWooden
|
||||
steps:
|
||||
- tool: Anchoring
|
||||
doAfter: 2
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CP14GlassShard
|
||||
amount: 1
|
||||
@@ -57,7 +57,7 @@
|
||||
name: wooden window
|
||||
description: A wooden wall with a glass window in it.
|
||||
id: CP14WindowWooden
|
||||
graph: CP14WallWooden
|
||||
graph: CP14WindowWooden
|
||||
startNode: start
|
||||
targetNode: CP14WindowWooden
|
||||
category: construction-category-structures
|
||||
@@ -90,12 +90,12 @@
|
||||
|
||||
- type: construction
|
||||
crystallPunkAllowed: true
|
||||
name: stonebrick wall
|
||||
name: stone brick wall
|
||||
description: Sturdy enough to cover you from threats or cold winds.
|
||||
id: CP14WallStonebrick
|
||||
graph: CP14WallStonebrick
|
||||
id: CP14WallStoneBrick
|
||||
graph: CP14WallStoneBrick
|
||||
startNode: start
|
||||
targetNode: CP14WallStonebrick
|
||||
targetNode: CP14WallStoneBrick
|
||||
category: construction-category-structures
|
||||
icon:
|
||||
sprite: _CP14/Structures/Walls/bricks_stone_wall.rsi
|
||||
@@ -106,6 +106,24 @@
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
- type: construction
|
||||
crystallPunkAllowed: true
|
||||
name: stone brick window
|
||||
description: A stone brick wall with a glass window in it.
|
||||
id: CP14WindowStoneBrick
|
||||
graph: CP14WindowStoneBrick
|
||||
startNode: start
|
||||
targetNode: CP14WindowStoneBrick
|
||||
category: construction-category-structures
|
||||
icon:
|
||||
sprite: _CP14/Structures/Windows/stone_bricks_window.rsi
|
||||
state: full
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
- type: construction
|
||||
crystallPunkAllowed: true
|
||||
name: marble brick wall
|
||||
@@ -121,5 +139,23 @@
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
- type: construction
|
||||
crystallPunkAllowed: true
|
||||
name: marble brick window
|
||||
description: A marble brick wall with a glass window in it.
|
||||
id: CP14WindowMarbleBrick
|
||||
graph: CP14WindowMarbleBrick
|
||||
startNode: start
|
||||
targetNode: CP14WindowMarbleBrick
|
||||
category: construction-category-structures
|
||||
icon:
|
||||
sprite: _CP14/Structures/Windows/marble_bricks_window.rsi
|
||||
state: full
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "All right reserved",
|
||||
"copyright": "By jaraten(discord)",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 64
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "full"
|
||||
},
|
||||
{
|
||||
"name": "window0",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window3",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window4",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window5",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window6",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window7",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 715 B |
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "All right reserved",
|
||||
"copyright": "By jaraten(discord)",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 64
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "full"
|
||||
},
|
||||
{
|
||||
"name": "window0",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window3",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window4",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window5",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window6",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window7",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 771 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 125 B |
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "All right reserved",
|
||||
"copyright": "By jaraten(discord)",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 64
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "full"
|
||||
},
|
||||
{
|
||||
"name": "window0",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window3",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window4",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window5",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window6",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window7",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 715 B |
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "All right reserved",
|
||||
"copyright": "By jaraten(discord)",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 64
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "full"
|
||||
},
|
||||
{
|
||||
"name": "window0",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window3",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window4",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window5",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window6",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window7",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 726 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 125 B |
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "All right reserved",
|
||||
"copyright": "By TheShuEd(github)",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 64
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "full"
|
||||
},
|
||||
{
|
||||
"name": "window0",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window3",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window4",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window5",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window6",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window7",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 959 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 715 B |
|
After Width: | Height: | Size: 799 B |
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "All right reserved",
|
||||
"copyright": "By TheShuEd(github)",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 64
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "full"
|
||||
},
|
||||
{
|
||||
"name": "window0",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window1",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window2",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window3",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window4",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window5",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window6",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "window7",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 803 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 782 B |
|
After Width: | Height: | Size: 806 B |
|
After Width: | Height: | Size: 597 B |
|
After Width: | Height: | Size: 755 B |
|
After Width: | Height: | Size: 125 B |