Steam Fort 0.5
|
Contains all information about recipe. More...
#include <recipe.hpp>
Public Member Functions | |
Recipe () | |
Standard class constructor. | |
Public Attributes | |
std::string | name |
Recipe name - must be that same like produced item. | |
int | resources [RESOURCES][3] |
Resources needed for this recipe. | |
int | fuel |
Amount of fuel needed by recipe. | |
int | amount |
Amount of produced items. | |
int | worktime |
Time needed for made selected item. | |
int | building |
Building type in which work will be do. | |
bool | known |
Did recipe is known. | |
int | unlocktype [2] |
What will be unlocked after finishing this recipe. | |
std::string | unlockname |
Name of recipe to unlock (if other than this name recipe) | |
std::string | materials |
String information about needed materials. |
Contains all information about recipe.
Recipe::Recipe | ( | ) |
Standard class constructor.
int Recipe::amount |
Amount of produced items.
int Recipe::building |
Building type in which work will be do.
int Recipe::fuel |
Amount of fuel needed by recipe.
bool Recipe::known |
Did recipe is known.
std::string Recipe::materials |
String information about needed materials.
std::string Recipe::name |
Recipe name - must be that same like produced item.
int Recipe::resources[RESOURCES][3] |
Resources needed for this recipe.
std::string Recipe::unlockname |
Name of recipe to unlock (if other than this name recipe)
int Recipe::unlocktype[2] |
What will be unlocked after finishing this recipe.
int Recipe::worktime |
Time needed for made selected item.