mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 13:18:09 +01:00
[MIRROR] Faltered & Dormant diseases update (#10985)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Guti
Cameron Lennox
parent
c8f4469b94
commit
05b57277bf
@@ -38,7 +38,6 @@
|
||||
drop_sound = 'sound/items/drop/glass.ogg'
|
||||
pickup_sound = 'sound/items/pickup/glass.ogg'
|
||||
|
||||
|
||||
/obj/item/reagent_containers/syringe/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
@@ -496,6 +495,17 @@
|
||||
icon_state = "[rounded_vol]"
|
||||
item_state = "syringe_[rounded_vol]"
|
||||
|
||||
/obj/item/reagent_containers/syringe/old
|
||||
name = "old syringe"
|
||||
desc = "An old, broken syringe. Are you sure it's a good idea to pick it up without gloves?"
|
||||
mode = SYRINGE_BROKEN
|
||||
|
||||
/obj/item/reagent_containers/syringe/old/Initialize(mapload)
|
||||
. = ..()
|
||||
if(prob(75))
|
||||
var/datum/disease/advance/new_disease = new /datum/disease/advance/random(rand(1, 3), rand(7, 9), 2)
|
||||
src.viruses += new_disease
|
||||
|
||||
#undef SYRINGE_DRAW
|
||||
#undef SYRINGE_INJECT
|
||||
#undef SYRINGE_BROKEN
|
||||
|
||||
Reference in New Issue
Block a user