Merge pull request #16291 from SabreML/brass

Craftable brass sheets
This commit is contained in:
variableundefined
2021-08-13 23:40:03 -04:00
committed by GitHub
5 changed files with 15 additions and 34 deletions
@@ -133,7 +133,6 @@
color = "#A8A8A8" // rgb: 168, 168, 168
taste_description = "a CPU"
/datum/reagent/copper
name = "Copper"
id = "copper"
@@ -141,6 +140,13 @@
color = "#6E3B08" // rgb: 110, 59, 8
taste_description = "copper"
/datum/reagent/copper/reaction_obj(obj/O, volume)
if(istype(O, /obj/item/stack/sheet/metal))
var/obj/item/stack/sheet/metal/M = O
volume = round(min(volume, M.amount), 1)
new /obj/item/stack/tile/brass(get_turf(M), volume)
M.use(volume)
/datum/reagent/chromium
name = "Chromium"
id = "chromium"