diff --git a/Resources/Prototypes/Entities/Markers/Spawners/mobs.yml b/Resources/Prototypes/Entities/Markers/Spawners/mobs.yml index 0cbd61626d..84dc0221a3 100644 --- a/Resources/Prototypes/Entities/Markers/Spawners/mobs.yml +++ b/Resources/Prototypes/Entities/Markers/Spawners/mobs.yml @@ -85,3 +85,16 @@ - type: ConditionalSpawner prototypes: - Drone + +- type: entity + name: Fox Renault Spawner + id: SpawnMobFoxRenault + parent: MarkerBase + components: + - type: Sprite + layers: + - state: green + - state: ai + - type: ConditionalSpawner + prototypes: + - MobFoxRenault diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml b/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml index 1908ccb311..ffdf54aca9 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml @@ -1117,3 +1117,61 @@ attributes: proper: true gender: female + +- type: entity + name: fox + parent: SimpleMobBase + id: MobFox + description: They're a fox. + components: + - type: Sprite + drawdepth: Mobs + sprite: Mobs/Animals/fox.rsi + layers: + - map: ["enum.DamageStateVisualLayers.Base"] + state: fox + - type: Physics + - type: Fixtures + fixtures: + - shape: + !type:PhysShapeCircle + radius: 0.35 + mass: 10 + mask: + - Impassable + - MobImpassable + - VaultImpassable + - SmallImpassable + layer: + - Opaque + - type: Appearance + visuals: + - type: DamageStateVisualizer + normal: fox + crit: fox_dead + dead: fox_dead + - type: Butcherable + spawned: FoodMeat + pieces: 3 + - type: InteractionPopup + successChance: 0.5 + interactSuccessString: petting-success-soft-floofy + interactFailureString: petting-failure-generic + - type: Grammar + attributes: + gender: epicene + - type: Bloodstream + bloodMaxVolume: 100 + +- type: entity + name: Renault + parent: MobFox + id: MobFoxRenault + description: The captain's trustworthy fox. + components: + - type: InteractionPopup + successChance: 1 + - type: Grammar + attributes: + proper: true + gender: female diff --git a/Resources/Textures/Mobs/Animals/fox.rsi/fox.png b/Resources/Textures/Mobs/Animals/fox.rsi/fox.png new file mode 100644 index 0000000000..3d57f2c17e Binary files /dev/null and b/Resources/Textures/Mobs/Animals/fox.rsi/fox.png differ diff --git a/Resources/Textures/Mobs/Animals/fox.rsi/fox_dead.png b/Resources/Textures/Mobs/Animals/fox.rsi/fox_dead.png new file mode 100644 index 0000000000..d22528e631 Binary files /dev/null and b/Resources/Textures/Mobs/Animals/fox.rsi/fox_dead.png differ diff --git a/Resources/Textures/Mobs/Animals/fox.rsi/meta.json b/Resources/Textures/Mobs/Animals/fox.rsi/meta.json new file mode 100644 index 0000000000..c3e16806c9 --- /dev/null +++ b/Resources/Textures/Mobs/Animals/fox.rsi/meta.json @@ -0,0 +1,24 @@ +{ + "version": 1, + "size": + { + "x": 32, + "y": 32 + }, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from TG git https://github.com/tgstation/tgstation/blob/master/icons/mob/pets.dmi", + "states": + [ + { + "name": "fox", + "directions": 4, + "delays": [[1],[1],[1],[1]] + }, + + { + "name": "fox_dead", + "directions": 1, + "delays": [[1]] + } + ] +}