Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Namespaces | Functions
factoryconstructaction.cpp File Reference
#include "common/actions/factoryconstructaction.h"
#include <spdlog/spdlog.h>
#include <limits>
#include <map>
#include "common/actions/economy/markethelpers.h"
#include "common/components/area.h"
#include "common/components/market.h"
#include "common/components/resource.h"

Namespaces

namespace  cqsp
 
namespace  cqsp::common
 
namespace  cqsp::common::actions
 

Functions

Node cqsp::common::actions::OrderConstructionFactory (Node &city, Node &market, Node &recipe, Node &builder, int productivity=1)
 Will charge the entity builder the amount needed to construct the factory/building. You'll have to find a organization that can construct it though. More...
 
Node cqsp::common::actions::CreateFactory (Node &city, Node &recipe, int productivity=1, double wages=10)
 Creates a factory from thin air More...
 
components::ResourceLedger cqsp::common::actions::GetFactoryCost (Node &city, Node &recipe, int productivity)
 
Node cqsp::common::actions::CreateCommercialArea (Node &city)