From 0d6f7aea43940ecf374d5fcd3b6d258ec0a0b5ed Mon Sep 17 00:00:00 2001 From: PuroSlavKing <103608145+PuroSlavKing@users.noreply.github.com> Date: Thu, 26 Dec 2024 14:54:38 +0300 Subject: [PATCH] better action --- Resources/Prototypes/_White/Actions/types.yml | 5 ++++- .../Interface/Actions/headcrab.rsi/jump-off.png | Bin 0 -> 550 bytes .../Interface/Actions/headcrab.rsi/jump-on.png | Bin 0 -> 645 bytes .../Interface/Actions/headcrab.rsi/jump.png | Bin 642 -> 0 bytes .../Interface/Actions/headcrab.rsi/meta.json | 5 ++++- 5 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 Resources/Textures/_White/Interface/Actions/headcrab.rsi/jump-off.png create mode 100644 Resources/Textures/_White/Interface/Actions/headcrab.rsi/jump-on.png delete mode 100644 Resources/Textures/_White/Interface/Actions/headcrab.rsi/jump.png diff --git a/Resources/Prototypes/_White/Actions/types.yml b/Resources/Prototypes/_White/Actions/types.yml index 13eefb49ff..e90d6bb477 100644 --- a/Resources/Prototypes/_White/Actions/types.yml +++ b/Resources/Prototypes/_White/Actions/types.yml @@ -65,7 +65,10 @@ - type: WorldTargetAction icon: sprite: _White/Interface/Actions/headcrab.rsi - state: jump + state: jump-off + iconOn: + sprite: _White/Interface/Actions/headcrab.rsi + state: jump-on event: !type:JumpActionEvent useDelay: 6 range: 160 diff --git a/Resources/Textures/_White/Interface/Actions/headcrab.rsi/jump-off.png b/Resources/Textures/_White/Interface/Actions/headcrab.rsi/jump-off.png new file mode 100644 index 0000000000000000000000000000000000000000..84c62a308301b4e629ab2ce4c4e59be03933ef21 GIT binary patch literal 550 zcmV+>0@?kEP)Jyh#E=CG%3a+x69@}=c1An890`mc{}rNXLfc45n+-t zH__DH<(m@bl(Ns@iEI4Pk0To&cs+=$YN#5lq}1-;HET1LYY(=r-p8I3@@z&-_+ z56>v?c-Zfs000Zo5Dtn!n(3ESgaBxJIf7ClqZF}N3;?jcv8nRkYa2K`zecH$!QR~q zz$ivGfqWv2wd^7Qp#J`$45>&M@njMU(GY5HU${6f;_T)Tm1dtsfSrO=Bs>zl+8x+1 z`NRxy^MaR=v~cv|jgPOM$gBx^zl* z`}FIyzBM3U#QNN-BO;~qdl74P!6HCJBMzOM>p^ugZvH$|;6_{z7DW8;*4vQGVAfH$ o>!jT9`sjrZd>#L}OuP~O04*QOq#oTy_y7O^07*qoM6N<$g4TuZ7XSbN literal 0 HcmV?d00001 diff --git a/Resources/Textures/_White/Interface/Actions/headcrab.rsi/jump-on.png b/Resources/Textures/_White/Interface/Actions/headcrab.rsi/jump-on.png new file mode 100644 index 0000000000000000000000000000000000000000..09bf1929d992af26153a9c49d99424b6b353f338 GIT binary patch literal 645 zcmV;00($+4P)1*_sAfE3r+|W8G=xe&%Ibo434h* zQUoWW#(bdW91kZ65xy}%TdPY6G7c#!5=oN0_jv~gn;TZcJ}#hl^%~mEdaTnVfWulYBnSM1kk(%o@L{d0I!dJy0N~Z@H_HE`>poh0U(j56iq7dBKAl`S$ukLP z%m-MmJqG}sU)`vIN+G~pxr~M441WIpqxyZw0lNzl_qkFCV&u`$y5NxehrBgTU(!>R-4u`g*1J19@9oU& z+*(Ltp3;~r`u{-S#y{-w#Y}1;ATqH_k~rFTEAG9e#L6nSG~oilU=QTL+jol!!wcYO zA0$%}0Jyo7VMb%pCJ~eaB-wl1%7fXGkcvqp;D6;TL_*4X5eLTbKUH5wL z!|8?SJ-y1AqipLUx)B9BgNKaO>u60KkJsTUq>v7wEj`<6ygm_h-NH?)=gV zJ{5t@CBeqM3F!IvU+F??S+KgciuIKReEBv?=Rb}9RDuKU5EQOUYguyOv1@%2R+LEE zjZqXa7LcS_1kEC7N!i}1o9zMTu@VmipDa*xA>v>#DASQ>%;1<_hd?UE7{p`}k4PQh z017#v)5+;K#Le-3SlwE6mG~YJy7sM-5ziiqTI=iF_`J8mG~;5_aQMW@#a8X zpjzx}NYz|pTfeF=+n?IW6(SKq(p+P0#GWtf%l2zKg+gTKgeytQCQB77zP6Qb!t8yS zjqN#->70moLDjkh5lHT<9(#=D$hhozL*OE=!KRTaeY*}MW!CQXx+dk)*S$|a_(@iq c%>B>lUmt*ui2wiq diff --git a/Resources/Textures/_White/Interface/Actions/headcrab.rsi/meta.json b/Resources/Textures/_White/Interface/Actions/headcrab.rsi/meta.json index feb69eb835..46526b2e82 100644 --- a/Resources/Textures/_White/Interface/Actions/headcrab.rsi/meta.json +++ b/Resources/Textures/_White/Interface/Actions/headcrab.rsi/meta.json @@ -5,7 +5,10 @@ "size": { "y": 32, "x": 32 }, "states": [ { - "name": "jump" + "name": "jump-on" + }, + { + "name": "jump-off" } ] }