Update Files
This commit is contained in:
22
leenkx/blender/lnx/logicnode/native/LN_read_storage.py
Normal file
22
leenkx/blender/lnx/logicnode/native/LN_read_storage.py
Normal file
@ -0,0 +1,22 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
class ReadStorageNode(LnxLogicTreeNode):
|
||||
"""Reads a value from the application's default storage file. Each
|
||||
value is uniquely identified by a key.
|
||||
|
||||
For a detailed explanation of the storage system, please read the
|
||||
documentation for the [`Write Storage`](#write-storage) node.
|
||||
|
||||
@seeNode Write Storage
|
||||
"""
|
||||
bl_idname = 'LNReadStorageNode'
|
||||
bl_label = 'Read Storage'
|
||||
lnx_section = 'file'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxStringSocket', 'Key')
|
||||
self.add_input('LnxStringSocket', 'Default')
|
||||
|
||||
self.add_output('LnxDynamicSocket', 'Value')
|
Reference in New Issue
Block a user