mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-21 08:56:38 +01:00
20 lines
562 B
Plaintext
20 lines
562 B
Plaintext
/obj/structure/table/drop_products(method, atom/where)
|
|
. = ..()
|
|
switch(method)
|
|
if(ATOM_DECONSTRUCT_DISASSEMBLED)
|
|
material_reinforcing?.place_sheet(where, 1)
|
|
material_base?.place_sheet(where, 1)
|
|
new /obj/item/stack/material/steel(where, 1)
|
|
if(carpeted)
|
|
new carpeted_type(where)
|
|
else
|
|
if(prob(20))
|
|
material_reinforcing?.place_sheet(where, 1)
|
|
else
|
|
material_reinforcing?.place_shard(where)
|
|
if(prob(20))
|
|
material_base?.place_sheet(where, 1)
|
|
else
|
|
material_base?.place_shard(where)
|
|
new /obj/item/stack/rods(where, 2)
|