Just deleted about 400 bot accounts and a bunch of spam. To mitigate this in the future, we've enabled reCaptcha on signup. Let me know if someone got caught in the crossfire.

Commit 907fa8b2 authored by jakmak3's avatar jakmak3 Committed by Probe1
Browse files

IT LIVES (#13044)

parent 49145337
......@@ -84,6 +84,8 @@
/obj/item/weapon/stock_parts/matter_bin,
/obj/item/weapon/stock_parts/matter_bin,
/obj/item/weapon/stock_parts/manipulator,
/obj/item/weapon/stock_parts/manipulator,
/obj/item/weapon/stock_parts/micro_laser,
/obj/item/weapon/stock_parts/micro_laser,
/obj/item/weapon/stock_parts/console_screen
)
......
......@@ -129,7 +129,7 @@
id = "pico_mani"
req_tech = list(Tc_MATERIALS = 5, Tc_PROGRAMMING = 2)
build_type = PROTOLATHE
materials = list(MAT_IRON = 30)
materials = list(MAT_IRON = 30, MAT_URANIUM = 10, MAT_SILVER = 20)
reliability_base = 73
category = "Stock Parts"
build_path = /obj/item/weapon/stock_parts/manipulator/nano/pico
......
......@@ -62,21 +62,22 @@
max_material_storage = (initial(max_material_storage)+(T * 187500))
T = 0
for(var/obj/item/weapon/stock_parts/micro_laser/Ma in component_parts)
T += Ma.rating
if(T >= 1)
T -= 1
for(var/obj/item/weapon/stock_parts/manipulator/Ma in component_parts)
T += Ma.rating //T is the ammount of stock parts grade. 1 tier 1 part is a T=1, 2 tier 2 parts is a T=4, 1 tier 1 and 1 tier 3 part is a T=5
if(T >= 2) // this removes 1 part tier level. This is to account for the fact that machines like the protolathe have 1 micro manip in them by default which means 1 tier level
T -= 2
var/diff
diff = round(initial(resource_coeff) - (initial(resource_coeff)*(T))/25,0.01)
diff = round(initial(resource_coeff) - (initial(resource_coeff)*(T * 3))/25,0.01)
if(resource_coeff!=diff)
resource_coeff = diff
T = 0
for(var/obj/item/weapon/stock_parts/manipulator/Ml in component_parts)
for(var/obj/item/weapon/stock_parts/micro_laser/Ml in component_parts)
T += Ml.rating
if(T>= 2)
if(T>= 2) // same idea for the formula for above
T -= 2
diff = round(initial(time_coeff) - (initial(time_coeff)*(T))/25,0.01)
diff = round(initial(time_coeff) - (initial(time_coeff)*(T *5))/25,0.01)
if(time_coeff!=diff)
time_coeff = diff
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment