mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 00:35:45 +01:00
[MIRROR] Move autolathe design datums to techweb datums (#12565)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Will
Cameron Lennox
parent
b61399d8e7
commit
90d7e7d352
@@ -2,29 +2,3 @@
|
||||
name = "ammolathe"
|
||||
desc = "An autolathe that produces ammunition using metal and glass."
|
||||
hacked = 1
|
||||
|
||||
/obj/machinery/autolathe/armory/tgui_static_data(mob/user)
|
||||
var/list/data = ..()
|
||||
|
||||
var/list/categories = list()
|
||||
var/list/recipes = list()
|
||||
for(var/datum/category_group/autolathe/A in autolathe_recipes.categories)
|
||||
categories += A.name
|
||||
for(var/datum/category_item/autolathe/arms/M in A.items)
|
||||
if(M.hidden && !hacked)
|
||||
continue
|
||||
if(M.man_rating > man_rating)
|
||||
continue
|
||||
recipes.Add(list(list(
|
||||
"category" = A.name,
|
||||
"name" = M.name,
|
||||
"ref" = REF(M),
|
||||
"requirements" = M.resources,
|
||||
"hidden" = M.hidden,
|
||||
"coeff_applies" = !M.no_scale,
|
||||
"is_stack" = M.is_stack,
|
||||
)))
|
||||
data["recipes"] = recipes
|
||||
data["categories"] = categories
|
||||
|
||||
return data
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
/obj/item/stock_parts/capacitor = 4,
|
||||
/obj/item/stock_parts/manipulator = 6,
|
||||
/obj/item/stock_parts/scanning_module = 10)
|
||||
hidden = TRUE //This needs a rework before it's enabled.
|
||||
|
||||
/obj/machinery/paradoxrift/RefreshParts()
|
||||
..()
|
||||
|
||||
@@ -77,9 +77,10 @@
|
||||
can_salvage = FALSE
|
||||
|
||||
/obj/item/circuitboard/defenseonelisk
|
||||
name = "paradox rift generator circuit"
|
||||
build_path = /obj/machinery/paradoxrift
|
||||
name = "defense obelisk circuit"
|
||||
build_path = /obj/machinery/porta_turret/obelisk
|
||||
board_type = new /datum/frame/frame_types/machine
|
||||
origin_tech = list(TECH_DATA = 8, TECH_ARCANE = 3)
|
||||
req_components = list(
|
||||
/obj/item/stack/cable_coil = 30)
|
||||
hidden = TRUE // POI machine, not station made
|
||||
|
||||
Reference in New Issue
Block a user