this post was submitted on 27 Jan 2024
1 points (100.0% liked)

Factorio

686 readers
14 users here now

A Lemmy community for the game Factorio made by Wube Software.

Rules

founded 1 year ago
MODERATORS
 

Or at least my attempt at improving it with the limitations of runtime scripting.

I'm posting because I would like some feedback on it.

The current things I still need to do are to listen for more command events so I can reimplement their messages, including fixing the admin promotion one. The current admin promotion message simply responds to the event of someone becoming admin, which doesn't contain info about who promoted them like the localized string expects.

As well as try and make a function that can send a message one tick late, as sending a message in the command event happens before the command is actually handled. Meaning the default error message happens after a custom one.

Finally, I need to implement some graceful way of handling shortcode collisions. I think discord does :shortcode~1: or something. Then I wonder if I should handle the order somehow, or let the modified pairs choose it for me. Though, with the companion mod of Twemoji, it re-registers the shortcode dictionary on the fly so the server can choose which standard to use. I think that might affect ordering, but I'm not actually sure.

I also have a branch that was attempting to do the colors differently, but I worked on that while slightly burned on the project and I don't like dealing with color math (it confuses me).

Sorry for the rambling, this kind of became my Todo list.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here