From 74a4cc63cc6627fa3c7f21c28e60f20ba4e97ae3 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Thu, 23 Apr 2020 01:40:18 +0200 Subject: [PATCH] Utensils. --- .../Prototypes/Entities/Items/utensils.yml | 68 ++++++++++++++++++ .../Textures/Objects/utensils.rsi/fork.png | Bin 0 -> 175 bytes .../Objects/utensils.rsi/loadedfood.png | Bin 0 -> 162 bytes .../Textures/Objects/utensils.rsi/meta.json | 1 + .../Objects/utensils.rsi/plastic_fork.png | Bin 0 -> 169 bytes .../Objects/utensils.rsi/plastic_knife.png | Bin 0 -> 181 bytes .../Objects/utensils.rsi/plastic_spoon.png | Bin 0 -> 195 bytes .../Textures/Objects/utensils.rsi/spoon.png | Bin 0 -> 199 bytes 8 files changed, 69 insertions(+) create mode 100644 Resources/Prototypes/Entities/Items/utensils.yml create mode 100644 Resources/Textures/Objects/utensils.rsi/fork.png create mode 100644 Resources/Textures/Objects/utensils.rsi/loadedfood.png create mode 100644 Resources/Textures/Objects/utensils.rsi/meta.json create mode 100644 Resources/Textures/Objects/utensils.rsi/plastic_fork.png create mode 100644 Resources/Textures/Objects/utensils.rsi/plastic_knife.png create mode 100644 Resources/Textures/Objects/utensils.rsi/plastic_spoon.png create mode 100644 Resources/Textures/Objects/utensils.rsi/spoon.png diff --git a/Resources/Prototypes/Entities/Items/utensils.yml b/Resources/Prototypes/Entities/Items/utensils.yml new file mode 100644 index 0000000000..73207cf010 --- /dev/null +++ b/Resources/Prototypes/Entities/Items/utensils.yml @@ -0,0 +1,68 @@ +- type: entity + parent: BaseItem + id: UtensilBase + abstract: true + components: + - type: Sprite + sprite: Objects/utensils.rsi + + - type: Icon + sprite: Objects/utensils.rsi + + +- type: entity + parent: UtensilBase + id: Fork + name: fork + components: + - type: Sprite + state: fork + + - type: Icon + state: fork + +- type: entity + parent: UtensilBase + id: ForkPlastic + name: plastic fork + components: + - type: Sprite + state: plastic_fork + + - type: Icon + state: plastic_fork + +- type: entity + parent: UtensilBase + id: Spoon + name: spoon + desc: There is no spoon. + components: + - type: Sprite + state: spoon + + - type: Icon + state: spoon + +- type: entity + parent: UtensilBase + id: SpoonPlastic + name: plastic spoon + desc: There is no spoon. + components: + - type: Sprite + state: plastic_spoon + + - type: Icon + state: plastic_spoon + +- type: entity + parent: UtensilBase + id: KnifePlastic + name: plastic knife + components: + - type: Sprite + state: plastic_knife + + - type: Icon + state: plastic_knife diff --git a/Resources/Textures/Objects/utensils.rsi/fork.png b/Resources/Textures/Objects/utensils.rsi/fork.png new file mode 100644 index 0000000000000000000000000000000000000000..e9b3816db5e217eff85d820497b92b80422239e2 GIT binary patch literal 175 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfv=>VS)S0HU?XXoJH;Ogq?>FMe3 z?;jZ%85I>(TwFYV=dPJRX~vQuzhDN3XE)M-94Ai~#}JM4$q5JeBqSv{IXH}rxC8_e zT*WzfT|@7C6 zS_|F?DK#i52)$X;pp_uhq_yBh(uoExkyZ(}gAh$T; zPo6w^_wJqextCjj5{xB5e!&b5&u*jvIZmD~jv*T7lM@c`&6qiplVirFO;Q2^3C`jk z-mans-k!<|2j)!bd1e&MY{D4Evz@<(L3mfg42D?^6Avng9w^YfQ_OJw5a-|Wp1=m6 OX$+pOelF{r5}E+SO*zy6 literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/utensils.rsi/plastic_knife.png b/Resources/Textures/Objects/utensils.rsi/plastic_knife.png new file mode 100644 index 0000000000000000000000000000000000000000..36a56a97d01bd8b51b6cf70f1e0537a68c5b2b4a GIT binary patch literal 181 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfv#^NA%Cx&(BWL^R}LIFM@u0VR` z%$e)guRnF_)Vp`@zJC4cFsF19NNGusUoeBivm0qZj*F*@V~EE2({S8b?VfmOPAigd)KgpiyNe&B*-tA!Qt7BG$6;v)5S4FV`6fGf>;aN zf=`jBy#raBPIm`RZJ9n@SjfZQU6jMy+gUWh*H`rcpATagn-s@}1>7^F7jU*L*sWZV mz`}Hqb&BW(7757?Hin~X1TU22c`^dcW$<+Mb6Mw<&;$V3zC5e| literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/utensils.rsi/spoon.png b/Resources/Textures/Objects/utensils.rsi/spoon.png new file mode 100644 index 0000000000000000000000000000000000000000..cc58bc4ebfef87bd595778fc90900dfb56d31baa GIT binary patch literal 199 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfv#^NA%Cx&(BWL^R}asfUeu0Yz( z&d$NX!PV8()6>)6-#;oUs<^ngqoZT_^5sD+=?NfhB|(0{3=Yq3qyafzo-U3d8WWQf z6vSHC7JQ1djt*o!WPK}esz*r~#{#Z1a~jnG0vojy;^O+W4n#zBJmYg@bYeQgV