mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
Greys yearn for this PR, Replaces borg extinguishers with a Firefighting Foam variant. (#29327)
* adds a cyborg FE that starts with FFF, and replaces the old extinuishers, except for the syndicate ones. * allows syndicate medical borg to refill their extinguisher, whoops * Update code/game/objects/items/weapons/extinguisher.dm grammar Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Signed-off-by: YoureNotTheSharpest <107788621+YoureNotTheSharpest@users.noreply.github.com> * adds spaces to comments as requested --------- Signed-off-by: YoureNotTheSharpest <107788621+YoureNotTheSharpest@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
07ccea48b6
commit
28939d655c
@@ -58,6 +58,14 @@
|
||||
reagent_capacity = 30
|
||||
dog_fashion = null
|
||||
|
||||
/obj/item/extinguisher/mini/cyborg
|
||||
name = "integrated fire extinguisher"
|
||||
desc = "A miniature fire extinguisher designed to store firefighting foam."
|
||||
icon_state = "cyborgFE0"
|
||||
item_state = "cyborgFE"
|
||||
base_icon_state = "cyborgFE"
|
||||
reagent_id = "firefighting_foam"
|
||||
|
||||
/obj/item/extinguisher/examine(mob/user)
|
||||
. = ..()
|
||||
if(has_safety)
|
||||
@@ -164,7 +172,7 @@
|
||||
INVOKE_ASYNC(water, TYPE_PROC_REF(/obj/effect/particle_effect/water, extinguish_move), new_target)
|
||||
|
||||
/obj/item/extinguisher/cyborg_recharge(coeff, emagged)
|
||||
reagents.check_and_add("water", reagent_capacity, 5 * coeff)
|
||||
reagents.check_and_add(reagent_id, reagent_capacity, 5 * coeff)
|
||||
|
||||
/obj/item/extinguisher/proc/buckled_speed_move(obj/structure/chair/buckled_to, direction) // Buckled_to may not be a chair here, but we're assuming so because it makes it easier to typecheck
|
||||
var/movementdirection = turn(direction, 180)
|
||||
|
||||
Reference in New Issue
Block a user