Problem with the wiki shipData page; a question about removing a market

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1248
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Problem with the wiki shipData page; a question about removing a market

Post by UK_Eliter »

Dear all

This page says one can put the following in shipData.

Code: Select all

"market_definition = (
	{
		"type" = "default";
		"price_multiplier" = 0;
		"quantity_multiplier" = 0;
		"capacity" = 0;
	}
);
But the OXP Verifier accepts the above code only if - unsurprisingly - one adds the seemingly missing quotation mark to the first line.
(Probably someone has told me before how to edit such pages . .)

Also, though, the verifier gives me this:

Code: Select all

WARNING: key "market_definition" does not apply to this category of ship.
So seemingly I cannot use the method above to remove a market from a rock-hermit (which is what I am trying to do). Advice?
UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1248
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Re: Problem with the wiki shipData page; a question about removing a market

Post by UK_Eliter »

Ah: I think I need to ensure that the entity has the role station.
User avatar
Milo
---- E L I T E ----
---- E L I T E ----
Posts: 462
Joined: Mon Sep 17, 2018 5:01 pm

Re: Problem with the wiki shipData page; a question about removing a market

Post by Milo »

I added the missing quotation mark to the wiki reference.
Post Reply