mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
[MIRROR] Ports Tau Ceti's welding animation! [MDB IGNORE] (#14311)
* Ports Tau Ceti's welding animation! (#67725) add: welding now has an animation! * Ports Tau Ceti's welding animation! * wew Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
co-authored by
dragomagol
Gandalf
parent
3dca2254c5
commit
f44ab4155e
@@ -167,8 +167,11 @@
|
||||
return (!QDELETED(cell) && cell.use(amount ? amount * charge_weld : charge_weld))
|
||||
|
||||
/obj/item/gun/energy/plasmacutter/use_tool(atom/target, mob/living/user, delay, amount=1, volume=0, datum/callback/extra_checks)
|
||||
|
||||
if(amount)
|
||||
target.add_overlay(GLOB.welding_sparks)
|
||||
. = ..()
|
||||
target.cut_overlay(GLOB.welding_sparks)
|
||||
else
|
||||
. = ..(amount=1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user