mirror of
https://github.com/veden/Rampant.git
synced 2024-12-26 20:54:12 +02:00
FACTO-44: Added setting to visual settling
This commit is contained in:
parent
831d7aab91
commit
ae43875a21
@ -8,6 +8,7 @@ Date: 29. 12. 2021
|
||||
- Slightly increased spacing between enemy structures
|
||||
- License has changed to GPLv3
|
||||
- Reduced new enemy hive frequency outside resoure chunks by 10x
|
||||
- Separated mod setting into printing settlers building and ai spending points
|
||||
Bugfixes:
|
||||
- Fixed chunkPack nil in processNests (Thanks Skallywaggz for the report)
|
||||
- Fixed random generator seed overflow (Thanks NeveHanter for the report)
|
||||
|
@ -243,6 +243,7 @@ local function onModSettingsChange(event)
|
||||
universe["aiPointsPrintGainsToChat"] = settings.global["rampant--aiPointsPrintGainsToChat"].value
|
||||
universe["aiPointsPrintSpendingToChat"] = settings.global["rampant--aiPointsPrintSpendingToChat"].value
|
||||
universe["printBaseUpgrades"] = settings.global["rampant--printBaseUpgrades"].value
|
||||
universe["PRINT_BASE_SETTLING"] = settings.global["rampant--printBaseSettling"].value
|
||||
|
||||
universe["enabledMigration"] = universe.expansion and settings.global["rampant--enableMigration"].value
|
||||
universe["peacefulAIToggle"] = settings.global["rampant--peacefulAIToggle"].value
|
||||
@ -890,7 +891,7 @@ local function onBuilderArrived(event)
|
||||
local squad = universe.groupNumberToSquad[builder.group_number]
|
||||
squad.commandTick = event.tick + COMMAND_TIMEOUT * 10
|
||||
end
|
||||
if universe.aiPointsPrintSpendingToChat then
|
||||
if universe.PRINT_BASE_SETTLING then
|
||||
game.print("Settled: [gps=" .. builder.position.x .. "," .. builder.position.y .."]")
|
||||
end
|
||||
setPositionInQuery(universe.obaCreateBuildCloudQuery, builder.position)
|
||||
|
@ -18789,6 +18789,7 @@ poison-worm-v20-t10-rampant=Poison worm: t10 Leviathan
|
||||
[entity-description]
|
||||
|
||||
[mod-setting-name]
|
||||
rampant--printBaseSettling=AI: Print when settlers start building
|
||||
rampant--printAwakenMessage=World: Print when initial peace ends
|
||||
rampant--initialPeaceTime=World: Starting peace duration
|
||||
rampant--printBaseUpgrades=AI: Print Faction Base Upgrades
|
||||
@ -18897,6 +18898,7 @@ rampant--enableFadeTime=Enable corpse fade time
|
||||
rampant--temperamentRateModifier=AI: Temperament Rate Modifier
|
||||
|
||||
[mod-setting-description]
|
||||
rampant--printBaseSettling=Print a message to the console when settlers begin building a nest
|
||||
rampant--printAwakenMessage=Print a message to the console when the initial peace time ends
|
||||
rampant--initialPeaceTime=The AI will remain in the peaceful state until the specified number of minutes have passed in game. This should give time for someone to get an initial base started.
|
||||
rampant--printBaseUpgrades=Print to console when a building is upgraded by the AI. These should not happen during a migration, but over the lifetime of a enemy structure.
|
||||
|
@ -536,6 +536,15 @@ data:extend({
|
||||
per_user = false
|
||||
},
|
||||
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "rampant--printBaseSettling",
|
||||
setting_type = "runtime-global",
|
||||
default_value = false,
|
||||
order = "m[total]-c[ai]z",
|
||||
per_user = false
|
||||
},
|
||||
|
||||
{
|
||||
type = "bool-setting",
|
||||
name = "rampant--debugTemperament",
|
||||
|
Loading…
Reference in New Issue
Block a user