Would it be possible to rename .stattype property on feature objects to something else, maybe .featureType?
Droids have droidType, structures have stattype (structureType would be nicer) so for consistency it would be preferable if features has featureType.
As .stattype has only just been introduced on features, it's hardly used at the moment, but will soon become heavily used once campaign porting goes in to full effect, so now is likely the last good opportunity to rename the property. It would certainly make describing the property and applicable values in documentation easier
stattype on features
stattype on features
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
Re: stattype on features
I think something like a .subtype property on all three object types would make more sense.
Re: stattype on features
.category ?
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
- Shadow Wolf TJC
- Regular
- Posts: 1047
- Joined: 16 Apr 2011, 05:12
- Location: Raleigh, NC
Re: stattype on features
I'll have to go with Per's suggestion. It sounds like it'd make the scripting a bit more versatile.
Creator of Warzone 2100: Contingency!
Founder of Wikizone 2100: http://wikizone2100.wikia.com/wiki/Wikizone_2100
Founder of Wikizone 2100: http://wikizone2100.wikia.com/wiki/Wikizone_2100