diff --git a/Resources/Audio/_Amour/squeak.ogg b/Resources/Audio/_Amour/squeak.ogg new file mode 100644 index 0000000000..1afe372dd9 Binary files /dev/null and b/Resources/Audio/_Amour/squeak.ogg differ diff --git a/Resources/Prototypes/Amour/capybara.yml b/Resources/Prototypes/Amour/capybara.yml new file mode 100644 index 0000000000..9667d96440 --- /dev/null +++ b/Resources/Prototypes/Amour/capybara.yml @@ -0,0 +1,39 @@ +- type: entity + name: капибара + parent: MobCat + id: MobCapybara + description: Дружелюбная капибара. + components: + - type: Speech + speechSounds: CapySqueak + speechVerb: SmallMob + - type: ReplacementAccent + accent: mouse + - type: InteractionPopup + successChance: 0.7 + interactSuccessString: petting-success-generic + interactFailureString: petting-failure-generic + interactSuccessSpawn: EffectHearts + interactSuccessSound: + path: /Audio/_Amour/squeak.ogg + - type: Sprite + drawdepth: Mobs + sprite: _Amour/capybara.rsi + layers: + - map: ["enum.DamageStateVisualLayers.Base"] + state: capy + - type: DamageStateVisuals + states: + Alive: + Base: capy + Dead: + Base: capy_dead + +- type: speechSounds + id: CapySqueak + saySound: + path: /Audio/_Amour/squeak.ogg + askSound: + path: /Audio/_Amour/squeak.ogg + exclaimSound: + path: /Audio/_Amour/squeak.ogg diff --git a/Resources/Textures/_Amour/capybara.rsi/capy.png b/Resources/Textures/_Amour/capybara.rsi/capy.png new file mode 100644 index 0000000000..5ecd86bc77 Binary files /dev/null and b/Resources/Textures/_Amour/capybara.rsi/capy.png differ diff --git a/Resources/Textures/_Amour/capybara.rsi/capy_dead.png b/Resources/Textures/_Amour/capybara.rsi/capy_dead.png new file mode 100644 index 0000000000..28bdd47c42 Binary files /dev/null and b/Resources/Textures/_Amour/capybara.rsi/capy_dead.png differ diff --git a/Resources/Textures/_Amour/capybara.rsi/meta.json b/Resources/Textures/_Amour/capybara.rsi/meta.json new file mode 100644 index 0000000000..f30a71817a --- /dev/null +++ b/Resources/Textures/_Amour/capybara.rsi/meta.json @@ -0,0 +1,37 @@ +{ + "version": 1, + "size": { + "x": 32, + "y": 32 + }, + "license": "CC-BY-SA-3.0", + "copyright": "FDev", + "states": [ + { + "name": "capy", + "directions": 4, + "delays": [ + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ] + ] + }, + { + "name": "capy_dead", + "delays": [ + [ + 1 + ] + ] + } + ] +}