mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
[MIRROR] Autolathe, protolathe, mech fab and comp printer now use defines for matter bins values. Also some production ui do. [MDB IGNORE] (#21953)
* 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. * Autolathe, protolathe, mech fab and comp printer now use defines for matter bins values. Also some production ui do. --------- Co-authored-by: Helg2 <93882977+Helg2@users.noreply.github.com>
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
var/total_storage = 0
|
||||
|
||||
for(var/datum/stock_part/matter_bin/bin in component_parts)
|
||||
total_storage += bin.tier * 75000
|
||||
total_storage += bin.tier * (37.5*SHEET_MATERIAL_AMOUNT)
|
||||
|
||||
materials.set_local_size(total_storage)
|
||||
|
||||
@@ -343,7 +343,7 @@
|
||||
var/total_storage = 0
|
||||
|
||||
for(var/datum/stock_part/matter_bin/bin in component_parts)
|
||||
total_storage += bin.tier * 75000
|
||||
total_storage += bin.tier * (37.5*SHEET_MATERIAL_AMOUNT)
|
||||
|
||||
materials.set_local_size(total_storage)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user