1
0
mirror of https://github.com/veden/Rampant.git synced 2025-01-03 22:52:20 +02:00
Rampant/libs/Constants.lua

27 lines
764 B
Lua
Raw Normal View History

local constants = {}
2016-08-07 05:38:47 +02:00
constants.MAGIC_MAXIMUM_NUMBER = 1e99 -- used in loops trying to find the lowest score
constants.MAX_PHEROMONE = 7000
2016-08-07 05:38:47 +02:00
constants.BASE_PHEROMONE_PRODUCTION = 35
constants.DIFFUSION_AMOUNT = 0.02
2016-08-08 03:35:36 +02:00
constants.DEATH_DIFFUSION_AMOUNT = 0.01
constants.CHUNK_SIZE = 32
2016-08-07 05:38:47 +02:00
constants.HALF_CHUNK_SIZE = constants.CHUNK_SIZE / 2
constants.NORTH_SOUTH = true
constants.EAST_WEST = false
constants.DEATH_PHEROMONE = 1
2016-08-07 05:38:47 +02:00
constants.ENEMY_BASE_PHEROMONE = 2
constants.PLAYER_PHEROMONE = 3
2016-08-07 05:38:47 +02:00
constants.SQUAD_RETREATING = 1
constants.SQUAD_GUARDING = 2
constants.SQUAD_SIEGE = 3
constants.SQUAD_HUNTING = 4
constants.SQUAD_SUICIDE = 5
constants.SQUAD_ATTACKING = 6
constants.SQUAD_BURROWING = 7
constants.SQUAD_SCOUTING = 8
return constants