Remove schematic upgrades and module and ship levels
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "Formula.h"
|
||||
#include "RecipesConfig.h"
|
||||
|
||||
// A single stat modifier contributed by a module instance.
|
||||
@@ -13,29 +12,29 @@ struct ModuleStatModifier
|
||||
{
|
||||
std::string stat; // e.g. "hp", "speed", "sensor_range"
|
||||
std::string modifierType; // "additive" or "multiplicative"
|
||||
Formula formula;
|
||||
double value;
|
||||
};
|
||||
|
||||
// Capability sections — present when the module grants that capability.
|
||||
struct ModuleWeaponCapability
|
||||
{
|
||||
Formula damageFormula;
|
||||
Formula attackRangeFormula;
|
||||
Formula attackRateFormula;
|
||||
float damage;
|
||||
float attackRange_m;
|
||||
float attackRate_hz;
|
||||
};
|
||||
|
||||
struct ModuleSalvageCapability
|
||||
{
|
||||
Formula collectionRangeFormula;
|
||||
Formula cargoCapacityFormula;
|
||||
Formula collectionRateFormula;
|
||||
float collectionRange_m;
|
||||
float cargoCapacity;
|
||||
float collectionRate_hz;
|
||||
};
|
||||
|
||||
struct ModuleRepairCapability
|
||||
{
|
||||
Formula repairRateFormula; // repair cycles per second
|
||||
Formula repairAmountHpFormula; // HP restored per cycle
|
||||
Formula repairRangeFormula;
|
||||
float repairRate_hz; // repair cycles per second
|
||||
float repairAmountHp; // HP restored per cycle
|
||||
float repairRange_m;
|
||||
};
|
||||
|
||||
struct ModuleDef
|
||||
@@ -44,7 +43,6 @@ struct ModuleDef
|
||||
int unlockAtStationLevel;
|
||||
std::vector<std::string> surfaceMask;
|
||||
std::vector<RecipeIngredient> materials;
|
||||
int playerProductionLevel;
|
||||
double productionTimeSeconds;
|
||||
std::string fillColor;
|
||||
std::string glyph;
|
||||
|
||||
Reference in New Issue
Block a user