mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
MR: added distance to evolution mod setting
This commit is contained in:
parent
a066fcb418
commit
345e09c72f
@ -1,5 +1,8 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 3.2.0
|
||||
Contributions:
|
||||
- Garrotte13: Missing turret sounds due too many sounds triggering at once
|
||||
- ldinc: Added mod setting to configure maximum evolution by distance
|
||||
Improvements:
|
||||
- Added console command /rampantRemoveNewEnemies which changes all new enemies to vanilla enemies for allowing the disabling of new enemies on an existing save
|
||||
- Added console command /rampantRemoveFaction to remove individual factions on existing saves
|
||||
@ -18,7 +21,6 @@ Version: 3.2.0
|
||||
- Fixed faction mutation mutating to an existing faction is no longer counted towards max number of mutations per base
|
||||
- Corrected typo of `randominess` to `randomness` in tooltips
|
||||
- Fixed alignmentTable being nil due to an invalid reference to the neutral faction
|
||||
- Missing turret sounds due too many sounds triggering at once
|
||||
Optimizations:
|
||||
- Moved most constants out of global
|
||||
- Removed new enemy variations setting
|
||||
|
@ -457,7 +457,9 @@ function baseUtils.createBase(map, chunk, tick)
|
||||
local distanceIndex = mMin(1, distance * BASE_DISTANCE_TO_EVO_INDEX)
|
||||
local evoIndex = mMax(distanceIndex, universe.evolutionLevel)
|
||||
|
||||
local alignment = (universe.NEW_ENEMIES and findBaseInitialAlignment(universe, evoIndex)) or {"neutral"}
|
||||
local alignment =
|
||||
(universe.NEW_ENEMIES and baseUtils.findBaseInitialAlignment(universe, evoIndex))
|
||||
or {"neutral"}
|
||||
|
||||
local baseLevel = gaussianRandomRangeRG(meanLevel,
|
||||
meanLevel * 0.3,
|
||||
|
@ -182,7 +182,7 @@ constants.BASE_CLEAN_DISTANCE = 13
|
||||
|
||||
constants.BASE_COLLECTION_THRESHOLD = constants.TICKS_A_MINUTE * 2
|
||||
|
||||
constants.BASE_DISTANCE_TO_EVO_INDEX = 1 / settings.startup["rampant--max-evo-dist"].value
|
||||
constants.BASE_DISTANCE_TO_EVO_INDEX = 1 / (settings.startup["rampant--max-evo-dist"].value * constants.CHUNK_SIZE)
|
||||
|
||||
constants.BASE_SPAWNER_UPGRADE = 500
|
||||
constants.BASE_WORM_UPGRADE = 400
|
||||
|
@ -125,7 +125,7 @@ rampant--enableMigration=AI: Enable Migration
|
||||
rampant--peacefulAIToggle=AI: Enable Peaceful
|
||||
rampant--printAIStateChanges=AI: Print State Changes to Chat
|
||||
rampant--debugTemperament=DEBUG: Print Temperament Changes to Chat
|
||||
rampant--max-evo-dist=World: Threshold for maximum evolution factor by distance
|
||||
rampant--max-evo-dist=World: Threshold for maximum evolution factor by distance in chunks
|
||||
|
||||
rampant--attackWaveGenerationUsePlayerProximity=Attack Wave: Use Player Proximity as attack trigger
|
||||
rampant--attackPlayerThreshold=Attack Wave: Player score contribution threshold
|
||||
|
@ -220,9 +220,9 @@ data:extend({
|
||||
type = "int-setting",
|
||||
name = "rampant--max-evo-dist",
|
||||
setting_type = "startup",
|
||||
default_value = 9600,
|
||||
minimum_value = 1000,
|
||||
maximum_value = 1000000,
|
||||
default_value = 40,
|
||||
minimum_value = 0,
|
||||
maximum_value = 100000,
|
||||
order = "c[max]-k[evolution]",
|
||||
per_user = false
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user