Skip to content

Commit fcb4196

Browse files
committed
Add research entry for mana beans
1 parent 2589e05 commit fcb4196

File tree

4 files changed

+45
-1
lines changed

4 files changed

+45
-1
lines changed

src/main/java/mod/icarus/crimsonrevelations/NewCrimsonRevelations.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public void preInit(FMLPreInitializationEvent event) {
3737
@EventHandler
3838
public void init(FMLInitializationEvent event) {
3939
CRCompatHandler.init();
40+
4041
CRResearchRegistry.init();
4142

4243
CRRecipes.initArcaneCrafting();
@@ -47,13 +48,15 @@ public void init(FMLInitializationEvent event) {
4748
@EventHandler
4849
public void postinit(FMLPostInitializationEvent event) {
4950
CREntities.registerEntitySpawns();
51+
5052
CRCompatHandler.postInit();
5153
}
5254

5355
@SideOnly(Side.CLIENT)
5456
@EventHandler
5557
public void preInitClient(FMLPreInitializationEvent event) {
5658
MinecraftForge.EVENT_BUS.register(new CRClientEvents());
59+
5760
CRRenderRegistry.preInit();
5861
}
5962

@@ -62,11 +65,14 @@ public void preInitClient(FMLPreInitializationEvent event) {
6265
public void initClient(FMLInitializationEvent event) {
6366
IItemColor itemCrystalPlanterColourHandler = (stack, tintIndex) -> {
6467
Item item = stack.getItem();
68+
6569
if (item == CRItems.MANA_BEAN) {
6670
return ((CRItemManaBean) item).getColor(stack, tintIndex);
6771
}
72+
6873
return 16777215;
6974
};
75+
7076
Minecraft.getMinecraft().getItemColors().registerItemColorHandler(itemCrystalPlanterColourHandler, CRItems.MANA_BEAN);
7177
}
7278

src/main/java/mod/icarus/crimsonrevelations/init/CRResearchRegistry.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import thaumcraft.api.golems.parts.GolemMaterial;
1919
import thaumcraft.api.items.ItemsTC;
2020
import thaumcraft.api.research.ResearchCategories;
21+
import thaumcraft.api.research.ScanBlock;
2122
import thaumcraft.api.research.ScanEntity;
2223
import thaumcraft.api.research.ScanningManager;
2324
import thaumcraft.common.entities.monster.cult.EntityCultistCleric;
@@ -60,10 +61,14 @@ public static void init() {
6061
ThaumcraftApi.registerResearchLocation(new ResourceLocation(NewCrimsonRevelations.MODID, "research/research"));
6162
ThaumcraftApi.registerResearchLocation(new ResourceLocation(NewCrimsonRevelations.MODID, "research/revelations"));
6263

64+
ThaumcraftApi.registerResearchLocation(new ResourceLocation(NewCrimsonRevelations.MODID, "research/compat/thaumcraft"));
65+
6366
// Research
6467
ScanningManager.addScannableThing(new ScanEntity("!CR_CRIMSON_CLERIC", EntityCultistCleric.class, true));
6568
ScanningManager.addScannableThing(new ScanEntity("!CR_CRIMSON_KNIGHT", EntityCultistKnight.class, true));
6669

70+
ScanningManager.addScannableThing(new ScanBlock("!CR_MANA_POD", CRBlocks.MANA_POD));
71+
6772
if (Loader.isModLoaded("thaumicaugmentation") && CRConfig.mod_integration_settings.TA_INTEGRATION) {
6873
// Focus Effects
6974
FocusEngine.registerElement(FocusEffectTaintPoison.class, new ResourceLocation(NewCrimsonRevelations.MODID, "textures/foci/taint_poison.png"), 10354925);

src/main/resources/assets/crimsonrevelations/lang/en_us.lang

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ crimsonrevelations.research.focus_taint_poison.stage.0=Taint Poison is much more
116116
crimsonrevelations.research.overgrown_taintacle.title=Overgrown Taintacle
117117
crimsonrevelations.research.overgrown_taintacle.stage.0=During one of my treks in the Emptiness, I have discovered a significantly stronger and more aggressive Taintacle variant. It seems to have a symbiotic relationship with the environment, which would explain the main source of its power.<BR>Hunting these larger Taintacles would be ideal, I should be able to harvest whatever congealed energy it leaves off for my own purposes.
118118

119+
# Research: Fundamentals
120+
crimsonrevelations.research.mana_pods.title=Mana Pods
121+
crimsonrevelations.research.mana_pods.stage.0=This strange, pod-like plant is only found growing on trees in Magical Forests. They grow very slowly and when harvested, usually only yield one or two colorful beans.<BR>These beans, that I call Mana Beans, contain concentrated amounts of essentia. They can also be consumed for more knowledge on research, though the results afterwards are often a bit unpredictable.<PAGE>They can be replanted on the roof of a block in a Magical Forest, but cultivation proves to be difficult and time-consuming. Bone meal also seems to have no effect on them unlike other plants.<BR>Wild mana pods usually only produce primal aspects, though it is said that planting beans adjacent to existing ones sometimes result in beans with compound aspects.<BR>Fully learning the proper way to farm a specific aspect that I really need would be useful for my studies.
122+
119123
# Research: Bestiary
120124
crimsonrevelations.research.cult_bestiary.title=The Cult Bestiary
121125
crimsonrevelations.research.cult_bestiary.stage.0=I am dedicating this side of the Revelations chapter for any of the different types of Crimson Cult members I encounter. The cultists seem to be human or at least related to humans. However, something is off about them. Their eyes are of a striking glowing red, and their bodies seem to have a higher constitution than a normal body would, surviving wounds that I would not be able to.<PAGE>Whatever process they use to "enhance" themselves is both curious, and at the same time strangely sinister. Interestingly, I can't help but notice the similarity of Angry Zombies to them. Perhaps the remains of failed expeditions?<BR>Of particularly interesting note, they seem to have some form of rank system, or at least that's what I was able to translate. I will note down more about each of the members upon scanning any of them with my Thaumometer.
@@ -126,7 +130,7 @@ crimsonrevelations.research.crimson_cleric.stage.0=The most honored of the low r
126130

127131
crimsonrevelations.research.crimson_knight.title=Crimson Knight
128132
crimsonrevelations.research.crimson_knight.stage.0=These are the main foot soldiers of the Crimson Cult as said by the Crimson Rites, the knights mostly do basic mundane tasks such as protecting Crimson Clerics from harm during their rituals and scouting various areas within the Overworld.<BR>Despite not knowing dangerous spells like the clerics, the knights are actually a very §osneaky§r type, the swords that they carry are tipped with a potent poison. I should thus be careful when dealing with them especially in larger numbers, as even the toughest diamond armor won't protect me from being poisoned.<BR>These tipped swords were recently provided to the knights after a recent arsenal change, the iron swords they had previously were not working too well for them apparently...
129-
crimsonrevelations.research.crimson_knight.addenda.0=It looks like the knights also have their own subrank system based on skill and loyalty. They are promoted to a sergeant after some time and don a stronger sword imbued with magic, they also don't cover their head for clearer vision. Finally, they become commanders which is just one small step before becoming a cleric, I can easily recognize them by their own hoods that they wear and voidified swords that they carry.<PAGE>Encountering these types of knights are more of a rare anomaly, but it is interesting to see how the Crimson Cult has this system in place.
133+
crimsonrevelations.research.crimson_knight.addenda.0=It looks like the knights also have their own subrank system based on skill and loyalty. They are promoted to a sergeant after some time and don a stronger sword imbued with magic, they also don't cover their head for clearer vision. Finally, they become commanders which is just one small step before becoming a cleric, I can easily recognize them by their own hoods that they wear and the voidified swords that they carry.<PAGE>Encountering these types of knights are more of a rare anomaly, but it is interesting to see how the Crimson Cult has this system in place.
130134

131135
crimsonrevelations.text.overgrown_taintacle=You have absorbed some of the Overgrown Taintacle's power.
132136

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"entries": [
3+
{
4+
"key": "!CR_MANA_POD",
5+
"name": "crimsonrevelations.research.mana_pods.title",
6+
"icons": [
7+
"crimsonrevelations:mana_bean"
8+
],
9+
"category": "BASICS",
10+
"parents": [],
11+
"siblings": [],
12+
"meta": [
13+
"ROUND",
14+
"HIDDEN"
15+
],
16+
"location": [
17+
-2,
18+
0
19+
],
20+
"reward_item": [],
21+
"reward_knowledge": [],
22+
"stages": [
23+
{
24+
"text": "crimsonrevelations.research.mana_pods.stage.0"
25+
}
26+
]
27+
}
28+
]
29+
}

0 commit comments

Comments
 (0)