sio3pack.lua

Package Contents

sio3pack.lua.get_script(name, templates=None)[source]

Get the script for the given name and replace templates with the given replacements.

Parameters:
  • name (str) – The name of the script.

  • templates (dict[str, str]) – The templates to replace.

  • templates

Return type:

str

sio3pack.lua.to_lua_map(data)[source]

Convert a Python dictionary to a Lua map.

Parameters:

data (dict[str, str]) – The dictionary to convert.

Return type:

str