Tinker Stages
Link to tinker-stages
This mod is an addon for the GameStages API. Tinker Stages allows aspects of the Tinkers Construct mod to be put into a custom progression system set up by the modpack author. For more info, check out the mod page here
General Restrictions
Link to general-restrictions
Restricts tool crafting to a stage. If multiple stages are added using this method, the player will need at least one of them.
ZenScript Copy// mods.TinkerStages.addGeneralCraftingStage(String stage);
mods.TinkerStages.addGeneralCraftingStage("one");
Restricts part replacing to a stage. If multiple stages are added using this method, the player will need at least one of them.
ZenScript Copy// mods.TinkerStages.addGeneralPartReplacingStage(String stage);
mods.TinkerStages.addGeneralPartReplacingStage("one");
Restricts part building to a stage. If multiple stages are added using this method, the player will need at least one of them.
ZenScript Copy// mods.TinkerStages.addGeneralPartBuildingStage(String stage);
mods.TinkerStages.addGeneralPartBuildingStage("one");
Restricts applying modifiers to a stage. If multiple stages are added using this method, the player will need at least one of them.
ZenScript Copy// mods.TinkerStages.addGeneralModifierStage(String stage);
mods.TinkerStages.addGeneralModifierStage("one");
Specific Restrictions
Link to specific-restrictions
Prevents a specific tool type from being crafted at the tool station. For example, you can restrict the crafting of hammers until a specific stage.
ZenScript Copy// mods.TinkerStages.addToolTypeStage(String stage, String toolId);
mods.TinkerStages.addToolTypeStage("one", "tconstruct:pickaxe");
Prevents a material from being used by the player. Including crafting, part building, and using the tool.
ZenScript Copy// mods.TinkerStages.addMaterialStage(String stage, String material);
mods.TinkerStages.addMaterialStage("one", "stone");
Prevents a specific modifier from being applied to a tool or used.
ZenScript Copy// mods.TinkerStages.addModifierStage(String stage, String modifier);
mods.TinkerStages.addModifierStage("two", "mending_moss");
Example Script
Link to example-script
ZenScript Copy//GENERAL RESTRICTIONS
//Prevents all tools unless the stage is unlocked.
mods.TinkerStages.addGeneralCraftingStage("one");
//Prevents all tool swapping unless the stage is unlcoked.
mods.TinkerStages.addGeneralPartReplacingStage("one");
//Prvents all part building unless the stage is unlocked.
mods.TinkerStages.addGeneralPartBuildingStage("one");
//Prevents applying any tool modifiers unless the stage is unlocked.
mods.TinkerStages.addGeneralModifierStage("one");
//SPECIFIC RESTRICTIONS
//Prevents crafting pickaxes unless the stage is unlocked.
mods.TinkerStages.addToolTypeStage("two", "tconstruct:pickaxe");
//Prevents the material from being used.
mods.TinkerStages.addMaterialStage("two", "stone");
//Prevents the modifier from being applied.
mods.TinkerStages.addModifierStage("two", "mending_moss");