Spawn some herbs at startup

This commit is contained in:
Petr Baudis 2011-11-27 05:26:44 +01:00
parent b80ccfdffd
commit 4d697adc83
4 changed files with 27 additions and 0 deletions

View file

@ -3,6 +3,8 @@
struct world {
const static int newborn_energy = 5000;
const static int herb_energy = 1500;
const static int move_cost = -50;
const static int attack_cost = -400;
const static int defense_cost = -200;
@ -15,6 +17,8 @@ struct world {
const static int dead_body_energy = 2000;
const static double dead_body_energy_carryover = 0.5;
const static int dead_decay = -10;
const static int herb_rate = 20; /* one herb per herb_rate tiles */
};
#endif