branchrust_reboot/main/high_wall_upkeepcancel

4 Commits over 0 Days - Infinitycph!

3 Hours Ago
Add the upkeep component to both high walls and gates
3 Hours Ago
Add support for the "Upkeep" component to tick a bool if it's a high wall - will then use the convar for it's multiplier instead of the base's upkeep multiplier (based on size)
3 Hours Ago
Add `high_wall_upkeep` convar to control what the upkeep of high walls will be - set to static value because high wall upkeep would be too low near single TCs and too high near big bases
3 Hours Ago
Refactor BuildCost() so it returns a struct that contains the cost & how many items are produced each craft - allows us to divide the upkeep for high walls by 3x because we craft 3x per craft