mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 00:58:26 +01:00
New syringe sprites (#75212)
 ## About The Pull Request Resprites syringes. ## Why It's Good For The Game Syringes were too small and hard to click, now they're easier to click and the reagent color can be seen better. ## Changelog 🆑 image: New sprite for syringes /🆑 --------- Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
@@ -145,6 +145,10 @@
|
||||
|
||||
/obj/item/reagent_containers/syringe/update_overlays()
|
||||
. = ..()
|
||||
. += update_reagent_overlay()
|
||||
|
||||
/// Returns a list of overlays to add that relate to the reagents inside the syringe
|
||||
/obj/item/reagent_containers/syringe/proc/update_reagent_overlay()
|
||||
if(reagents?.total_volume)
|
||||
var/mutable_appearance/filling_overlay = mutable_appearance('icons/obj/reagentfillings.dmi', "syringe[get_rounded_vol()]")
|
||||
filling_overlay.color = mix_color_from_reagents(reagents.reagent_list)
|
||||
@@ -245,6 +249,9 @@
|
||||
possible_transfer_amounts = list(1,5)
|
||||
volume = 5
|
||||
|
||||
/obj/item/reagent_containers/syringe/crude/update_reagent_overlay()
|
||||
return
|
||||
|
||||
/obj/item/reagent_containers/syringe/spider_extract
|
||||
name = "spider extract syringe"
|
||||
desc = "Contains crikey juice - makes any gold core create the most deadly companions in the world."
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
Reference in New Issue
Block a user