I have defined an instance of HOSP, as follows:
Code: Select all
HOSP.test:
	Inherits: HOSP
	RenderSprites:
		Image: HOSP
	Tooltip:
		Name: test
For instance, appending the following code overrides the default rules, triggering the grant only for "hosp.test" (rather than "hosp"):
Code: Select all
^Infantry:
	GrantConditionOnPrerequisite@HOSPITAL:
		Condition: hospital
		Prerequisites: hosp.testCode: Select all
Prerequisites: hosp || hosp.test