Page 1 of 1

Custom prerequisite "infantryproduction"

Posted: Mon Apr 21, 2014 12:52 pm
by scorp
Is is just me (again) or is the custom prerequisite "infantryproduction" (barracks) not working (as opposed to e.g. "techcenter" which does work)?

i tried to use this custom prerequisite for several buildings, but it doesn't seem to have an effect.

anybody else getting this?

Posted: Mon Apr 21, 2014 2:27 pm
by Scott_NZ
The custom prerequisite for barracks is named "barracks".
It looks like the bit of yaml responsible for providing this prerequisite is missing.
You'll need to add this to each barracks structure:

Code: Select all

ProvidesCustomPrerequisite:
	Prerequisite: barracks

Posted: Mon Apr 21, 2014 5:28 pm
by scorp
that seems to have fixed it

thx very much!