mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 04:28:12 +01:00
Added code to allow adding more steel or glass to the synth body printer.
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
|
||||
var/spods_list_ui[0]
|
||||
for(var/obj/machinery/transhuman/synthprinter/spod in spods)
|
||||
spods_list_ui[++spods_list_ui.len] = list("spod" = spod, "steel" = spod.steel, "glass" = spod.glass)
|
||||
spods_list_ui[++spods_list_ui.len] = list("spod" = spod, "steel" = spod.stored_material[DEFAULT_WALL_MATERIAL], "glass" = spod.stored_material["glass"])
|
||||
|
||||
var/sleevers_list_ui[0]
|
||||
for(var/obj/machinery/transhuman/resleever/resleever in sleevers)
|
||||
@@ -229,9 +229,9 @@
|
||||
temp = "Error: SynthFab is currently busy."
|
||||
|
||||
//Not enough steel or glass
|
||||
else if(spod.steel < spod.body_cost)
|
||||
temp = "Error: Not enough steel in SynthFab."
|
||||
else if(spod.glass < spod.body_cost)
|
||||
else if(spod.stored_material[DEFAULT_WALL_MATERIAL] < spod.body_cost)
|
||||
temp = "Error: Not enough [DEFAULT_WALL_MATERIAL] in SynthFab."
|
||||
else if(spod.stored_material["glass"] < spod.body_cost)
|
||||
temp = "Error: Not enough glass in SynthFab."
|
||||
|
||||
//Gross pod (broke mid-cloning or something).
|
||||
|
||||
Reference in New Issue
Block a user