I like using your mod but it conflicts with Aircraft-space-age ( 2.3.4, by MeteorSwarm ) when entering a craft ( jet ) receiving a non-recoverable error ( multiple errors )..
Would you be willing to add compatibility:
Error while running event toolbars-mod::on_nth_tick(1)
'inventory index': real number expected got nil.
stack traceback:
[C]: in function 'get_inventory'
.../src/player/inventory/personal/VehicleTrashInventory.lua:83: in function 'inventory'
.../src/player/inventory/personal/VehicleTrashInventory.lua:46: in function 'freshContent'
.../src/player/inventory/personal/VehicleTrashInventory.lua:40: in function 'forceRefresh'
.../src/player/inventory/personal/VehicleTrashInventory.lua:32: in function 'refresh'
toolbars-mod/src/player/inventory/ViewInventory.lua:59: in function 'refreshMains'
toolbars-mod/src/player/inventory/ViewInventory.lua:40: in function 'refresh'
toolbars-mod/control/general.lua:14: in function <toolbars-mod/control/general.lua:7>
I guess its because the aircraft ( flying-fortress, jet, cargo-plane and gunship ) aren't apart of the vehicles list in toolbars which results in receiving nil-ch, I attempted a fix but it failed, I failed, failure.
best regards.