diff --git a/Resources/Locale/ru-RU/_white/items/ItemFunSnowglobe.ftl b/Resources/Locale/ru-RU/_white/items/ItemFunSnowglobe.ftl new file mode 100644 index 0000000000..af31da62c1 --- /dev/null +++ b/Resources/Locale/ru-RU/_white/items/ItemFunSnowglobe.ftl @@ -0,0 +1,2 @@ +ent-ItemFunSnowglobe = снежный шар + .desc = Заключённая зима, вечно жаждущая свободы. diff --git a/Resources/Prototypes/_White/Entities/Objects/Misc/winter_stuff.yml b/Resources/Prototypes/_White/Entities/Objects/Misc/winter_stuff.yml new file mode 100644 index 0000000000..bb025ad231 --- /dev/null +++ b/Resources/Prototypes/_White/Entities/Objects/Misc/winter_stuff.yml @@ -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 diff --git a/Resources/Textures/White/Objects/Fun/snowglobe.rsi/icon.png b/Resources/Textures/White/Objects/Fun/snowglobe.rsi/icon.png new file mode 100644 index 0000000000..0a7c7e809d Binary files /dev/null and b/Resources/Textures/White/Objects/Fun/snowglobe.rsi/icon.png differ diff --git a/Resources/Textures/White/Objects/Fun/snowglobe.rsi/meta.json b/Resources/Textures/White/Objects/Fun/snowglobe.rsi/meta.json new file mode 100644 index 0000000000..1bcf7286a8 --- /dev/null +++ b/Resources/Textures/White/Objects/Fun/snowglobe.rsi/meta.json @@ -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 + ] + ] + } + ] +}