Temporary Logistic Request

by Atria

Mod which allows you to temporary increase your personal logistic requests by clicking on recipes, items and entities.

Utilities
4 months ago
1.1 - 2.0
1.26K
Logistic network

b Requests Items with Max Amounts Broken

7 months ago

This feature of the mod doesn't seem to work anytime I request something with a maximum it is all immediately sent to trash.

"Works with requests which had maximum amount set. Once such temporary requests are fulfilled the maximum is not reset (which would immediately put any extras into the trash). The maximum is kept to amount of that item in your inventory until the amount goes to (or below) the old request max. (thanks Jey123456 for suggestion)"

Link of video of issue: https://medal.tv/games/factorio/clips/jqsikfSpPV90NGlpG?invite=cr-MSxRUHgsMzgxMDQ2MDMs

7 months ago

This feature of the mod doesn't seem to work anytime I request something with a maximum it all is immediately sent to trash.

"Works with requests which had maximum amount set. Once such temporary requests are fulfilled the maximum is not reset (which would immediately put any extras into the trash). The maximum is kept to amount of that item in your inventory until the amount goes to (or below) the old request max. (thanks Jey123456 for suggestion)"

Link of video of issue: https://medal.tv/games/factorio/clips/jqsikfSpPV90NGlpG?invite=cr-MSxRUHgsMzgxMDQ2MDMs

7 months ago

I see two problems with this:

  • when increasing temporary request while you already have some in inventory, it doesn't take into account how much are already requested by other logistic groups
  • when temporary request is fulfiled the excess items are immediately put to trash

First one is pretty easy to fix, but how would you propose fix the second one?

  • Modify the other logistic group?
  • Keep the temporary logistic request indefinitely?
  • Something else comes to mind?
7 months ago

I thought it was weird when I first used the mod that it made new logistic requests instead of just temporarily modifying the already existing logistic request. I feel it would make the most sense for already existing requests to be modified to increase their maximum then once the items leave the inventory the maximum is brought back down tell it gets back to what is was originally set as. I don't know if that is something you can do with modding or not I have no idea how extensive modding capabilities for factorio are.

7 months ago

I wouldn't have to modify the existing request for that, I still could use the temporary logistic section. Problem is with the "once items leave the inventory" because I only get event that "something changed in this player's inventory". I really don't want to keep copy of all player's inventory and then track all changes. It would open whole new set of question how the tracking should work.

  • Should building an entity count towards lowering the requested count?
  • Should deconstructing an entity count towards increasing the satisfied requested count?
  • Should building some recipe in hand count towards lowering requested count?
  • Should cancelling some recipe in hand count towards increasing the satisfied requested count?
  • Should moving items to/from some other storage count towards modifying the requested count?
  • How should it react to other ways player's inventory can change?
7 months ago

Couldn't you just just when theirs a temporary request and something in the players inventory changes just check for the item in that in the temporary request. Obviously that would be a lot of checks if someone has a bunch of temporary requests but their supposed to the temporary so only a couple of items should be to much of a UPS drain.

7 months ago

Yes, it would be complicated even when monitoring just specific items, but that doesn't answer question from before. I don't know good answers to those questions, so I'd suggest either disabling other logistic request groups when creating temporary requests or not set the "max" on your other requests.

I'll still fix couple of issue I found, but I don't plan handling other logistic groups having set max on temporary requested items until either me or someone else comes up with nice solution to the problem.

4 months ago

Done in 2.1.0 (there is mod setting which will notify you about this issue happening)

New response