-Emergency Toolboxes now contain smaller, lighter fire extinguishers that actually fit inside them!

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3568 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
d_h2005@yahoo.com
2012-05-07 23:03:57 +00:00
parent 6f682239de
commit f2dba4a5aa
7 changed files with 33 additions and 2 deletions

View File

@@ -638,6 +638,17 @@
item_state = "fire_extinguisher" item_state = "fire_extinguisher"
m_amt = 90 m_amt = 90
/obj/item/weapon/extinguisher/mini
name = "fire extinguisher"
desc = "A light and compact fibreglass-framed model fire extinguisher."
icon_state = "miniFE0"
flags = FPRINT | USEDELAY | TABLEPASS
throwforce = 2
w_class = 2.0
force = 3.0
item_state = "miniFE"
m_amt = 0
/obj/item/weapon/f_card /obj/item/weapon/f_card
name = "finger print card" name = "finger print card"
desc = "Used to take fingerprints." desc = "Used to take fingerprints."

View File

@@ -91,6 +91,12 @@
R.my_atom = src R.my_atom = src
R.add_reagent("water", 50) 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() /obj/item/weapon/extinguisher/examine()
set src in usr set src in usr
@@ -173,6 +179,19 @@
safety = 1 safety = 1
return 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) /obj/item/weapon/pen/attack(mob/M as mob, mob/user as mob)
if(!ismob(M)) if(!ismob(M))
return return

View File

@@ -7,7 +7,7 @@
/obj/item/weapon/storage/toolbox/emergency/New() /obj/item/weapon/storage/toolbox/emergency/New()
..() ..()
new /obj/item/weapon/crowbar/red(src) new /obj/item/weapon/crowbar/red(src)
new /obj/item/weapon/extinguisher(src) new /obj/item/weapon/extinguisher/mini(src)
if(prob(50)) if(prob(50))
new /obj/item/device/flashlight(src) new /obj/item/device/flashlight(src)
new /obj/item/device/radio(src) new /obj/item/device/radio(src)

View File

@@ -47,10 +47,11 @@ should be listed in the changelog upon commit tho. Thanks. -->
<!-- To take advantage of the pretty new format (well it was new when I wrote this anyway), open the "add-to-changelog.html" file in any browser and add the stuff and then generate the html code and paste it here --> <!-- To take advantage of the pretty new format (well it was new when I wrote this anyway), open the "add-to-changelog.html" file in any browser and add the stuff and then generate the html code and paste it here -->
<div class="commit sansserif"> <div class="commit sansserif">
<h2 class="date">May 06, 2012</h2> <h2 class="date">May 06-07, 2012</h2>
<h3 class="author">Cheridan updated:</h3> <h3 class="author">Cheridan updated:</h3>
<ul class="changes bgimages16"> <ul class="changes bgimages16">
<li class="tweak">-New booze sprites for the drinks that were removed! Re-enabled the recipes for the removed drinks. Get cracking, bartenders. -You now need 10 sheets of metal instead of 2 to make a gas canister, people can't FILL ENTIRE ROOMS WITH THEM.</li> <li class="tweak">-New booze sprites for the drinks that were removed! Re-enabled the recipes for the removed drinks. Get cracking, bartenders. -You now need 10 sheets of metal instead of 2 to make a gas canister, people can't FILL ENTIRE ROOMS WITH THEM.</li>
<li class="tweak">-Emergency Toolboxes now contain smaller, lighter fire extinguishers that actually fit inside them!
</ul> </ul>
</div> </div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB