From 988ab8220843403c685cdb8bf9e53b5bad424805 Mon Sep 17 00:00:00 2001 From: Nim <128169402+Nimfar11@users.noreply.github.com> Date: Tue, 21 Jan 2025 23:06:31 +0200 Subject: [PATCH] Apple (#787) * bread * apple * sprite * no bread * eee --- .../Objects/Consumable/Food/produce.yml | 62 ++++++++++++++++++ .../Objects/Flora/Farm/apple.rsi/base1.png | Bin 0 -> 513 bytes .../Objects/Flora/Farm/apple.rsi/meta.json | 17 +++++ .../Objects/Flora/Farm/apple.rsi/slice1.png | Bin 0 -> 351 bytes 4 files changed, 79 insertions(+) create mode 100644 Resources/Textures/_CP14/Objects/Flora/Farm/apple.rsi/base1.png create mode 100644 Resources/Textures/_CP14/Objects/Flora/Farm/apple.rsi/meta.json create mode 100644 Resources/Textures/_CP14/Objects/Flora/Farm/apple.rsi/slice1.png diff --git a/Resources/Prototypes/_CP14/Entities/Objects/Consumable/Food/produce.yml b/Resources/Prototypes/_CP14/Entities/Objects/Consumable/Food/produce.yml index dc4423710b..4bf46143d1 100644 --- a/Resources/Prototypes/_CP14/Entities/Objects/Consumable/Food/produce.yml +++ b/Resources/Prototypes/_CP14/Entities/Objects/Consumable/Food/produce.yml @@ -308,3 +308,65 @@ Quantity: 1 - ReagentId: Vitamin Quantity: 1 + +- type: entity + id: CP14FoodApple + parent: FoodInjectableBase + categories: [ ForkFiltered ] + name: apple + description: A fruit for lovers of a quick snack. + components: + - type: Item + size: Tiny + - type: FlavorProfile + flavors: + - apple + - type: SolutionContainerManager + solutions: + food: + maxVol: 15 + reagents: + - ReagentId: Nutriment + Quantity: 10 + - ReagentId: Vitamin + Quantity: 4 + - type: Sprite + sprite: _CP14/Objects/Flora/Farm/apple.rsi + layers: + - state: base1 + - type: Extractable + juiceSolution: + reagents: + - ReagentId: JuiceApple + Quantity: 12 + - type: SliceableFood + count: 4 + sliceTime: 1.5 + slice: CP14FoodAppleSlice + +- type: entity + id: CP14FoodAppleSlice + parent: FoodInjectableBase + categories: [ ForkFiltered ] + name: apple slice + description: Small slices to eat at one time. + components: + - type: Item + size: Tiny + - type: FlavorProfile + flavors: + - apple + - type: Sprite + sprite: _CP14/Objects/Flora/Farm/apple.rsi + layers: + - state: slice1 + - type: SolutionContainerManager + solutions: + food: + maxVol: 4 + reagents: + - ReagentId: Nutriment + Quantity: 2.5 + - ReagentId: Vitamin + Quantity: 1 + \ No newline at end of file diff --git a/Resources/Textures/_CP14/Objects/Flora/Farm/apple.rsi/base1.png b/Resources/Textures/_CP14/Objects/Flora/Farm/apple.rsi/base1.png new file mode 100644 index 0000000000000000000000000000000000000000..5853f0bfd00fde3150ff32aaa9d312fd37b3becc GIT binary patch literal 513 zcmV+c0{;DpP)Px$yGcYrR9J=Wl`%^kK^TUgTb6_42uE-PB_<$gj_V~LB8YZr!WDru*W?-l79m#t z0#j(4#zwIbN$w8_f*fhCN&@B@vvA^FGl?eWf-K8SiglK|MrMvHMD~G&ncbc5efhrm zW*{RYBjcekzbf?ns?e_M{BeoDfAfl8ogV=D>nE8TN8CHvT3gme{P3i%KkmO6DFY)r zt<1?1%Q7rpcWQgKK!loz2@OeX_|Kq^{6oX(92L$7&GB#TzDoX!CyeLOKB9K_7c z`l*ST0aLb&lz~B7K|Cbf0RH9r<2P{Ky#$ghn3gm9p#jVUF%4ij*JtyfVBLz=20BN_ zxj)~dWRZwDYkSNJZ^(ohyWo5mcp^^s!dcq~JOYvu)F(qW4+?aSj;-6<`6PU{vZUu; z50^kmpGX$D?p`{Hk7U4@Fys8hV*sMx?&2948TW$!FMPSO0{Gt(00000NkvXXu0mjf DVIt;( literal 0 HcmV?d00001 diff --git a/Resources/Textures/_CP14/Objects/Flora/Farm/apple.rsi/meta.json b/Resources/Textures/_CP14/Objects/Flora/Farm/apple.rsi/meta.json new file mode 100644 index 0000000000..12d7b3ff2d --- /dev/null +++ b/Resources/Textures/_CP14/Objects/Flora/Farm/apple.rsi/meta.json @@ -0,0 +1,17 @@ +{ + "version": 1, + "license": "CLA", + "copyright": "Created by artista.rar_furrista (Discord)", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "base1" + }, + { + "name": "slice1" + } + ] +} diff --git a/Resources/Textures/_CP14/Objects/Flora/Farm/apple.rsi/slice1.png b/Resources/Textures/_CP14/Objects/Flora/Farm/apple.rsi/slice1.png new file mode 100644 index 0000000000000000000000000000000000000000..34f7b6a5a2fac9f7ef16d2aa60b0c7de8029e131 GIT binary patch literal 351 zcmV-l0igbgP)Px$8A(JzR9J=WlQB!fKp2LfN~2bkkky7-I$9^49Rk?|K?Nu6Qo+$daMI0DH#c!n z993|xcJMD0yO(01OQ@Dsn}#@Duv@MKr|((5<9P3$mxBXA5ClOGQf9fb9qHt=X^F2- z_96iH&|w3j_uI$JzZCc@4hAFb^Ai_P;)kaO$ETYFgAqn9t6f67fD#wWB`(jO+1XlQ zX)VvN9{^zF^sY>tF1Su~wwk9{E@9aw02lWMOwSn%`$0T)nbHX>x!>+GyD-D|*Uy+- z&EAKfet}l4o~how;kUb3wu#s50N^z{WAfdrS6a1tq8|W|IH)MNPIR-s9>0WTn|yjb x!Z76Mr9sl~H*o<~LapZ)t$1HoE(n4E@C%Q%YSZ_we=q<5002ovPDHLkV1g8Zm;e9( literal 0 HcmV?d00001