diff --git a/code/game/turfs/simulated/floor/lava.dm b/code/game/turfs/simulated/floor/lava.dm index 79adfa0460c..f43e36b6f81 100644 --- a/code/game/turfs/simulated/floor/lava.dm +++ b/code/game/turfs/simulated/floor/lava.dm @@ -121,8 +121,20 @@ new /obj/structure/lattice/lava(locate(x, y, z)) else to_chat(user, "You need one rod to build a heatproof lattice.") + return + if(istype(C, /obj/item/stack/tile/plasteel)) + var/obj/structure/lattice/L = locate(/obj/structure/lattice/lava, src) + if(!L) + to_chat(user, "The plating is going to need some support! Place metal rods first.") return - + var/obj/item/stack/tile/plasteel/S = C + if(S.use(1)) + qdel(L) + playsound(src, 'sound/weapons/genhit.ogg', 50, 1) + to_chat(user, "You build a floor.") + ChangeTurf(/turf/simulated/floor/plating, keep_icon = FALSE) + else + to_chat(user, "You need one floor tile to build a floor!") /turf/simulated/floor/plating/lava/screwdriver_act() return diff --git a/code/modules/research/designs/mining_designs.dm b/code/modules/research/designs/mining_designs.dm index 1fa33e6d27b..3b4e5a1c1cb 100644 --- a/code/modules/research/designs/mining_designs.dm +++ b/code/modules/research/designs/mining_designs.dm @@ -110,3 +110,13 @@ materials = list(MAT_METAL = 8000, MAT_GLASS = 1500, MAT_SILVER = 2000, MAT_GOLD = 2000, MAT_DIAMOND = 2000) build_path = /obj/item/borg/upgrade/modkit/aoe/turfs category = list("Mining", "Cyborg Upgrade Modules") + +/datum/design/lavarods + name = "Lava-Resistant Iron Rods" + desc = "Treated, specialized iron rods. When exposed to the vacuum of space their coating breaks off, but they can hold up against the extreme heat of molten liquids." + id = "lavarod" + req_tech = list("materials" = 7, "engineering" = 5) + build_type = PROTOLATHE + materials = list(MAT_METAL = 1000, MAT_PLASMA = 1000, MAT_TITANIUM = 1000) + build_path = /obj/item/stack/rods/lava + category = list("Mining")