mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
[FIX] RPED can now put beakers into machine frames (#26121)
* Replica syndicate space suit sprites
* Revert "Replica syndicate space suit sprites"
This reverts commit 1fb5cf68ac.
* RPED can now put beakers into machine frames as well
---------
Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
This commit is contained in:
@@ -155,6 +155,9 @@
|
||||
for(var/obj/item/stock_parts/co in replacer)
|
||||
part_list += co
|
||||
|
||||
for(var/obj/item/reagent_containers/glass/beaker/be in replacer)
|
||||
part_list += be
|
||||
|
||||
for(var/path in req_components)
|
||||
while(req_components[path] > 0 && (locate(path) in part_list))
|
||||
var/obj/item/part = (locate(path) in part_list)
|
||||
@@ -163,7 +166,7 @@
|
||||
req_components[path]--
|
||||
part_list -= part
|
||||
|
||||
for(var/obj/item/stock_parts/part in added_components)
|
||||
for(var/obj/item/part in added_components)
|
||||
components += part
|
||||
to_chat(user, "<span class='notice'>[part.name] applied.</span>")
|
||||
replacer.play_rped_sound()
|
||||
|
||||
Reference in New Issue
Block a user