[MIRROR] Industrial Expansion

This commit is contained in:
Chompstation Bot
2021-03-09 21:53:03 +00:00
parent 4dafc3196e
commit b85e9fc4d9
61 changed files with 251392 additions and 215 deletions

View File

@@ -39,6 +39,14 @@
if(!autolathe_recipes)
autolathe_recipes = new()
wires = new(src)
for(var/Name in name_to_material)
if(Name in stored_material)
continue
stored_material[Name] = 0
storage_capacity[Name] = 0
default_apply_parts()
RefreshParts()
@@ -306,10 +314,9 @@
for(var/obj/item/weapon/stock_parts/manipulator/M in component_parts)
man_rating += M.rating
storage_capacity[DEFAULT_WALL_MATERIAL] = mb_rating * 25000
storage_capacity[MAT_PLASTIC] = mb_rating * 20000
storage_capacity[MAT_PLASTEEL] = mb_rating * 16250
storage_capacity["glass"] = mb_rating * 12500
for(var/mat_name in storage_capacity)
storage_capacity[mat_name] = mb_rating * 25000
build_time = 50 / man_rating
mat_efficiency = 1.1 - man_rating * 0.1// Normally, price is 1.25 the amount of material, so this shouldn't go higher than 0.6. Maximum rating of parts is 5
update_tgui_static_data(usr)