mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
Apply suggestions from code review
Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
@@ -60,7 +60,7 @@ using metal and glass, it uses glass and reagents (usually sulfuric acis).
|
||||
var/T = 0
|
||||
for(var/obj/item/stock_parts/manipulator/M in component_parts)
|
||||
T += M.rating
|
||||
T = min(4, max(1, T))
|
||||
T = clamp(T, 1, 4)
|
||||
efficiency_coeff = 1 / (2 ** (T - 1))
|
||||
|
||||
/obj/machinery/r_n_d/circuit_imprinter/check_mat(datum/design/being_built, var/M)
|
||||
|
||||
Reference in New Issue
Block a user