Skip to content
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
Expand Up @@ -11,6 +11,7 @@
- type: Tag
tags:
- ClothMade
- SichBeret

- type: entity
parent: CMHeadBeret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
slots:
- mask
- neck
- type: Tag
tags:
- SichScarf

- type: entity
parent: RMCBaseScarfMask
Expand Down Expand Up @@ -243,6 +246,9 @@
slots:
- mask
- neck
- type: Tag
tags:
- SichScarf

- type: entity
parent: RMCMaskTornScarfBase
Expand Down

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Давайте ми не будемо змінювати прототипи RMC, які в будь який момент можуть змінитись, видалитись, тощо?

Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
- type: entity
parent: RMCBaseFoamedMetal
id: RMCFoamedAluminiumMetal
name: foamed aluminium metal
description: A lightweight foamed metal wall.
name: сугроб #foamed aluminium metal, тимчасова зміна. Це все одно плейсхолдер сугробів.
description: Сніговий сугроб, точно не люміній. #A lightweight foamed metal wall.
suffix: RMC
components:
- type: Sprite
Expand All @@ -96,6 +96,23 @@
state: metal_foam-north
- map: [ "enum.EdgeLayer.West" ]
state: metal_foam-west
# нижче додано!!
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 45
behaviors:
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/Footsteps/snowstep1.ogg
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:SpawnEntitiesBehavior
spawn:
SichSheetSnowball1:
min: 1
max: 2

- type: entity
parent: RMCBaseFoamedMetal
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
- type: material
id: SichSnowball
stackEntity: SichSheetSnowball
name: сніжка
icon: { sprite: _Sich/Objects/Materials/snowball.rsi, state: snowball }
price: 0

- type: stack
id: SichSnowball
name: сніжка
icon: { sprite: /Textures/_Sich/Objects/Materials/snowball.rsi, state: snowball }
spawn: SichSheetSnowball
maxCount: 3

- type: entity
parent: SheetOtherBase
id: SichSheetSnowball
name: сніжки
description: Сніжки. Зі снігу. Круто!
suffix: Заповнені
components:
- type: RMCConstructionItem
buildable:
- SichSnowwomanBuild
- type: Material
- type: PhysicalComposition
materialComposition:
SichSnowball: 100
- type: Stack
count: 3
stackType: SichSnowball
baseLayer: base
layerStates:
- snowball
- snowball_2
- snowball_3
- snowball_4
- type: Sprite
sprite: _Sich/Objects/Materials/snowball.rsi
state: snowball_4
layers:
- state: snowball_4
map: ["base"]
- type: Item
sprite: _Sich/Objects/Materials/snowball.rsi
heldPrefix: сніжка
size: Normal
- type: Appearance
- type: Tag
tags:
- Sheet
- type: UserInterface
interfaces:
enum.RMCConstructionUiKey.Key:
type: RMCConstructionBui

- type: entity
parent: SichSheetSnowball
id: SichSheetSnowball2
name: сніжки
description: Сніжки. Зі снігу. Круто!
suffix: "2"
components:
- type: Sprite
state: snowball_3
- type: Stack
stackType: SichSnowball
count: 2

- type: entity
parent: SichSheetSnowball
id: SichSheetSnowball3
name: сніжки
description: Сніжки. Зі снігу. Круто!
suffix: "3"
components:
- type: Sprite
state: snowball_4
- type: Stack
stackType: SichSnowball
count: 3

- type: entity
parent: SichSheetSnowball
id: SichSheetSnowball1
name: сніжка
description: Сніжка. Одна, самісінька.
suffix: Один
components:
- type: Sprite
state: snowball_2
- type: Stack
stackType: SichSnowball
count: 1
105 changes: 105 additions & 0 deletions Resources/Prototypes/_Sich/Entities/Structures/Misc/snowwoman.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
- type: soundCollection
id: SichSnowBreak
files:
- /Audio/Effects/Footsteps/snowstep1.ogg

- type: entity
parent: BaseStructureDynamic
id: SichSnowwoman
name: снігова баба
description: Генерал завітав до Соколів! Бажаю здоров'я, щасливого Різдва та Нового року!
components:
- type: MeleeSound
soundGroups:
Brute:
path:
"/Audio/Effects/Footsteps/snowstep1.ogg"
- type: Transform
noRot: true
- type: Sprite
sprite: _Sich/Structures/Misc/snowwoman.rsi
noRot: true
state: snowwoman
- type: InteractionOutline
- type: Physics
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.4,-0.4,0.4,0.29"
density: 50
mask:
- CrateMask
layer:
- MachineLayer
- type: PlaceableSurface
isPlaceable: false
- type: Damageable
damageContainer: StructuralInorganic
- type: Corrodible
timeToApply: 4
structure: true
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
collection: SichSnowBreak
- type: XenoCrusherChargable
setDamage:
types:
Blunt: 0
throwRange: 2
- type: ItemSlots
slots:
beret_slot:
name: берет снігової баби
whitelist:
tags:
- SichBeret
priority: 1
scarf_slot:
name: шалик снігової баби
whitelist:
tags:
- SichScarf
priority: 2
nose_slot:
name: ніс снігової баби
whitelist:
tags:
- Carrot
priority: 3
- type: ItemMapper
sprite: _Sich/Structures/Misc/snowwoman.rsi
mapLayers:
snowwoman_beret:
whitelist:
tags:
- SichBeret
snowwoman_scarf:
whitelist:
tags:
- SichScarf
snowwoman_nose:
whitelist:
tags:
- Carrot
- type: Appearance
- type: UserInterface
interfaces:
enum.StorageUiKey.Key:
type: StorageBoundUserInterface
- type: ContainerContainer
containers:
storagebase: !type:Container
ents: []
beret_slot: !type:ContainerSlot {}
scarf_slot: !type:ContainerSlot {}
nose_slot: !type:ContainerSlot {}
8 changes: 8 additions & 0 deletions Resources/Prototypes/_Sich/Recipes/Materials/snowball.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- type: rmcConstruction
id: SichSnowwomanBuild
name: сніжна баба
prototype: SichSnowwoman
doAfterTime: 10
doAfterTimeMin: 1
materialCost: 3
ignoreBuildRestrictions: true
7 changes: 7 additions & 0 deletions Resources/Prototypes/tags.yml

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Наші теги також можна винести в наш окремий файл

Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,14 @@

- type: Tag
id: Shovel
# sich

- type: Tag
id: SichBeret

- type: Tag
id: SichScarf
# sich stop

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Варто просто поприсиувати # Sich до першої строчки змінених прототипів

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Додати стадії руйнування 💀

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Коментарем я виділив теги січі... Можу прибрати

@Pgriha Pgriha Jan 7, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Перше just idea.
Друге, я не про прибрати, а просто поставити коментарі на самі прототипи. Типу:

- type: Tag # Sich
  id: SichScarf

Чисто естетичне питання

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Думаю буде гірше видно

- type: Tag
id: Sidearm

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "made by potatoed6",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "snowball"
},
{
"name": "snowball_2"
},
{
"name": "snowball_3"
},
{
"name": "snowball_4"
}
]
}
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,23 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "made by potatoed6, beret by noctyrnal",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "snowwoman"
},
{
"name":"snowwoman_beret"
},
{
"name":"snowwoman_scarf"
},
{
"name":"snowwoman_nose"
}
]
}
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