Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Портсигар #92

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
- type: entity
id: ADTMelnikovCigarCase
parent: [ BaseStorageItem, BaseBagOpenClose ]
name: портсигар Алексея Мельникова
description: Внизу крышки имеется небольшая гравировка с инициалами А.М.
components:
- type: Sprite
sprite: ADT/Objects/Consumable/Smokeables/melnikov_case.rsi
layers:
- state: closed
- state: open
map: ["openLayer"]
- state: cigar1
map: ["cigar1"]
visible: false
- state: cigar2
map: ["cigar2"]
visible: false
- state: cigar3
map: ["cigar3"]
visible: false
- state: cigar4
map: ["cigar4"]
visible: false
- state: cigar5
map: ["cigar5"]
visible: false
- state: cigar6
map: ["cigar6"]
visible: false
- state: cigar7
map: ["cigar7"]
visible: false
- state: cigar8
map: ["cigar8"]
visible: false
- type: Storage
capacity: 8
- type: Item
sprite: ADT/Objects/Consumable/Smokeables/melnikov_case.rsi
size: 8
- type: StorageFill
contents:
- id: Cigar
amount: 8
- type: ItemCounter
count:
tags: [Cigar]
composite: true
layerStates:
- cigar1
- cigar2
- cigar3
- cigar4
- cigar5
- cigar6
- cigar7
- cigar8
- type: Appearance
- type: SpawnItemsOnUse
items:
- id: ADTMelnikovCigarCase
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
- type: entity
parent: BaseSmokable
id: BaseMelnikovCigar
abstract: true
components:
- type: Smokable
exposeTemperature: 1173.15
- type: Cigar
- type: Tag
tags:
- Trash
- type: SolutionContainerManager
solutions:
smokable:
maxVol: 80
reagents:
- ReagentId: Nicotine
Quantity: 40
- ReagentId: Omnizine
Quantity: 5

- type: entity
id: ADTMelnikovCigar
parent: BaseMelnikovCigar
name: Сигара Алексея Мельникова
description: Кому вообще пришло в голову называть сигареты чьим-то именем?
components:
- type: Sprite
sprite: Objects/Consumable/Smokeables/Cigars/cigar-gold.rsi
state: unlit-icon
- type: Clothing
sprite: Objects/Consumable/Smokeables/Cigars/cigar-gold.rsi
slots: [ mask ]
equippedPrefix: unlit
- type: Item
size: 1

- type: entity
id: ADTBaseMelnikovCigarSpent
parent: MelnikovCigar
suffix: spent
components:
- type: Sprite
state: burnt-icon
- type: Smokable
state: Burnt
- type: SolutionContainerManager
solutions:
smokable:
maxVol: 45


Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from cev-eris at commit https://github.com/discordia-space/CEV-Eris/commit/f18aa05685f13c8b424867e4219a1e727019c026",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "cigar1"
},
{
"name": "cigar2"
},
{
"name": "cigar3"
},
{
"name": "cigar4"
},
{
"name": "cigar5"
},
{
"name": "cigar6"
},
{
"name": "cigar7"
},
{
"name": "cigar8"
},
{
"name": "open"
},
{
"name": "closed"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading