Ed 19 05 2024 building2 (#161)
* added wooden planks from wooden logs * update construction crafts from new wood planks * Update simple.yml * add wall frame and wall construction graph * noSpawn old planks, fix wooden frame layering * update Jaraten sprites * add wooden window and restruct files * fix * Update wall.yml * add new walls! * restruct wallmounts, fix bugs * door fix * Update walls.yml * Update simple.yml
@@ -1 +1 @@
|
||||
cp14-material-wood-log = wooden log
|
||||
cp14-material-wooden-planks = wooden planks
|
||||
2
Resources/Locale/en-US/_CP14/tools/tool-qualities.ftl
Normal file
@@ -0,0 +1,2 @@
|
||||
cp14-tool-quality-digging-name = Digging
|
||||
cp14-tool-quality-digging-tool-name = Shovel
|
||||
@@ -1 +1 @@
|
||||
cp14-material-wood-log = деревянное бревно
|
||||
cp14-material-wooden-planks = деревянные доски
|
||||
2
Resources/Locale/ru-RU/_CP14/tools/tool-qualities.ftl
Normal file
@@ -0,0 +1,2 @@
|
||||
cp14-tool-quality-digging-name = Копание
|
||||
cp14-tool-quality-digging-tool-name = Лопата
|
||||
@@ -213,6 +213,7 @@
|
||||
- type: entity
|
||||
parent: MaterialBase
|
||||
id: MaterialWoodPlank
|
||||
noSpawn: true
|
||||
name: wood
|
||||
suffix: Full
|
||||
components:
|
||||
@@ -251,6 +252,7 @@
|
||||
- type: entity
|
||||
parent: MaterialWoodPlank
|
||||
id: MaterialWoodPlank10
|
||||
noSpawn: true
|
||||
suffix: 10
|
||||
components:
|
||||
- type: Stack
|
||||
@@ -259,6 +261,7 @@
|
||||
- type: entity
|
||||
parent: MaterialWoodPlank
|
||||
id: MaterialWoodPlank1
|
||||
noSpawn: true
|
||||
suffix: Single
|
||||
components:
|
||||
- type: Stack
|
||||
|
||||
@@ -40,8 +40,8 @@
|
||||
count: 10
|
||||
|
||||
- type: entity
|
||||
id: CP14WoodLog1
|
||||
parent:
|
||||
id: CP14WoodLog
|
||||
parent:
|
||||
- BaseItem
|
||||
- CP14BaseWooden
|
||||
name: wooden log
|
||||
@@ -49,24 +49,19 @@
|
||||
components:
|
||||
- type: Item
|
||||
size: Normal
|
||||
shape:
|
||||
- 0,0,1,0
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/Materials/logs.rsi
|
||||
sprite: _CP14/Objects/Materials/wood.rsi
|
||||
layers:
|
||||
- state: log
|
||||
map: ["base"]
|
||||
- type: Appearance
|
||||
- type: Stack
|
||||
stackType: CP14WoodLog
|
||||
count: 1
|
||||
baseLayer: base
|
||||
layerStates:
|
||||
- log
|
||||
- log_2
|
||||
- log_3
|
||||
- type: Material
|
||||
- type: PhysicalComposition # точно ли это нужно?
|
||||
materialComposition:
|
||||
CP14WoodLog: 100
|
||||
map: ["random"]
|
||||
- type: RandomSprite
|
||||
available:
|
||||
- random:
|
||||
log: ""
|
||||
log_2: ""
|
||||
log_3: ""
|
||||
- type: Tag
|
||||
tags:
|
||||
- CP14FireplaceFuel
|
||||
@@ -76,14 +71,67 @@
|
||||
canResistFire: false
|
||||
alwaysCombustible: true
|
||||
canExtinguish: true
|
||||
cP14FireplaceFuel: 30
|
||||
damage:
|
||||
types:
|
||||
Heat: 1
|
||||
- type: Log
|
||||
spawnedPrototype: CP14WoodenPlanks1
|
||||
spawnCount: 3
|
||||
|
||||
- type: entity
|
||||
id: CP14WoodLog10
|
||||
parent: CP14WoodLog1
|
||||
suffix: 10
|
||||
id: CP14WoodenPlanks1
|
||||
parent:
|
||||
- BaseItem
|
||||
- CP14BaseWooden
|
||||
name: wooden planks
|
||||
description: Treated and ready-to-use wood.
|
||||
components:
|
||||
- type: Item
|
||||
size: Normal
|
||||
- type: Sprite
|
||||
sprite: _CP14/Objects/Materials/wood.rsi
|
||||
layers:
|
||||
- state: planks
|
||||
map: ["base"]
|
||||
- type: Tag
|
||||
tags:
|
||||
- CP14FireplaceFuel
|
||||
- Wooden
|
||||
- type: Flammable
|
||||
fireSpread: false
|
||||
canResistFire: false
|
||||
alwaysCombustible: true
|
||||
canExtinguish: true
|
||||
cP14FireplaceFuel: 12
|
||||
damage:
|
||||
types:
|
||||
Heat: 1
|
||||
- type: Appearance
|
||||
- type: FloorTile
|
||||
placeTileSound:
|
||||
path: /Audio/Effects/woodenclosetclose.ogg
|
||||
params:
|
||||
variation: 0.03
|
||||
volume: 2
|
||||
outputs:
|
||||
- CP14FloorWoodPlanks
|
||||
- type: Stack
|
||||
stackType: CP14WoodenPlanks
|
||||
count: 1
|
||||
baseLayer: base
|
||||
layerStates:
|
||||
- planks
|
||||
- planks_2
|
||||
- planks_3
|
||||
- type: Material
|
||||
- type: PhysicalComposition # точно ли это нужно?
|
||||
materialComposition:
|
||||
CP14WoodenPlanks: 100
|
||||
|
||||
- type: entity
|
||||
id: CP14WoodenPlanks10
|
||||
parent: CP14WoodenPlanks1
|
||||
components:
|
||||
- type: Stack
|
||||
count: 10
|
||||
@@ -1,3 +1,124 @@
|
||||
# Wallmount crystall
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountCrystalBase
|
||||
parent:
|
||||
- BaseStructure
|
||||
abstract: true
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: _CP14/Structures/Wallmount/wallmount_crystal.rsi
|
||||
layers:
|
||||
- state: crystal1
|
||||
map: ["random"]
|
||||
shader: unshaded
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Glass
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 20
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: GlassBreak
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "0.49,0.49,-0.49,0.36"
|
||||
density: 60
|
||||
mask:
|
||||
- MachineMask
|
||||
layer:
|
||||
- MidImpassable
|
||||
- LowImpassable
|
||||
- type: RandomSprite
|
||||
available:
|
||||
- random:
|
||||
crystal1: Inherit
|
||||
crystal2: Inherit
|
||||
crystal3: Inherit
|
||||
- type: PointLight
|
||||
radius: 1.5
|
||||
energy: 1
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountCrystalRubies
|
||||
parent: CP14WallmountCrystalBase
|
||||
name: sparkling rubies
|
||||
description: wawa
|
||||
components:
|
||||
- type: RandomSprite
|
||||
cP14InheritBaseColor: "#ff3d0b"
|
||||
- type: PointLight
|
||||
color: "#ff3d0b"
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountCrystalTopazes
|
||||
parent: CP14WallmountCrystalBase
|
||||
name: sparkling topazes
|
||||
description: wawa
|
||||
components:
|
||||
- type: RandomSprite
|
||||
cP14InheritBaseColor: "#ffe269"
|
||||
- type: PointLight
|
||||
color: "#ffe269"
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountCrystalEmeralds
|
||||
parent: CP14WallmountCrystalBase
|
||||
name: sparkling emeralds
|
||||
description: wawa
|
||||
components:
|
||||
- type: RandomSprite
|
||||
cP14InheritBaseColor: "#30be81"
|
||||
- type: PointLight
|
||||
color: "#30be81"
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountCrystalSapphires
|
||||
parent: CP14WallmountCrystalBase
|
||||
name: sparkling sapphires
|
||||
description: wawa
|
||||
components:
|
||||
- type: RandomSprite
|
||||
cP14InheritBaseColor: "#5eabeb"
|
||||
- type: PointLight
|
||||
color: "#5eabeb"
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountCrystalAmethysts
|
||||
parent: CP14WallmountCrystalBase
|
||||
name: sparkling amethysts
|
||||
description: wawa
|
||||
components:
|
||||
- type: RandomSprite
|
||||
cP14InheritBaseColor: "#a878d1"
|
||||
- type: PointLight
|
||||
color: "#a878d1"
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountCrystalDiamonds
|
||||
parent: CP14WallmountCrystalBase
|
||||
name: sparkling diamonds
|
||||
description: wawa
|
||||
components:
|
||||
- type: RandomSprite
|
||||
cP14InheritBaseColor: "#f8f8f8"
|
||||
- type: PointLight
|
||||
color: "#f8f8f8"
|
||||
|
||||
# Floor Crystal
|
||||
|
||||
- type: entity
|
||||
id: CP14CrystalBase
|
||||
abstract: true
|
||||
@@ -53,9 +53,13 @@
|
||||
acts: [ "Destruction" ]
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14WoodLog1:
|
||||
CP14WoodLog:
|
||||
min: 1
|
||||
max: 3
|
||||
- type: Material
|
||||
- type: PhysicalComposition # точно ли это нужно?
|
||||
materialComposition:
|
||||
CP14WoodenPlanks: 100
|
||||
|
||||
- type: entity
|
||||
parent: CP14BaseTree
|
||||
@@ -97,7 +101,7 @@
|
||||
acts: [ "Destruction" ]
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
CP14WoodLog1:
|
||||
CP14WoodLog:
|
||||
min: 3
|
||||
max: 6
|
||||
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
- type: entity
|
||||
id: CP14FrameWooden
|
||||
name: wooden wall frame
|
||||
parent: BaseStructureDynamic
|
||||
description: Wooden frame for any wooden wall.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
- Wall
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: _CP14/Structures/Walls/wall_frame.rsi
|
||||
state: wooden
|
||||
- type: PlacementReplacement
|
||||
key: walls
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: false
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.45,-0.45,0.45,0.45"
|
||||
density: 60
|
||||
mask:
|
||||
- MachineMask
|
||||
layer:
|
||||
- GlassAirlockLayer
|
||||
- type: InteractionOutline
|
||||
- type: Construction
|
||||
graph: CP14Wall
|
||||
node: FrameWooden
|
||||
@@ -1,116 +0,0 @@
|
||||
- type: entity
|
||||
id: CP14WallmountCrystalBase
|
||||
parent:
|
||||
- BaseStructure
|
||||
abstract: true
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: _CP14/Structures/Wallmount/wallmount_crystal.rsi
|
||||
layers:
|
||||
- state: crystal1
|
||||
map: ["random"]
|
||||
shader: unshaded
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Glass
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 20
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: GlassBreak
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "0.49,0.49,-0.49,0.36"
|
||||
density: 60
|
||||
mask:
|
||||
- MachineMask
|
||||
layer:
|
||||
- MidImpassable
|
||||
- LowImpassable
|
||||
- type: RandomSprite
|
||||
available:
|
||||
- random:
|
||||
crystal1: Inherit
|
||||
crystal2: Inherit
|
||||
crystal3: Inherit
|
||||
- type: PointLight
|
||||
radius: 1.5
|
||||
energy: 1
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountCrystalRubies
|
||||
parent: CP14WallmountCrystalBase
|
||||
name: sparkling rubies
|
||||
description: wawa
|
||||
components:
|
||||
- type: RandomSprite
|
||||
cP14InheritBaseColor: "#ff3d0b"
|
||||
- type: PointLight
|
||||
color: "#ff3d0b"
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountCrystalTopazes
|
||||
parent: CP14WallmountCrystalBase
|
||||
name: sparkling topazes
|
||||
description: wawa
|
||||
components:
|
||||
- type: RandomSprite
|
||||
cP14InheritBaseColor: "#ffe269"
|
||||
- type: PointLight
|
||||
color: "#ffe269"
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountCrystalEmeralds
|
||||
parent: CP14WallmountCrystalBase
|
||||
name: sparkling emeralds
|
||||
description: wawa
|
||||
components:
|
||||
- type: RandomSprite
|
||||
cP14InheritBaseColor: "#30be81"
|
||||
- type: PointLight
|
||||
color: "#30be81"
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountCrystalSapphires
|
||||
parent: CP14WallmountCrystalBase
|
||||
name: sparkling sapphires
|
||||
description: wawa
|
||||
components:
|
||||
- type: RandomSprite
|
||||
cP14InheritBaseColor: "#5eabeb"
|
||||
- type: PointLight
|
||||
color: "#5eabeb"
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountCrystalAmethysts
|
||||
parent: CP14WallmountCrystalBase
|
||||
name: sparkling amethysts
|
||||
description: wawa
|
||||
components:
|
||||
- type: RandomSprite
|
||||
cP14InheritBaseColor: "#a878d1"
|
||||
- type: PointLight
|
||||
color: "#a878d1"
|
||||
|
||||
- type: entity
|
||||
id: CP14WallmountCrystalDiamonds
|
||||
parent: CP14WallmountCrystalBase
|
||||
name: sparkling diamonds
|
||||
description: wawa
|
||||
components:
|
||||
- type: RandomSprite
|
||||
cP14InheritBaseColor: "#f8f8f8"
|
||||
- type: PointLight
|
||||
color: "#f8f8f8"
|
||||
@@ -5,9 +5,9 @@
|
||||
description: A solid stone natural wall. It has a cave-like coldness to it.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Walls/cave_stone.rsi
|
||||
sprite: _CP14/Structures/Walls/Natural/cave_stone.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Walls/cave_stone.rsi
|
||||
sprite: _CP14/Structures/Walls/Natural/cave_stone.rsi
|
||||
- type: IconSmooth
|
||||
base: wall
|
||||
- type: Damageable
|
||||
@@ -92,9 +92,9 @@
|
||||
description: A solid stone natural wall. You see the tantalizing particles of silver in it.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Walls/cave_stone_silver.rsi
|
||||
sprite: _CP14/Structures/Walls/Natural/cave_stone_silver.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Walls/cave_stone_silver.rsi
|
||||
sprite: _CP14/Structures/Walls/Natural/cave_stone_silver.rsi
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
@@ -123,9 +123,9 @@
|
||||
description: A solid stone natural wall. You see the tantalizing particles of gold in it.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Walls/cave_stone_gold.rsi
|
||||
sprite: _CP14/Structures/Walls/Natural/cave_stone_gold.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Walls/cave_stone_gold.rsi
|
||||
sprite: _CP14/Structures/Walls/Natural/cave_stone_gold.rsi
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
|
||||
@@ -13,116 +13,77 @@
|
||||
drawdepth: Mobs
|
||||
- type: SpriteFade
|
||||
- type: IconSmooth
|
||||
key: CPwall
|
||||
key: CP14wall
|
||||
base: stone
|
||||
|
||||
- type: entity
|
||||
id: CP14WallDebug
|
||||
name: debug wall
|
||||
suffix: DEBUG
|
||||
parent: CP14BaseWall
|
||||
description: Ужасы
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Walls/TEMPLATE.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Walls/TEMPLATE.rsi
|
||||
state: full
|
||||
- type: IconSmooth
|
||||
base: wood
|
||||
|
||||
- type: PlacementReplacement
|
||||
key: walls
|
||||
|
||||
- type: entity
|
||||
id: CP14WallStonebrick
|
||||
name: stone brick wall
|
||||
parent: CP14BaseWall
|
||||
description: Ужасы
|
||||
description: Bruh
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Walls/bricks_stone_wall.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Walls/bricks_stone_wall.rsi
|
||||
state: full
|
||||
- type: IconSmooth
|
||||
base: stonebricks
|
||||
|
||||
- type: entity
|
||||
id: CP14WindowDebug #TODO remove
|
||||
name: debug window
|
||||
suffix: DEBUG
|
||||
id: CP14WallWhitebrick
|
||||
name: white brick wall
|
||||
parent: CP14BaseWall
|
||||
description: Ужасы
|
||||
description: Bruh
|
||||
components:
|
||||
- type: Occluder
|
||||
enabled: false
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Windows/TEMPLATE_WINDOW.rsi
|
||||
drawdepth: Mobs
|
||||
sprite: _CP14/Structures/Walls/whitebricks_stone_wall.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/TEMPLATE_WINDOW.rsi
|
||||
state: full
|
||||
sprite: _CP14/Structures/Walls/whitebricks_stone_wall.rsi
|
||||
- type: IconSmooth
|
||||
base: stonebricks
|
||||
|
||||
- type: entity
|
||||
id: CP14WallBrownbrick
|
||||
name: brick wall
|
||||
parent: CP14BaseWall
|
||||
description: Bruh
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Walls/bricks_wall.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Walls/bricks_wall.rsi
|
||||
- type: IconSmooth
|
||||
base: bricksA
|
||||
|
||||
- type: entity
|
||||
id: CP14WallWooden
|
||||
name: wooden wall
|
||||
parent: CP14BaseWall
|
||||
description: Bruh
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Walls/wooden_wall.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Walls/wooden_wall.rsi
|
||||
- type: IconSmooth
|
||||
base: wood
|
||||
key: CPwindow
|
||||
|
||||
- type: entity
|
||||
id: CP14WindowStoneBrick
|
||||
parent: CP14WindowDebug
|
||||
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
|
||||
drawdepth: Mobs
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Windows/stone_bricks_window.rsi
|
||||
state: full
|
||||
- type: IconSmooth
|
||||
base: stone_bricks_window
|
||||
|
||||
- type: entity
|
||||
id: CP14CardboardWall
|
||||
id: CP14WallCardboard
|
||||
name: cardboard Wall
|
||||
description: A thin, flimsy wall made of paper and cardboard. Popular in warm countries.
|
||||
parent:
|
||||
- CP14BaseWall
|
||||
- CP14WallWooden
|
||||
- CP14BaseWooden
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Structures/Walls/cardboard_walls.rsi
|
||||
sprite: _CP14/Structures/Walls/cardboard_wall.rsi
|
||||
- type: Icon
|
||||
sprite: _CP14/Structures/Walls/cardboard_walls.rsi
|
||||
state: full
|
||||
- type: IconSmooth
|
||||
base: wood
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Wood
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTypeTrigger
|
||||
damageType: Heat
|
||||
damage: 150
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: WoodDestroy
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 200
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: WoodDestroy
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
MaterialWoodPlank:
|
||||
min: 2
|
||||
max: 3
|
||||
- type: FireVisuals
|
||||
sprite: _CP14/Effects/fire.rsi
|
||||
normalState: full
|
||||
sprite: _CP14/Structures/Walls/cardboard_wall.rsi
|
||||
- type: Construction
|
||||
graph: CP14Wall
|
||||
node: WallCardboard
|
||||
@@ -0,0 +1,40 @@
|
||||
- type: entity
|
||||
id: CP14WindowBase
|
||||
abstract: true
|
||||
parent: Window
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
- type: Icon
|
||||
state: full
|
||||
- type: IconSmooth
|
||||
key: CP14window
|
||||
- type: PlacementReplacement
|
||||
key: walls
|
||||
|
||||
- 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: IconSmooth
|
||||
base: stone_bricks_window
|
||||
|
||||
- type: entity
|
||||
id: CP14WindowWooden
|
||||
parent: CP14WindowBase
|
||||
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: IconSmooth
|
||||
base: wood_window
|
||||
@@ -1,8 +1,8 @@
|
||||
- type: material
|
||||
id: CP14WoodLog
|
||||
stackEntity: CP14WoodLog1
|
||||
name: cp14-material-wood-log
|
||||
unit: materials-unit-piece
|
||||
icon: { sprite: _CP14/Objects/Materials/logs.rsi, state: log_2 }
|
||||
id: CP14WoodenPlanks
|
||||
stackEntity: CP14WoodenPlanks1
|
||||
name: cp14-material-wooden-planks
|
||||
unit: materials-unit-plank
|
||||
icon: { sprite: _CP14/Objects/Materials/wood.rsi, state: planks_2 }
|
||||
color: "#874d3a"
|
||||
price: 0 #?
|
||||
@@ -8,7 +8,7 @@
|
||||
edges:
|
||||
- to: CP14Bonfire
|
||||
steps:
|
||||
- material: WoodPlank
|
||||
- material: CP14WoodenPlanks
|
||||
amount: 5
|
||||
doAfter: 3
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
edges:
|
||||
- to: CP14WallmountTorch
|
||||
steps:
|
||||
- material: WoodPlank
|
||||
- material: CP14WoodenPlanks
|
||||
amount: 5
|
||||
doAfter: 3
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
edges:
|
||||
- to: CP14WoodenChest
|
||||
steps:
|
||||
- material: WoodPlank
|
||||
- material: CP14WoodenPlanks
|
||||
amount: 5
|
||||
doAfter: 2
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
edges:
|
||||
- to: CP14ChairWooden
|
||||
steps:
|
||||
- material: WoodPlank
|
||||
- material: CP14WoodenPlanks
|
||||
amount: 4
|
||||
doAfter: 2
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
edges:
|
||||
- to: CP14TableWooden
|
||||
steps:
|
||||
- material: WoodPlank
|
||||
- material: CP14WoodenPlanks
|
||||
amount: 3
|
||||
doAfter: 2
|
||||
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
- type: constructionGraph
|
||||
id: CP14Wall
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: FrameWooden
|
||||
completed:
|
||||
- !type:SnapToGrid
|
||||
southRotation: true
|
||||
steps:
|
||||
- material: CP14WoodenPlanks
|
||||
amount: 4
|
||||
doAfter: 2
|
||||
|
||||
- node: FrameWooden
|
||||
entity: CP14FrameWooden
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CP14WoodenPlanks1
|
||||
amount: 4
|
||||
- !type:DeleteEntity {}
|
||||
steps:
|
||||
- tool: Screwing #TODO - new tool
|
||||
doAfter: 1
|
||||
- to: WallCardboard
|
||||
completed:
|
||||
- !type:SnapToGrid
|
||||
southRotation: true
|
||||
steps:
|
||||
- material: CP14WoodenPlanks
|
||||
amount: 2
|
||||
doAfter: 1
|
||||
- tool: CP14Digging #Lol TODO Axe smth
|
||||
doAfter: 1
|
||||
- node: WallCardboard
|
||||
entity: CP14WallCardboard
|
||||
edges:
|
||||
- to: FrameWooden
|
||||
steps:
|
||||
- tool: CP14Digging #Lol TODO - new tool
|
||||
doAfter: 1
|
||||
@@ -62,7 +62,7 @@
|
||||
targetNode: CP14WallmountTorch
|
||||
category: construction-category-furniture
|
||||
icon:
|
||||
sprite: _CP14/Structures/wallmount_32icon.rsi
|
||||
sprite: _CP14/Structures/Wallmount/wallmount_32icon.rsi
|
||||
state: torch
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
|
||||
17
Resources/Prototypes/_CP14/Recipes/Construction/walls.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
- type: construction
|
||||
crystallPunkAllowed: true
|
||||
name: Cardboard wall
|
||||
description: A thin, flimsy wall made of paper and cardboard. Popular in warm countries.
|
||||
id: CP14CardboardWall
|
||||
graph: CP14Wall
|
||||
startNode: start
|
||||
targetNode: WallCardboard
|
||||
category: construction-category-structures
|
||||
icon:
|
||||
sprite: _CP14/Structures/Walls/cardboard_wall.rsi
|
||||
state: full
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
@@ -7,9 +7,9 @@
|
||||
itemSize: 5
|
||||
|
||||
- type: stack
|
||||
id: CP14WoodLog
|
||||
name: wooden log
|
||||
spawn: CP14WoodLog1
|
||||
icon: { sprite: _CP14/Objects/Materials/logs.rsi, state: log_2 }
|
||||
id: CP14WoodenPlanks
|
||||
name: wooden planks
|
||||
spawn: CP14WoodenPlanks1
|
||||
icon: { sprite: _CP14/Objects/Materials/wood.rsi, state: planks_2 }
|
||||
maxCount: 10
|
||||
itemSize: 5
|
||||
|
Before Width: | Height: | Size: 359 B |
|
Before Width: | Height: | Size: 556 B |
|
Before Width: | Height: | Size: 710 B |
BIN
Resources/Textures/_CP14/Objects/Materials/wood.rsi/log.png
Normal file
|
After Width: | Height: | Size: 404 B |
BIN
Resources/Textures/_CP14/Objects/Materials/wood.rsi/log_2.png
Normal file
|
After Width: | Height: | Size: 465 B |
BIN
Resources/Textures/_CP14/Objects/Materials/wood.rsi/log_3.png
Normal file
|
After Width: | Height: | Size: 450 B |
@@ -15,6 +15,15 @@
|
||||
},
|
||||
{
|
||||
"name": "log_3"
|
||||
},
|
||||
{
|
||||
"name": "planks"
|
||||
},
|
||||
{
|
||||
"name": "planks_2"
|
||||
},
|
||||
{
|
||||
"name": "planks_3"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/_CP14/Objects/Materials/wood.rsi/planks.png
Normal file
|
After Width: | Height: | Size: 365 B |
BIN
Resources/Textures/_CP14/Objects/Materials/wood.rsi/planks_2.png
Normal file
|
After Width: | Height: | Size: 485 B |
BIN
Resources/Textures/_CP14/Objects/Materials/wood.rsi/planks_3.png
Normal file
|
After Width: | Height: | Size: 613 B |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 497 B After Width: | Height: | Size: 497 B |
|
After Width: | Height: | Size: 948 B |
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Created by Jaraten for CrystallPunk14",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 96
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "base",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "on",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 689 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 988 B After Width: | Height: | Size: 988 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 267 B After Width: | Height: | Size: 267 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 257 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 988 B After Width: | Height: | Size: 988 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 267 B After Width: | Height: | Size: 267 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 257 B |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1015 B After Width: | Height: | Size: 1015 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 267 B After Width: | Height: | Size: 267 B |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 938 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 334 B |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.3 KiB |