[SCR] abstract "core" library

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
solublefish
Posts: 31
Joined: Wed, 5. Nov 08, 01:25

[SCR] abstract "core" library

Post by solublefish » Wed, 19. Nov 08, 14:33

Solublefish's core library

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
This code was written with The Exscriptor 1.2 by Whimsy: http://forum.egosoft.com/viewtopic.php?t=211689

Gqqnbig
Posts: 66
Joined: Fri, 12. Jul 13, 14:08

Post by Gqqnbig » Mon, 14. Sep 15, 05:52

I like the dictionary! But the link is dead.

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”