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
2
map.cc
2
map.cc
|
@ -32,6 +32,8 @@ tile::symbol(void)
|
|||
if (agent) {
|
||||
if (agent->dead)
|
||||
return 'a';
|
||||
if (agent->attr.move < 0.01)
|
||||
return 'x';
|
||||
return '0' + (agent->id % 10);
|
||||
}
|
||||
return type_symbol();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue