mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
-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:
@@ -638,6 +638,17 @@
|
||||
item_state = "fire_extinguisher"
|
||||
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
|
||||
name = "finger print card"
|
||||
desc = "Used to take fingerprints."
|
||||
|
||||
@@ -91,6 +91,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
|
||||
|
||||
@@ -173,6 +179,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
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
/obj/item/weapon/storage/toolbox/emergency/New()
|
||||
..()
|
||||
new /obj/item/weapon/crowbar/red(src)
|
||||
new /obj/item/weapon/extinguisher(src)
|
||||
new /obj/item/weapon/extinguisher/mini(src)
|
||||
if(prob(50))
|
||||
new /obj/item/device/flashlight(src)
|
||||
new /obj/item/device/radio(src)
|
||||
|
||||
@@ -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 -->
|
||||
<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>
|
||||
<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">-Emergency Toolboxes now contain smaller, lighter fire extinguishers that actually fit inside them!
|
||||
</ul>
|
||||
</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 |
Reference in New Issue
Block a user