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


Big Integers by Jeremy John Reeder version 1
Fri, 14 Nov 2014 00:09:05 GMT
Download, Source Code, Documentation
Allows addition and multiplication of texts which represent integers. This is a work-around for the 32-bit limitation of Inform's native arithmetic operations.
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.
Numbers by Jeremy John Reeder version 1
Sat, 11 Oct 2014 00:10:13 GMT
Download, Source Code, Documentation
(Based on version 1 of the extension of the same name by Krister Fundin, but altered to resolve conflicts with the Standard Rules of build 6L38.) Provides various phrases for testing, manipulating and repeating through numbers.
Bitwise Operators by Bart Massey version 1
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 8/140515
Fri, 16 May 2014 10:27:53 GMT
Download, Source Code, Documentation
Provides the ability to create new objects during game play. Requires Dynamic Tables.
Dynamic Tables by Jesse McGrew version 5/140515
Fri, 16 May 2014 10:28:15 GMT
Download, Source Code, Documentation
Provides a way to change the capacity of a table during the game.


Conditionals


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.
Event Chains by William S Martin version 1
Sun, 15 Dec 2013 02:29:15 GMT
Download, Source Code, Documentation
A very simple, lightweight extension that allows the author to use tables to organize interactions as an alternative to IF...ELSE blocks and rulebooks.


(Back to Categories)