Skip to content

Commit

Permalink
feat: update advancements
Browse files Browse the repository at this point in the history
  • Loading branch information
Elenterius committed Jun 16, 2023
1 parent 6a7def8 commit f379e9f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,16 @@ private void registerBiomancyAdvancements(Consumer<Advancement> consumer, Existi
.addHasCriterion(ModItemTags.RAW_MEATS)
.save(consumer, fileHelper);

Advancement greedyButcher = createAdvancement("greedy_butcher").parent(root).icon(ModItems.DESPOIL_SICKLE.get())
Advancement primalCore = createAdvancement("flesh").parent(root).icon(ModItems.PRIMORDIAL_CORE.get())
.title("Primal Vision")
.description("You feel an ancient presence from the ender pearl. As you gaze into the pearl... portals... you feel compelled to combine it with raw meat... cross the boundary...")
.frameType(FrameType.CHALLENGE).showToast()
.addHasCriterion(Items.ENDER_PEARL)
.save(consumer, fileHelper);

Advancement greedyButcher = createAdvancement("greedy_butcher").parent(primalCore).icon(ModItems.DESPOIL_SICKLE.get())
.title("Greedy Butcher")
.description("You've acquired a taste for organs. Crafted a special tool to get them fresh from your victims death.")
.description("You've acquired a taste for organs. Craft the plundering Sickle to get them fresh from your victims death.")
.showToast()
.addHasCriterion(ModItems.DESPOIL_SICKLE.get())
.save(consumer, fileHelper);
Expand All @@ -127,7 +134,7 @@ private void registerBiomancyAdvancements(Consumer<Advancement> consumer, Existi
createAdvancement("predator_killer").parent(greedyButcher).icon(ModItems.MOB_FANG.get())
.title("Predator Killer")
.description("Hunt predators and collect their fangs and claws.")
.frameType(FrameType.CHALLENGE).showToast().announceToChat().hidden()
.frameType(FrameType.CHALLENGE).showToast().announceToChat()
.addCriterion("has_killed_fangs_mob", hasKilledEntityTag(ModEntityTags.SHARP_FANG))
.addCriterion("has_killed_claws_mob", hasKilledEntityTag(ModEntityTags.SHARP_CLAW))
.addHasCriterion(ModItems.MOB_FANG.get())
Expand All @@ -141,49 +148,42 @@ private void registerBiomancyAdvancements(Consumer<Advancement> consumer, Existi
.addCriterion("has_killed_cat", hasKilledEntity(EntityType.CAT))
.save(consumer, fileHelper);

Advancement cradle = createAdvancement("flesh").parent(root).icon(ModItems.PRIMORDIAL_CORE.get())
.title("[WIP] Primal Vision")
.description("[WIP] You feel an ancient presence from the ender eye. As you gaze into the pearl... portals... you feel compelled to combine it with raw meat... cross the boundary...")
.frameType(FrameType.CHALLENGE).showToast()
.addHasCriterion(Items.ENDER_EYE)
.save(consumer, fileHelper);

Advancement livingFlesh = createAdvancement("living_flesh").parent(cradle).icon(ModItems.PRIMORDIAL_CRADLE.get())
.title("Reviving Flesh")
.description("[WIP] The Primordial Core is whispering of a bowl filled with life...")
Advancement primalCradle = createAdvancement("cradle").parent(primalCore).icon(ModItems.PRIMORDIAL_CRADLE.get())
.title("Cradle of Life")
.description("The Primordial Core is whispering of a bowl filled with life... build the flesh construct and feed it with organic materials.")
.showToast()
.addCriterion("placed_creator", hasPlacedBlock(ModBlocks.PRIMORDIAL_CRADLE.get()))
.addCriterion("has_placed_cradle", hasPlacedBlock(ModBlocks.PRIMORDIAL_CRADLE.get()))
.save(consumer, fileHelper);

createAdvancement("healing_activator_sacrifice").parent(livingFlesh).icon(PotionUtils.setPotion(new ItemStack(Items.POTION), Potions.STRONG_HEALING))
createAdvancement("healing_activator_sacrifice").parent(primalCradle).icon(PotionUtils.setPotion(new ItemStack(Items.POTION), Potions.STRONG_HEALING))
.title("Healing Activator")
.description("It's seems like fluids enriched in life energy are needed. Jumpstart the process with a few healing potions.")
.showToast()
.addCriterion("has_sacrificed_healing_activator", hasSacrificedItem(Items.POTION))
.save(consumer, fileHelper);

createAdvancement("raw_meat_sacrifice").parent(livingFlesh).icon(Items.BEEF)
createAdvancement("raw_meat_sacrifice").parent(primalCradle).icon(Items.BEEF)
.title("Tartar Delight")
.description("Serve raw meat to the Primordial Cradle.")
.showToast()
.addCriterion("has_sacrificed_raw_meat", hasSacrificedTag(ModItemTags.RAW_MEATS))
.save(consumer, fileHelper);

createAdvancement("cooked_meat_sacrifice").parent(livingFlesh).icon(Items.COOKED_BEEF)
createAdvancement("cooked_meat_sacrifice").parent(primalCradle).icon(Items.COOKED_BEEF)
.title("Cooked Meat Disrelish")
.description("Serve cooked meat to the Primordial Cradle.")
.showToast().hidden()
.addCriterion("has_sacrificed_cooked_meat", hasSacrificedTag(ModItemTags.COOKED_MEATS))
.save(consumer, fileHelper);

createAdvancement("decomposer").parent(livingFlesh).icon(ModItems.DECOMPOSER.get())
createAdvancement("decomposer").parent(primalCradle).icon(ModItems.DECOMPOSER.get())
.title("Munch & Crunch")
.description("You suddenly feel disgusted by the composter. You should use a semi-living construct to decompose things into their base parts.")
.showToast()
.addHasCriterion(ModItems.DECOMPOSER.get())
.save(consumer, fileHelper);

Advancement bioForge = createAdvancement("bio_forge").parent(livingFlesh).icon(ModItems.BIO_FORGE.get())
Advancement bioForge = createAdvancement("bio_forge").parent(primalCradle).icon(ModItems.BIO_FORGE.get())
.title("Organic Smithing")
.description("You dreamt of a Bio-Construct weaving organic parts together into intricate semi-living things... You don't know when, but you built it.")
.frameType(FrameType.GOAL).showToast().announceToChat()
Expand All @@ -206,7 +206,7 @@ private void registerBiomancyAdvancements(Consumer<Advancement> consumer, Existi

createAdvancement("bio_injector").parent(bioLab).icon(ModItems.INJECTOR.get())
.title("Injections")
.description("Craft a Bio-Injector to be able to forcefully inject Serums into all living things.")
.description("Craft a Injector to be able to forcefully inject Serums into all living things.")
.showToast()
.addHasCriterion(ModItems.INJECTOR.get())
.save(consumer, fileHelper);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ private void addItemTranslations() {
addItem(ModItems.DESPOIL_SICKLE, "Flesh Plunderer", "A very brittle yet highly specialized tool for pillaging special loot from dying mobs.\n\nWhen held in any Hand the tool guarantees Despoil Loot to drop while receiving additional durability damage.");
addItem(ModItems.VIAL, "Organic Vial", "A small organic container with very high alchemical resistance, perfect for holding reactive substances.\nThe vial dissolves on use.");
addItem(ModItems.LIVING_FLESH, "Living Flesh", "It's alive!\nBut it looks too dumb to be the brain of a mob. You should turn it into a construct.");
addItem(ModItems.PRIMORDIAL_CORE, "Primordial Core", "[WIP] A ominous artifact made of flesh. It makes you feel uneasy...");
addItem(ModItems.PRIMORDIAL_CORE, "Primordial Core", "A ominous artifact made of flesh. It makes you feel uneasy...");
// addItem(ModItems.PRIMORDIAL_LIVING_OCULUS, "Primordial Oculus", "A ominous eye is gazing at you...");
addItem(ModItems.GUIDE_BOOK, "[WIP] Primordial Index", "[WIP] Ask questions?");
addItem(ModItems.CREATOR_MIX, "Exotic Flesh Mix", "A meal made for the cradle... just not for you.");
Expand Down
14 changes: 7 additions & 7 deletions src/generated/resources/assets/biomancy/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"item.biomancy.living_flesh": "Living Flesh",
"item.biomancy.living_flesh.tooltip": "It's alive!\nBut it looks too dumb to be the brain of a mob. You should turn it into a construct.",
"item.biomancy.primordial_core": "Primordial Core",
"item.biomancy.primordial_core.tooltip": "[WIP] A ominous artifact made of flesh. It makes you feel uneasy...",
"item.biomancy.primordial_core.tooltip": "A ominous artifact made of flesh. It makes you feel uneasy...",
"item.biomancy.guide_book": "[WIP] Primordial Index",
"item.biomancy.guide_book.tooltip": "[WIP] Ask questions?",
"item.biomancy.creator_mix": "Exotic Flesh Mix",
Expand Down Expand Up @@ -349,8 +349,10 @@
"block.minecraft.banner.biomancy.mascot_accent.black": "Black Mascot Accent",
"advancements.biomancy.root.title": "Meat Whisperer",
"advancements.biomancy.root.description": "You feel a presence in the flesh, it whispers into your ears: \"Raw Meat is useful...\"",
"advancements.biomancy.flesh.title": "Primal Vision",
"advancements.biomancy.flesh.description": "You feel an ancient presence from the ender pearl. As you gaze into the pearl... portals... you feel compelled to combine it with raw meat... cross the boundary...",
"advancements.biomancy.greedy_butcher.title": "Greedy Butcher",
"advancements.biomancy.greedy_butcher.description": "You've acquired a taste for organs. Crafted a special tool to get them fresh from your victims death.",
"advancements.biomancy.greedy_butcher.description": "You've acquired a taste for organs. Craft the plundering Sickle to get them fresh from your victims death.",
"advancements.biomancy.organ_trader.title": "Organ Trader",
"advancements.biomancy.organ_trader.description": "Become the funnel for fleshy parts and trade various organs with villagers.",
"advancements.biomancy.poacher.title": "Rare Animal Poacher",
Expand All @@ -359,10 +361,8 @@
"advancements.biomancy.predator_killer.description": "Hunt predators and collect their fangs and claws.",
"advancements.biomancy.cat_killer.title": "Kitty Cat Killer",
"advancements.biomancy.cat_killer.description": "Kill a innocent cat.",
"advancements.biomancy.flesh.title": "[WIP] Primal Vision",
"advancements.biomancy.flesh.description": "[WIP] You feel an ancient presence from the ender eye. As you gaze into the pearl... portals... you feel compelled to combine it with raw meat... cross the boundary...",
"advancements.biomancy.living_flesh.title": "Reviving Flesh",
"advancements.biomancy.living_flesh.description": "[WIP] The Primordial Core is whispering of a bowl filled with life...",
"advancements.biomancy.cradle.title": "Cradle of Life",
"advancements.biomancy.cradle.description": "The Primordial Core is whispering of a bowl filled with life... build the flesh construct and feed it with organic materials.",
"advancements.biomancy.healing_activator_sacrifice.title": "Healing Activator",
"advancements.biomancy.healing_activator_sacrifice.description": "It's seems like fluids enriched in life energy are needed. Jumpstart the process with a few healing potions.",
"advancements.biomancy.raw_meat_sacrifice.title": "Tartar Delight",
Expand All @@ -378,7 +378,7 @@
"advancements.biomancy.bio_lab.title": "Is this still Alchemy?",
"advancements.biomancy.bio_lab.description": "You had an epiphany, why use crude inorganic tools to brew potions if an Bio-Construct can do it better. No longer do you need to mix or adjust the heat by yourself.",
"advancements.biomancy.bio_injector.title": "Injections",
"advancements.biomancy.bio_injector.description": "Craft a Bio-Injector to be able to forcefully inject Serums into all living things.",
"advancements.biomancy.bio_injector.description": "Craft a Injector to be able to forcefully inject Serums into all living things.",
"advancements.biomancy.organic_compounds.title": "Organic Bio-Alchemy",
"advancements.biomancy.organic_compounds.description": "Combine various organic secretions and substances to create Compounds and Serums.",
"advancements.biomancy.exotic_compounds.title": "Exotic Bio-Alchemy",
Expand Down

0 comments on commit f379e9f

Please sign in to comment.