Skip to content

Commit

Permalink
nerf latejoin scaling to 60%
Browse files Browse the repository at this point in the history
  • Loading branch information
fira committed Nov 26, 2023
1 parent 44eae50 commit 21c34ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion code/__DEFINES/mode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@
//=================================================


//Number of marine players against which the Marine's gear scales
/// Number of marine players against which the Marines' gear scales
#define MARINE_GEAR_SCALING_NORMAL 40
/// How much are the latejoins awarding in budget and stocks relative to normal value
#define MARINE_GEAR_SCALING_LATEJOIN 0.6

#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 @@ -946,7 +946,7 @@ Additional game mode variables.

///Updates the [/datum/game_mode/var/gear_scale] multiplier based on joining marines in [/datum/game_mode/var/latejoin_tally]
/datum/game_mode/proc/update_gear_scale()
var/new_gear_scale = gear_scale_init + latejoin_tally / MARINE_GEAR_SCALING_NORMAL
var/new_gear_scale = gear_scale_init + latejoin_tally / MARINE_GEAR_SCALING_NORMAL * MARINE_GEAR_SCALING_LATEJOIN
if(new_gear_scale > gear_scale)
for(var/obj/structure/machinery/cm_vending/sorted/vendor as anything in GLOB.cm_vending_vendors)
vendor.update_dynamic_stock(new_gear_scale)
Expand Down

0 comments on commit 21c34ae

Please sign in to comment.