Changed energy cost increase for producers, reworked menu buttons
This commit is contained in:
parent
c2ecbf5c23
commit
aa21bb9d39
|
@ -138,7 +138,8 @@ bool GameData::add_vertex(int x, int y, int z, int r, int colour)
|
|||
energy_cost = 25;
|
||||
break;
|
||||
case VERTEX_PRODUCER:
|
||||
energy_cost = 25 + (25 * num_vertices_by_type(build_type, turn));
|
||||
if (num_vertices_by_type(build_type, turn) == 0) energy_cost = 0;
|
||||
else energy_cost = 25 << (num_vertices_by_type(build_type, turn) - 1);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ Player::Player(string name, unsigned int colour)
|
|||
{
|
||||
this->name = name;
|
||||
this->colour = colour;
|
||||
energy = 25;
|
||||
energy = 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user