Page 1 of 1

Multiplayer Market?

Posted: Thu Nov 20, 2014 2:10 am
by TheNarwhal
I'm not especially good at any type of coding, sadly. I would like to know how to add things to a market in multiplayer, so my cousin and I can at least make use of the extra crap we have. Is it possible to do in multiplayer, or is it only a single player option? Also, if it is possible, I also can't seem to spawn one in with the console command.

Re: Multiplayer Market?

Posted: Thu Nov 20, 2014 6:54 am
by cpy
I have never heard of market in factorio, until now.

Re: Multiplayer Market?

Posted: Thu Nov 20, 2014 7:01 am
by TheNarwhal
cpy wrote:I have never heard of market in factorio, until now.
If you use map editor, it's in the "Production" subtab under "Entities". There are also Coins are in "Intermediates".

Re: Multiplayer Market?

Posted: Thu Nov 20, 2014 8:52 am
by Rakshasa
TheNarwhal wrote:
cpy wrote:I have never heard of market in factorio, until now.
If you use map editor, it's in the "Production" subtab under "Entities". There are also Coins are in "Intermediates".
Those coins are obviously for bypassing blown fuses.

Re: Multiplayer Market?

Posted: Thu Nov 20, 2014 2:49 pm
by n9103
Both the coins and market are used in the Scenario Pack.

Re: Multiplayer Market?

Posted: Thu Nov 20, 2014 7:10 pm
by TheNarwhal
I looked around a little more on /r/factorio, and got the info I was looking for. The commands on the wiki can only be used in map editor. It's used for making custom story maps, or a place in your custom map to get rid of stuff. I'm gonna continue messing with it until I learn it.

Re: Multiplayer Market?

Posted: Fri Nov 21, 2014 12:29 pm
by ficolas
You can create the market witg the command market = game.createentity{name=market, position={x,y}}

Then add the trades with:
market.addmarketitem{price={ {"item-name", amount}, {"item-name", amount} etc...}, offer={type="give-item", item="item-name"}}