[Add] Reindeer and snowman (#848)
This commit is contained in:
5
Resources/Locale/ru-RU/_white/new-year.ftl
Normal file
5
Resources/Locale/ru-RU/_white/new-year.ftl
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
ent-MobReindeer = северный олень
|
||||||
|
.desc = А где Санта?
|
||||||
|
|
||||||
|
ent-DecorationSnowman = снеговик
|
||||||
|
.desc = Кажется, он следит за тобой.
|
||||||
43
Resources/Prototypes/Entities/Objects/Decoration/snowman.yml
Normal file
43
Resources/Prototypes/Entities/Objects/Decoration/snowman.yml
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
- type: entity # WD
|
||||||
|
parent: BaseStructure
|
||||||
|
id: DecorationSnowman
|
||||||
|
name: snowman
|
||||||
|
description: It seems he is following you.
|
||||||
|
placement:
|
||||||
|
mode: AlignTileAny
|
||||||
|
components:
|
||||||
|
- type: Physics
|
||||||
|
bodyType: Static
|
||||||
|
- type: Transform
|
||||||
|
noRot: true
|
||||||
|
- type: Sprite
|
||||||
|
sprite: White/Objects/Decoration/NewYear/snowman.rsi
|
||||||
|
state: snowman
|
||||||
|
noRot: true
|
||||||
|
- type: Fixtures
|
||||||
|
fixtures:
|
||||||
|
fix1:
|
||||||
|
shape:
|
||||||
|
!type:PhysShapeCircle
|
||||||
|
radius: 0.3
|
||||||
|
density: 190
|
||||||
|
mask:
|
||||||
|
- HighImpassable
|
||||||
|
- type: Damageable
|
||||||
|
damageContainer: StructuralInorganic
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 20
|
||||||
|
behaviors:
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: [ "Destruction" ]
|
||||||
|
- !type:PlaySoundBehavior
|
||||||
|
sound:
|
||||||
|
path: /Audio/Effects/Footsteps/snowstep3.ogg
|
||||||
|
- type: MeleeSound
|
||||||
|
soundGroups:
|
||||||
|
Brute:
|
||||||
|
path:
|
||||||
|
"/Audio/Weapons/star_hit.ogg"
|
||||||
@@ -78,3 +78,59 @@
|
|||||||
- type: FootstepModifier
|
- type: FootstepModifier
|
||||||
footstepSoundCollection:
|
footstepSoundCollection:
|
||||||
path: /Audio/Effects/hulk_step.ogg
|
path: /Audio/Effects/hulk_step.ogg
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: reindeer
|
||||||
|
parent: SimpleMobBase
|
||||||
|
id: MobReindeer
|
||||||
|
description: Where is Santa?
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
drawdepth: Mobs
|
||||||
|
layers:
|
||||||
|
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||||
|
state: reindeer
|
||||||
|
sprite: White/Mobs/Animals/reindeer.rsi
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- DoorBumpOpener
|
||||||
|
- type: Physics
|
||||||
|
- type: Fixtures
|
||||||
|
fixtures:
|
||||||
|
fix1:
|
||||||
|
shape:
|
||||||
|
!type:PhysShapeCircle
|
||||||
|
radius: 0.40
|
||||||
|
density: 400
|
||||||
|
mask:
|
||||||
|
- MobMask
|
||||||
|
layer:
|
||||||
|
- MobLayer
|
||||||
|
- type: DamageStateVisuals
|
||||||
|
states:
|
||||||
|
Alive:
|
||||||
|
Base: reindeer
|
||||||
|
Dead:
|
||||||
|
Base: dead
|
||||||
|
- type: Butcherable
|
||||||
|
spawned:
|
||||||
|
- id: FoodMeat
|
||||||
|
amount: 5
|
||||||
|
- type: InteractionPopup
|
||||||
|
successChance: 0.7
|
||||||
|
interactDelay: 2 # Avoids overlapping SFX due to spam - these SFX are a little longer than the typical 1 second.
|
||||||
|
interactSuccessString: petting-success-soft-floofy
|
||||||
|
interactFailureString: petting-failure-generic
|
||||||
|
interactSuccessSpawn: EffectHearts
|
||||||
|
interactSuccessSound:
|
||||||
|
path: /Audio/Animals/kangaroo_grunt.ogg
|
||||||
|
- type: Perishable
|
||||||
|
molsPerSecondPerUnitMass: 0.0015
|
||||||
|
- type: NpcFactionMember
|
||||||
|
factions:
|
||||||
|
- Passive
|
||||||
|
- type: Body
|
||||||
|
prototype: AnimalRuminant
|
||||||
|
- type: HTN
|
||||||
|
rootTask:
|
||||||
|
task: RuminantCompound
|
||||||
|
|||||||
BIN
Resources/Textures/White/Mobs/Animals/reindeer.rsi/dead.png
Normal file
BIN
Resources/Textures/White/Mobs/Animals/reindeer.rsi/dead.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
23
Resources/Textures/White/Mobs/Animals/reindeer.rsi/meta.json
Normal file
23
Resources/Textures/White/Mobs/Animals/reindeer.rsi/meta.json
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from ParadiseSS13 at https://github.com/ss220club/Paradise-SS220/blob/master/icons/mob/winter_mob.dmi",
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "dead",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
1
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "reindeer",
|
||||||
|
"directions": 4
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
BIN
Resources/Textures/White/Mobs/Animals/reindeer.rsi/reindeer.png
Normal file
BIN
Resources/Textures/White/Mobs/Animals/reindeer.rsi/reindeer.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from ParadiseSS13 at https://github.com/ss220club/Paradise-SS220/blob/master/icons/obj/statue.dmi",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "snowman"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 912 B |
Reference in New Issue
Block a user