Add spawnable spent cigarettes and folded chairs. (#12294)
This commit is contained in:
@@ -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>.
|
/// Current state to matchstick. Can be <code>Unlit</code>, <code>Lit</code> or <code>Burnt</code>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
|
[DataField("state")]
|
||||||
public SmokableState CurrentState = SmokableState.Unlit;
|
public SmokableState CurrentState = SmokableState.Unlit;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -24,6 +24,20 @@
|
|||||||
graph: smokeableCigarette
|
graph: smokeableCigarette
|
||||||
node: cigarette
|
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
|
- type: entity
|
||||||
id: CigaretteSyndicate
|
id: CigaretteSyndicate
|
||||||
suffix: syndicate
|
suffix: syndicate
|
||||||
|
|||||||
@@ -22,6 +22,20 @@
|
|||||||
- type: Item
|
- type: Item
|
||||||
size: 1
|
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
|
- type: entity
|
||||||
id: CigarGold
|
id: CigarGold
|
||||||
parent: Cigar
|
parent: Cigar
|
||||||
@@ -38,3 +52,17 @@
|
|||||||
equippedPrefix: unlit
|
equippedPrefix: unlit
|
||||||
- type: Item
|
- type: Item
|
||||||
size: 1
|
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
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
name: body bag
|
name: body bag
|
||||||
description: A plastic bag designed for the storage and transportation of cadavers.
|
description: A plastic bag designed for the storage and transportation of cadavers.
|
||||||
parent: BodyBag_Container
|
parent: BodyBag_Container
|
||||||
suffix: Folded
|
suffix: folded
|
||||||
components:
|
components:
|
||||||
- type: Foldable
|
- type: Foldable
|
||||||
folded: true
|
folded: true
|
||||||
|
|||||||
@@ -44,6 +44,17 @@
|
|||||||
litIcon: match_lit
|
litIcon: match_lit
|
||||||
burntIcon: match_burnt
|
burntIcon: match_burnt
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: Matchstick
|
||||||
|
id: MatchstickSpent
|
||||||
|
suffix: spent
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- state: match_burnt
|
||||||
|
- type: Matchstick
|
||||||
|
state: Burnt
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: match box
|
name: match box
|
||||||
parent: SmallboxItem
|
parent: SmallboxItem
|
||||||
|
|||||||
@@ -243,3 +243,13 @@
|
|||||||
- type: Construction
|
- type: Construction
|
||||||
graph: Seat
|
graph: Seat
|
||||||
node: chairFolding
|
node: chairFolding
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: ChairFolding
|
||||||
|
id: ChairFoldingSpawnFolded
|
||||||
|
suffix: folded
|
||||||
|
placement:
|
||||||
|
mode: PlaceFree
|
||||||
|
components:
|
||||||
|
- type: Foldable
|
||||||
|
folded: true
|
||||||
|
|||||||
@@ -58,6 +58,14 @@
|
|||||||
- type: StaticPrice
|
- type: StaticPrice
|
||||||
price: 200
|
price: 200
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: RollerBed
|
||||||
|
id: RollerBedSpawnFolded
|
||||||
|
suffix: folded
|
||||||
|
components:
|
||||||
|
- type: Foldable
|
||||||
|
folded: true
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: CheapRollerBed
|
id: CheapRollerBed
|
||||||
name: rollerbed
|
name: rollerbed
|
||||||
@@ -75,6 +83,14 @@
|
|||||||
- type: RollerbedVisualizer
|
- type: RollerbedVisualizer
|
||||||
key: cheap_rollerbed
|
key: cheap_rollerbed
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: CheapRollerBed
|
||||||
|
id: CheapRollerBedSpawnFolded
|
||||||
|
suffix: folded
|
||||||
|
components:
|
||||||
|
- type: Foldable
|
||||||
|
folded: true
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: EmergencyRollerBed
|
id: EmergencyRollerBed
|
||||||
name: rollerbed
|
name: rollerbed
|
||||||
@@ -91,3 +107,11 @@
|
|||||||
key: emergency_rollerbed
|
key: emergency_rollerbed
|
||||||
- type: RollerbedVisualizer
|
- type: RollerbedVisualizer
|
||||||
key: emergency_rollerbed
|
key: emergency_rollerbed
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: EmergencyRollerBed
|
||||||
|
id: EmergencyRollerBedSpawnFolded
|
||||||
|
suffix: folded
|
||||||
|
components:
|
||||||
|
- type: Foldable
|
||||||
|
folded: true
|
||||||
|
|||||||
Reference in New Issue
Block a user