Add cardboard material (#14701)
* add cardboard material * missing stack visualizers * add crafting recipes * cardboard crate * license thing * rename various things
This commit is contained in:
@@ -16,6 +16,9 @@ ent-MaterialPlasteel = { ent-CrateMaterialPlasteel }
|
|||||||
ent-MaterialPlasma = { ent-CrateMaterialPlasma }
|
ent-MaterialPlasma = { ent-CrateMaterialPlasma }
|
||||||
.desc = { ent-CrateMaterialPlasma.desc }
|
.desc = { ent-CrateMaterialPlasma.desc }
|
||||||
|
|
||||||
|
ent-CardboardMaterial = { ent-CrateMaterialCardboard }
|
||||||
|
.desc = { ent-CrateMaterialCardboard.desc }
|
||||||
|
|
||||||
ent-MaterialFuelTank = { ent-WeldingFuelTankFull }
|
ent-MaterialFuelTank = { ent-WeldingFuelTankFull }
|
||||||
.desc = { ent-WeldingFuelTankFull.desc }
|
.desc = { ent-WeldingFuelTankFull.desc }
|
||||||
|
|
||||||
|
|||||||
@@ -18,3 +18,6 @@ ent-CrateMaterialPlasteel = Plasteel crate
|
|||||||
|
|
||||||
ent-CrateMaterialPlasma = Solid plasma crate
|
ent-CrateMaterialPlasma = Solid plasma crate
|
||||||
.desc = 90 sheets of plasma.
|
.desc = 90 sheets of plasma.
|
||||||
|
|
||||||
|
ent-CrateMaterialCardboard = Cardboard crate
|
||||||
|
.desc = 60 pieces of cardboard.
|
||||||
|
|||||||
@@ -58,6 +58,16 @@
|
|||||||
category: Materials
|
category: Materials
|
||||||
group: market
|
group: market
|
||||||
|
|
||||||
|
- type: cargoProduct
|
||||||
|
id: CardboardMaterial
|
||||||
|
icon:
|
||||||
|
sprite: Objects/Materials/materials.rsi
|
||||||
|
state: cardboard_3
|
||||||
|
product: CrateMaterialCardboard
|
||||||
|
cost: 750
|
||||||
|
category: Materials
|
||||||
|
group: market
|
||||||
|
|
||||||
- type: cargoProduct
|
- type: cargoProduct
|
||||||
id: MaterialFuelTank
|
id: MaterialFuelTank
|
||||||
icon:
|
icon:
|
||||||
|
|||||||
@@ -63,6 +63,15 @@
|
|||||||
- id: SheetPlasma
|
- id: SheetPlasma
|
||||||
amount: 3
|
amount: 3
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: CrateMaterialCardboard
|
||||||
|
parent: CrateGenericSteel
|
||||||
|
components:
|
||||||
|
- type: StorageFill
|
||||||
|
contents:
|
||||||
|
- id: MaterialCardboard
|
||||||
|
amount: 2
|
||||||
|
|
||||||
#- type: entity
|
#- type: entity
|
||||||
# id: CrateMaterialHFuelTank
|
# id: CrateMaterialHFuelTank
|
||||||
# name: fueltank crate
|
# name: fueltank crate
|
||||||
|
|||||||
@@ -25,6 +25,37 @@
|
|||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: [ "Destruction" ]
|
acts: [ "Destruction" ]
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: MaterialBase
|
||||||
|
id: MaterialCardboard
|
||||||
|
name: cardboard
|
||||||
|
suffix: Full
|
||||||
|
components:
|
||||||
|
- type: Material
|
||||||
|
materials:
|
||||||
|
Cardboard: 100
|
||||||
|
- type: Stack
|
||||||
|
stackType: Cardboard
|
||||||
|
- type: Sprite
|
||||||
|
state: cardboard_3
|
||||||
|
- type: Appearance
|
||||||
|
visuals:
|
||||||
|
- type: StackVisualizer
|
||||||
|
stackLayers:
|
||||||
|
- cardboard
|
||||||
|
- cardboard_2
|
||||||
|
- cardboard_3
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: MaterialCardboard
|
||||||
|
id: MaterialCardboard1
|
||||||
|
suffix: Single
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
state: cardboard
|
||||||
|
- type: Stack
|
||||||
|
count: 1
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: MaterialBase
|
parent: MaterialBase
|
||||||
id: MaterialCloth
|
id: MaterialCloth
|
||||||
|
|||||||
@@ -15,3 +15,8 @@
|
|||||||
- type: ContainerContainer
|
- type: ContainerContainer
|
||||||
containers:
|
containers:
|
||||||
storagebase: !type:Container
|
storagebase: !type:Container
|
||||||
|
- type: Construction
|
||||||
|
graph: BoxCardboard
|
||||||
|
node: boxcardboard
|
||||||
|
containers:
|
||||||
|
- entity_storage
|
||||||
|
|||||||
@@ -50,6 +50,11 @@
|
|||||||
tags:
|
tags:
|
||||||
- DoorBumpOpener
|
- DoorBumpOpener
|
||||||
- type: InteractionOutline
|
- type: InteractionOutline
|
||||||
|
- type: Construction
|
||||||
|
graph: BaseBigBox
|
||||||
|
node: basebigbox
|
||||||
|
containers:
|
||||||
|
- entity_storage
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: StealthBox
|
id: StealthBox
|
||||||
|
|||||||
@@ -6,6 +6,14 @@
|
|||||||
color: "#8A9A5B"
|
color: "#8A9A5B"
|
||||||
price: 0.1
|
price: 0.1
|
||||||
|
|
||||||
|
- type: material
|
||||||
|
id: Cardboard
|
||||||
|
stackEntity: MaterialCardboard1
|
||||||
|
name: materials-cardboard
|
||||||
|
icon: { sprite: /Textures/Objects/Materials/materials.rsi, state: cardboard }
|
||||||
|
color: "#70736c"
|
||||||
|
price: 0.05
|
||||||
|
|
||||||
- type: material
|
- type: material
|
||||||
id: Cloth
|
id: Cloth
|
||||||
stackEntity: MaterialCloth1
|
stackEntity: MaterialCloth1
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
- type: constructionGraph
|
||||||
|
id: BaseBigBox
|
||||||
|
start: start
|
||||||
|
graph:
|
||||||
|
- node: start
|
||||||
|
edges:
|
||||||
|
- to: basebigbox
|
||||||
|
steps:
|
||||||
|
- material: Cardboard
|
||||||
|
amount: 5
|
||||||
|
doAfter: 5
|
||||||
|
|
||||||
|
|
||||||
|
- node: basebigbox
|
||||||
|
entity: BaseBigBox
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
- type: constructionGraph
|
||||||
|
id: BoxCardboard
|
||||||
|
start: start
|
||||||
|
graph:
|
||||||
|
- node: start
|
||||||
|
edges:
|
||||||
|
- to: boxcardboard
|
||||||
|
steps:
|
||||||
|
- material: Cardboard
|
||||||
|
amount: 1
|
||||||
|
doAfter: 4
|
||||||
|
|
||||||
|
|
||||||
|
- node: boxcardboard
|
||||||
|
entity: BoxCardboard
|
||||||
@@ -30,3 +30,25 @@
|
|||||||
description: A plastic crate for storing things.
|
description: A plastic crate for storing things.
|
||||||
icon: { sprite: Structures/Storage/Crates/plastic.rsi, state: icon }
|
icon: { sprite: Structures/Storage/Crates/plastic.rsi, state: icon }
|
||||||
objectType: Structure
|
objectType: Structure
|
||||||
|
|
||||||
|
- type: construction
|
||||||
|
name: cardboard box
|
||||||
|
id: BaseBigBox
|
||||||
|
graph: BaseBigBox
|
||||||
|
startNode: start
|
||||||
|
targetNode: basebigbox
|
||||||
|
category: construction-category-storage
|
||||||
|
description: A big box for storing things or hiding in.
|
||||||
|
icon: { sprite: Structures/Storage/closet.rsi, state: cardboard }
|
||||||
|
objectType: Structure
|
||||||
|
|
||||||
|
- type: construction
|
||||||
|
name: cardboard box
|
||||||
|
id: BoxCardboard
|
||||||
|
graph: BoxCardboard
|
||||||
|
startNode: start
|
||||||
|
targetNode: boxcardboard
|
||||||
|
category: construction-category-storage
|
||||||
|
description: A small box for storing things.
|
||||||
|
icon: { sprite: Objects/Storage/boxes.rsi, state: box }
|
||||||
|
objectType: Item
|
||||||
@@ -12,6 +12,13 @@
|
|||||||
spawn: MaterialWoodPlank1
|
spawn: MaterialWoodPlank1
|
||||||
maxCount: 30
|
maxCount: 30
|
||||||
|
|
||||||
|
- type: stack
|
||||||
|
id: Cardboard
|
||||||
|
name: cardboard
|
||||||
|
icon: { sprite: /Textures/Objects/Materials/materials.rsi, state: cardboard }
|
||||||
|
spawn: MaterialCardboard1
|
||||||
|
maxCount: 30
|
||||||
|
|
||||||
- type: stack
|
- type: stack
|
||||||
id: Cloth
|
id: Cloth
|
||||||
name: cloth
|
name: cloth
|
||||||
|
|||||||
BIN
Resources/Textures/Objects/Materials/materials.rsi/cardboard.png
Normal file
BIN
Resources/Textures/Objects/Materials/materials.rsi/cardboard.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 330 B |
Binary file not shown.
|
After Width: | Height: | Size: 365 B |
Binary file not shown.
|
After Width: | Height: | Size: 363 B |
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"license": "CC-BY-SA-3.0",
|
"license": "CC-BY-SA-3.0",
|
||||||
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24 , bear pelt remade by Alekshhh, wood sprite modified by MisterMecky, wood_2 and wood_3 made by MisterMecky based on wood sprite.",
|
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24 , bear pelt remade by Alekshhh, wood sprite modified by MisterMecky, wood_2 and wood_3 made by MisterMecky based on wood sprite, cardboard sprites made by MisterMecky for SS14",
|
||||||
"size": {
|
"size": {
|
||||||
"x": 32,
|
"x": 32,
|
||||||
"y": 32
|
"y": 32
|
||||||
@@ -30,6 +30,15 @@
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "cardboard"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cardboard_2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "cardboard_3"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "cathide"
|
"name": "cathide"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user