Precedence of escort definitions

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4814
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Precedence of escort definitions

Post by phkb »

If I have this in my shipdata.plist

Code: Select all

{
	"myship_default" = {
		... some settings ...
		escort_roles = (
			{role:"escort-light"; min:-2; max:2;}
		);
	};
	"myship_second" = {
		... some settings ...
		like_ship = "myship_default";
		escorts = 0;
	};
}
Would the second definition have escort_roles or would the "escorts" override it?
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Precedence of escort definitions

Post by Smivs »

Effectively overide I think, as it would have no escorts.
However if escorts were added in-game (say via OXP) then they could either be defined, or I'd expect them to follow the template as a default if they were just randomly called.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Post Reply