raiguard / QuickbarTemplates

https://mods.factorio.com/mod/QuickbarTemplates
MIT License
3 stars 1 forks source link

Factorio v2.0 #2

Open saaadel opened 3 weeks ago

saaadel commented 3 weeks ago

Are you planning to port it to Factorio v2.0?

I like this mod

hahoyer commented 3 weeks ago

I tried to raise this mod to 2.0 (I can't do without it anymore) But there is a strange bug:

Error while running event QuickbarTemplates::on_init()
Unknown style quick_bar_window_frame
stack traceback:
    [C]: in function 'add'
    __QuickbarTemplates__/control.lua:3: in function 'create_gui'
    __QuickbarTemplates__/control.lua:25: in function 'setup_player'
    __QuickbarTemplates__/control.lua:156: in function <__QuickbarTemplates__/control.lua:153>

According to factorio.data (github.com/wube/factorio-data.git) there is the style quick_bar_window_frame. But why is it not found?

saaadel commented 3 weeks ago

try "quick_bar_slot_window_frame"

hahoyer commented 2 weeks ago

Used "slot_window_frame" now. This seems to be the new name for the old style.