[MIRROR] Add new syringe sprites. (#5177)

* Add new syringe sprites. (#58619)

imageadd: Added new syringe sprites (Normal,Piercing and BlueSpace.)

* Add new syringe sprites.

Co-authored-by: UnokiAs <82665345+UnokiAs@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-04-25 13:26:36 +01:00
committed by GitHub
co-authored by UnokiAs
parent 3d065c8612
commit ee79e440f7
5 changed files with 10 additions and 4 deletions
@@ -3,10 +3,9 @@
desc = "A syringe that can hold up to 15 units."
icon = 'icons/obj/syringe.dmi'
base_icon_state = "syringe"
inhand_icon_state = "syringe_0"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
icon_state = "0"
icon_state = "syringe_0"
worn_icon_state = "pen"
amount_per_transfer_from_this = 5
possible_transfer_amounts = list(5, 10, 15)
@@ -18,6 +17,10 @@
custom_price = PAYCHECK_EASY * 0.5
sharpness = SHARP_POINTY
/obj/item/reagent_containers/syringe/Initialize()
. = ..()
AddElement(/datum/element/update_icon_updates_onmob)
/obj/item/reagent_containers/syringe/attackby(obj/item/I, mob/user, params)
return
@@ -138,8 +141,7 @@
/obj/item/reagent_containers/syringe/update_icon_state()
var/rounded_vol = get_rounded_vol()
icon_state = "[rounded_vol]"
inhand_icon_state = "[base_icon_state]_[rounded_vol]"
icon_state = "[base_icon_state]_[rounded_vol]"
return ..()
/obj/item/reagent_containers/syringe/update_overlays()
@@ -219,6 +221,8 @@
/obj/item/reagent_containers/syringe/bluespace
name = "bluespace syringe"
desc = "An advanced syringe that can hold 60 units of chemicals."
icon_state = "bluespace_0"
base_icon_state = "bluespace"
amount_per_transfer_from_this = 20
possible_transfer_amounts = list(10, 20, 30, 40, 50, 60)
volume = 60
@@ -226,6 +230,8 @@
/obj/item/reagent_containers/syringe/piercing
name = "piercing syringe"
desc = "A diamond-tipped syringe that pierces armor when launched at high velocity. It can hold up to 10 units."
icon_state = "piercing_0"
base_icon_state = "piercing"
volume = 10
possible_transfer_amounts = list(5, 10)
proj_piercing = 1
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 11 KiB