Menu

#61 Ruleset Specific Techhandlers.py

open
nobody
Server (10)
6
2012-09-14
2007-09-19
No

As part of our move to rule-based tech trees, it makes sense to move Techhanders.py to the res/rules/ directory structure.

For instance, lets say an alternate ruleset wants to have specific "Add Slot" methods based on a percent of max planet size rather than max planet size itself? Such as a "Terraform +50%" would terraform a planet from size 8 to size 12 where it's max size is 16.

Therefore, to support this sort of alternate ruleset, moving the Techhandlers.py file into a per-ruleset method is required.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB