Add spawnable spent cigarettes and folded chairs. (#12294)

This commit is contained in:
Vordenburg
2022-11-03 21:38:56 -04:00
committed by GitHub
parent af9e524f75
commit 8f2d93c66a
7 changed files with 89 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ namespace Content.Server.Light.Components
/// Current state to matchstick. Can be <code>Unlit</code>, <code>Lit</code> or <code>Burnt</code>.
/// </summary>
[ViewVariables]
[DataField("state")]
public SmokableState CurrentState = SmokableState.Unlit;
/// <summary>

View File

@@ -24,6 +24,20 @@
graph: smokeableCigarette
node: cigarette
- type: entity
id: CigaretteSpent
parent: Cigarette
suffix: spent
components:
- type: Sprite
state: burnt-icon
- type: Smokable
state: Burnt
- type: SolutionContainerManager
solutions:
smokable:
maxVol: 20
- type: entity
id: CigaretteSyndicate
suffix: syndicate

View File

@@ -22,6 +22,20 @@
- type: Item
size: 1
- type: entity
id: CigarSpent
parent: Cigar
suffix: spent
components:
- type: Sprite
state: burnt-icon
- type: Smokable
state: Burnt
- type: SolutionContainerManager
solutions:
smokable:
maxVol: 20
- type: entity
id: CigarGold
parent: Cigar
@@ -38,3 +52,17 @@
equippedPrefix: unlit
- type: Item
size: 1
- type: entity
id: CigarGoldSpent
parent: CigarGold
suffix: spent
components:
- type: Sprite
state: burnt-icon
- type: Smokable
state: Burnt
- type: SolutionContainerManager
solutions:
smokable:
maxVol: 20

View File

@@ -80,7 +80,7 @@
name: body bag
description: A plastic bag designed for the storage and transportation of cadavers.
parent: BodyBag_Container
suffix: Folded
suffix: folded
components:
- type: Foldable
folded: true

View File

@@ -44,6 +44,17 @@
litIcon: match_lit
burntIcon: match_burnt
- type: entity
parent: Matchstick
id: MatchstickSpent
suffix: spent
components:
- type: Sprite
layers:
- state: match_burnt
- type: Matchstick
state: Burnt
- type: entity
name: match box
parent: SmallboxItem

View File

@@ -243,3 +243,13 @@
- type: Construction
graph: Seat
node: chairFolding
- type: entity
parent: ChairFolding
id: ChairFoldingSpawnFolded
suffix: folded
placement:
mode: PlaceFree
components:
- type: Foldable
folded: true

View File

@@ -58,6 +58,14 @@
- type: StaticPrice
price: 200
- type: entity
parent: RollerBed
id: RollerBedSpawnFolded
suffix: folded
components:
- type: Foldable
folded: true
- type: entity
id: CheapRollerBed
name: rollerbed
@@ -75,6 +83,14 @@
- type: RollerbedVisualizer
key: cheap_rollerbed
- type: entity
parent: CheapRollerBed
id: CheapRollerBedSpawnFolded
suffix: folded
components:
- type: Foldable
folded: true
- type: entity
id: EmergencyRollerBed
name: rollerbed
@@ -91,3 +107,11 @@
key: emergency_rollerbed
- type: RollerbedVisualizer
key: emergency_rollerbed
- type: entity
parent: EmergencyRollerBed
id: EmergencyRollerBedSpawnFolded
suffix: folded
components:
- type: Foldable
folded: true