Page 1 of 1

[Solved]Map editor - Chest

Posted: Tue Oct 21, 2014 1:31 pm
by Myaskol
Heya guys,

I have been messing around with the map editor for a while now but i cant seem to figure out how to put some items in the players inventory or in chests. can someone explain this to me?

Thanks in advance,

Myaskol

Re: Map editor - Chest

Posted: Tue Oct 21, 2014 4:20 pm
by ssilk

Re: Map editor - Chest

Posted: Tue Oct 21, 2014 4:50 pm
by Myaskol
Thanks for the responce after reading it. It seems it is not possible (yet?)

it says:
Wiki wrote:You can place items for the player to pick up in the editor. To do this, select the "Items" tab. From there, select what you wish to place down, then hover your mouse to where you wish to place the item down and right-click.
To delete items that you've placed, just like when placing entities, press "X" on your keyboard while hovering over the item you want to delete.

Re: Map editor - Chest

Posted: Tue Oct 21, 2014 10:57 pm
by JamesOFarrell
You can do it but not with the map editor. When you make a scenario for other people to play your map you can include a script file that will be run along side. This script file can add entities to the game (a chest) and add items to an inventory. If you have a look in "<FACTORIO INSTALL>\data\base\scenarios\sandbox\control.lua" you will see this in action.

Re: Map editor - Chest

Posted: Wed Oct 22, 2014 11:55 am
by SilverWarior
In order to edit inventory contents of entities like (player, chests, turrets, etc) first deselect your current item by pressing "Q". After that left click on an entity to opent its inventory. Note based on your game settings you might need to use right click instead.

Re: Map editor - Chest

Posted: Wed Oct 22, 2014 12:07 pm
by Myaskol
SilverWarior wrote:In order to edit inventory contents of entities like (player, chests, turrets, etc) first deselect your current item by pressing "Q". After that left click on an entity to opent its inventory. Note based on your game settings you might need to use right click instead.
OMG that was so easy! Thanks a bunch!

Re: Map editor - Chest

Posted: Wed Oct 22, 2014 12:19 pm
by SilverWarior
No problem. I had same problems as you the first time I was using the editor myself.

Re: Map editor - Chest

Posted: Thu Oct 23, 2014 4:46 am
by ssilk
Myaskol wrote:
Thanks for the responce after reading it. It seems it is not possible (yet?)
Oh, I thought it's already in the page. I updated it.