SpacedOutChicken / DeCiv-Redux

Rebuild civilization after the end of the world. A mod for Unciv. Uses FantasyHex tiles and units.
95 stars 29 forks source link

Problem: Names with Square Brackets #105

Closed carriontrooper closed 11 months ago

carriontrooper commented 1 year ago

Latest version caught this: DeCiv Redux: Global uniques's unique "[-20]% Strength <for units with [[Ranger] ability]> <when fighting in [Friendly Land] tiles> <vs [Promotion Nullifier] units>" contains the conditional "for units with [[Ranger] ability]". This contains the parameter [Ranger which does not fit parameter type promotion !

It seems that promotions with square brackets inside their names are unparseable like that.

SpacedOutChicken commented 1 year ago

It wasn't like this before. I'll alert Yair about this and see what he can do.

SpacedOutChicken commented 11 months ago

I've removed the offending code from DeCiv, but the issue with square brackets has since been fixed in Unciv's code.