itmMatches criteria explanation?

Freeform discussion about anything related to modding Transcendence.
Post Reply
The Wicked Flea
Miner
Miner
Posts: 25
Joined: Tue Jul 24, 2007 8:24 pm

Hey all, I need a little explanation of the matching criteria for itmMatches.

I know:
  • "*" is anything; possibly not usable here since it is normally in a case statement.
  • "I" means installed.
  • "U" means uninstalled.
  • "w" is a weapon.
  • "s" is a shield.
  • "+/-Modifier" includes or excludes a specific modifier.
But what is "v"? And what would armor be?

I need to know because I'm modding a wrench into the game. :D
The Wicked Flea
Miner
Miner
Posts: 25
Joined: Tue Jul 24, 2007 8:24 pm

Nevermind, I finally found the following criteria by accident:

Code: Select all

<!-- ITEM TABLES **************************************************************

	Item Table Attributes

	<RandomItem>

	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

-->
User avatar
evilbob
Militia Captain
Militia Captain
Posts: 555
Joined: Sun Mar 05, 2006 1:23 pm

There's an old topic somewhere that has everything a modder could need, lemme find a link...

Nope, can't find it. There's a topic somewhere with every tag in the game (almost) defined, and just about everything else.
The Wicked Flea
Miner
Miner
Posts: 25
Joined: Tue Jul 24, 2007 8:24 pm

I have been searching and this is the best reference I've found yet. However it is a great deal outdated in the scripting reference area, as many new functions have been added.

Work on the wrench is nearly done though, and there was nothing better to teach me about transcendence-lisp. I must have had to completely rewrite it twice to weed out strange crashes. Yup, jump right into the deep end! :D
User avatar
evilbob
Militia Captain
Militia Captain
Posts: 555
Joined: Sun Mar 05, 2006 1:23 pm

yes, that's the topic I was thinking of.
Post Reply