Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,7 @@

# except custom resources
!resources
!resources/contenttweaker
!resources/contenttweaker/**/**
!resources/waystones
!resources/waystones/**
!resources/patchouli
!resources/patchouli/**
!resources/minecraft
!resources/minecraft/**
!resources/**

# except changed config files (add manually)
!config
Expand Down
Binary file added resources/base/textures/items/gear.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/base/textures/items/plate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"forge_marker": 1,
"defaults": {
"textures": {
"texture": "base:blocks/block",
"particle": "base:blocks/block"
},
"model": "base:storage",
"uvlock": true,
"transform": "forge:default-block"
},
"variants": {
"normal": [{}],
"inventory": [{}]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"forge_marker": 1,
"defaults": {
"model": "forge:fluid",
"custom": {
"fluid": "manasteel"
}
},
"variants": {
"normal": [{}]
}
}
13 changes: 13 additions & 0 deletions resources/contenttweaker/lang/en_us.lang
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,16 @@ tile.contenttweaker.botanic_alloy_block.name=Botanic Alloy Block
tile.contenttweaker.elite_table_base.name=Elite Crafting Table Base
item.contenttweaker.nether_star_shard.name=Nether Star Shard
item.contenttweaker.nether_star_core.name=Nether Star Core
material.manasteel.name=Manasteel
material.terrasteel.name=Terrasteel
material.elementium.name=Elementium
material.livingwood.name=Livingwood
material.dreamwood.name=Dreamwood
material.manastring.name=Manastring
modifier.mana.name=Mana
modifier.mana.desc=§oBlue Power!§r\nConsumes mana to repair itself.
modifier.aura.name=Aura I
modifier.aura.desc=§oOut of nowhere!§r\nSlowly generates mana when held in hand.
modifier.auragreater.name=Aura II
modifier.auragreater.desc=§oMoooore Maaaana!§r\nGenerates mana when held in hand.\n5 times faster than at level I.

6 changes: 6 additions & 0 deletions resources/contenttweaker/models/item/botanic_alloy_gear.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "base:items/gear"
}
}
6 changes: 6 additions & 0 deletions resources/contenttweaker/models/item/botanic_alloy_ingot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "base:items/ingot"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "base:items/nugget"
}
}
6 changes: 6 additions & 0 deletions resources/contenttweaker/models/item/botanic_alloy_plate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "base:items/plate"
}
}
6 changes: 6 additions & 0 deletions resources/contenttweaker/models/item/elementium_gear.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "base:items/gear"
}
}
6 changes: 6 additions & 0 deletions resources/contenttweaker/models/item/elementium_plate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "base:items/plate"
}
}
6 changes: 6 additions & 0 deletions resources/contenttweaker/models/item/gaia_spirit_gear.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "base:items/gear"
}
}
6 changes: 6 additions & 0 deletions resources/contenttweaker/models/item/gaia_spirit_plate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "base:items/plate"
}
}
6 changes: 6 additions & 0 deletions resources/contenttweaker/models/item/manasteel_gear.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "base:items/gear"
}
}
6 changes: 6 additions & 0 deletions resources/contenttweaker/models/item/manasteel_plate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "base:items/plate"
}
}
6 changes: 6 additions & 0 deletions resources/contenttweaker/models/item/terrasteel_gear.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "base:items/gear"
}
}
6 changes: 6 additions & 0 deletions resources/contenttweaker/models/item/terrasteel_plate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "base:items/plate"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions resources/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"pack":{"pack_format":3,"description":"B.A.S.E External Resources"}}
38 changes: 38 additions & 0 deletions scripts/_base.zs
Original file line number Diff line number Diff line change
@@ -1,7 +1,45 @@
import crafttweaker.item.IItemStack;
import crafttweaker.item.IIngredient;
import crafttweaker.liquid.ILiquidStack;

// Disable item by removing crafting recipes and hiding
function disable(input as IItemStack) {
recipes.remove(input);
mods.jei.JEI.removeAndHide(input);
}

//helper method for registering melting and casting of molten metals
function addMoltenMetal(molten as ILiquidStack, nugget as IIngredient, nuggetTemp as int, nuggetCastingTime as int, ingot as IIngredient, ingotTemp as int, ingotCastingTime as int, block as IIngredient, blockTemp as int, blockCastingTime as int) {
if (!isNull(ingot)) {
mods.tconstruct.Melting.addRecipe(molten * 144, ingot, ingotTemp + 300);
mods.tconstruct.Casting.addTableRecipe(ingot.itemArray[0], <tconstruct:cast_custom>, molten, 144, false, ingotCastingTime);
}
if (!isNull(block)) {
mods.tconstruct.Melting.addRecipe(molten * 1296, block, blockTemp + 300);
mods.tconstruct.Casting.addBasinRecipe(block.itemArray[0], null, molten, 1296, false, blockCastingTime);
}
if (!isNull(nugget)) {
mods.tconstruct.Melting.addRecipe(molten * 16, nugget, nuggetTemp + 300);
mods.tconstruct.Casting.addTableRecipe(nugget.itemArray[0], <tconstruct:cast_custom:1>, molten, 16, false, nuggetCastingTime);
}
}

//helper method adding compression and decompression recipes for a material
function addCompressionRecipes(alias as string, nugget as IIngredient, ingot as IIngredient, block as IIngredient) {
if (!isNull(nugget) && !isNull(ingot)) {
recipes.addShapeless(alias + "_decompress_ingot", nugget.itemArray[0] * 9, [ingot]);
recipes.addShaped(alias + "_compress_nugget", ingot.itemArray[0], [
[nugget, nugget, nugget],
[nugget, nugget, nugget],
[nugget, nugget, nugget]
]);
}
if (!isNull(ingot) && !isNull(block)) {
recipes.addShapeless(alias + "_decompress_block", ingot.itemArray[0] * 9, [block]);
recipes.addShaped(alias + "_compress_ingot", block.itemArray[0], [
[ingot, ingot, ingot],
[ingot, ingot, ingot],
[ingot, ingot, ingot]
]);
}
}
Loading