Fixes inconsistant material refunds and removes material cost from door repair (#15511)

* Oops did two different things at once

Started out with me fixing improper material refunds on deconstructs, ended with me making doors not cost materials. Oops!

* Graaah code fixius

I know how new works now

* Huge fart on PR

I am so good at code
huge fartius

epic /obj fail

I forgor

* More effort than it's worth.

unless im being lied to...!
This commit is contained in:
Reo Lozzot
2024-04-11 18:10:04 +10:00
committed by GitHub
parent 4c90f3953d
commit d39d966206
11 changed files with 50 additions and 82 deletions
@@ -321,7 +321,7 @@ var/list/name_to_material
// General wall debris product placement.
// Not particularly necessary aside from snowflakey cult girders.
/datum/material/proc/place_dismantled_product(var/turf/target, var/amount = 1)
/datum/material/proc/place_dismantled_product(var/turf/target, var/amount = 1) //Added an amount var to this. Lets multi-dropped walls to drop all of their sheets together. Woo!
place_sheet(target, amount)
// Debris product. Used ALL THE TIME.