filled inventory, low fps

Bugs that are actually features.
Post Reply
mophydeen
Filter Inserter
Filter Inserter
Posts: 529
Joined: Sun Nov 22, 2015 5:02 pm
Contact:

filled inventory, low fps

Post by mophydeen »

klonan asked for sample maps where the fps is low so the devs could optimize there code.


1) increase your inventory:

Code: Select all

	    	player.character.character_inventory_slots_bonus  = 10000

2) fill your inventory:

Code: Select all

	    	    player.insert{name="iron-ore", count=40000}

3) deconstruct some trees or something else that forces the game to recalculate/loop the inventory.

4) fps of eg. 5


tip: don't keep the item unique for each slot, just remember it 1 time and use a bigger counter.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13263
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: filled inventory, low fps

Post by Rseding91 »

Yeah just don't do that. There's a limit to what the game can process and you pushed it way past normal. That's fully expected to take a lot of time to process when you turn the numbers up to crazy :P

If you can make that kind of thing happen in a *normal* game then let us know :)
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Not a bug”