Adds craftable extended mags

This commit is contained in:
Thalpy
2019-10-15 12:37:35 +01:00
parent e71a70f406
commit acc0ff8a17
6 changed files with 68 additions and 24 deletions
+2 -4
View File
@@ -626,14 +626,13 @@
STR.can_hold = typecacheof(list(
/obj/item/reagent_containers/syringe/dart
))
GET_COMPONENT(STR, /datum/component/storage)
/obj/item/storage/belt/medolier/full/PopulateContents()
for(var/i in 1 to 16)
new /obj/item/reagent_containers/syringe/dart/(src)
/obj/item/storage/belt/medolier/afterattack(obj/target, mob/user , proximity)
if(busy)
if(!(istype(target, /obj/item/reagent_containers/glass/beaker)))
return
if(!proximity)
return
@@ -643,13 +642,12 @@
for(var/obj/item/reagent_containers/syringe/dart/D in contents)
if(round(target.reagents.total_volume, 1) <= 0)
to_chat(user, "<span class='notice'>You soak as many of the darts as you can with the contents from [target].</span>")
return
if(D.mode == SYRINGE_INJECT)
continue
D.afterattack(target, user, proximity)
to_chat(user, "<span class='notice'>You soak all of the darts with the contents from [target].</span>")
..()
/obj/item/storage/belt/holster