Ohh I'm fixing

This commit is contained in:
Thalpy
2019-10-15 13:41:49 +01:00
parent acc0ff8a17
commit e115c456f3
5 changed files with 21 additions and 25 deletions
@@ -130,11 +130,12 @@
max_syringes = 1
/obj/item/gun/syringe/dart/rapiddart/Initialize()
.=..()
update_capacity()
.=..()
/obj/item/gun/syringe/dart/rapiddart/proc/update_capacity()
var/obj/item/reagent_containers/glass/beaker/B = locate(/obj/item/reagent_containers/glass/beaker) in src
message_admins("found[B]")
if(istype(B, /obj/item/reagent_containers/glass/beaker/large))
desc = "[initial(desc)] A modification of the dart gun's pressure chamber has been perfomed using a [B], extending it's holding size to [max_syringes]."