1
0
mirror of https://github.com/veden/Rampant.git synced 2025-03-17 20:58:35 +02:00

Prepend surface name to AI state change messages

This commit is contained in:
Dagothur 2021-04-16 10:28:43 -04:00
parent 07e87ba2d9
commit a6cce852b3

View File

@ -266,7 +266,7 @@ function aiPlanning.planning(map, evolution_factor, tick)
map.stateTick = randomTickEvent(tick, AI_MIN_STATE_DURATION, AI_MAX_STATE_DURATION)
if universe.printAIStateChanges then
game.print("AI state is now: " .. map.state .. " " .. constants.stateEnglish[map.state] .. " Next state change is in " .. (map.stateTick - tick) / 60 .. " seconds")
game.print(map.surface.name .. ": AI state is now: " .. map.state .. " " .. constants.stateEnglish[map.state] .. " Next state change is in " .. (map.stateTick - tick) / 60 .. " seconds")
end
end