Новогодние вещи (#837)

This commit is contained in:
BIGZi0348
2024-12-21 17:36:41 +03:00
committed by GitHub
17 changed files with 197 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
ent-ItemFunSnowglobe = снежный шар
.desc = Заключённая зима, вечно жаждущая свободы.

View File

@@ -0,0 +1,2 @@
ent-ClothingOuterReindeerSweater = свитер с оленями
.desc = Уютный свитер, созданный специально для поддержания праздничного настроения.

View File

@@ -0,0 +1,2 @@
ent-ChristmasLights = новогодние гирлянды
.desc = Чувство праздника.

View File

@@ -65,6 +65,7 @@
ClothingUniformJumpsuitHawaiYellow: 2
ClothingUniformJumpsuitFlannel: 2
#WD edit start
ClothingOuterReindeerSweater: 4
ClothingUniformJumpsuitCossack: 1
ClothingOuterCoatAdidasCostumeSemki: 1
ClothingOuterCoatBomber: 1

View File

@@ -0,0 +1,19 @@
- type: entity
parent: ClothingOuterBase
id: ClothingOuterReindeerSweater
name: reindeer sweater
description: A cozy sweater designed to celebrate the holiday season.
components:
- type: Sprite
sprite: White/Clothing/OuterClothing/reindeer_sweater.rsi
- type: Clothing
sprite: White/Clothing/OuterClothing/reindeer_sweater.rsi
- type: EmitSoundOnPickup
sound:
path: /Audio/White/Items/handling/cloth_pickup.ogg
- type: EmitSoundOnDrop
sound:
path: /Audio/White/Items/handling/cloth_drop.ogg
- type: EmitSoundOnLand
sound:
path: /Audio/White/Items/handling/cloth_drop.ogg

View File

@@ -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

View File

@@ -0,0 +1,39 @@
- type: entity
id: ChristmasLights
name: christmas lights
description: Feeling jolly.
placement:
mode: SnapgridCenter
components:
- type: Clickable
- type: Appearance
- type: Sprite
drawdepth: WallMountedItems
sprite: White/Structures/Decoration/christmas_lights.rsi
layers:
- state: icon
- state: unshaded
shader: unshaded
- type: Icon
sprite: White/Structures/Decoration/christmas_lights.rsi
state: icon
- type: Transform
anchored: true
- type: Damageable
damageContainer: StructuralInorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:DoActsBehavior
acts: ["Destruction"]
- type: MeleeSound
soundGroups:
Brute:
path:
"/Audio/Weapons/smash.ogg"

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

View File

@@ -0,0 +1,26 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "kxaotuk",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-OUTERCLOTHING",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

View 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
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 577 B

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "unshaded"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B