Add new recipes
This commit is contained in:
@@ -9,7 +9,6 @@ val ironShovel = <minecraft:iron_shovel>;
|
||||
val ironHoe = <minecraft:iron_hoe>;
|
||||
val ironPickaxe = <minecraft:iron_pickaxe>;
|
||||
val ironAxe = <minecraft:iron_axe>;
|
||||
|
||||
val diamondShovel = <minecraft:diamond_shovel>;
|
||||
val diamondHoe = <minecraft:diamond_hoe>;
|
||||
val diamondPickaxe = <minecraft:diamond_pickaxe>;
|
||||
@@ -23,6 +22,23 @@ val moxFuel = <ic2:quad_mox_fuel_rod>;
|
||||
val mfsu = <ic2:te:75>;
|
||||
val nuclearMissile = <icbmclassic:explosives:15>;
|
||||
|
||||
val nuclearReactor = <ic2:te:22>;
|
||||
val nuclearChamber = <ic2:te:24>;
|
||||
val advancedMachineCasing = <ic2:resource:13>;
|
||||
val advancedCircuit = <ic2:crafting:2>;
|
||||
val uranium235 = <ic2:nuclear:1>;
|
||||
val enrichedUraniumNuclearFuel = <ic2:nuclear:0>;
|
||||
val moxNuclearFuel = <ic2:nuclear:4>;
|
||||
val plutonium = <ic2:nuclear:3>;
|
||||
val reactorPlating = <ic2:plating:0>;
|
||||
val advancedAlloy = <ic2:crafting:3>;
|
||||
val rtgPellets = <ic2:nuclear:10>;
|
||||
|
||||
val heavyDutyPlatingT1 = <galacticraftcore:heavy_plating:0>;
|
||||
|
||||
val stableUnstableNugget = <extrautils2:unstableingots:1>;
|
||||
val stableUnstableIngot = <extrautils2:unstableingots:2>;
|
||||
val unstableIngot = <extrautils2:unstableingots:0>;
|
||||
|
||||
val tools = [
|
||||
<minecraft:iron_shovel>,
|
||||
@@ -35,23 +51,59 @@ val tools = [
|
||||
<minecraft:diamond_axe>
|
||||
] as IItemStack[];
|
||||
|
||||
// Functions
|
||||
function setDurabilityAndTooltip(item as IItemStack) as void {
|
||||
item.maxDamage = 2;
|
||||
item.addTooltip(format.red("This tool is useless, use Tinkers' Construct"));
|
||||
}
|
||||
|
||||
//for tool in tools {
|
||||
// setDurabilityAndTooltip(tool);
|
||||
//}
|
||||
for tool in tools {
|
||||
setDurabilityAndTooltip(tool);
|
||||
}
|
||||
|
||||
|
||||
// Removals
|
||||
recipes.remove(russianItem);
|
||||
recipes.remove(antimatterExplosives);
|
||||
recipes.remove(antimatterMissile);
|
||||
recipes.remove(nuclearReactor);
|
||||
recipes.remove(nuclearChamber);
|
||||
recipes.remove(stableUnstableIngot);
|
||||
recipes.remove(stableUnstableNugget);
|
||||
recipes.remove(enrichedUraniumNuclearFuel);
|
||||
recipes.remove(moxNuclearFuel);
|
||||
recipes.remove(reactorPlating);
|
||||
recipes.remove(rtgPellets);
|
||||
|
||||
recipes.addShapeless(reactorPlating, [heavyDutyPlatingT1, advancedAlloy]);
|
||||
|
||||
recipes.addShaped(rtgPellets, [
|
||||
[plutonium, plutonium, plutonium],
|
||||
[plutonium, plutonium, plutonium],
|
||||
[plutonium, plutonium, plutonium]
|
||||
]);
|
||||
|
||||
recipes.addShaped(enrichedUraniumNuclearFuel, [
|
||||
[uranium235, uranium235, uranium235],
|
||||
[uranium235, uranium235, uranium235],
|
||||
[uranium235, uranium235, uranium235]
|
||||
]);
|
||||
|
||||
recipes.addShaped(moxNuclearFuel, [
|
||||
[uranium235, uranium235, uranium235],
|
||||
[plutonium, plutonium, plutonium],
|
||||
[uranium235, uranium235, uranium235]
|
||||
]);
|
||||
|
||||
recipes.addShaped(nuclearChamber, [
|
||||
[heavyDutyPlatingT1, heavyDutyPlatingT1, heavyDutyPlatingT1],
|
||||
[heavyDutyPlatingT1, advancedMachineCasing, heavyDutyPlatingT1],
|
||||
[heavyDutyPlatingT1, heavyDutyPlatingT1, heavyDutyPlatingT1]
|
||||
]);
|
||||
|
||||
recipes.addShaped(nuclearReactor, [
|
||||
[unstableIngot, advancedCircuit, unstableIngot],
|
||||
[nuclearChamber, nuclearChamber, nuclearChamber],
|
||||
[unstableIngot, advancedMachineCasing, unstableIngot]
|
||||
]);
|
||||
|
||||
// Recipe Implementations
|
||||
recipes.addShaped(antimatterMissile, [
|
||||
[tier10Rocket, tier10Rocket, tier10Rocket],
|
||||
[tier10Rocket, antimatterExplosives, tier10Rocket],
|
||||
|
||||
Reference in New Issue
Block a user