mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
[MIRROR] Protolathe printing speed is affected by parts again (#28411)
* Protolathe printing speed is affected by parts again * Update _production.dm --------- Co-authored-by: GPeckman <21979502+GPeckman@users.noreply.github.com> Co-authored-by: SpaceLoveSs13 <68121607+SpaceLoveSs13@users.noreply.github.com>
This commit is contained in:
co-authored by
GPeckman
SpaceLoveSs13
parent
08749748f5
commit
7e9f26d934
@@ -74,6 +74,7 @@
|
||||
return
|
||||
|
||||
. += span_notice("Material usage cost at <b>[efficiency_coeff * 100]%</b>")
|
||||
. += span_notice("Build time at <b>[efficiency_coeff * 100]%</b>")
|
||||
if(drop_direction)
|
||||
. += span_notice("Currently configured to drop printed objects <b>[dir2text(drop_direction)]</b>.")
|
||||
. += span_notice("[EXAMINE_HINT("Alt-click")] to reset.")
|
||||
@@ -341,7 +342,7 @@
|
||||
for(var/material in design.materials)
|
||||
charge_per_item += design.materials[material]
|
||||
charge_per_item = ROUND_UP((charge_per_item / (MAX_STACK_SIZE * SHEET_MATERIAL_AMOUNT)) * coefficient * active_power_usage)
|
||||
var/build_time_per_item = (design.construction_time * design.lathe_time_factor) ** 0.8
|
||||
var/build_time_per_item = (design.construction_time * design.lathe_time_factor * efficiency_coeff) ** 0.8
|
||||
// SKYRAT EDIT - Faster lathes
|
||||
if(!speedup_disabled)
|
||||
build_time_per_item *= 0.1
|
||||
|
||||
Reference in New Issue
Block a user