Skip to content
Merged
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
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
ForbiddenMagic
==============

Forbidden Magic is a small Minecraft mod written as an add-on for the mod [Thaumcraft](http://www.minecraftforum.net/topic/2011841-). It adds a few magical artifacts of a more sinister bent to the game as well as several interactions between Thaumcraft and other magic-themed mods such as [Blood Magic](http://www.minecraftforum.net/topic/1899223-) or [Ars Magica 2](http://www.minecraftforum.net/topic/2028696-/).
Forbidden Magic is a small Minecraft mod written as an add-on for the mod [Thaumcraft](http://www.minecraftforum.net/topic/2011841-). It adds a few magical artifacts of a more sinister bent to the game as well as several interactions between Thaumcraft and other magic-themed mods such as [Blood Magic](http://www.minecraftforum.net/topic/1899223-) or [Ars Magica 2](http://www.minecraftforum.net/topic/2028696-/).

Forbidden Magic's source and binary are subject to the terms of the WTF Public License.

This mod requires the following mods:
* [Thaumcraft 4](http://www.minecraftforum.net/topic/2011841-)
* [Baubles](https://github.com/GTNewHorizons/Baubles-Expanded/)
* [GTNHLib](https://github.com/GTNewHorizons/GTNHLib)

Extra content is available if any of the following mods are also present:
* [Botania](https://github.com/GTNewHorizons/Botania/): Wand cores and caps that regenerate vis with Botania's mana and three new magical flowers.
* [Blood Magic](https://github.com/GTNewHorizons/BloodMagic): Wand cores and caps that regenerate vis by draining your Soul Network, a bigger blood orb, an anti-blood mage weapon, better scribing tools, and a new ritual. Also adds yet another new flower if Botania is also present.
* [Ars Magica 2](https://www.curseforge.com/minecraft/mc-mods/ars-magica-2): Wand cores and caps that regenerate vis with AM2's mana.
* [Special Mobs](https://github.com/GTNewHorizons/SpecialMobs/): Add aspects to all the mobs and allow them to be spawned in the Wrath Cage.
* [Twilight Forest](https://github.com/GTNewHorizons/twilightforest/): Allow its mobs to be spawned in the Wrath Cage.
* [Equivalent Exchange 3](https://www.curseforge.com/minecraft/mc-mods/ee3): Add EMC values to various Thaumcraft and Forbidden Magic blocks and items.
3 changes: 2 additions & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

dependencies {
api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
api("com.github.GTNewHorizons:Baubles-Expanded:2.2.6-GTNH")
api('com.github.GTNewHorizons:Baubles-Expanded:2.2.6-GTNH:dev')
api("com.github.GTNewHorizons:GTNHLib:0.9.13:dev")

compileOnly('com.github.GTNewHorizons:BloodMagic:1.8.5:dev')
compileOnly('com.github.GTNewHorizons:Botania:1.13.4-GTNH:api')
Expand Down
104 changes: 104 additions & 0 deletions src/main/java/fox/spiteful/forbidden/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,23 @@ public class Config {
public static boolean emc = true;
// public static boolean eewand = true;

public static int infernalCoreCap = 150;
public static int witchwoodCoreCap = 100;
public static int livingwoodCoreCap = 100;
public static int dreamwoodCoreCap = 100;
public static int taintedCoreCap = 150;
public static int profaneCoreCap = 50;
public static int bloodCoreCap = 100;
public static int dreamwoodStaffCap = 250;
public static int bloodStaffCap = 50;
public static int witchwoodStaffCap = 50;

public static double vinteumDiscount = .9;
public static double alchemicalDiscount = .9;
public static double manasteelDiscount = .9;
public static double elementiumDiscount = .8;
public static double terrasteelDiscount = 1.8;

public static int bloodvis = 5;
public static int manavis = 8;

Expand Down Expand Up @@ -191,6 +208,93 @@ public static void configurate(File targ) {
.getInt(bloodvis);
manavis = conf.get("power converters", "Mana to Vis", manavis, "How much Mana 0.01 Vis is worth")
.getInt(manavis);

infernalCoreCap = conf.get(
"wand cores",
"infernalCoreCap",
infernalCoreCap,
"How much capacity the Inferal Wand Core will have (Default: 150)").getInt(infernalCoreCap);
taintedCoreCap = conf.get(
"wand cores",
"taintedCoreCap",
taintedCoreCap,
"How much capacity the Tainted Wand Core will have (Default: 150)").getInt(taintedCoreCap);
profaneCoreCap = conf.get(
"wand cores",
"profaneCoreCap",
profaneCoreCap,
"How much capacity the Profane Wand Core will have (Default: 50)").getInt(profaneCoreCap);
witchwoodCoreCap = conf
.get(
"wand cores",
"witchwoodCoreCap",
witchwoodCoreCap,
"How much capacity the Witchwood Wand Core will have (Default: 100)")
.getInt(witchwoodCoreCap);
livingwoodCoreCap = conf
.get(
"wand cores",
"livingwoodCoreCap",
livingwoodCoreCap,
"How much capacity the Livingwood Wand Core will have (Default: 150)")
.getInt(livingwoodCoreCap);
Comment thread
koolkrafter5 marked this conversation as resolved.
dreamwoodCoreCap = conf.get(
"wand cores",
"dreamwoodCoreCap",
dreamwoodCoreCap,
"How much capacity the Dreamwood Wand Core will (Default: 100)").getInt(dreamwoodCoreCap);
bloodCoreCap = conf.get(
"wand cores",
"bloodCoreCap",
bloodCoreCap,
"How much capacity the Blood Wand Core will have (Default: 100)").getInt(bloodCoreCap);
dreamwoodStaffCap = conf.get(
"wand cores",
"dreamwoodStaffCap",
dreamwoodStaffCap,
"How much capacity the Dreamwood Staff will have (Default: 250)").getInt(dreamwoodStaffCap);
bloodStaffCap = conf.get(
"wand cores",
"bloodStaffCap",
bloodStaffCap,
"How much capacity the Blood Staff will have (Default: 50)").getInt(bloodStaffCap);
witchwoodStaffCap = conf.get(
"wand cores",
"witchwoodStaffCap",
witchwoodStaffCap,
"How much capacity the Witchwood Staff will have (Default: 50)").getInt(witchwoodStaffCap);

vinteumDiscount = conf.get(
"wand caps",
"vinteumDiscount",
vinteumDiscount,
"How much discount the Vinteum Caps will have (Default: .9)").getDouble(vinteumDiscount);
alchemicalDiscount = conf.get(
"wand caps",
"alchemicalDiscount",
alchemicalDiscount,
"How much discount the Alchemical Caps will have (Default: .9)" + '\n'
+ "Has a 10% additional discount on Aqua")
.getDouble(alchemicalDiscount);
manasteelDiscount = conf.get(
"wand caps",
"manasteelDiscount",
manasteelDiscount,
"How much discount the Manasteel Caps will have Default: .9)").getDouble(manasteelDiscount);
elementiumDiscount = conf
.get(
"wand caps",
"elementiumDiscount",
elementiumDiscount,
"How much discount the Elementium Caps will have (Default: .8)")
.getDouble(elementiumDiscount);
terrasteelDiscount = conf
.get(
"wand caps",
"terrasteelDiscount",
terrasteelDiscount,
"How much discount the Terrasteel Caps will have (Default: 1.8)")
.getDouble(terrasteelDiscount);
Comment thread
koolkrafter5 marked this conversation as resolved.
} catch (Exception e) {
LogHandler.log(Level.ERROR, e, "Had a problem loading its configuration.");
} finally {
Expand Down
Loading