From de9569fcc8fd648546268e50afe9b034d342c1a5 Mon Sep 17 00:00:00 2001 From: Fansana Date: Sat, 23 Nov 2024 17:15:21 +0100 Subject: [PATCH] fix action icon --- .../Floof/Entities/Clothing/Shoes/magboots.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Resources/Prototypes/Floof/Entities/Clothing/Shoes/magboots.yml b/Resources/Prototypes/Floof/Entities/Clothing/Shoes/magboots.yml index 67476048675..cd25135d7a2 100644 --- a/Resources/Prototypes/Floof/Entities/Clothing/Shoes/magboots.yml +++ b/Resources/Prototypes/Floof/Entities/Clothing/Shoes/magboots.yml @@ -8,3 +8,14 @@ sprite: Floof/Clothing/Shoes/Boots/magboots-security.rsi - type: Clothing sprite: Floof/Clothing/Shoes/Boots/magboots-security.rsi + - type: Magboots + toggleAction: ActionToggleMagbootsSecurity + +- type: entity + id: ActionToggleMagbootsSecurity + parent: ActionBaseToggleMagboots + noSpawn: true + components: + - type: InstantAction + icon: { sprite: Floof/Clothing/Shoes/Boots/magboots-security.rsi, state: icon } + iconOn: { sprite: Floof/Clothing/Shoes/Boots/magboots-security.rsi, state: icon-on }