Снежный шар
This commit is contained in:
2
Resources/Locale/ru-RU/_white/items/ItemFunSnowglobe.ftl
Normal file
2
Resources/Locale/ru-RU/_white/items/ItemFunSnowglobe.ftl
Normal file
@@ -0,0 +1,2 @@
|
||||
ent-ItemFunSnowglobe = снежный шар
|
||||
.desc = Заключённая зима, вечно жаждущая свободы.
|
||||
@@ -0,0 +1,53 @@
|
||||
- type: entity
|
||||
name: snowglobe
|
||||
parent: BaseItem
|
||||
id: ItemFunSnowglobe
|
||||
description: Encased winter, always longing for freedom.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: White/Objects/Fun/snowglobe.rsi
|
||||
state: icon
|
||||
scale: 0.7, 0.7
|
||||
- type: Item
|
||||
size: Tiny
|
||||
- type: EmitSoundOnPickup
|
||||
sound:
|
||||
path: /Audio/White/Items/handling/drinkglass_pickup.ogg
|
||||
- type: EmitSoundOnDrop
|
||||
sound:
|
||||
path: /Audio/White/Items/handling/drinkglass_drop.ogg
|
||||
- type: StaticPrice
|
||||
price: 500
|
||||
- type: DamageOnLand
|
||||
damage:
|
||||
types:
|
||||
Blunt: 1
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 3
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: GlassBreak
|
||||
- !type:SpillBehavior
|
||||
solution: contents
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
ShardGlass:
|
||||
min: 1
|
||||
max: 1
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
contents:
|
||||
reagents:
|
||||
- ReagentId: Water
|
||||
Quantity: 20
|
||||
- type: PhysicalComposition
|
||||
materialComposition:
|
||||
Glass: 50
|
||||
BIN
Resources/Textures/White/Objects/Fun/snowglobe.rsi/icon.png
Normal file
BIN
Resources/Textures/White/Objects/Fun/snowglobe.rsi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
36
Resources/Textures/White/Objects/Fun/snowglobe.rsi/meta.json
Normal file
36
Resources/Textures/White/Objects/Fun/snowglobe.rsi/meta.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon",
|
||||
"delays": [
|
||||
[
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15,
|
||||
0.15
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user