Merge pull request #5357 from Citadel-Station-13/upstream-merge-35383

[MIRROR] Changes doppler array point formula
This commit is contained in:
deathride58
2018-02-07 20:52:09 +00:00
committed by GitHub
+3 -3
View File
@@ -110,7 +110,7 @@ GLOBAL_LIST_EMPTY(doppler_arrays)
if(!istype(linked_techweb))
say("Warning: No linked research system!")
return
var/adjusted = orig_light - 20 - linked_techweb.max_bomb_value
var/adjusted = orig_light - 10 - linked_techweb.max_bomb_value
if(adjusted <= 0)
say("Explosion not large enough for research calculations.")
return
@@ -118,7 +118,7 @@ GLOBAL_LIST_EMPTY(doppler_arrays)
if(point_gain <= 0)
say("Explosion not large enough for research calculations.")
return
linked_techweb.max_bomb_value = orig_light - 20
linked_techweb.max_bomb_value = orig_light - 10
linked_techweb.research_points += point_gain
say("Gained [point_gain] points from explosion dataset.")
@@ -129,4 +129,4 @@ GLOBAL_LIST_EMPTY(doppler_arrays)
linked_techweb = SSresearch.science_tech
/proc/techweb_scale_bomb(lightradius)
return (lightradius ** 0.5) * 13000
return (lightradius ** 0.5) * 5000