Skip to content

tips known_error

tacoen edited this page Jun 25, 2020 · 12 revisions

Known Error

and how to workarround it

Avoid object when its readed as Nonetype by savelog

When encounter reload error:

    $ action_shortcut({
        'storage':{
            'text':'Storage',
            'icon':'ico-archive',
            'action':[Show('inventory_ui',inv=storage)]
            },
        })

It's because storage object wasn't recorded at savelog, savelog shown NoneType.

It's only happened when config.develop = True.

Work arround:

    screen inventory_storage():
	use inventory_ui(storage)
	
    $ action_shortcut({
        'storage':{
            'text':'Storage',
            'icon':'ico-archive',
            'action':[Show('inventory_storage')]
            },
        })

Generated Time: 06/25/20 22:35:01

Note This files created using ramen-dev makedoc() from working ramen ren'py project, same references may become a non existent.

Made with Ren'Py 7.3.5.606