mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 23:17:28 +01:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user