King Jo's Automatic Paver


Places the fastest kind of tiles automatically below you when you walk around. Toggleable with shortcut. Comes with adjustable radius and kind of tile.

Utilities
10 months ago
1.1 - 2.0
574
Environment

b opening helmod (paused) switches automatic paving off

11 months ago

i open helmod via the quick button next to the toolbar, and i have it set to pause the game while it's open. doing this seems to switch the automatic paver off for some reason

11 months ago

I have no idea why it is doing that... It's literally toggling with the helmod button

11 months ago

maybe something to do with a window being opened? it seems opening the window of the "factory search" mod also toggles it off

10 months ago

figured it out, when hanging a callback on an event, you also need to check the event type like so:

script.on_event(defines.events.on_lua_shortcut, function(event)
    if(event.prototype_name ~= "kj_autopaver_toggle") then return end

relatedly: can you put the mod on github? would make collaboration a bit easier

10 months ago

omg.... yeah its fixed now XD

and i don't think its worth putting it on github

New response