add construction for carp statue (#31261)
* separate eyes and teeth * make it buildable and make fixture less abusable * norot --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
@@ -57,8 +57,54 @@
|
||||
description: A statue of one of the brave carp that got us where we are today. Made with real teeth!
|
||||
components:
|
||||
- type: Sprite
|
||||
noRot: true
|
||||
sprite: Structures/Specific/carp_statue.rsi
|
||||
layers:
|
||||
- state: statue
|
||||
- state: unshaded
|
||||
- state: eyes
|
||||
- state: eyes_unshaded
|
||||
shader: unshaded
|
||||
- state: teeth_unshaded
|
||||
shader: unshaded
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.35,-0.35,0.35,0.35"
|
||||
density: 60
|
||||
mask:
|
||||
- MachineMask
|
||||
layer:
|
||||
- MidImpassable
|
||||
- LowImpassable
|
||||
- type: Construction
|
||||
graph: CarpStatue
|
||||
node: statue
|
||||
|
||||
- type: entity
|
||||
parent: CarpStatue
|
||||
id: CarpStatueEmpty
|
||||
suffix: Empty
|
||||
description: A lump of precious metals, soon to be a brilliant carp statue.
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: statue
|
||||
- type: Construction
|
||||
node: empty
|
||||
|
||||
- type: entity
|
||||
parent: CarpStatue
|
||||
id: CarpStatueEyes
|
||||
suffix: Eyes
|
||||
description: A statue of one of the brave carp that got us where we are today. This one needs a dentist...
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: statue
|
||||
- state: eyes
|
||||
- state: eyes_unshaded
|
||||
shader: unshaded
|
||||
- type: Construction
|
||||
node: eyes
|
||||
|
||||
@@ -27,3 +27,62 @@
|
||||
doAfter: 5
|
||||
- tool: Welding
|
||||
doAfter: 5
|
||||
|
||||
- type: constructionGraph
|
||||
id: CarpStatue
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: empty
|
||||
completed:
|
||||
- !type:SnapToGrid
|
||||
southRotation: true
|
||||
steps:
|
||||
- material: Silver
|
||||
amount: 15
|
||||
doAfter: 7
|
||||
- node: empty
|
||||
entity: CarpStatueEmpty
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: IngotSilver1
|
||||
amount: 15
|
||||
- !type:DeleteEntity {}
|
||||
steps:
|
||||
- tool: Welding
|
||||
doAfter: 5
|
||||
- to: eyes
|
||||
steps:
|
||||
- material: Diamond
|
||||
amount: 2
|
||||
doAfter: 2
|
||||
- node: eyes
|
||||
entity: CarpStatueEyes
|
||||
edges:
|
||||
- to: empty
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: MaterialDiamond1
|
||||
amount: 2
|
||||
steps:
|
||||
- tool: Prying
|
||||
doAfter: 2
|
||||
- to: statue
|
||||
steps:
|
||||
- material: SpaceCarpTooth
|
||||
amount: 5
|
||||
doAfter: 3
|
||||
- node: statue
|
||||
entity: CarpStatue
|
||||
edges:
|
||||
- to: eyes
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: MaterialToothSpaceCarp1
|
||||
amount: 5
|
||||
steps:
|
||||
- tool: Prying
|
||||
doAfter: 5
|
||||
|
||||
@@ -1644,6 +1644,23 @@
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
- type: construction
|
||||
name: carp statue
|
||||
id: CarpStatue
|
||||
graph: CarpStatue
|
||||
startNode: start
|
||||
targetNode: statue
|
||||
category: construction-category-structures
|
||||
placementMode: SnapgridCenter
|
||||
description: A statue of one of the brave carp that got us where we are today. Made with real teeth!
|
||||
objectType: Structure
|
||||
canBuildInImpassable: false
|
||||
icon:
|
||||
sprite: Structures/Specific/carp_statue.rsi
|
||||
state: icon
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
- type: construction
|
||||
name: bananium clown statue
|
||||
id: BananiumClownStatue
|
||||
|
||||
BIN
Resources/Textures/Structures/Specific/carp_statue.rsi/eyes.png
Normal file
|
After Width: | Height: | Size: 200 B |
|
After Width: | Height: | Size: 201 B |
BIN
Resources/Textures/Structures/Specific/carp_statue.rsi/icon.png
Normal file
|
After Width: | Height: | Size: 819 B |
@@ -11,7 +11,16 @@
|
||||
"name": "statue"
|
||||
},
|
||||
{
|
||||
"name": "unshaded"
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "eyes"
|
||||
},
|
||||
{
|
||||
"name": "eyes_unshaded"
|
||||
},
|
||||
{
|
||||
"name": "teeth_unshaded"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 792 B |
|
After Width: | Height: | Size: 178 B |
|
Before Width: | Height: | Size: 633 B |