#include "evo/server/lifecycle/cellular_revamp.hpp" namespace evo::server { bool cellular_revamp_valid(const CellularRevampRules& rules) noexcept { return rules.body.essential_upkeep_per_thousand <= 1'000; } CellularRevampRules cellular_revamp_rules(const biology::CellularRevampTuning& t) { return {.body = {.essential_upkeep_per_thousand = static_cast(t.body_essential_upkeep_per_mille)}}; } } // namespace evo::server