mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-03 02:13:35 +02:00
Incomp. Proto. Change: attack_dir gets <force> parameter
This commit is contained in:
parent
177d41cf60
commit
091708f577
6 changed files with 22 additions and 16 deletions
4
world.h
4
world.h
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue