Makes hyposprays start empty

This commit is contained in:
Yoshax
2015-06-01 17:17:16 +01:00
parent 40780165a2
commit 63f253a301
2 changed files with 9 additions and 5 deletions

View File

@@ -14,10 +14,10 @@
flags = OPENCONTAINER flags = OPENCONTAINER
slot_flags = SLOT_BELT slot_flags = SLOT_BELT
/obj/item/weapon/reagent_containers/hypospray/New() //comment this to make hypos start off empty ///obj/item/weapon/reagent_containers/hypospray/New() //comment this to make hypos start off empty
..() // ..()
reagents.add_reagent("tricordrazine", 30) // reagents.add_reagent("tricordrazine", 30)
return // return
/obj/item/weapon/reagent_containers/hypospray/attack(mob/M as mob, mob/user as mob) /obj/item/weapon/reagent_containers/hypospray/attack(mob/M as mob, mob/user as mob)
if(!reagents.total_volume) if(!reagents.total_volume)
@@ -55,7 +55,6 @@
/obj/item/weapon/reagent_containers/hypospray/autoinjector/New() /obj/item/weapon/reagent_containers/hypospray/autoinjector/New()
..() ..()
reagents.remove_reagent("tricordrazine", 30)
reagents.add_reagent("inaprovaline", 5) reagents.add_reagent("inaprovaline", 5)
update_icon() update_icon()
return return

View File

@@ -0,0 +1,5 @@
author: Yoshax
delete-after: True
changes:
- tweak: "Makes hyposprays start empty instead of filled with Tricord."