Suggestion:Ask if a storage container should be removed

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

DoctorWho27
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri May 02, 2014 1:25 am
Contact:

Suggestion:Ask if a storage container should be removed

Post by DoctorWho27 »

On a number of occasions, I have accidentally removed a storage container that I did not want to get rid of. Because of how full these boxes are, it freezes my game for several minutes, while it places all the items on the ground.

My suggestion is that if the contents of a container can't be put in the player's inventory, put up a dialog box asking if the player wanted to do this. Maybe add a setting to toggle this, if some players don't want to be asked.

Here's some pseudo-code that demonstrates what I mean:

Code: Select all

if (settings.containerDestructMessage == true && relevantContainer.contents.size > player.inventory.getOpenStacks()){
   int itemsOnGround = relevantContainer.contents.size - player.inventory.getOpenStacks();
   DisplayDialogBox("Do you really want to remove this container. " + itemsOnGround + " items will be left on the ground");
}
Post Reply

Return to “Ideas and Suggestions”