Project

General

Profile

Actions

Feature #1698

open

ruleset limits can be better documented

Added by Dean Brown 22 days ago. Updated 6 days ago.

Status:
In Review
Priority:
Normal
Category:
Rulesets
Target version:
Start date:
10/09/2025
Due date:
% Done:

0%

Estimated time:

Description

Some limits, like #define MAX_NUM_ADVANCES 400, are described in the ruleset files and comments-3.x.txt files, but some are not. Easy to fix. Missing ones:

Goods MAX_GOODS_TYPES
Tech classes MAX_NUM_TECH_CLASSES
buildings MAX_NUM_BUILDINGS
veteran_names MAX_VET_LEVELS
Extra types: MAX_EXTRA_TYPES
disasters MAX_DISASTER_TYPES
achievements MAX_ACHIEVEMENT_TYPES
Multipliers (aka policies) MAX_NUM_MULTIPLIERS
granary_food_ini MAX_GRANARY_INIS
counters MAX_COUNTERS


Files

1698_Main.patch (51 KB) 1698_Main.patch Dean Brown, 10/25/2025 06:32 AM
1698_S3_2.patch (51.1 KB) 1698_S3_2.patch Dean Brown, 10/25/2025 06:32 AM
1698_S3_3.patch (51 KB) 1698_S3_3.patch Dean Brown, 10/25/2025 06:32 AM
Actions #1

Updated by Dean Brown 22 days ago

  • File 1698_Main.patch added
  • File 1698_S3_2.patch added
  • File 1698_S3_3.patch added
Actions #2

Updated by Marko Lindqvist 7 days ago

  • Tracker changed from Tasks to Feature
  • Target version set to 3.2.2
Actions #3

Updated by Marko Lindqvist 7 days ago

comments-3.2.txt (likely others):
; granary_food_ini is a list of up to 24 integers. \n\

The space before \n\ causes saved rulesets to have trailing space.

Actions #4

Updated by Dean Brown 6 days ago

  • File deleted (1698_Main.patch)
Actions #5

Updated by Dean Brown 6 days ago

  • File deleted (1698_S3_2.patch)
Actions #6

Updated by Dean Brown 6 days ago

  • File deleted (1698_S3_3.patch)
Actions #8

Updated by Marko Lindqvist 6 days ago

  • Status changed from New to In Review
  • Assignee set to Marko Lindqvist
Actions

Also available in: Atom PDF