mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 19:19:12 +01:00
storage to part install (#18311)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
@@ -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