diff --git a/Resources/Locale/ru-RU/_white/new-year.ftl b/Resources/Locale/ru-RU/_white/new-year.ftl new file mode 100644 index 0000000000..600c0197df --- /dev/null +++ b/Resources/Locale/ru-RU/_white/new-year.ftl @@ -0,0 +1,5 @@ +ent-MobReindeer = северный олень + .desc = А где Санта? + +ent-DecorationSnowman = снеговик + .desc = Кажется, он следит за тобой. diff --git a/Resources/Prototypes/Entities/Objects/Decoration/snowman.yml b/Resources/Prototypes/Entities/Objects/Decoration/snowman.yml new file mode 100644 index 0000000000..1b108d59f6 --- /dev/null +++ b/Resources/Prototypes/Entities/Objects/Decoration/snowman.yml @@ -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" diff --git a/Resources/Prototypes/_White/Entities/Mobs/Animal/mobs.yml b/Resources/Prototypes/_White/Entities/Mobs/Animal/mobs.yml index 2da6687b4b..c34526928a 100644 --- a/Resources/Prototypes/_White/Entities/Mobs/Animal/mobs.yml +++ b/Resources/Prototypes/_White/Entities/Mobs/Animal/mobs.yml @@ -78,3 +78,59 @@ - type: FootstepModifier footstepSoundCollection: 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 diff --git a/Resources/Textures/White/Mobs/Animals/reindeer.rsi/dead.png b/Resources/Textures/White/Mobs/Animals/reindeer.rsi/dead.png new file mode 100644 index 0000000000..cda66cc285 Binary files /dev/null and b/Resources/Textures/White/Mobs/Animals/reindeer.rsi/dead.png differ diff --git a/Resources/Textures/White/Mobs/Animals/reindeer.rsi/meta.json b/Resources/Textures/White/Mobs/Animals/reindeer.rsi/meta.json new file mode 100644 index 0000000000..7748867d4b --- /dev/null +++ b/Resources/Textures/White/Mobs/Animals/reindeer.rsi/meta.json @@ -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 + } + ] +} diff --git a/Resources/Textures/White/Mobs/Animals/reindeer.rsi/reindeer.png b/Resources/Textures/White/Mobs/Animals/reindeer.rsi/reindeer.png new file mode 100644 index 0000000000..87b20f0dc8 Binary files /dev/null and b/Resources/Textures/White/Mobs/Animals/reindeer.rsi/reindeer.png differ diff --git a/Resources/Textures/White/Objects/Decoration/NewYear/snowman.rsi/meta.json b/Resources/Textures/White/Objects/Decoration/NewYear/snowman.rsi/meta.json new file mode 100644 index 0000000000..2d63ead19c --- /dev/null +++ b/Resources/Textures/White/Objects/Decoration/NewYear/snowman.rsi/meta.json @@ -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" + } + ] +} diff --git a/Resources/Textures/White/Objects/Decoration/NewYear/snowman.rsi/snowman.png b/Resources/Textures/White/Objects/Decoration/NewYear/snowman.rsi/snowman.png new file mode 100644 index 0000000000..85340cd3c3 Binary files /dev/null and b/Resources/Textures/White/Objects/Decoration/NewYear/snowman.rsi/snowman.png differ