Commit Graph

15 Commits

Author SHA1 Message Date
luk3yx aa24cb41fd Make code more efficient
Mass changes:
 • Make the queue handler only run when required and with a delay of `tick_delay`.
 • Launch the queue handler if it is not running and a queue item is added.
 • Add `scriptblocks.create_formspec_handler()` to shrink code size by de-duplicating code.
 • Add pipeworks-style protected program namespaces.
2018-09-06 20:53:35 +12:00
luk3yx a450b91c03 Fork into scriptblocks 2018-09-06 15:04:07 +12:00
rdococ 1011eb14f3 Fixed a bug 2018-02-24 20:52:55 +00:00
rdococ a35dfcd873 Fixed game-crashing bug that occurs when a digiline sender receives a message. 2017-08-07 21:17:55 +01:00
rdococ 9de5f0e3a8 Modified the functionality of the scriptblocks to update @last when data is pushed to @info, not using an overly complicated system of flags. 2017-08-07 16:37:16 +01:00
rdococ 4c6eddd898 Created type scriptblocks and the modulo operator; also fixed bugs in the code which would cause odd behavior. 2017-08-07 16:26:13 +01:00
rdococ 1e1578291e Added digiline sender and updated the naming scheme for the mesecon/digiline receiver. 2017-08-07 04:58:13 +01:00
rdococ 2036096d3d MASSIVE UPDATE. Added booleans, boolean comparison blocks and modified the IF block's behavior (old scripts are still just about supported, though). 2017-08-07 01:42:04 +01:00
rdococ 9e12f87a25 Added recursive table comparison function. 2017-08-06 23:25:43 +01:00
rdococ 283953473c Removed unnecessary serialization and improved the stringification of tables for printing. 2017-08-06 23:20:14 +01:00
rdococ 20f754df8b Disabled the debug feature. 2017-08-06 20:18:45 +01:00
rdococ 01c0ce3c72 Fixed a minor bug involving nested objects. 2017-08-06 20:10:08 +01:00
rdococ ee9dad9578 1. Added object manipulation scriptblocks and the digiline receiver.
2. Modified the player detector texture to increase the contrast a little.
2017-08-06 19:54:28 +01:00
rdococ 2cf6f6326d Renamed the scriptblock_nearest to the scriptblock_player_detector, and added an entry for it in the README. 2017-08-06 06:55:39 +01:00
rdococ 1c900a23f5 THE SCRIPTBLOCKS ARE HERE!!! Scriptblocks are blocks you can build scripts with - they're pretty cool, even if they're super complicated. 2017-08-06 05:46:25 +01:00