Quickbar Item Cycles


Select items on the quickbar multiple times to get different items, e.g. yellow belt -> red belt -> blue belt. Also, for space exploration mod, automatically swap out the quick bar when entering/leaving space (can be disabled in settings).

Utilities
1 year, 12 days ago
1.1
245

b Fatal error when used with Factorissimo 2

1 year, 12 days ago

Fatal error occurs when entering a factory building.

Error report:

The mod Factorissimo2 (2.5.3) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event Factorissimo2::on_tick (ID O)
The mod Quickbar Item Cycles (1.0.0) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event
quickbar-item-cycles::on_player_changed_surface (ID 53)
Unknown interface: space-exploration
stack traceback:
[C]: in function 'call'
quickbar-item-cycles/control.lua:306: in function
<quickbar-item-cycles/control.lua:300>
stack traceback:
[C]: in function 'teleport'
Factorissimo2/control.lua: 1111: in function 'teleport_player_safely'
Factorissimo2/control.lua: 1117: in function 'enter_factory'
in function 'teleport_players'
Factorissimo2/control.lua:1152:
Factorissimo2/controllua:1245: in function
Factorissimo2/control.lua:1215>

1 year, 12 days ago

For now, try disabling "Swap bars when going to/from space" in mod settings -> per player. I think that will skip the code causing the error.

I'll see what I can do to fix this.

1 year, 12 days ago

Should be fixed in 1.0.1. Sorry for the crashes, ty for reporting it.

1 year, 3 days ago

Update on this: not getting an error anymore, thanks for the speedy fix!

This thread has been locked.