This script package contains library utilities for scripters. It's particularly intended for larger projects. The basic goal is to let the library scripts wrap up a lot of the boilerplate code that you write over and over. That helps you to focus on the "smart" part - making your traders more efficient, your enemies nastier, or your characters more interesting. The library is essentially a cheap implementation of a few powerful tools from mainstream software platforms. A bit of doc/tutorial is included.
[ external image ]
Included so far:
- sfish.lib.assoc: associative array data structure - similar to a dictionary, hashtable, map, etc.
- sfish.lib.set: unordered set data structure - easier maintenance of lists of unique items.
- sfish.lib.fcnl: loop abstraction - foreach and filter
- sfish.lib.dbg: basic debugging - Enable, Disable, Assert, AssertEqual, and Log
- misc. support functions