Programming Mod
Adds programming with Miniscript, a simplistic programming language.
The user manual has most (if not all) of the info you need to understand miniscript
https://miniscript.org/files/MiniScript-Manual.pdf
Theres a miniscript discord server incase youre having trouble
https://discord.gg/6KPXbh3y
This has some example programs for you to try and get a feel on how it works
https://steamcommunity.com/sharedfiles/filedetails/?id=3421315017
Apart from running programs, you can also interact with the game in various ways
Here are all of the game intrinsics that have been added to this mod
Returns a List of all signals since execution in order of newest to oldest
Outputs a signal to the given channel (0 to 65535)
Prints any given input to notification area (aka the bottom-right corner)
Sets a pixel specified by "pos" (a value 0 to 65535, starting from pixel in the bottom left corner to top right corner) to a color value specified by "color" (in HTML format, A is optional). "show" specifies whether to update the screen on the next frame or not
Stores a Bool, Number, or String into this module’s memory, this value will be saved between execution instances, meaning you store and access information from a save-loaded module
Returns a List with the position of the pixel when a key is pressed, and the keys currently being pressed
For a list of keycodes, refer to unity’s keycode docs[docs.unity3d.com]
Returns a 2d Matrix (Lists in a List) corresponding to each pixel color in an image specified to the module as an image file. "index" specifies the image to use
the image Matrix is in [x][y] format, meaning indexer 1 gets the x position and indexer 2 gets the y position
More of an utility than game intrinsic
Turns given RGB/RGBA values into HTML string
Awaits an user input, then returns it as a string. "print" can be left blank or prints a string to screen until user input
Intrinsics that have been modified in a way to fit the game
Prints a given input to the module’s print screen
Waits a given amount of time in real time seconds
Waits 0.02 seconds in physics time, or 1 tick from unity’s FixedUpdate()[docs.unity3d.com]
More info about the context menu actions apart from their written descriptions
Any text file is allowed, as long as it has miniscript code
Can be anything, except null
You can retrieve this value with the "store" function
Can be any size, there had been some issues with certain files but i think its been fixed. If you encounter any image issues please write a comment
Clears images 🤯
Specifies whether the module can run when its spawned, or executed by pressing the button
Locks this program with its current images and code, so you can save it and share it with other people