criteria?

Freeform discussion about anything related to modding Transcendence.
Post Reply
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

is there a criteria that lets one sell anyting to a station :?:

thanks


p.s. criteria="*" dosent work
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

Code: Select all

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
and those are the vanilla modifiers

Code: Select all

MODIFIERS

	Alien						Item is not found in Human Space
	AntiMatter					Item is involved in AntiMatter industry
	Auton						Item is an auton
	BlackMarketID				This is a black market ID
	Bushido						Item is sold by Bushido corp
	Food						Item is human food or drink
	Fuel						Item is starship fuel
	HaloGem						Item is a halo gem
	ID							Item is an ID
	Illegal						Item is illegal in Human Space
	Info						Item consists of digital information
	Lux							Item is human luxury good
	Makayev						Item is sold by Makayev corp
	Meds						Item is human medicine
	Military					Item is restricted to military in Human Space
	MilitaryID					Item is a military ID
	Missile						Item is ammo or missile
	Nuclear						Item is involved in nuclear industry
	Rasiermesser				Item is sold by Rasiermesser corp
	Res							Item is a resource needed for industry
	RingerValuable				Item is used by Ringers
	Soul						Item contains (possibly dormant) intelligence of HIG III or above
	Specialty					Item is not a commodity; for sale only in specific stations
	ZeroPoint					Item is used in Zero-point energy industry

	Consumable					Item is consumable (missiles/ammo/treasure)
	MajorItem					Device/Shield/Weapon
	MinorItem					Armor/Enhancements
we also have a list of modifiers here (that probably needs to be updated):
http://www.neurohack.com/transcendence/ ... php?t=1945
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Most likely, the problem is that the dsExchangeBuy and the dsExchangeSell screens rely heavily on the <Trade> descriptors for the station.

Make sure there is an entry in the <Trade> section that defines the price for what the station wants to buy. If you want the station to buy everything, then you need to add something like:

Code: Select all

<Trade>
   <Buy criteria="*U" priceAdj="100"/>
</Trade>
("*U" means buy uninstalled items only)
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

thanks
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

Code: Select all

<Trade currency="credit" creditConversion="100" max="500000" replenish="25000">
			<Sell	criteria="*U"	priceAdj="00"/>
			<Buy	criteria="*U"	priceAdj="00"/>
		</Trade>
this doesnt work either :(
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

Of course not. Your sell and buy prices are both multiplied by 0. That means they won't buy anything, and probably can't sell either.
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

so what would it have to be :?: :?:
Bobby
Militia Captain
Militia Captain
Posts: 675
Joined: Wed Jul 25, 2007 7:39 pm

200 = double price
100 = full price
0 = no price

for selling, 120?
for buying, 50?
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

Code: Select all

<Trade currency="credit" creditConversion="100" max="500000" replenish="25000">
			<Sell	criteria="*U"	priceAdj="100"/>
			<Buy	criteria="*U"	priceAdj="100"/>
		</Trade>
doesnt work either
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

thnaks for the help it works now :D :D

(found out that when i spanwed the station it gave it no credits)
Post Reply