From 290b3595bc709e05a8bac61aca0fd73dc5d05939 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Fri, 24 Apr 2020 14:59:03 +0200 Subject: [PATCH] Handcuff props. --- .../Prototypes/Entities/Items/handcuffs.yml | 36 ++++++++++++++++++ .../Objects/Misc/cablecuffs.rsi/cuff.png | Bin 0 -> 333 bytes .../Misc/cablecuffs.rsi/inhand-left.png | Bin 0 -> 204 bytes .../Misc/cablecuffs.rsi/inhand-right.png | Bin 0 -> 209 bytes .../Objects/Misc/cablecuffs.rsi/meta.json | 1 + Resources/Textures/Objects/Misc/cableties.png | Bin 237 -> 0 bytes Resources/Textures/Objects/Misc/handcuffs.png | Bin 269 -> 0 bytes .../Misc/handcuffs.rsi/equipped-BELT.png | Bin 0 -> 148 bytes .../Objects/Misc/handcuffs.rsi/handcuff.png | Bin 0 -> 396 bytes .../Misc/handcuffs.rsi/inhand-left.png | Bin 0 -> 198 bytes .../Misc/handcuffs.rsi/inhand-right.png | Bin 0 -> 211 bytes .../Objects/Misc/handcuffs.rsi/meta.json | 1 + 12 files changed, 38 insertions(+) create mode 100644 Resources/Prototypes/Entities/Items/handcuffs.yml create mode 100644 Resources/Textures/Objects/Misc/cablecuffs.rsi/cuff.png create mode 100644 Resources/Textures/Objects/Misc/cablecuffs.rsi/inhand-left.png create mode 100644 Resources/Textures/Objects/Misc/cablecuffs.rsi/inhand-right.png create mode 100644 Resources/Textures/Objects/Misc/cablecuffs.rsi/meta.json delete mode 100644 Resources/Textures/Objects/Misc/cableties.png delete mode 100644 Resources/Textures/Objects/Misc/handcuffs.png create mode 100644 Resources/Textures/Objects/Misc/handcuffs.rsi/equipped-BELT.png create mode 100644 Resources/Textures/Objects/Misc/handcuffs.rsi/handcuff.png create mode 100644 Resources/Textures/Objects/Misc/handcuffs.rsi/inhand-left.png create mode 100644 Resources/Textures/Objects/Misc/handcuffs.rsi/inhand-right.png create mode 100644 Resources/Textures/Objects/Misc/handcuffs.rsi/meta.json diff --git a/Resources/Prototypes/Entities/Items/handcuffs.yml b/Resources/Prototypes/Entities/Items/handcuffs.yml new file mode 100644 index 0000000000..74b2955efe --- /dev/null +++ b/Resources/Prototypes/Entities/Items/handcuffs.yml @@ -0,0 +1,36 @@ +- type: entity + name: handcuffs + description: Just a prop for screenshots for now, sorry! + id: Handcuffs + parent: BaseItem + components: + - type: Sprite + sprite: Objects/Misc/handcuffs.rsi + state: handcuff + + - type: Icon + sprite: Objects/Misc/handcuffs.rsi + state: handcuff + + - type: Clothing + sprite: Objects/Misc/handcuffs.rsi + Slots: [belt] + + +- type: entity + name: cable restraints + id: Cablecuffs + parent: Handcuffs + components: + - type: Sprite + sprite: Objects/Misc/cablecuffs.rsi + state: cuff + color: red + + - type: Icon + sprite: Objects/Misc/cablecuffs.rsi + state: cuff + + - type: Clothing + sprite: Objects/Misc/cablecuffs.rsi + Slots: [belt] diff --git a/Resources/Textures/Objects/Misc/cablecuffs.rsi/cuff.png b/Resources/Textures/Objects/Misc/cablecuffs.rsi/cuff.png new file mode 100644 index 0000000000000000000000000000000000000000..4679847291432eae8b2b6177d527120955a5b795 GIT binary patch literal 333 zcmV-T0kZyyP)KlPf|)Y96nuD)GMsF#g5(17K=uYU+=* zj2MfEUaha|>c01L#4!;8GoSXhZTs5yfOJPdM6`6AQaas%h-x4qgsy0~oada?oZJZ! z)y}^az~j8<{Kq)fm|OrNqLx@O#?$wxZmZy(+1?G%%65BGW`^T9njmKX5-B8tZP&M1T2Ho8t%)ci+S8a^2U~yi fQ;kne{R=$+XK@i6Z>Qn`reKDXw6!mLx)ARP=04fR_tyBsgsVU%-J<@>L>PcJ_foqXq_ zyU0@Y2T_0HOYJ4A`vamHM58X1?J8Lw#KBo8+xqFR^TR>fJzf1=);T3K0RYvm BR+az& literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Misc/cablecuffs.rsi/inhand-right.png b/Resources/Textures/Objects/Misc/cablecuffs.rsi/inhand-right.png new file mode 100644 index 0000000000000000000000000000000000000000..9fdcd9f62c2f86b272386898d0706f13f79b1b9f GIT binary patch literal 209 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=Gdx`!Ln`LHz2(StSV4gGg6GS~ z;{Vb&Tm@X16nmE~+sEG2y&(Q^o*ENSEklEEmq+#IiF42Xc_p1*^L{b^wO4M_JC^1z zdH>XY-?pl?no3Ut^9)uQrO*8RsmcHAmp>p)3=GAuLZ8muXI1lysqUh2Kv?bU(7N?) zE1#FYxw+&~wB;NA8^z`49pdUc?zJrc%41@Fw~_Hjvb^RtmrHH$^G!eoc)I$ztaD0e F0s#L3S4RK< literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Misc/cablecuffs.rsi/meta.json b/Resources/Textures/Objects/Misc/cablecuffs.rsi/meta.json new file mode 100644 index 0000000000..62cee9e339 --- /dev/null +++ b/Resources/Textures/Objects/Misc/cablecuffs.rsi/meta.json @@ -0,0 +1 @@ +{"version": 1, "size": {"x": 32, "y": 32}, "states": [{"name": "cuff", "directions": 1, "delays": [[1.0]]}, {"name": "inhand-left", "directions": 4, "delays": [[1.0], [1.0], [1.0], [1.0]]}, {"name": "inhand-right", "directions": 4, "delays": [[1.0], [1.0], [1.0], [1.0]]}]} \ No newline at end of file diff --git a/Resources/Textures/Objects/Misc/cableties.png b/Resources/Textures/Objects/Misc/cableties.png deleted file mode 100644 index ceb16f2ec8dec83927d836133411ef78f93caa30..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 237 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@#^NA%C&rs6b?Si}&H|6fVg?3o zVGw3ym^DWNBpBcm;tHfMUAlDi=+R6mj{qQtxg^LhnBo6_mw;=EKyIF=i(^Q|oaBTB zG97FV8OPQv6<~{Ip3Xc&@#q1T#1sPq9|mKg0~{;Ln5G<*VoG&cTau8&a8l>NtV6dL z%vv+kM2?8CZ535$V_|Mik?L5;l%j6tAjzrlc8){vfnx@&25Ke^Yonyt7E102oABP8 Z;n)SC6L+VbdknOh!PC{xWt~$(69C#0M&bYf diff --git a/Resources/Textures/Objects/Misc/handcuffs.png b/Resources/Textures/Objects/Misc/handcuffs.png deleted file mode 100644 index 7c846f07a0e6192388b2721c95a36eac5e9a9665..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 269 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfv#^NA%C&rs6b?Si}&H|6fVg?3o zVGw3ym^DWNC@31>6XFV_eSLjpWMuU8^z!oZyu7@EgM(jBbE^bOu$Kh+1vC5ygQfM$ zeglQ-JY5_^D&{07NJKRRGWa?;2!^&y?CcC=baiQToEUiG!VQLF;$~tA0!d|sg>9WP zb}&V@=`B^0d^Z#AGaD!wS7#iv> sYHxn=saY}PhrqfY))#bl*)Zr-Fun;CdGqq>vPB>zp00i_>zopr0O$ucbN~PV literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Misc/handcuffs.rsi/handcuff.png b/Resources/Textures/Objects/Misc/handcuffs.rsi/handcuff.png new file mode 100644 index 0000000000000000000000000000000000000000..466f9c749b9d6a1c2c2168872b9ee8f213d3348d GIT binary patch literal 396 zcmV;70dxL|P)7=@q9Hn!6yV3V}M+`u~ERdSeIB{22eAYdDtfSzGWw^;u0?@nT7c43zRzebJv z{`X=GP$(1%uY$EUS!>h36$gO2uG60z;l+7ttxeSb4dRhSbzP?rg5cxx`HXQK1sR;C z38&KuN+~SMvhH=xWou+7t+k1ZDWx!uqu}$?G$Di_wARTObEk2=Ub9Bta|V`W0f~C= zza#^&n$cP(rPTV|d%yOLF{_C!-u5PVA}*-4zB_m4oFH@Fdo)dh%jF`Prh)e!#+c20 zSpx(Wmr|l_+lST;!ytH@W77bo=V_{{0sypayPJlL_I;lKpzr%6r9_PJIRhM?=61X7 zu5-?b5CQ-o#)z)#5*423dG{kcH1Ivm5%W9)_Jv00007wAPES`qmvv4FO#tc?P)z^; literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Misc/handcuffs.rsi/inhand-right.png b/Resources/Textures/Objects/Misc/handcuffs.rsi/inhand-right.png new file mode 100644 index 0000000000000000000000000000000000000000..887f3eb66912ecb1a3c8eb0aab843fbc5aaf4234 GIT binary patch literal 211 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=vpiiKLn`LHz2(Tqq{zd1q4W3y zo;l6G?|X#bmGCVvy0Pf}TFyU{4lJ|f11e@{5I-jI{SA-tv?o2jtK$z{nzJ$U{oW_4 zF6&f}hU@;C>;LIqn%LHB=azdGWZsLtS06E{eEOrqd6kSHy$o5uU%&Hq+rJ^E|I_Tx zOy1T1(^JlI$JBniQgdMQnaaj5k*#O8M?8~1!80Mw=74@BL%|)pgu7?dgF$*dUHx3v IIVCg!0I7yr6#xJL literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Misc/handcuffs.rsi/meta.json b/Resources/Textures/Objects/Misc/handcuffs.rsi/meta.json new file mode 100644 index 0000000000..4fa026ebe6 --- /dev/null +++ b/Resources/Textures/Objects/Misc/handcuffs.rsi/meta.json @@ -0,0 +1 @@ +{"version": 1, "size": {"x": 32, "y": 32}, "states": [{"name": "handcuff", "directions": 1, "delays": [[1.0]]}, {"name": "inhand-left", "directions": 4, "delays": [[1.0], [1.0], [1.0], [1.0]]}, {"name": "inhand-right", "directions": 4, "delays": [[1.0], [1.0], [1.0], [1.0]]}, {"name": "equipped-BELT", "directions": 4, "delays": [[1.0], [1.0], [1.0], [1.0]]}]} \ No newline at end of file