Incomp. Proto. Change: attack_dir gets <force> parameter

This commit is contained in:
Petr Baudis 2011-12-22 00:12:45 +01:00
parent 177d41cf60
commit 091708f577
6 changed files with 22 additions and 16 deletions

View file

@ -7,8 +7,6 @@ struct world {
const static int max_energy = 20000;
const static int move_cost = -50;
const static int attack_cost = -400;
const static int defense_cost = -200;
const static int breed_out_cost = -newborn_energy/4;
const static int breed_in_cost = -newborn_energy*3/4;
const static int pheromone_cost = -10;
@ -19,6 +17,8 @@ struct world {
const static int sun_energy = 10;
const static int soil_energy = 20; /* ... times five for lone herbs, times one for dense forests */
const static double defense_const_factor = 0.2;
const static int dead_body_energy = 2000;
const static double dead_body_energy_carryover = 0.5;
const static int dead_decay = -50;