JonasJurczok / factorio-todo-list

A distributed todo list mod for Factorio
MIT License
35 stars 21 forks source link

Blueprint Import Entity Quantities as Tasks #193

Open NextDozen opened 1 year ago

NextDozen commented 1 year ago

I did a outpost layout and I want to use blueprint strings to add component numbers as tasks to my todo list is it possible? Your mod has Import/Export functionality but only for saving todo lists. I think if you make BP string Import you would just use BP strings to create todo list in another save.

Thank you for your time.

COUNTINGEX

JonasJurczok commented 1 year ago

Hi,

thank you for your suggestion. I'm afraid it's not that easy. While the BP and TODO export strings look the same (they are both base64 encoded) the content is completely different.

An option would be a custom parser for the BP strings. But I don't know how they are structured internally and if there is a documentation for that content.

Also what would be your expectation? I import a BP string and then what? Create a task with subtasks for every component and the amount of it? Or one task for the whole thing with a text of which components are needed?

best, Jonas

NextDozen commented 1 year ago

Also what would be your expectation? I import a BP string and then what? Create a task with subtasks for every component and the amount of it? Or one task for the whole thing with a text of which components are needed?

These would be the steps for realization purposes :

  1. Paste BP string
  2. It creates a task and gets BP name. It contains item numbers like in screenshot (or however you feel like doing it just needs a icon and a number thats it).
  3. You just reference it from that tasklist window and collect or craft items needed for elsewhere.

In a nutshell you don't continuously press B for checking item amounts (BP window is big and you can't check and collect/craft simultaneously). That would be less annoying with fiddling around bp books for that purpose, saves you time I guess.

Best regards. Hope