This modpack was made by Darkosto for Bacon Donut on Twitch.
Released files:
List of priorities used for creation of ZenScript files to ensure the load order is handled correctly.
Number/Range | Type | Notes |
---|---|---|
4100 | Environment Setup | |
4049 - 4050 | Util Script Setup | |
4000 | Pre Init | |
3500 - 3999 | Stage Setup | |
3000 - 3499 | Classes | |
2900 - 2999 | Class Registering | |
2801 - 2899 | Post Classes | |
2701 - 2799 | Post Class Registering | |
2600 - 2700 | Ore Dict (Pre Unify) | |
2550 - 2559 | Unification | |
2401 - 2549 | Ore Dict (Post Unify) | |
2300 - 2400 | Post-Unify Globals | |
1 - 2299 | ||
0 | Normal Scripts | |
-100 | Run Script | DON'T CHANGE |
To create a new stage, simply add the stage name to the stageStrings
array in scripts/crafttweaker/stages.zs
.
Note: Stage names are in snake_case. When referencing the stage within CraftTweaker script files using the stages map (stages.stageName
) the stages are referenced using camelCase.
Crafting table recipes are organized by mod id. Files are located in scripts/crafttweaker/recipes/mods
.
- Create a new file with the same name as the mod ID of the mod you are modifying recipes of.
- Copy the contents of the example file at
docs/examples/modRecipe.zs
. - Call the init function in
scripts/crafttweaker/postInit.zs
'sinitRecipes
function. Example:scripts.crafttweaker.recipes.mods.modID.init();
- Create the json in
config/resourcehogs/types
. - Add the new type to the
resourceTypes
array inscripts/crafttweaker/resources/resourceHogs.zs
in the format"fileName": "resource ID"
. It is recommended to name the filename the same as the id, but it is not required. - In the
initBaconMap
andinitTruffleMap
functions, add the new entry pairs. (Use already existing entries for examples on adding a new one)
Note: In development mode, a validator is run to ensure that the bacon map and the truffle map in scripts/crafttweaker/resources/resourceHogs.zs
contains the resource types defined in the resourceTypes
array.