Mission Tasks - A collaborative TODO list

by Wysel

Organize tasks, assign players, set locations, and comment in real-time.

Utilities
4 days ago
2.0
3.35K

i Trello Integration

4 months ago
(updated 4 months ago)

I asked ChatGPT about integrating a to-do mod with (external) project management software, and it created a complete turnkey solution to integrate Factorio and Trello! Would you be willing to look into integrating Trello--or w/e--into your mod? I was surprised just how easily a 57-line Python script + 39-line LUA script addition links the two!

If y'all are interested, here are the chat itself and the file it created. (I can't verify whether or not it will actually work, but it will at least be a framework to start from.):

Chat: https://chatgpt.com/share/68a0b0b5-575c-8007-9963-d32a6d2c3830
Factorio/Trello Mod Sync Files (ZIP): https://drive.google.com/file/d/1qsJxEFkmLWmkIiRTovCyuIg0wLUPeYcg/view?usp=sharing

Wild.

2 months ago

Hi KeithFromCanada,

The mod is designed to work fully within Factorio itself, and adding external dependencies would complicate things unnecessarily for most players. I’m also not sure if such an integration is even possible.

But thanks for sharing the idea! Feel free to let me know if you have more suggestions.

5 days ago

While I'm not a fan of using the LLMs for things, I will just say that this idea intrigued me somehow, and... I do think it's quite possible, AND that one needn't specifically support any particular external integration, to enable integrations to be done. For example, one might add something like the following to commands.lua:

commands.add_command(
"tasks",
{"mission-tasks-commands.tasks-description"},
---@param command CustomCommandData
function(command)
local tasks = storage.tasks or {}
if command and command.player_index then
-- optional code for interactive use in-game...
else
rcon.print(helpers.table_to_json(tasks))
game.print("tasks data sent to RCON") -- optional
end
end
)

That would allow outbound access. Inbound is potentially more complicated, depending on what all one wishes to support (just new tasks? Not too hard. Editing existing tasks? More complicated, though certainly doable)...

New response