Golem ship remap and equipment tweaking. (#29294)

This commit is contained in:
warriorstar-orion
2025-05-17 13:18:47 +00:00
committed by GitHub
parent 5cec6a1cdd
commit 1ace49ec1a
15 changed files with 1068 additions and 815 deletions
-33
View File
@@ -75,39 +75,6 @@
component_parts += new /obj/item/stack/sheet/glass(null)
RefreshParts()
/**
* # Ore Redemption Machine (Golem)
*
* Golem variant of the ORM.
*/
/obj/machinery/mineral/ore_redemption/golem
req_access = list(ACCESS_FREE_GOLEMS)
req_access_claim = ACCESS_FREE_GOLEMS
/obj/machinery/mineral/ore_redemption/golem/Initialize(mapload)
. = ..()
component_parts = list()
component_parts += new /obj/item/circuitboard/ore_redemption/golem(null)
component_parts += new /obj/item/stock_parts/matter_bin(null)
component_parts += new /obj/item/stock_parts/manipulator(null)
component_parts += new /obj/item/stock_parts/micro_laser(null)
component_parts += new /obj/item/assembly/igniter(null)
component_parts += new /obj/item/stack/sheet/glass(null)
RefreshParts()
/obj/machinery/mineral/ore_redemption/golem/RefreshParts()
var/P = 0.65
var/S = 0.65
for(var/obj/item/stock_parts/micro_laser/M in component_parts)
P += 0.35 * M.rating
for(var/obj/item/stock_parts/matter_bin/M in component_parts)
S += 0.35 * M.rating
// Manipulators do nothing
// Update our values
point_upgrade = P
sheet_per_ore = S
SStgui.update_uis(src)
/**
* # Ore Redemption Machine (Labor Camp)
*