mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-14 00:26:02 +01:00
storage to part install (#18311)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
@@ -369,6 +369,7 @@
|
||||
src.modules += new /obj/item/rcd/electric/mounted/borg(src)
|
||||
src.modules += new /obj/item/pickaxe/plasmacutter/borg(src)
|
||||
src.modules += new /obj/item/dogborg/stasis_clamp(src)
|
||||
src.modules += new /obj/item/storage/pouch/eng_parts/borg(src)
|
||||
|
||||
var/datum/matter_synth/metal = new /datum/matter_synth/metal(40000)
|
||||
var/datum/matter_synth/glass = new /datum/matter_synth/glass(40000)
|
||||
|
||||
@@ -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