-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc4df2e
commit 34fc9f6
Showing
34 changed files
with
423 additions
and
1 deletion.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
Resources/Locale/ru-RU/corvax/prototypes/entities/objects/decoration/flora.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ent-NewYearTree0 = большая ель | ||
.desc = Ель, излучающая волшебную ауру. | ||
ent-NewYearTree1 = новогодняя ёлка | ||
.desc = Ты был хорошим мальчиком? |
6 changes: 6 additions & 0 deletions
6
Resources/Locale/ru-RU/corvax/prototypes/entities/objects/decoration/garlands.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ent-GarlandsOff = гирлянды | ||
.desc = Неработающие висюльки. Может они включатся когда что-то произойдет? | ||
.suffix = Выключены | ||
ent-Garlands = { ent-GarlandsOff } | ||
.desc = Красивое... Смотря на это, вы чувствуете, как наполняетесь новогодним духом. | ||
.suffix = Включены |
11 changes: 11 additions & 0 deletions
11
Resources/Locale/ru-RU/corvax/prototypes/entities/objects/decoration/presents.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = Маленький |
2 changes: 2 additions & 0 deletions
2
Resources/Locale/ru-RU/corvax/prototypes/entities/structures/wallmounts/signs/signs.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ent-SignNewYear = новогодний знак | ||
.desc = Неоновый знак. Лицом в салат, и проснуться в Феврале. |
69 changes: 69 additions & 0 deletions
69
Resources/Prototypes/Corvax/Entities/Objects/Decoration/flora.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
50 changes: 50 additions & 0 deletions
50
Resources/Prototypes/Corvax/Entities/Objects/Decoration/garlands.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
109
Resources/Prototypes/Corvax/Entities/Objects/Decoration/presents.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
9 changes: 9 additions & 0 deletions
9
Resources/Prototypes/Corvax/Entities/Structures/Wallmounts/Signs/signs.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Binary file added
BIN
+7.49 KB
Resources/Textures/Corvax/Objects/Decoration/Flora/newyear_tree.yml/after.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.2 KB
Resources/Textures/Corvax/Objects/Decoration/Flora/newyear_tree.yml/before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.73 KB
Resources/Textures/Corvax/Objects/Decoration/Flora/newyear_tree.yml/lights.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions
35
Resources/Textures/Corvax/Objects/Decoration/Flora/newyear_tree.yml/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
] | ||
] | ||
} | ||
] | ||
} |
Binary file added
BIN
+273 Bytes
Resources/Textures/Corvax/Objects/Decoration/Presents/big_present.yml/base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+155 Bytes
Resources/Textures/Corvax/Objects/Decoration/Presents/big_present.yml/decor_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+186 Bytes
Resources/Textures/Corvax/Objects/Decoration/Presents/big_present.yml/decor_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+140 Bytes
Resources/Textures/Corvax/Objects/Decoration/Presents/big_present.yml/decor_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+96 Bytes
...urces/Textures/Corvax/Objects/Decoration/Presents/big_present.yml/mask_null.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions
29
Resources/Textures/Corvax/Objects/Decoration/Presents/big_present.yml/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} |
Binary file added
BIN
+176 Bytes
Resources/Textures/Corvax/Objects/Decoration/Presents/big_present.yml/ribbon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+207 Bytes
Resources/Textures/Corvax/Objects/Decoration/Presents/medium_present.yml/base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+128 Bytes
...rces/Textures/Corvax/Objects/Decoration/Presents/medium_present.yml/decor_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+134 Bytes
...rces/Textures/Corvax/Objects/Decoration/Presents/medium_present.yml/decor_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+135 Bytes
...rces/Textures/Corvax/Objects/Decoration/Presents/medium_present.yml/decor_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+96 Bytes
...es/Textures/Corvax/Objects/Decoration/Presents/medium_present.yml/mask_null.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions
29
Resources/Textures/Corvax/Objects/Decoration/Presents/medium_present.yml/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} |
Binary file added
BIN
+142 Bytes
...urces/Textures/Corvax/Objects/Decoration/Presents/medium_present.yml/ribbon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+131 Bytes
Resources/Textures/Corvax/Objects/Decoration/Presents/small_present.yml/base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions
17
Resources/Textures/Corvax/Objects/Decoration/Presents/small_present.yml/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} |
Binary file added
BIN
+129 Bytes
Resources/Textures/Corvax/Objects/Decoration/Presents/small_present.yml/ribbon.png
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.
Binary file added
BIN
+365 Bytes
Resources/Textures/Corvax/Objects/Decoration/garlands.yml/lights.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.