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
@@ -92,7 +92,7 @@
//maximum stocking amount (default 300000, 600000 at T4)
for(var/datum/stock_part/matter_bin/matter_bin in component_parts)
T += matter_bin.tier
rmat.set_local_size((200000 + (T * 50000)))
rmat.set_local_size(((100*SHEET_MATERIAL_AMOUNT) + (T * (25*SHEET_MATERIAL_AMOUNT))))
//resources adjustment coefficient (1 -> 0.85 -> 0.7 -> 0.55)
T = 1.15