Add cigarettes and matches to SS14 (#2522)
* Add resources for cigs/matches * Add files for cigarettes * Remove Shared Components * Applied some of the suggestions * Change priority to allow matches to be set alight by matchbox * Added item for pack of cigars * Add swepts resources. Fix naming * Fix naming, implement suggestions. * Addressed Paul's suggestions * Remove unused resources * Fix Paul's suggestions
This commit is contained in:
42
Resources/Prototypes/Entities/Objects/Consumable/fancy.yml
Normal file
42
Resources/Prototypes/Entities/Objects/Consumable/fancy.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
- type: entity
|
||||
name: "Base Cigarette"
|
||||
id: BaseCigarette
|
||||
parent: BaseItem
|
||||
abstract: true
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Fancy/mask_cig.rsi
|
||||
netsync: false
|
||||
state: icon
|
||||
- type: Clothing
|
||||
sprite: Objects/Consumable/Fancy/mask_cig.rsi
|
||||
Slots: [ mask ]
|
||||
HeldPrefix: unlit
|
||||
size: 1
|
||||
- type: Smoking
|
||||
duration: 30
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: BurnStateVisualizer
|
||||
|
||||
- type: entity
|
||||
id: Cigarette
|
||||
parent: BaseCigarette
|
||||
name: cigarette
|
||||
description: "If you want to get cancer, might as well do it in style."
|
||||
|
||||
- type: entity
|
||||
id: CigarettePack
|
||||
parent: SmallboxItem
|
||||
name: cigarette pack
|
||||
description: "Pack of cigarettes"
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Fancy/cigarettes.rsi
|
||||
layers:
|
||||
- state: cig
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- name: Cigarette
|
||||
amount: 6
|
||||
|
||||
53
Resources/Prototypes/Entities/Objects/Tools/matches.yml
Normal file
53
Resources/Prototypes/Entities/Objects/Tools/matches.yml
Normal file
@@ -0,0 +1,53 @@
|
||||
- type: entity
|
||||
id: SmallboxItem
|
||||
parent: BaseItem
|
||||
abstract: true
|
||||
components:
|
||||
- type: Storage
|
||||
capacity: 10
|
||||
- type: Item
|
||||
size: 6
|
||||
|
||||
- type: entity
|
||||
name: match stick
|
||||
parent: BaseItem
|
||||
id: Matchstick
|
||||
description: "A simple match stick, used for lighting fine smokables."
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Objects/Tools/matches.rsi
|
||||
layers:
|
||||
- state: match_unlit
|
||||
- type: Item
|
||||
size: 1
|
||||
sprite: Objects/Tools/matches.rsi
|
||||
- type: Matchstick
|
||||
duration: 10
|
||||
igniteSound: /Audio/Items/match_strike.ogg
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
radius: 1.1
|
||||
color: darkorange
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: BurnStateVisualizer
|
||||
unlitIcon: match_unlit
|
||||
litIcon: match_lit
|
||||
burntIcon: match_burnt
|
||||
|
||||
- type: entity
|
||||
name: match box
|
||||
parent: SmallboxItem
|
||||
id: Matchbox
|
||||
description: "A small box of Almost But Not Quite Plasma Premium Matches."
|
||||
components:
|
||||
- type: Matchbox
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/matches.rsi
|
||||
layers:
|
||||
- state: matchbox
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- name: Matchstick
|
||||
amount: 6
|
||||
Reference in New Issue
Block a user