mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-03 02:13:35 +02:00
Dead bodies have (slowly decaying) energy
This commit is contained in:
parent
80712598e0
commit
de7a604e52
2 changed files with 9 additions and 1 deletions
3
world.h
3
world.h
|
@ -5,6 +5,9 @@ struct world {
|
|||
const static int newborn_energy = 500;
|
||||
const static int move_cost = 10;
|
||||
const static int sun_energy = 1;
|
||||
|
||||
const static int dead_body_energy = 500;
|
||||
const static int dead_decay = -1;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue