mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-02 18:03:37 +02:00
Spawn some herbs at startup
This commit is contained in:
parent
b80ccfdffd
commit
4d697adc83
4 changed files with 27 additions and 0 deletions
4
world.h
4
world.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue