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
@@ -37,12 +37,10 @@
/obj/machinery/door/get_description_interaction()
var/list/results = list()
if(!repairing && (health < maxhealth) && !(stat & BROKEN))
results += "[desc_panel_image("metal sheet")]to start repairing damage (May require different material type)."
if(repairing && density)
results += "[desc_panel_image("welder")]to finish repairs."
results += "[desc_panel_image("crowbar")]to undo adding sheets for repairs."
//VOREstation Edit: Removing material requirements
if((health < maxhealth) && !(stat & BROKEN))
results += "[desc_panel_image("welder")]to start repairing damage."
//VOREstation Edit End
return results
/obj/machinery/door/airlock/get_description_interaction()