Custom prerequisite "infantryproduction"

doesn't seem to be working?

Information and discussion for custom maps and mods.
Post Reply
scorp
Posts: 96
Joined: Sat Mar 08, 2014 9:35 pm

Custom prerequisite "infantryproduction"

Post 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?

Scott_NZ
Posts: 94
Joined: Thu Sep 13, 2012 9:09 am

Post 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

scorp
Posts: 96
Joined: Sat Mar 08, 2014 9:35 pm

Post by scorp »

that seems to have fixed it

thx very much!

Post Reply