teal-wf
v1.1.6
Published
A Tool/Programming Language for making WEBFISHING mods.
Downloads
18
Readme
Teal WF
Teal is a programming language for making modding WEBFISHING easier.
How to install:
Create a new project with 'npm init'
Install teal-wf globally 'npm install -g teal-wf'
Commands:
teal create-project <project_path> <project_name> <project_id>
teal create-resource <resource_folder_path>
teal compile <source_file> <output_file>
teal package-pck
teal package-release
teal debug_macro - Creates a testing project.
teal version
Syntax:
'//', Makes a comment in your code.
'print "Text"', Prints stuff into the WEBFISHING GDWeave console.
'var variable_name = value', creates a variable
'if ', A simple if statement.
'!MOD_SETTINGS ["your_modid", "Your Mod Name", "1.0"]', this defines your mod settings.
'require Lure', adds Lure to your project.
'func functionName', Creates a function
'end'
'call functionName', Calls a function
'lure WAIT_FOR_LURE', Waits until Lure is loaded.
'lure ADD_CONTENT your_resource_id mod://Resources/your_resource_id.tres', Adds new content.
