Numerical Effects and Programming Tools

(Back to Categories)

Randomness


Dice-Lock by S John Ross version 1/080522
Fri, 23 May 2008 16:11:27 GMT
Download, Source Code, Documentation
Dice-Lock is a lightweight set of tools for preserving important random results against brute-force UNDO tactics.
Procedural Randomness by Aaron Reed version 1
Mon, 22 Mar 2010 17:27:23 GMT
Download, Source Code, Documentation
Adds a say option, 'with procedural randomness,' that will reliably choose the same text as long as its seed is set to the same number or game object.
Randomness by Mikael Segercrantz version 1/080522
Fri, 23 May 2008 16:11:27 GMT
Download, Source Code, Documentation
Random number generation using a simple seedable pseudorandom number generator.


Mathematics


Fixed Point Maths by Michael Callaghan version 5
Thu, 03 Feb 2011 13:13:24 GMT
Download, Source Code, Documentation
Provides the use of fixed point maths with addition, subtraction, multiplication, division and some common mathematical functions. Supports numbers in the range -214748.3658 to 214748.3647. For Glulx only. Minor adaptation to the square root function for compatibility with 6G60.
Numbers by Krister Fundin version 1
Fri, 06 Aug 2010 01:26:03 GMT
Download, Source Code, Documentation
Provides various phrases for testing, manipulating and repeating through numbers.
Bitwise Operators by Bart Massey version 1 NEW
Tue, 17 Apr 2012 12:41:59 GMT
Download, Source Code, Documentation
Provides phrases for bitwise arithmetic/logical operators


Rulebook Manipulation


Repeat Through a Rulebook by Ron Newcomb version 4
Thu, 25 Sep 2008 14:21:08 GMT
Download, Source Code, Documentation
Allows us to write a repeat loop that steps through all the rules in a rulebook, to count those rules, to pick a random rule, and to ask if a rule is currently listed in a given rulebook.
Ignored Rules by Ron Newcomb version 2
Fri, 01 Oct 2010 00:23:02 GMT
Download, Source Code, Documentation
Temporarily ignore and later reinstate rules by way of a more efficient method than the procedural rulebook. Also, ignored rules stay ignored until reinstated -- a new turn does not automatically reinstate them.


Dynamic Memory Features


Dynamic Objects by Jesse McGrew version 6/101226
Mon, 27 Dec 2010 11:47:02 GMT
Download, Source Code, Documentation
Provides the ability to create new objects during game play. Requires Dynamic Tables.
Dynamic Tables by Jesse McGrew version 3/100623
Wed, 30 Jun 2010 00:22:38 GMT
Download, Source Code, Documentation
Provides a way to change the capacity of a table during the game.


Conditionals


Alternatives by Eric Eve version 2
Sat, 26 Jun 2010 14:05:30 GMT
Download, Source Code, Documentation
Allows checking the presence of an object or value in a set of objects or values with new either/or and neither/nor phrases. e.g., "If the noun is either the carrot or the potato:", or "Instead of eating something when the noun is neither the cake nor the pudding:".
Hypothetical Questions by Jesse McGrew version 2
Fri, 27 Jun 2008 14:43:06 GMT
Download, Source Code, Documentation
Allows us to test the consequences of a phrase or action without permanently changing the game state. For Glulx only. Version 2 fixes paragraph spacing.
Passable Relations by Ron Newcomb version 1
Sun, 25 Jan 2009 23:14:00 GMT
Download, Source Code, Documentation
Allows us to ask if an abstract relation holds between two objects. Supports the standard physical relations as well as any new relations.


(Back to Categories)