A lightweight modular Squirrel library for Left 4 Dead 2 VScripts.
To load the library in the current scope use:
IncludeScript("AcornLib")
To load the library in a new table use:
AcornLib <- {}
IncludeScript("AcornLib", AcornLib)
AcornLib.LoadModule("logger")
AcornLib.UnloadModule("logger")
The wiki has detailed documentation about the main AcornLib script and modules.
To install, download AcornLib.zip from the latest release and unzip the scripts into the scripts/vscripts folder in your addon or game installation.
Or if you want the absolute most recent version of the scripts, download the source files and place the scripts in the AcornLib folder into your scripts/vscripts folder.
You may want to place the files in a AcornLib folder to organize them, just make sure the modules and the main AcornLib script are in the same folder.