mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Makes hyposprays start empty
This commit is contained in:
@@ -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
|
||||||
|
|||||||
5
html/changelogs/Yoshax-emptypls.xml
Normal file
5
html/changelogs/Yoshax-emptypls.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
author: Yoshax
|
||||||
|
delete-after: True
|
||||||
|
|
||||||
|
changes:
|
||||||
|
- tweak: "Makes hyposprays start empty instead of filled with Tricord."
|
||||||
Reference in New Issue
Block a user