TG: -Emergency Toolboxes now contain smaller, lighter fire extinguishers that

actually fit inside them!
Revision: r3568
Author: 	 d_h2...@yahoo.com
This commit is contained in:
Erthilo
2012-05-10 02:52:05 +01:00
parent b503045444
commit 5b52e2ce64
6 changed files with 31 additions and 1 deletions
+19
View File
@@ -92,6 +92,12 @@
R.my_atom = src
R.add_reagent("water", 50)
/obj/item/weapon/extinguisher/mini/New()
var/datum/reagents/R = new/datum/reagents(30)
reagents = R
R.my_atom = src
R.add_reagent("water", 30)
/obj/item/weapon/extinguisher/examine()
set src in usr
@@ -174,6 +180,19 @@
safety = 1
return
/obj/item/weapon/extinguisher/mini/attack_self(mob/user as mob)
if (safety)
src.icon_state = "miniFE1"
src.desc = "The safety is off."
user << "The safety is off."
safety = 0
else
src.icon_state = "miniFE0"
src.desc = "The safety is on."
user << "The safety is on."
safety = 1
return
/obj/item/weapon/pen/attack(mob/M as mob, mob/user as mob)
if(!ismob(M))
return