From: MilenVolf <63782763+MilenVolf@users.noreply.github.com> Date: Mon, 22 Jan 2024 02:01:42 +0000 (+0300) Subject: Mothroach movement state (#24385) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=6cb11e9f0a5762f273c078e3c18858127815c444;p=space-station-14.git Mothroach movement state (#24385) Moth movement sprite --- diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml b/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml index 6e0df641d7..804dc23006 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml @@ -443,8 +443,15 @@ - type: Sprite sprite: Mobs/Animals/mothroach.rsi layers: - - map: ["enum.DamageStateVisualLayers.Base"] + - map: ["enum.DamageStateVisualLayers.Base", "movement"] state: mothroach + - type: SpriteMovement + movementLayers: + movement: + state: mothroach-moving + noMovementLayers: + movement: + state: mothroach - type: Item size: Normal - type: Clothing diff --git a/Resources/Textures/Mobs/Animals/mothroach.rsi/icon.png b/Resources/Textures/Mobs/Animals/mothroach.rsi/icon.png index 9113f1c171..ff936eb6b5 100644 Binary files a/Resources/Textures/Mobs/Animals/mothroach.rsi/icon.png and b/Resources/Textures/Mobs/Animals/mothroach.rsi/icon.png differ diff --git a/Resources/Textures/Mobs/Animals/mothroach.rsi/meta.json b/Resources/Textures/Mobs/Animals/mothroach.rsi/meta.json index e7b8658cd8..165cbf6bf8 100644 --- a/Resources/Textures/Mobs/Animals/mothroach.rsi/meta.json +++ b/Resources/Textures/Mobs/Animals/mothroach.rsi/meta.json @@ -1,7 +1,7 @@ { "version": 1, "license": "CC-BY-SA-3.0", - "copyright": "Taken from fulpstation at https://github.com/fulpstation/fulpstation/commit/edb232b692ec9f356ec554ea1971da552b9bc447", + "copyright": "Taken from fulpstation at https://github.com/fulpstation/fulpstation/commit/edb232b692ec9f356ec554ea1971da552b9bc447. 'mothroach-moving' by MilenVolf", "size": { "x": 32, "y": 32 @@ -14,6 +14,32 @@ "name": "mothroach", "directions": 4 }, + { + "name": "mothroach-moving", + "directions": 4, + "delays": [ + [ + 0.2, + 0.2, + 0.2 + ], + [ + 0.2, + 0.2, + 0.2 + ], + [ + 0.2, + 0.2, + 0.2 + ], + [ + 0.2, + 0.2, + 0.2 + ] + ] + }, { "name": "mothroach_lazy", "directions": 4 diff --git a/Resources/Textures/Mobs/Animals/mothroach.rsi/mothroach-moving.png b/Resources/Textures/Mobs/Animals/mothroach.rsi/mothroach-moving.png new file mode 100644 index 0000000000..4fcaac9d24 Binary files /dev/null and b/Resources/Textures/Mobs/Animals/mothroach.rsi/mothroach-moving.png differ diff --git a/Resources/Textures/Mobs/Animals/mothroach.rsi/mothroach.png b/Resources/Textures/Mobs/Animals/mothroach.rsi/mothroach.png index 305f8fb89f..de79a55e46 100644 Binary files a/Resources/Textures/Mobs/Animals/mothroach.rsi/mothroach.png and b/Resources/Textures/Mobs/Animals/mothroach.rsi/mothroach.png differ