Explosion Config Flexibility (#7024)

Adds a new config option that subtracts a flat value from power when going across z-levels in in iterative explosion modes. This should make it easier to balance explosions across z-levels.
This commit is contained in:
BurgerLUA
2019-10-27 01:31:09 -07:00
committed by Erki
parent 17b61887b0
commit 4d1c49d97d
4 changed files with 51 additions and 3 deletions

View File

@@ -280,6 +280,7 @@ var/list/gamemode_cache = list()
var/iterative_explosives_z_threshold = 10
var/iterative_explosives_z_multiplier = 0.75
var/iterative_explosives_z_subtraction = 2
var/ticket_reminder_period = 0
@@ -886,6 +887,9 @@ var/list/gamemode_cache = list()
if ("explosion_z_mult")
iterative_explosives_z_multiplier = text2num(value)
if ("explosion_z_sub")
iterative_explosives_z_subtraction = text2num(value)
if("show_game_type_odd")
config.show_game_type_odd = 1