Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Simplify RA unit buildtime yaml and game rules for Tier 3 units. #15302
This is something I've recently fixed with my own mod. RA's Tier 3 (Tech Center) units has a shorter buildtime duration of around 15-20% which was introduced with #13790, but was introduced a bit clumsy due to my lack of understanding how the properties worked.
Replacing all custom build times with BuildDurationModifier: 50 (default is 60) makes for all units (except MAD Tank and Demo Truck) being produced precisely 20% faster. This clean-up results with:
MCV, Mammoth Tank
Mobile Radar Jammer
Mobile Gap Generator
I found it a bit amusing how close these values was to a simple catch-all line of code. You could argue it's good to have a consistent value the user can relate to and memorize (Tier 3 units produces 20% faster) and could ease future balancing, avoiding looking at arbitrary build time values.