mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
[MIRROR] Mass Part Installation For Frames From Storage Boxes/Bags (#11504)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
bb15f3b507
commit
8b43c6a764
@@ -116,6 +116,13 @@
|
||||
if(!(target in view(user)))
|
||||
return ..()
|
||||
|
||||
if(istype(target, /obj/structure/frame))
|
||||
var/obj/structure/frame/F = target
|
||||
if(F.mass_install_parts(user,src))
|
||||
play_rped_sound()
|
||||
user.Beam(F, icon_state = "rped_upgrade", time = 0.5 SECONDS)
|
||||
return
|
||||
|
||||
if(!istype(target, /obj/machinery))
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user