No Character Logistic Slots?

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
monkeyballs1622
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Nov 19, 2015 2:45 am
Contact:

No Character Logistic Slots?

Post by monkeyballs1622 »

Hello, I have researched all the way to Character Logistic Slots 4, but I don't have any character logistic slots. Is it because I am in sandbox mode? Is there any way to fix this?
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: No Character Logistic Slots?

Post by prg »

monkeyballs1622 wrote:Hello, I have researched all the way to Character Logistic Slots 4, but I don't have any character logistic slots. Is it because I am in sandbox mode? Is there any way to fix this?
Yes, you can only have character logistic slots if you have a character. If you create a character and attach your player to it, the slots will show up.

Code: Select all

/c game.local_player.character=game.local_player.surface.create_entity{name="player", position={0,0}, force="player"}
(Maybe use F5 to find a better position and not spawn in a lake.)
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
monkeyballs1622
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Nov 19, 2015 2:45 am
Contact:

Re: No Character Logistic Slots?

Post by monkeyballs1622 »

Yes, you can only have character logistic slots if you have a character. If you create a character and attach your player to it, the slots will show up.

Code: Select all

/c game.local_player.character=game.local_player.surface.create_entity{name="player", position={0,0}, force="player"}
Excellent! Thank you. This made all my inventory disappear, but that's ok. Is there now a way to revert back to "God mode"?

I prefer playing in sandbox just so I can move around easier and not have to deal with the character's range limitations for placing objects, but it would be nice to switch back and forth for playing around with things like weapons and character logistic slots.
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: No Character Logistic Slots?

Post by daniel34 »

This will "leave" the player body and enable god mode (inventory stays with the body):

Code: Select all

/c game.player.character = nil
This will "reenter" the body and give you the inventory of the player back (highlight the player with the mouse and enter):

Code: Select all

/c game.player.character = game.player.selected
quick links: log file | graphical issues | wiki
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: No Character Logistic Slots?

Post by prg »

Stand in a convenient location so you won't get eaten by biters, then run

Code: Select all

/c game.local_player.character=nil
To reattach to that character, point the mouse at it and run

Code: Select all

/c game.local_player.character=game.local_player.selected
The character will keep its inventory, but seems like you'll lose the godmode inventory on every switch, so put your stuff in a chest first.

... and daniel34 was faster this time.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
monkeyballs1622
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Nov 19, 2015 2:45 am
Contact:

Re: No Character Logistic Slots?

Post by monkeyballs1622 »

Yes!

Thank you to the both of you, exactly what I was looking for.
Post Reply

Return to “Technical Help”