This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ================================== | |
# RECEIVERS | |
# ================================== | |
receivers: | |
otlp: | |
protocols: | |
http: | |
# ================================== | |
# EXPORTERS | |
# ================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- CHANGING THE SETTLEMENT MODEL WHEN A SETTLEMENT IS UPGRADED AND WHEN YOU RELOAD THE GAME/RELOAD THE CAMPAIGN MAP | |
-- Credits: Medik | |
-- EOP Documentation: https://youneuoy.github.io/M2TWEOP-library/_static/LuaLib/index.html | |
-- Check for nil values | |
function isNotNull(object) | |
if(object~=nil) then | |
return true; | |
else | |
return false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
math.randomseed(os.time()); | |
RANDOM_BODYGUARD_ENABLED = true | |
DEFAULT_BODYGUARDS = { | |
["sicily"] = { | |
defaultBg = "Gondor Bodyguard", | |
newBgs = { | |
"Territorial Guardsmen", | |
"Gondor Militia", |