- add: Animal.
This commit is contained in:
BIN
Resources/Audio/_Amour/squeak.ogg
Normal file
BIN
Resources/Audio/_Amour/squeak.ogg
Normal file
Binary file not shown.
39
Resources/Prototypes/Amour/capybara.yml
Normal file
39
Resources/Prototypes/Amour/capybara.yml
Normal file
@@ -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
|
||||||
BIN
Resources/Textures/_Amour/capybara.rsi/capy.png
Normal file
BIN
Resources/Textures/_Amour/capybara.rsi/capy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
BIN
Resources/Textures/_Amour/capybara.rsi/capy_dead.png
Normal file
BIN
Resources/Textures/_Amour/capybara.rsi/capy_dead.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 662 B |
37
Resources/Textures/_Amour/capybara.rsi/meta.json
Normal file
37
Resources/Textures/_Amour/capybara.rsi/meta.json
Normal file
@@ -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
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user