objGetItems criteria

Freeform discussion about anything related to modding Transcendence.
Post Reply
F50
Fleet Officer
Fleet Officer
Posts: 1004
Joined: Sat Mar 11, 2006 5:25 pm

what are the possible criteria?

Particularly, I need an undamaged and uninstalled item.
Apemant
Commonwealth Pilot
Commonwealth Pilot
Posts: 94
Joined: Mon Dec 03, 2007 12:51 pm

F50 wrote:what are the possible criteria?

Particularly, I need an undamaged and uninstalled item.
I guess they are the same as in objEnumItems and buy and sell object 'criteria'. From Transcendence.xml:

Code: Select all

	categories:
			*	all categories
			a	armor
			d	device (weapon, shield, drive, etc.)
			f	fuel
			l	launcher weapon only
			m	missile
			r	reactor
			s	shields
			t	miscellaneous
			u	useful (armor coating, ROM, etc.)
			v	drive
			w	weapon (including launchers)
			I	is installed
			D	is damaged
			N	is not damaged
			S	is useable
			U	is not installed

	modifiers:
			+	must have this modifier
			-	must not have this modifier
I believe what is missing above is the ~ operator, which negates the following letter, like in "*~w" - everything except weapons. As always, if you include a modifier, it has to end with a semicolon - unless it's the only modifier, then it can be omitted.
So it would appear "NU" is what you need. :D
Post Reply