Added cable coils to the autolathe
Cable coils will only be built in stacks of 30, at maximum. Reduced cable coil cost to 1/4 to be more in line with other tool costs. Reduced cable coil cost to 1/4 to be more in line with other tool costs. Fixed it not compiling? Finally got it to compile Fixes bad code removed unnecessary /var Added maxstack var to define custom stack sizes for things Allowed the autolathe to use custom stack sizes. Adds correct maxstack values to various stackable objects
This commit is contained in:
@@ -478,7 +478,7 @@ var/global/list/datum/stack_recipe/cable_coil_recipes = list ( \
|
||||
w_class = 2
|
||||
throw_speed = 3
|
||||
throw_range = 5
|
||||
materials = list(MAT_METAL=50, MAT_GLASS=20)
|
||||
materials = list(MAT_METAL=10, MAT_GLASS=5)
|
||||
flags = CONDUCT
|
||||
slot_flags = SLOT_BELT
|
||||
attack_verb = list("whipped", "lashed", "disciplined", "flogged")
|
||||
|
||||
@@ -41,6 +41,7 @@ other types of metals and chemistry for reagents).
|
||||
var/build_path = "" //The file path of the object that gets created
|
||||
var/list/category = null //Primarily used for Mech Fabricators, but can be used for anything
|
||||
var/list/reagents = list() //List of reagents. Format: "id" = amount.
|
||||
var/maxstack = 1
|
||||
|
||||
|
||||
//A proc to calculate the reliability of a design based on tech levels and innate modifiers.
|
||||
@@ -495,4 +496,4 @@ datum/design/diagnostic_hud_night
|
||||
build_type = PROTOLATHE
|
||||
materials = list(MAT_METAL = 1000, MAT_GLASS = 500, MAT_PLASMA = 1500, MAT_URANIUM = 200)
|
||||
build_path = /obj/item/weapon/weldingtool/experimental
|
||||
category = list("Equipment")
|
||||
category = list("Equipment")
|
||||
|
||||
@@ -98,13 +98,14 @@
|
||||
build_path = /obj/item/clothing/head/welding
|
||||
category = list("initial","Tools")
|
||||
|
||||
/datum/design/welding_helmet
|
||||
/datum/design/cable_coil
|
||||
name = "Cable coil"
|
||||
id = "cable_coil"
|
||||
build_type = AUTOLATHE
|
||||
materials = list(MAT_METAL = 50, MAT_GLASS = 20)
|
||||
materials = list(MAT_METAL = 10, MAT_GLASS = 5)
|
||||
build_path = /obj/item/stack/cable_coil/random
|
||||
category = list("initial","Tools")
|
||||
maxstack = 30
|
||||
|
||||
/datum/design/console_screen
|
||||
name = "Console screen"
|
||||
@@ -169,6 +170,7 @@
|
||||
materials = list(MAT_METAL = MINERAL_MATERIAL_AMOUNT)
|
||||
build_path = /obj/item/stack/sheet/metal
|
||||
category = list("initial","Construction")
|
||||
maxstack = 50
|
||||
|
||||
/datum/design/glass
|
||||
name = "Glass"
|
||||
@@ -177,6 +179,7 @@
|
||||
materials = list(MAT_GLASS = MINERAL_MATERIAL_AMOUNT)
|
||||
build_path = /obj/item/stack/sheet/glass
|
||||
category = list("initial","Construction")
|
||||
maxstack = 50
|
||||
|
||||
/datum/design/rglass
|
||||
name = "Reinforced glass"
|
||||
@@ -185,6 +188,7 @@
|
||||
materials = list(MAT_METAL = 1000, MAT_GLASS = MINERAL_MATERIAL_AMOUNT)
|
||||
build_path = /obj/item/stack/sheet/rglass
|
||||
category = list("initial","Construction")
|
||||
maxstack = 50
|
||||
|
||||
/datum/design/rods
|
||||
name = "Metal rod"
|
||||
@@ -193,6 +197,7 @@
|
||||
materials = list(MAT_METAL = 1000)
|
||||
build_path = /obj/item/stack/rods
|
||||
category = list("initial","Construction")
|
||||
maxstack = 50
|
||||
|
||||
/datum/design/rcd_ammo
|
||||
name = "Compressed matter cardridge"
|
||||
|
||||
Reference in New Issue
Block a user