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:
MisterMecky
2023-03-28 07:04:24 +08:00
committed by GitHub
parent 867da5b867
commit a7571ac45b
16 changed files with 143 additions and 1 deletions

View File

@@ -16,6 +16,9 @@ ent-MaterialPlasteel = { ent-CrateMaterialPlasteel }
ent-MaterialPlasma = { ent-CrateMaterialPlasma }
.desc = { ent-CrateMaterialPlasma.desc }
ent-CardboardMaterial = { ent-CrateMaterialCardboard }
.desc = { ent-CrateMaterialCardboard.desc }
ent-MaterialFuelTank = { ent-WeldingFuelTankFull }
.desc = { ent-WeldingFuelTankFull.desc }

View File

@@ -18,3 +18,6 @@ ent-CrateMaterialPlasteel = Plasteel crate
ent-CrateMaterialPlasma = Solid plasma crate
.desc = 90 sheets of plasma.
ent-CrateMaterialCardboard = Cardboard crate
.desc = 60 pieces of cardboard.

View File

@@ -58,6 +58,16 @@
category: Materials
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
id: MaterialFuelTank
icon:

View File

@@ -63,6 +63,15 @@
- id: SheetPlasma
amount: 3
- type: entity
id: CrateMaterialCardboard
parent: CrateGenericSteel
components:
- type: StorageFill
contents:
- id: MaterialCardboard
amount: 2
#- type: entity
# id: CrateMaterialHFuelTank
# name: fueltank crate

View File

@@ -25,6 +25,37 @@
- !type:DoActsBehavior
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
parent: MaterialBase
id: MaterialCloth

View File

@@ -15,3 +15,8 @@
- type: ContainerContainer
containers:
storagebase: !type:Container
- type: Construction
graph: BoxCardboard
node: boxcardboard
containers:
- entity_storage

View File

@@ -50,6 +50,11 @@
tags:
- DoorBumpOpener
- type: InteractionOutline
- type: Construction
graph: BaseBigBox
node: basebigbox
containers:
- entity_storage
- type: entity
id: StealthBox

View File

@@ -6,6 +6,14 @@
color: "#8A9A5B"
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
id: Cloth
stackEntity: MaterialCloth1

View File

@@ -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

View File

@@ -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

View File

@@ -30,3 +30,25 @@
description: A plastic crate for storing things.
icon: { sprite: Structures/Storage/Crates/plastic.rsi, state: icon }
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

View File

@@ -12,6 +12,13 @@
spawn: MaterialWoodPlank1
maxCount: 30
- type: stack
id: Cardboard
name: cardboard
icon: { sprite: /Textures/Objects/Materials/materials.rsi, state: cardboard }
spawn: MaterialCardboard1
maxCount: 30
- type: stack
id: Cloth
name: cloth

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

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"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": {
"x": 32,
"y": 32
@@ -30,6 +30,15 @@
]
]
},
{
"name": "cardboard"
},
{
"name": "cardboard_2"
},
{
"name": "cardboard_3"
},
{
"name": "cathide"
},