From 05995a22df9f1e1065f3f6bf4b10b992329a42e5 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Sat, 24 Sep 2022 16:17:35 +0200 Subject: [PATCH] Add sound for skins --- sounds/i3_skin_change.ogg | Bin 0 -> 11481 bytes src/fields.lua | 2 ++ src/gui.lua | 15 +++++++-------- 3 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 sounds/i3_skin_change.ogg diff --git a/sounds/i3_skin_change.ogg b/sounds/i3_skin_change.ogg new file mode 100644 index 0000000000000000000000000000000000000000..5ef190dec5d58140277018f45a96313c2b04d807 GIT binary patch literal 11481 zcmc(Fc|2QN7wCyGlr$j-)m|co5Uv1*S!UrNf{=ypo^mswG?)8uZLdyRZA*HaV%u}luM*8u; zlq%7mY)rsjZ+i4$g9EYQYDeib&n@O^WHlp0BSS+oLlZR}YG}yuV0u)znq5>pJ@!~s zWN1_zRyYJi{3j0#(bf|JSOWlx2-g*F4$iT-r=ZSKuBspoVFz{+$JMJbwiy=vrUR(p zeO)0;;^5iwTn|7KiND5<9VLLZWwrCv*cMY^FDe`syG_WYU&!y3kTc8l+VoGn zE#xi060+Z_Md4Qz87)FCU{m$yGc}VC1t1pyDk^oD&vamLl{RVM9st0tW03puko#Lz z1rr!qsH~4Ts0;uK;yI-A9GHCXoG^O1R$`S-NtJG68-1t^Cun=sZLme|001to$i8T# zE_tFq!`@XF;mL;!v-77!uO;8 zC(zhZ11Ke965il;EM2ankG3Z zc-;4hoc$De=u_mA`=L)hg+9C=>R%Z8s3X#U#@~PT`2T)wiJmM5BzM&zaq=x=~zeFn48vy{E(>n)ZRQJWG4#Wth+S0I^D4+%awyvsnvA6-Y$$n7A zDbm;nKiA#I-Mk|IV+0UISOyq-!D|py1z5@7OP(@u`hUEHiWLDs=i|0d(>CmiMhQCl zGl53^-2B32RyBwS%~;U`0n~aVoHF|$(y~5MK&lvE zjE!0&p#Wl5 z9R^*jp=BG0>1yKS;o&ix29gUgyIXLgLSlE1*@Dpj2>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z&Z*yL?dBi9?wgI$!kN7| zyL!XFmM&FQDyuq+uXFhDgc=dDrI^* zDwKK~7|yfe(_@zjucTOK!#v!_KFWm~?0FUv?Uk+@#fmTJjf983+Vv(QvF?v-#Kc5- zg!QKP7suAEHa4&ZDMUYoo?%23GN5QK`4`}Y%fB}hFwAfqGN7Ul z#FV5nr?^`5%f=Y#K1Z$8=#i!iVm^n%eFukNL;pDaJx?YKWwqy|3oswemtxIvVbO=8 z#|ERTYU!%E1>Mi3|Gsj~(}q=l2Ra~G#IiBqd|`gY7&qwzgwNTEC5s&|v?KuzE=?Sg zu%N8_sS#-yelOixU8@h1efw;v#r^`{8o}{dEkXj%!|KpRC3wbrpK-E&&&HJeO?1)< zD<9&%5dEyQ*z)i~xAEw=zfE`6j25#V9@MLSbKp&(Kp?NQprIq`XWyxOW~~MY2=5|F z0I)Tj*FB)e#)TrMg{FZ9W^)_K^FF>bO?sw(kA2323*#vsgi!wjtM*=gzjufSA2tg1 z4rCt-;U;~!yysMr&c($->Q9GE4{fKU|2zYW1$kAaI6Nl{VXX8 z(mkiqdQ~lzf zWhXW0uhJtTueW?Erul|;tnw0C#NLZJ_R4T{WmU!Q<2?`=X|bCXA^}Aw z 1 then - insert(t, fmt(arg1, select(2, ...))) + if select("#", ...) > 1 then + local arg1 = args[1] + local elem = fs_elements[arg1] + + insert(t, fmt(elem or arg1, select(2, ...))) else insert(t, concat(args)) end