smrealms/smr — pull request #55 by wcyrek (2014-02-01 08:19:00+00:00)
Title: Planet Type Patch #1

Game supports multiple planet types:
*Each planet type has it's own maximum for each building
*Each planet type has it's own maximum for attackers
*Each planet type can specify maximum number of landed players
*Each planet type has it's own list of menu items
*Each planet type will need it's own building time
*Each planet type will need it's own icon.

Support for planet types extended to admin tools (The universe generator 1.6) :
*Ability to add planet of specific type to sector
*Ability to remove planet regardless of type from sector
*Ability to change planet type in sector
*Changing planet type will raze buildings over cap of the new planet type

Combat changes to get maximum fleet size when attacking a planet from planet type information instead of current constant. (Constant will override if specified number is > constant).
*Planet main screen and examine screen will display planet type.
*Planet's screen will display planet type.
*Planet's main screen will have description of the planet.

Planet additions:
*New Planetary building: Bunker stores armour
*New option to transfer armour to planet (cannot transfer all armour you must keep 1 on your ship)
*For now planet armour is hit after shields and drones are down
*Bunkers can only be destroyed when there are no more generators to be destroyed
*If a planet cannot store shields/armour/drones it will not have that option displayed under defense
*If a planet cannot build a building it will not show it under planet construction.
*If a planet cannot support a building it will not show it under planet main
*Planet examine lists how many attackers can fire on the planet
*Planet examine lists how many players can land on the planet

Additional Icons added:
*Planet buildings now have icons
*Shields/Drones/Armour/Turret icons added
*New fed icons for each race added
*New HQ icons for each race added
*New Shipyard icons for racial shipyards
*New uno icons for racial bases
*Added new bar icons
*Added new bank icon
*Trimmed icons replacing black background with transparency (gif to png)

Introducing two planet types:
Terran Planet: Much like current planets.
Arid Planet: Smaller in terms of defense, but can only be attacked by 5 players at a time.
Lacks drones, but supports bunkers. supports up to 15 turrets. Perfect as an early planet in a racial or neutral galaxy.
Can only land 5 players.

![planet_update02](https://f.cloud.github.com/assets/5414932/2057255/f2c5312e-8b18-11e3-9f8d-f03e6d8f2ae2.png)
![planet_update01](https://f.cloud.github.com/assets/5414932/2057256/f619d5a0-8b18-11e3-8e2e-2595de9a9121.png)

![planet_new](https://f.cloud.github.com/assets/5414932/2057263/786ec344-8b19-11e3-82b1-ddef70ad9230.png)