From 9d9dd00ed4068d0c1abcc3ce6eb0e63110ce650d Mon Sep 17 00:00:00 2001 From: Emisse <99158783+Emisse@users.noreply.github.com> Date: Sun, 13 Mar 2022 17:32:33 -0600 Subject: [PATCH] Foxes and Renault (#7111) --- .../Entities/Markers/Spawners/mobs.yml | 13 ++++ .../Prototypes/Entities/Mobs/NPCs/animals.yml | 58 ++++++++++++++++++ .../Textures/Mobs/Animals/fox.rsi/fox.png | Bin 0 -> 1583 bytes .../Mobs/Animals/fox.rsi/fox_dead.png | Bin 0 -> 571 bytes .../Textures/Mobs/Animals/fox.rsi/meta.json | 24 ++++++++ 5 files changed, 95 insertions(+) create mode 100644 Resources/Textures/Mobs/Animals/fox.rsi/fox.png create mode 100644 Resources/Textures/Mobs/Animals/fox.rsi/fox_dead.png create mode 100644 Resources/Textures/Mobs/Animals/fox.rsi/meta.json 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 0000000000000000000000000000000000000000..3d57f2c17e85d19722b2fb1c3c42cbbc7179e57d GIT binary patch literal 1583 zcmV+~2GIG5P)HeB=wX*_Jr zy5H>1W^QjU%}j0=W%qly-I?8)-+bTvW@c}GlS0gq2!NO)5dbkqA^>8JL;%Dbi2#T> z5&=vKJ(f*dzf|ixwwm8=w9~$^2l$OKjR?^$`^Ex%d+Z=iT$vM%pm8^isL+{yz$OjP zKGSRUzqRWz7T}@mE+Ilk=TFx9+T$V}B|0BWl27%02lEj*rboBf!GxPAk`c z5ZK*|ZuHtY2fSy+y-%RBFlY5otc5lY2>Ui+flM!Q$6gS(mtP+gR|=wI-`E2R?@Xd} z?l5q>3Up;r`0z)R&hABI$n-X+SC_S`(H3C+?IMuRW9npCTnmK)N~K9mJ?Es?%l36* z0RI;ldq6guMcF1hH8mx!Oh*d#w(122y-#QhFfcH%V}5?#%GgqqpWbX6sna|z{ zeHDRt_uTDAnQ9{lGhU1^u_MajDFo*=L2uHCD zda!$24gui>QTKkEpe=xyg-_2}k9_o-UHFbY^Dm;OXAkPHeuqEa+=np7zh}S2D!@rF z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q literal 0 HcmV?d00001 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]] + } + ] +}