[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:
CHOMPStation2StaffMirrorBot
2025-08-26 09:45:01 -07:00
committed by GitHub
parent bb15f3b507
commit 8b43c6a764
4 changed files with 73 additions and 25 deletions

View File

@@ -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