Autolathe, protolathe, mech fab and comp printer now use defines for matter bins values. Also some production ui do. (#76020)

Changed hardcoded matter bins values to use defined
`SHEET_MATERIAL_AMOUNT` for following stuff: autolathe, protolathe, mech
fabricator and component printer.

`Material Access Bar` and `MaterialIcon` used for protolathes, circuit
printers and etc. now also use defined `SHEET_MATERIAL_AMOUNT`, via
static ui data, to prevent same issues in future.

Also changed some notes in /// parts just because why not.
This commit is contained in:
Helg2
2023-06-21 04:08:51 +03:00
committed by GitHub
parent 76abc6bf6b
commit 8a2e6f0eb8
13 changed files with 45 additions and 20 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
/datum/export/material
cost = 5 // Cost per SHEET_MATERIAL_AMOUNT, which is 2000cm3 as of April 2016.
cost = 5 // Cost per SHEET_MATERIAL_AMOUNT, which is 100cm3 as of May 2023.
message = "cm3 of developer's tears. Please, report this on github"
amount_report_multiplier = SHEET_MATERIAL_AMOUNT
var/material_id = null
+1 -1
View File
@@ -65,7 +65,7 @@
// For base materials, see materials.dm
/datum/export/stack/plasteel
cost = CARGO_CRATE_VALUE * 0.41 // 2000u of plasma + 2000u of iron.
cost = CARGO_CRATE_VALUE * 0.41 // 100u of plasma + 100u of iron.
message = "of plasteel"
export_types = list(/obj/item/stack/sheet/plasteel)