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

Factorio

72 readers
5 users here now

The unofficial Kbin magazine for Factorio - created by Wube software. Official Factorio Links: Factorio Site Factorio Wiki Factorio Mods Factorio Forums Factorio Merch Buy Factorio: Factorio Official Site! Steam GOG HumbleBundle Nintendo Switch! Other Communities: Lemmy reddit This Kbin magazine was created in response to, and for anyone who wishes to get away from, reddit following their recent API changes coming into effect on 01 July 2023.

founded 1 year ago
 

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