mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
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:
@@ -756,6 +756,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 = 5
|
||||
w_class = 2.0
|
||||
force = 6.0
|
||||
item_state = "miniFE"
|
||||
m_amt = 0
|
||||
|
||||
/obj/item/weapon/f_card
|
||||
name = "finger print card"
|
||||
desc = "Used to take fingerprints."
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,7 +1,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)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 120 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 122 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 54 KiB |
Reference in New Issue
Block a user