Skip to content

Commit

Permalink
com
Browse files Browse the repository at this point in the history
  • Loading branch information
Ko4ergaPunk committed Nov 20, 2024
1 parent dc4df2e commit 34fc9f6
Show file tree
Hide file tree
Showing 34 changed files with 423 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ent-NewYearTree0 = большая ель
.desc = Ель, излучающая волшебную ауру.
ent-NewYearTree1 = новогодняя ёлка
.desc = Ты был хорошим мальчиком?
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ent-GarlandsOff = гирлянды
.desc = Неработающие висюльки. Может они включатся когда что-то произойдет?
.suffix = Выключены
ent-Garlands = { ent-GarlandsOff }
.desc = Красивое... Смотря на это, вы чувствуете, как наполняетесь новогодним духом.
.suffix = Включены
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ent-BasePresentBox = декоративный подарок
.desc = Красивая обёртка, разочаровывающая пустота внутри.
ent-BigPresentBox = { ent-BasePresentBox }
.desc = { ent-BasePresentBox.desc }
.suffix = Большой
ent-MediumPresentBox = { ent-BasePresentBox }
.desc = { ent-BasePresentBox.desc }
.suffix = Средний
ent-SmallPresentBox = { ent-BasePresentBox }
.desc = { ent-BasePresentBox.desc }
.suffix = Маленький
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-SignNewYear = новогодний знак
.desc = Неоновый знак. Лицом в салат, и проснуться в Феврале.
69 changes: 69 additions & 0 deletions Resources/Prototypes/Corvax/Entities/Objects/Decoration/flora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
- type: entity
id: NewYearTree0
name: big tree
description: A tree that radiates a magical aura.
components:
- type: SpriteFade
- type: Clickable
- type: Sprite
state: before
noRot: true
sprite: Corvax/Objects/Decoration/Flora/newyear_tree.yml
drawdepth: Overdoors
offset: 0, 1
- type: Physics
bodyType: Static
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.8,-0.4,0.8,0.4"
density: 4500
layer:
- WallLayer
- type: Damageable # Да, я специально сделал неразрушаемым, но damageable.
- type: MeleeSound
soundGroups:
Brute:
path: /Audio/Effects/chop.ogg
params:
variation: 0.05

- type: entity
parent: NewYearTree0
id: NewYearTree1
suffix: PresentsGiver
name: new year tree
description: Have you been a good boy?
components:
- type: Sprite
layers:
- state: after
- state: lights
shader: unshaded
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.8,-1,0.8,0.5"
density: 4500
layer:
- WallLayer
- type: PointLight
color: "#FFD66DFF"
energy: 2.5
- type: LimitedItemGiver
spawnEntries:
- id: PresentRandom
orGroup: present
- id: PresentRandomCash
prob: 0.20
orGroup: present
- id: PresentRandomAsh
prob: 0.05
orGroup: present
receivedPopup: christmas-tree-got-gift
deniedPopup: christmas-tree-no-gift
requiredHoliday: FestiveSeason
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
- type: entity
id: GarlandsOff
name: garlands
description: "Non-working danglers. Maybe they will turn on when something happens?"
suffix: "Off"
placement:
mode: SnapgridCenter
components:
- type: MeleeSound
soundGroups:
Brute:
collection: GlassSmash
- type: Transform
anchored: true
- type: Clickable
- type: Sprite
sprite: Corvax/Objects/Decoration/garlands.yml
drawdepth: Overdoors
state: base
- type: SpriteFade
- type: Damageable
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 250
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
collection: GlassBreak

- type: entity
parent: GarlandsOff
id: Garlands
description: "Beautiful... Looking at this, you are filled with a New Year's mood."
suffix: "On"
components:
- type: Sprite
layers:
- state: base
- state: lights
shader: unshaded
- type: PointLight
color: "#0000FF"
energy: 0.8
radius: 5
softness: 1
- type: RgbLightController
109 changes: 109 additions & 0 deletions Resources/Prototypes/Corvax/Entities/Objects/Decoration/presents.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
- type: entity
id: BasePresentBox
name: decoration present
description: "Beautiful wrapper, disappointing emptiness inside."
abstract: true
placement:
mode: PlaceFree
components:
- type: Clickable
- type: Physics
bodyType: Static
- type: Damageable
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 250
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]

- type: entity
parent: BasePresentBox
id: BigPresentBox
suffix: Big
components:
- type: Sprite
sprite: Corvax/Objects/Decoration/Presents/big_present.yml
noRot: true
layers:
- state: base
map: [ "base" ]
- state: mask_null
map: [ "decor" ]
- state: ribbon
- type: RandomSprite
available:
- base:
base: Rainbow
decor:
decor_0: ""
decor_1: ""
decor_2: ""
mask_null: ""
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.15
density: 60
mask:
- MachineMask
layer:
- MidImpassable
- LowImpassable

- type: entity
parent: BasePresentBox
id: MediumPresentBox
suffix: Medium
components:
- type: Sprite
sprite: Corvax/Objects/Decoration/Presents/medium_present.yml
noRot: true
layers:
- state: base
map: [ "base" ]
- state: mask_null
map: [ "decor" ]
- state: ribbon
- type: RandomSprite
available:
- base:
base: Rainbow
decor:
decor_0: ""
decor_1: ""
decor_2: ""
mask_null: ""
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.07
density: 60
mask:
- MachineMask
layer:
- MidImpassable
- LowImpassable

- type: entity
parent: BasePresentBox
id: SmallPresentBox
suffix: Small
components:
- type: Sprite
sprite: Corvax/Objects/Decoration/Presents/small_present.yml
noRot: true
layers:
- state: base
map: [ "base" ]
- state: ribbon
- type: RandomSprite
available:
- base:
base: Rainbow
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- type: entity
parent: BaseSign
id: SignNewYear
name: new year sign
description: "Neon sign. Face in salad and wake up in February."
components:
- type: Sprite
state: corvax_newyear
shader: unshaded
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,35 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "By Ko4erga (discord)",
"size": {
"x": 96,
"y": 128
},
"states": [
{
"name": "before"
},
{
"name": "after"
},
{
"name": "lights",
"delays": [
[
1.5,
0.5,
0.5,
0.5,
0.5,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
}
]
}
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,29 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "By Ko4erga (discord)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "base"
},
{
"name": "ribbon"
},
{
"name": "mask_null"
},
{
"name": "decor_0"
},
{
"name": "decor_1"
},
{
"name": "decor_2"
}
]
}
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,29 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "By Ko4erga (discord)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "base"
},
{
"name": "ribbon"
},
{
"name": "mask_null"
},
{
"name": "decor_0"
},
{
"name": "decor_1"
},
{
"name": "decor_2"
}
]
}
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,17 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "By Ko4erga (discord)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "base"
},
{
"name": "ribbon"
}
]
}
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

0 comments on commit 34fc9f6

Please sign in to comment.