Friday Facts #319 - New T-shirts & Lua event filtering
Author: Klonan,
published 5 years ago,
[i][url=https://factorio.com/blog/post/fff-319]Read this post on our website.[/url][/i]
Hello,
There is a bit of a cold/flu going around the office, but it isn't severe enough to dampen our spirits (I don't like the daylight savings though).
[h1]New T-shirts (Jitka, Albert, Aleš, Klonan)[/h1]
Ever since we launched the classic Grey T-shirt back in November 2017, we've been asked when we're going to have more designs. Over the last few months Jitka, Albert, and Aleš, have been working on our new collection, which is now available.
[img]https://clan.cloudflare.steamstatic.com/images//12002589/1ea5fca89f5146dd2c588caad1ff5f5ad78cc76a.jpg[/img]
[i]Check out our [url=https://factorio.com/store]store page[/url] for full product details.[/i]
We chose the Inserter and the Electronic circuit, as we feel that they are some of the items that best represent the game.
[img]https://clan.cloudflare.steamstatic.com/images//12002589/90a2ae2dda6f434d715880459359202b4021177c.png[/img][img]https://clan.cloudflare.steamstatic.com/images//12002589/6ca87cec6607bb2278ac52528dcda20f03b905e6.png[/img]
Once again, its the small details of which we are really proud. This time we are incorporating the new Wube logo into the print, as well as continuing our Factorio Dude printed label.
We have also updated our classic Factorio logo on grey with the new T-shirt design, which means that all the T-shirts are available in 3XL (Triple-XL), including the older design which previously only went up to 2XL. We have also printed a small batch of the Factorio logo T-shirts in a Ladies cut.
Several weeks ago, we mentioned that we bought a new rack for the server room ([url=https://www.factorio.com/blog/post/fff-315]FFF-315[/url]). The secret we have been keeping is that we didn't just buy new racks for the server room, but also for the merchandise room. Now that we have the new T-shirt collection, the shelves are filled quite nicely.
[img]https://clan.cloudflare.steamstatic.com/images//12002589/292f9a5c667edc8af6f32f8c366addd99b6bb89b.jpg[/img]
The new T-shirt collection is available on our website from today. Please bear in mind that we are packaging and shipping all the T-shirts ourselves in the office, we aren't handling things through any 3rd party distributor. What this means is that shipping isn't super fast and we can't really guarantee any shipment dates. Generally the T-shirts reach European addresses within 1 week, and reach North America within 2.
With Christmas approaching, shipping times may be longer, so if you are looking to gift a Factorio T-shirt this upcoming holiday season, we would recommend ordering as soon as possible. Please note we still impose a 3 T-shirt limit on all orders.
[h1]Lua event filters (Rseding)[/h1]
Every so often someone makes a mod interface request that grabs my attention - not because of the actual benefits the request will give (although that helps) but from a pure challenge perspective: I start thinking "that sounds difficult (and fun) - but I think I can do it - so how I can do that in an efficient/expandable way?...".
Several weeks ago someone requested a way to filter the different prototypes from the game on the C++ side instead of having to do it all Lua side:[list][*]Grab all of them.[*]Iterate through them one by one.[*]Store only the ones I care about.[/list]Their reasons made sense to me and it was one of those challenging things that grabbed my attention. I finished it - and it has been out for several weeks.
Shortly after that someone asked for the same system for Lua events; mentioning that most mods don't actually want most events when they subscribe to one - but only a small subset of what would trigger a given event. It also made sense to me and it was even more of a challenge to take the already working filtering system I had and make it work for something I didn't intend. The end result though works quite nicely and can be expanded as we find different events needing different filters.
[img]https://clan.cloudflare.steamstatic.com/images//12002589/fec5fcdfde89e6900e0e9923f1363e831cb25cdb.png[/img]
What this means overall, is that modders will be able to write cleaner and more efficient Lua scripts, and everybody will benefit from less UPS spent filtering the events on the script side.
[h1]/r/Factorio Extra Life charity stream (Klonan)[/h1]
This weekend the moderators over at the [url=https://www.reddit.com/r/factorio/]Factorio subreddit[/url] are taking part in the [url=https://www.extra-life.org/]Extra Life[/url] charity event. They will be streaming Factorio to help raise money for Children's hospitals in the US and Canada. There are some more details on [url=https://www.reddit.com/r/factorio/comments/dn2q6k/rfactorio_is_participating_in_extra_life_next/]the Reddit post[/url].
As always, let us know what you think on our [url=https://forums.factorio.com/77442]forum[/url].