mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Fix smith machine sheet values (#28915)
This commit is contained in:
@@ -51,9 +51,9 @@
|
||||
return TRUE
|
||||
|
||||
/obj/machinery/magma_crucible/RefreshParts()
|
||||
var/sheet_mult = BASE_SHEET_MULT
|
||||
var/sheet_mult = SMITHING_BASE_SHEET_MULT
|
||||
for(var/obj/item/stock_parts/micro_laser/component in component_parts)
|
||||
sheet_mult += SHEET_MULT_ADD_PER_RATING * component.rating
|
||||
sheet_mult += SMITHING_SHEET_MULT_ADD_PER_RATING * component.rating
|
||||
// Update our values
|
||||
sheet_per_ore = sheet_mult
|
||||
|
||||
|
||||
@@ -58,9 +58,9 @@
|
||||
update_icon(UPDATE_OVERLAYS)
|
||||
|
||||
/obj/machinery/mineral/smart_hopper/RefreshParts()
|
||||
var/point_mult = BASE_POINT_MULT
|
||||
var/point_mult = SMITHING_BASE_POINT_MULT
|
||||
for(var/obj/item/stock_parts/component in component_parts)
|
||||
point_mult += POINT_MULT_ADD_PER_RATING * component.rating
|
||||
point_mult += SMITHING_POINT_MULT_ADD_PER_RATING * component.rating
|
||||
// Update our values
|
||||
point_upgrade = point_mult
|
||||
SStgui.update_uis(src)
|
||||
|
||||
Reference in New Issue
Block a user