MM1:List of Notable Scripts

If you would like to make your own custom levels that replace the base game ones, these are the scripts that should be used to ensure your level blends in with the expected gameplay mechanics. To protect his ACS code, his global ACS script sources are not provided with the game, but they can be referenced from your own level scripts or additional global scripts. Feel free to use and re-adapt the pre-refactor scripts as desired, however; Old versions of ACS scripts can be found included in any old version build from the GitHub repository here.

See also MM1:List of Global Variables, which includes variables you can edit to affect the hidden ACS scripts.

Scripts
Magical Mary 1: Redthorn's Family Ransom uses ACS scripts to modify its gameplay to be very different than Doom, the main game id Tech 1 was designed to power. All of the scripts listed below are found in MagicalMary.pk3's .acs files found in its Scripts folder, which can be modified and put in mods to extend the scripts, change hardcoded limits, or even completely tweak gameplay.

This list includes the more important scripts, ones that can be called from linedefs for better level design and the like.

Functions
Magical Mary 1 uses functions to reduce copy-pasted code (though some slips through anyways). Some functions commonly used in scripts are located in the external ACS file "mm1_extra.acs" and are labelled as "global", but others are specific to one ACS file's scripts. If you want to use a given function for your own scripts in another file, go to the ACS file indicated and copy it over.

Do note that certain functions may depend on variables within that ACS file, and due to Xane's iffy ACS scripting, there isn't much that can be done to fix that short of re-writing the function or making the requested variables "world variables".