Skip to content

Commit

Permalink
Jsut keep testing like this
Browse files Browse the repository at this point in the history
  • Loading branch information
fira committed Dec 2, 2023
1 parent 7dca3f9 commit 6aa416c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions code/__DEFINES/mode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,8 @@
//=================================================


/// Number of ROUNDSTART weighter marine player for 1 gear_scale. gear_scale is clamped to 1 minimum
#define MARINE_GEAR_SCALING_NORMAL 30
/// Number of LATEJOIN weighted marine players for 1 gear_scale
#define MARINE_GEAR_SCALING_LATEJOIN 60
/// Number of weighted marine players for 1 gear_scale. gear_scale is clamped to 1 minimum
#define MARINE_GEAR_SCALING_NORMAL 60

#define RESOURCE_NODE_SCALE 95 //How many players minimum per extra set of resource nodes
#define RESOURCE_NODE_QUANTITY_PER_POP 11 //How many resources total per pop
Expand Down
2 changes: 1 addition & 1 deletion code/game/gamemodes/cm_initialize.dm
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ Additional game mode variables.
///Updates the [/datum/game_mode/var/gear_scale] multiplier based on joining and cryoing marines
/datum/game_mode/proc/update_gear_scale(delta)
// Magic inverse function that guarantees marines still get good supplies for latejoins within first ~30 minutes but stalls starting 2 hours or so
gear_scale += delta * (0.25 + 0.75 / (1 + ROUND_TIME / 20000)) / MARINE_GEAR_SCALING_LATEJOIN
gear_scale += delta * (0.25 + 0.75 / (1 + ROUND_TIME / 20000)) / MARINE_GEAR_SCALING_NORMAL
var/gear_delta = gear_scale - gear_scale_max
if(gear_delta > 0)
gear_scale_max = gear_scale
Expand Down

0 comments on commit 6aa416c

Please sign in to comment.