From 60c2228fd5c81647eb0ee249cea5468b2f225b18 Mon Sep 17 00:00:00 2001 From: Alphas00 <154434082+Alphas00@users.noreply.github.com> Date: Mon, 18 Nov 2024 10:14:07 +0100 Subject: [PATCH 1/2] GS13 plants fix & ported GS13 drink icons Ported and fixed the icons for blueberries and munchies weed. All icons for GS13 plants "compressed" into 3 files (seeds, fruits, plants). Ported sprites for dwarven and fatty drinks (not added in-game yet) The drinks' sprites have not been added in because of the way drink sprites work. The glass changes its icon state among those in its original icon file. Adding the sprites to those files would cause upstream conflicts --- .../code/modules/hydroponics/grown/berries.dm | 8 +++++++- .../code/modules/hydroponics/lipoplant.dm | 10 +++++----- .../code/modules/hydroponics/munchies_weed.dm | 10 +++++++--- GainStation13/icons/obj/drinks.dmi | Bin 891 -> 5070 bytes .../icons/obj/hydroponics/growing.dmi | Bin 0 -> 2401 bytes .../icons/obj/hydroponics/harvest.dmi | Bin 0 -> 1758 bytes .../icons/obj/hydroponics/lipo_growing.dmi | Bin 981 -> 0 bytes .../icons/obj/hydroponics/lipo_harvest.dmi | Bin 649 -> 0 bytes .../icons/obj/hydroponics/lipo_seeds.dmi | Bin 357 -> 0 bytes GainStation13/icons/obj/hydroponics/seeds.dmi | Bin 0 -> 565 bytes 10 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 GainStation13/icons/obj/hydroponics/growing.dmi create mode 100644 GainStation13/icons/obj/hydroponics/harvest.dmi delete mode 100644 GainStation13/icons/obj/hydroponics/lipo_growing.dmi delete mode 100644 GainStation13/icons/obj/hydroponics/lipo_harvest.dmi delete mode 100644 GainStation13/icons/obj/hydroponics/lipo_seeds.dmi create mode 100644 GainStation13/icons/obj/hydroponics/seeds.dmi diff --git a/GainStation13/code/modules/hydroponics/grown/berries.dm b/GainStation13/code/modules/hydroponics/grown/berries.dm index 263262637b..32f3e7dbca 100644 --- a/GainStation13/code/modules/hydroponics/grown/berries.dm +++ b/GainStation13/code/modules/hydroponics/grown/berries.dm @@ -1,7 +1,6 @@ /obj/item/seeds/berry/blueberry name = "pack of blueberry seeds" desc = "These seeds grow into blueberry bushes." - icon_state = "seed-blueberry" species = "blueberry" plantname = "Blueberry Bush" product = /obj/item/reagent_containers/food/snacks/grown/berries/blueberry @@ -11,11 +10,18 @@ yield = 1 production = 10 rarity = 30 + icon = 'GainStation13/icons/obj/hydroponics/seeds.dmi' + icon_state = "seed-blueberry" + growing_icon = 'GainStation13/icons/obj/hydroponics/growing.dmi' + icon_grow = "berry-grow" // Uses one growth icons set for all the subtypes + icon_dead = "berry-dead" // Same for the dead icon + icon_harvest = "blueberry-harvest" /obj/item/reagent_containers/food/snacks/grown/berries/blueberry seed = /obj/item/seeds/berry/blueberry name = "bunch of blueberries" desc = "Taste so good, you might turn blue!" + icon = 'GainStation13/icons/obj/hydroponics/harvest.dmi' icon_state = "blueberrypile" filling_color = "#5d00c7" foodtype = FRUIT diff --git a/GainStation13/code/modules/hydroponics/lipoplant.dm b/GainStation13/code/modules/hydroponics/lipoplant.dm index 72c16ca898..4856ec4020 100644 --- a/GainStation13/code/modules/hydroponics/lipoplant.dm +++ b/GainStation13/code/modules/hydroponics/lipoplant.dm @@ -1,8 +1,6 @@ /obj/item/seeds/lipoplant name = "pack of adipolipus" desc = "These seeds grow into a foreign plant." - icon = 'GainStation13/icons/obj/hydroponics/lipo_seeds.dmi' - icon_state = "lipo_seed" species = "adipolipus" plantname = "Adipolipus" product = /obj/item/reagent_containers/food/snacks/grown/lipofruit @@ -11,17 +9,19 @@ maturation = 8 production = 5 yield = 1 - growing_icon = 'GainStation13/icons/obj/hydroponics/lipo_growing.dmi' + reagents_add = list(/datum/reagent/consumable/lipoifier = 0.05) + icon = 'GainStation13/icons/obj/hydroponics/seeds.dmi' + icon_state = "seed-lipo" + growing_icon = 'GainStation13/icons/obj/hydroponics/growing.dmi' icon_grow = "lipo-grow" // Uses one growth icons set for all the subtypes icon_dead = "lipo-dead" // Same for the dead icon icon_harvest = "lipo-harvest" - reagents_add = list(/datum/reagent/consumable/lipoifier = 0.05) /obj/item/reagent_containers/food/snacks/grown/lipofruit seed = /obj/item/seeds/lipoplant name = "lipofruit" desc = "A foreign fruit with an hard shell. Perhaps something sharp could open it?" - icon = 'GainStation13/icons/obj/hydroponics/lipo_harvest.dmi' + icon = 'GainStation13/icons/obj/hydroponics/harvest.dmi' icon_state = "lipo_nut" item_state = "lipo_nut" possible_transfer_amounts = list(5, 10, 15, 20, 25, 30, 50) diff --git a/GainStation13/code/modules/hydroponics/munchies_weed.dm b/GainStation13/code/modules/hydroponics/munchies_weed.dm index e6ef646985..28043f6f3d 100644 --- a/GainStation13/code/modules/hydroponics/munchies_weed.dm +++ b/GainStation13/code/modules/hydroponics/munchies_weed.dm @@ -8,22 +8,26 @@ /obj/item/seeds/cannabis/munchies name = "pack of munchies weed seeds" desc = "These seeds grow into munchies weed." - icon_state = "seed-munchies" species = "munchycannabis" plantname = "Munchies Weed" - icon_grow = "munchycannabis-grow" // Uses one growth icons set for all the subtypes - icon_dead = "munchycannabis-dead" // Same for the dead icon product = /obj/item/reagent_containers/food/snacks/grown/cannabis/munchies genes = list(/datum/plant_gene/trait/repeated_harvest, /datum/plant_gene/trait/glow/orange) mutatelist = list() reagents_add = list(/datum/reagent/drug/space_drugs = 0.05, /datum/reagent/drug/munchies = 0.10) rarity = 69 + icon = 'GainStation13/icons/obj/hydroponics/seeds.dmi' + icon_state = "seed-munchies" + growing_icon = 'GainStation13/icons/obj/hydroponics/growing.dmi' + icon_grow = "munchycannabis-grow" // Uses one growth icons set for all the subtypes + icon_dead = "munchycannabis-dead" // Same for the dead icon + icon_harvest = "munchycannabis-harvest" /obj/item/reagent_containers/food/snacks/grown/cannabis/munchies seed = /obj/item/seeds/cannabis/munchies name = "munchies cannabis leaf" desc = "You feel hungry just looking at it." + icon = 'GainStation13/icons/obj/hydroponics/harvest.dmi' icon_state = "munchycannabis" wine_power = 90 diff --git a/GainStation13/icons/obj/drinks.dmi b/GainStation13/icons/obj/drinks.dmi index d24ee43bc26c0749e19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Oex7wuvIWN;^NFm z%}mcIfpCgT5=&AQY!#H!GOMb}Gpm%iI8!omXyleC$Hxi>ZxKIbT1&H?%LefR@%{K5ukGYPZ5ubXzCw?UY>!t89b`J*;} zn;Wmoh5lkr$^_vxpzmtXBDRglWA=GWG?f(kf;NBK9{!jdzeD6*AP{|M0(^e*tSJ62 zWzh3z95P$zqZ4K8fIxK6;-7w7%x@UgfKb;3ptM^+%77K$T>$F0o2lRIwSsFE8w3gZoy3w^ z<`?V^*!<1q)5oQ9mGmx<@qM&**3Vd5g%C?-3HqId4k!gu9nhF=<@>4S-9T5;`mN9{ zkne!}8X$Z1LBfFf^<^3updkghReKF6JO#?{!2G&ZbkOf4chv5HN<9WWOW85QiLoV*Gg1g-wgB*K z)J3$Zk#SK0GRTj_7QbbNOz|LL!2gCr|3#>3fNBA%Q8hrd0M)1(pjv=x`~fDr;I3J) R*F69L002ovPDHLkV1n^dsrvu` diff --git a/GainStation13/icons/obj/hydroponics/growing.dmi b/GainStation13/icons/obj/hydroponics/growing.dmi new file mode 100644 index 0000000000000000000000000000000000000000..6636c5175ab3032a075691ab92d4f3e6adacd0d0 GIT binary patch literal 2401 zcmV-n37+004jp0{{R3ySRz0a=B40N!hEBl1z*$8< zZd+8nbYApP9`KZSfFDZ*Bkpc$}Tny$*vQ5CGsAo`UGyrv9{Bmqyb# z)OSF+3W;I^sPXMN-wJsMo&dM*y1lX_OOYEO+D<{!(QCB9bogEsu8r= zxjO^OoU|Kc&F7j*Nh_iMs@d0}kD|R-X~nDGd4i?x5wO%f0hYQ4z*2YrEp@klrC!hV ztBE1W%WVCQZx^5sUD7!LL;wH>pGibPRCt{2m;rm5IuwQp3F->9^=^uFg6!#R*VV4; z|NnFMoSXy_2th>K-ske!O~Z%qdd^8SCkRH38uecgV=T0X?88`GVvJjaEDYb7PzX^Y zV%A7-5i)ZOk9Q>$f^mz8oA*aR2B%bG#zXO*fGotI7-Mb^FD5?~q zi@ru;ocuFJFk%e;xJJZP4DwYG^SaM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(vZ7X#F+j12lHbtsB$h5WFSs1(bXe(0PjDS_bKm z8a%nix&V=jzy{S|$1*VhQ07=ar=B1VNa3&uR&yi8QTr`UPvNP6)N@Fw2ytiXN%Nox zog6`00g(w`rPyL>=kozH7} z{<~e}?{A2{33VVe@6s#{|2Ggr-n#M z&nwDr>ZrplTw#3&?{}pTBUBXV7ezBdcz^Ke{pi=u@cK)tJ4`IbQiapOx7!ujcAFKB z1d*Hnkjk59NC5DQAMl613($PO?c*;Qn#O>Yu2dD)3AbCiLS8s)9BrkdF$=cax^JJ+ z3Q9mWLj`mz3)nT`vFw`G4YSgGv-QA^+?ml&Omp;1t)YZKC z@aE2E2OPHPk-ERX0N2p~-GKK$e_oK#+g&=smwcBb{Oo`o-6fBI2P*j#p+5FG0M#J_ z@UCMroydc#}g3M z{S`oy(B~fkxPN>Ez^AAE{^4c}$pj=cCaB~mZAfUC#Am9F3#t?J$*^2w9YIa7nTLpS{$Aq)Xu!Wp{Q;>xSM}$pLAUMY7p8A_`2K+2-VTSq zFH(OGhqpI8b~K>Y(EeUVzPpDFIuPKYH&{i`(Vpw_GpSblpmZ|ds8ORvonQX~E(;hP TGLiy-00000NkvXXu0mjft{Pwh literal 0 HcmV?d00001 diff --git a/GainStation13/icons/obj/hydroponics/harvest.dmi b/GainStation13/icons/obj/hydroponics/harvest.dmi new file mode 100644 index 0000000000000000000000000000000000000000..c8e3d4d0422b58a829eb63d99130e216f5d14e06 GIT binary patch literal 1758 zcmV<41|j*0P)V=-0C=30%e@MNFcgO2Ik}31?xlZgmZFG*-hw3Y*c^yal9LwizJt)MwB5cB zp0|Ws-LySaT`M0L6DJYS{^of^H_Z3uKD_<69S3)+S z5xoEa1^Y=vK~#90?VQg`9A_BEzwhpfQCZs*DWxv0mXZ(;g&t}pNIGTfA-6z_#)CH- zn}8r5Jah{o(7kvNL1?tq97ghJ^;q{%J(f#p` zJFjm>=K}+?GwEEV7&l1BCGJTztzs_G<05w&!tzrwzy_yw~ug0cSyYfu{@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aT2uOI0QF-4 z@Ld2H0sZ0t0004WQchCV=-0C=2JR&a84_w-Y6 z@%7{?OD!tS%+FJ>RWQ*r;NmRLOex6#a*U0*I5Sc+(=$pSoZ^zil2jm5DJQcaKR&Ot zM2U+tC9|j)C}haRnO2mTn+joLC`>LbiBBud$stKYYHmSEB`zJx3a)-GV8;Uh1Km2k zNb?uq0003zNklOR%l!X0+6kIMvkttdmGesOsfKiM ziz4$+LBOtfS(e)cI=)@-8Q&^E2;)5hL}*kH`o4&f>VQLe2y?*WK#bLt3co<7ZvgGE z9ye{*_eXMzeFBKz89-qR+JW7l=mT~OApf|+GC;oV#-5z?2(AGn=T8RCr9;rN2}Tgu zBao6Cr2KhC3!bN*kb_S!&(dH|sRd`oUTP{{op%6&xvDB51jeq{Tt?{BMK}coG6HRI z-2yNS@Etu{G=CexwFqhiHr2$lt7t87ooSR}90R+Kz68EAjlvgS6bqp*7iAWdWaj5FFjUM54l5`s{r)Am;N#aPTHd-^=gyoD z-VkbV(fGk5o%24LCmD)*dUseD2N_>B_EMPhXws2MAqv5o>YEkp_gR>lx^{LOt8QK) zp^m@jbZn9>HP^kO8h{J<2+p)Lo9mVUa%BuP!MnloU+zY zWcu&>p-cz0vfs2!v46NH!C~da<(YZP@3(F|pAooY+xBCB8=~YtFfcoC@ch^j(6A+M zX7k?;1$U*TpOY5ciMV&+BY&ubq{er(ckWxHkA$;$Y3xaT4z!8E)78&qol`;+0Bw_s A;Q#;t diff --git a/GainStation13/icons/obj/hydroponics/seeds.dmi b/GainStation13/icons/obj/hydroponics/seeds.dmi new file mode 100644 index 0000000000000000000000000000000000000000..be7d4c707c096e74f60213639742436018db62be GIT binary patch literal 565 zcmV-50?Pe~P)YA39OFkJx0z`($%Fbjqz z3Bo}b)J7WrS0cYQ3|vY@Sw%l?TU2OPP-<9FV^U0IR847DP-|FHWKv9KR8D17PG?n5 zA-9$i00001bW%=J06^y0W&i*Hg?dz2bVOxyV{&P5bZKvH004NLQ&wi#LHAOcmr!+Mw zwWz34iHkEOv#1y-VaUaqR+N~V3Spxv&n?YM&d5wHCQfxuW?3jqO35*TX#23zeB=-bn zU@Q>$VzZrNJ&$&C?EN^|Pl;`YDE){{VESON3J%c}r$FNpXq zQoDe~2J3lbu$~73fx!Pbp62-V%c`DIdKsFzUssK%K(nr(Rf-}|s_Q6%wm*{uYPei) zG{ODRE5Z=fFg#xr0n89~u;M?^hRRRC8iQ9q5Fqddo)Q}#L+26300000NkvXXu0mjf D&EMhn literal 0 HcmV?d00001 From cce387ea41b12abfe76561126e2bc66a3324ab69 Mon Sep 17 00:00:00 2001 From: Alphas00 <154434082+Alphas00@users.noreply.github.com> Date: Mon, 18 Nov 2024 12:37:56 +0100 Subject: [PATCH 2/2] GS13 drink icons fix Added a var to consumable reagents that allows drinking glasses to locate icons in the GS13 drinks.dmi file Fixed icons for oily oafs, glyphid slammer, belly bloats, blobby mary, beltbuster mead, heavy cafe, fruits tea and snakebite --- .../food_and_drinks/drinks/drinks/drinkingglass.dm | 13 +++++++++++++ .../reagents/chemistry/reagents/dwarverndrinks.dm | 2 ++ .../reagents/chemistry/reagents/fatty_drinks.dm | 6 ++++++ tgstation.dme | 1 + 4 files changed, 22 insertions(+) create mode 100644 GainStation13/code/modules/food_and_drinks/drinks/drinks/drinkingglass.dm diff --git a/GainStation13/code/modules/food_and_drinks/drinks/drinks/drinkingglass.dm b/GainStation13/code/modules/food_and_drinks/drinks/drinks/drinkingglass.dm new file mode 100644 index 0000000000..7007384992 --- /dev/null +++ b/GainStation13/code/modules/food_and_drinks/drinks/drinks/drinkingglass.dm @@ -0,0 +1,13 @@ +/datum/reagent/consumable + var/use_gs_icon = FALSE + +/obj/item/reagent_containers/food/drinks/drinkingglass/on_reagent_change(changetype) + icon = 'icons/obj/drinks.dmi' + if(reagents.reagent_list.len) + var/datum/reagent/R = reagents.get_master_reagent() + if(istype(R, /datum/reagent/consumable)) + var/datum/reagent/consumable/C = R + if(C.use_gs_icon == TRUE) + icon = 'GainStation13/icons/obj/drinks.dmi' + + ..() diff --git a/GainStation13/code/modules/reagents/chemistry/reagents/dwarverndrinks.dm b/GainStation13/code/modules/reagents/chemistry/reagents/dwarverndrinks.dm index 2197581ff8..d99fb8f3bb 100644 --- a/GainStation13/code/modules/reagents/chemistry/reagents/dwarverndrinks.dm +++ b/GainStation13/code/modules/reagents/chemistry/reagents/dwarverndrinks.dm @@ -13,6 +13,7 @@ shot_glass_icon_state = "shotglassbrown" pH = 4.5 value = 0.1 + use_gs_icon = TRUE /datum/reagent/consumable/ethanol/glyphid_slammer name = "Glyphid slammer" @@ -26,3 +27,4 @@ shot_glass_icon_state = "shotglassbrown" pH = 4.5 value = 0.1 + use_gs_icon = TRUE diff --git a/GainStation13/code/modules/reagents/chemistry/reagents/fatty_drinks.dm b/GainStation13/code/modules/reagents/chemistry/reagents/fatty_drinks.dm index 352e9497b0..bfb459e669 100644 --- a/GainStation13/code/modules/reagents/chemistry/reagents/fatty_drinks.dm +++ b/GainStation13/code/modules/reagents/chemistry/reagents/fatty_drinks.dm @@ -11,6 +11,7 @@ glass_name = "belly bloats" glass_desc = "The perfect mix to be big and merry with." shot_glass_icon_state = "shotglassbrown" + use_gs_icon = TRUE /datum/reagent/consumable/ethanol/belly_bloats/on_mob_life(mob/living/carbon/M) if(M && M?.client?.prefs.weight_gain_food) // GS13 @@ -30,6 +31,7 @@ glass_name = "blobby mary" glass_desc = "For the morbidly obese ladies and gentlemen." shot_glass_icon_state = "shotglassred" + use_gs_icon = TRUE /datum/reagent/consumable/ethanol/blobby_mary/on_mob_life(mob/living/carbon/M) if(M && M?.client?.prefs.weight_gain_food) // GS13 @@ -49,6 +51,7 @@ glass_name = "beltbuster mead" glass_desc = "The ambrosia of the blubbery gods." shot_glass_icon_state = "shotglassgold" + use_gs_icon = TRUE /datum/reagent/consumable/ethanol/beltbuster_mead/on_mob_life(mob/living/carbon/M) if(M && M?.client?.prefs.weight_gain_food) // GS13 @@ -67,6 +70,7 @@ glass_name = "heavy cafe" glass_desc = "To enjoy slow mornings with." shot_glass_icon_state = "shotglassbrown" + use_gs_icon = TRUE /datum/reagent/consumable/heavy_cafe/on_mob_life(mob/living/carbon/M) M.dizziness = max(0,M.dizziness-5) @@ -92,6 +96,7 @@ glass_name = "fruits tea" glass_desc = "Goes down really easy and stays there for a long time." shot_glass_icon_state = "shotglassgold" + use_gs_icon = TRUE /datum/reagent/consumable/fruits_tea/on_mob_life(mob/living/carbon/M) M.dizziness = max(0,M.dizziness-2) @@ -118,6 +123,7 @@ glass_name = "snakebite" glass_desc = "Won't hurt like a real bite, but you'll still regert drinking this." shot_glass_icon_state = "shotglassgreen" + use_gs_icon = TRUE /datum/reagent/consumable/snakebite/on_mob_life(mob/living/carbon/M) if(M && M?.client?.prefs.weight_gain_food) // GS13 diff --git a/tgstation.dme b/tgstation.dme index 2a65e728f2..7d93313131 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -3996,6 +3996,7 @@ #include "GainStation13\code\modules\food_and_drinks\drinks.dm" #include "GainStation13\code\modules\food_and_drinks\food.dm" #include "GainStation13\code\modules\food_and_drinks\recipes_bigpizza.dm" +#include "GainStation13\code\modules\food_and_drinks\drinks\drinks\drinkingglass.dm" #include "GainStation13\code\modules\food_and_drinks\objects\boxes.dm" #include "GainStation13\code\modules\food_and_drinks\objects\candy_flora.dm" #include "GainStation13\code\modules\food_and_drinks\recipes\recipes_ported.dm"