Skip to content

Instantly share code, notes, and snippets.

@kane-thornwyrd
Created August 20, 2015 22:24
Show Gist options
  • Save kane-thornwyrd/a9e691a3857d73697269 to your computer and use it in GitHub Desktop.
Save kane-thornwyrd/a9e691a3857d73697269 to your computer and use it in GitHub Desktop.
import minetweaker.item.IItemStack;
import minetweaker.liquid.ILiquidStack;
mods.tconstruct.Smeltery.addMelting(<VeganOption:potatoStarch>, <liquid:plastic> * 144, 2000, <MineFactoryReloaded:plastic>);
var tConstructParts = [
# Bow Limb
<TConstruct:BowLimbPart:1000>,
# Crossbow Body
<TConstruct:CrossbowBodyPart:1000>,
# Crossbow Limb
<TConstruct:CrossbowLimbPart:1000>,
# Shuriken
<TConstruct:ShurikenPart:1000>,
# Crossbar
<TConstruct:crossbar:1000>,
# Excavator Head
<TConstruct:excavatorHead:1000>,
# Pan
<TConstruct:frypanHead:1000>,
# Full Guard
<TConstruct:fullGuard:1000>,
# Hammer Head
<TConstruct:hammerHead:1000>,
# Hand Guard
<TConstruct:handGuard:1000>,
# Axe Head
<TConstruct:hatchetHead:1000>,
# Large Plate
<TConstruct:heavyPlate:1000>,
# Knife Blade
<TConstruct:knifeBlade:1000>,
# Large Sword Blade
<TConstruct:largeSwordBlade:1000>,
# Pickaxe Head
<TConstruct:pickaxeHead:1000>,
# Scythe Head
<TConstruct:scytheBlade:1000>,
# Shovel Head
<TConstruct:shovelHead:1000>,
# Sign Head
<TConstruct:signHead:1000>,
# Sword Blade
<TConstruct:swordBlade:1000>,
# Tool Rod
<TConstruct:toolRod:1000>,
# Tough Binding
<TConstruct:toughBinding:1000>,
# Tough Rod
<TConstruct:toughRod:1000>,
# Wide Guard
<TConstruct:wideGuard:1000>
] as IItemStack[];
var tConstructCasts = [
# Bow Limb
<TConstruct:Cast:3>,
# Crossbow Body
<TConstruct:Cast:2>,
# Crossbow Limb
<TConstruct:Cast:1>,
# Shuriken
<TConstruct:Cast>,
# Crossbar
<TConstruct:metalPattern:8>,
# Excavator Head
<TConstruct:metalPattern:19>,
# Pan
<TConstruct:metalPattern:10>,
# Full Guard
<TConstruct:metalPattern:22>,
# Hammer Head
<TConstruct:metalPattern:21>,
# Hand Guard
<TConstruct:metalPattern:7>,
# Axe Head
<TConstruct:metalPattern:4>,
# Large Plate
<TConstruct:metalPattern:16>,
# Knife Blade
<TConstruct:metalPattern:12>,
# Large Sword Blade
<TConstruct:metalPattern:20>,
# Pickaxe Head
<TConstruct:metalPattern:2>,
# Scythe Head
<TConstruct:metalPattern:18>,
# Shovel Head
<TConstruct:metalPattern:3>,
# Sign Head
<TConstruct:metalPattern:11>,
# Sword Blade
<TConstruct:metalPattern:5>,
# Tool Rod
<TConstruct:metalPattern:1>,
# Tough Binding
<TConstruct:metalPattern:15>,
# Tough Rod
<TConstruct:metalPattern:14>,
# Wide Guard
<TConstruct:metalPattern:6>
] as IItemStack[];
var costs = [
];
for i, part in tConstructParts {
mods.tconstruct.Casting.addTableRecipe(part, <liquid:plastic>, tConstructCasts[i], false, 20);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment