[Rseding91] game.difficulty_settings.recipe_difficulty always returns 1
Posted: Tue May 23, 2017 8:02 pm
game.difficulty_settings.recipe_difficulty is always "1".
game.difficulty_settings.technology_difficulty is always "1".
Expected: Sometimes returns 2.
To recreate, start a new game under normal settings and do
/c game.print(serpent.line(game.difficulty_settings.recipe_difficulty))
console prints "1" (expected)
/c game.print(serpent.line(game.difficulty_settings.technology_difficulty ))
console prints "1" (expected)
Now quite game to menu and restart a new game under marathon and repeat this command:
/c game.print(serpent.line(game.difficulty_settings.recipe_difficulty))
console prints "1" (expected "2")
/c game.print(serpent.line(game.difficulty_settings.technology_difficulty ))
console prints "1" (expected "2")
game.difficulty_settings.technology_difficulty is always "1".
Expected: Sometimes returns 2.
To recreate, start a new game under normal settings and do
/c game.print(serpent.line(game.difficulty_settings.recipe_difficulty))
console prints "1" (expected)
/c game.print(serpent.line(game.difficulty_settings.technology_difficulty ))
console prints "1" (expected)
Now quite game to menu and restart a new game under marathon and repeat this command:
/c game.print(serpent.line(game.difficulty_settings.recipe_difficulty))
console prints "1" (expected "2")
/c game.print(serpent.line(game.difficulty_settings.technology_difficulty ))
console prints "1" (expected "2")