Skip to content

Commit

Permalink
Add some advancements (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
legobmw99 committed Jan 12, 2024
1 parent 1fed0a7 commit f00682b
Show file tree
Hide file tree
Showing 14 changed files with 465 additions and 20 deletions.
5 changes: 5 additions & 0 deletions src/generated/resources/assets/allomancy/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"advancements.become_mistborn.desc": "You have a power most people envy...",
"advancements.become_mistborn.title": "Become Mistborn!",
"advancements.coinshot.desc": "Kill a mob with the bag of coins.",
"advancements.coinshot.title": "Coinshot",
"advancements.dna_entangled.desc": "Your DNA is too entangled with the spiritual realm to use Lerasium",
"advancements.dna_entangled.title": "Spiritual DNA Entanglement",
"advancements.local_metallurgist.desc": "Craft a grinder to begin mixing metals",
"advancements.local_metallurgist.title": "Local Metallurgist!",
"advancements.metallic_collector.desc": "Collect every single metallic flake, even the useless ones",
"advancements.metallic_collector.title": "Metallic Collector",
"allomancy.networking.failed": "Allomancy packet failed to play: %s",
"allomancy.networking.kicked": "Requested illegal action: %s",
"block.allomancy.aluminum_block": "Aluminum Block",
Expand Down Expand Up @@ -309,6 +313,7 @@
"commands.allomancy.removepower": "%s removed Allomantic power %s",
"commands.allomancy.unrecognized": "Unrecognized Allomancy power: '%s'",
"config.jade.plugin_allomancy.waila_bronze": "Allomancy: Show burning metals when seeking",
"death.attack.allomancy.coin": "%1$s was perforated by coins from %2$s",
"entity.allomancy.nugget_projectile": "Nugget Projectile",
"item.allomancy.allomantic_grinder": "Hand Grinder",
"item.allomancy.aluminum_flakes": "Aluminum Flakes",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"parent": "allomancy:main/metallurgist",
"criteria": {
"nugget_kill": {
"conditions": {
"killing_blow": {
"tags": [
{
"expected": true,
"id": "allomancy:is_coin_hit"
}
]
}
},
"trigger": "minecraft:player_killed_entity"
}
},
"display": {
"description": {
"translate": "advancements.coinshot.desc"
},
"icon": {
"item": "allomancy:coin_bag"
},
"title": {
"translate": "advancements.coinshot.title"
}
},
"requirements": [
[
"nugget_kill"
]
],
"sends_telemetry_event": true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,290 @@
{
"parent": "allomancy:main/metallurgist",
"criteria": {
"has_aluminum_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:aluminum_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_bendalloy_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:bendalloy_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_brass_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:brass_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_bronze_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:bronze_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_cadmium_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:cadmium_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_chromium_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:chromium_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_copper_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:copper_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_duralumin_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:duralumin_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_electrum_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:electrum_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_gold_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:gold_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_iron_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:iron_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_lead_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:lead_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_nicrosil_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:nicrosil_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_pewter_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:pewter_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_silver_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:silver_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_steel_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:steel_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_tin_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:tin_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_zinc_flakes": {
"conditions": {
"items": [
{
"items": [
"allomancy:zinc_flakes"
]
}
]
},
"trigger": "minecraft:inventory_changed"
}
},
"display": {
"description": {
"translate": "advancements.metallic_collector.desc"
},
"frame": "challenge",
"icon": {
"item": "allomancy:vial"
},
"title": {
"translate": "advancements.metallic_collector.title"
}
},
"requirements": [
[
"has_iron_flakes"
],
[
"has_steel_flakes"
],
[
"has_tin_flakes"
],
[
"has_pewter_flakes"
],
[
"has_zinc_flakes"
],
[
"has_brass_flakes"
],
[
"has_copper_flakes"
],
[
"has_bronze_flakes"
],
[
"has_aluminum_flakes"
],
[
"has_duralumin_flakes"
],
[
"has_chromium_flakes"
],
[
"has_nicrosil_flakes"
],
[
"has_gold_flakes"
],
[
"has_electrum_flakes"
],
[
"has_cadmium_flakes"
],
[
"has_bendalloy_flakes"
],
[
"has_lead_flakes"
],
[
"has_silver_flakes"
]
],
"sends_telemetry_event": true
}
5 changes: 5 additions & 0 deletions src/generated/resources/data/allomancy/damage_type/coin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"exhaustion": 0.0,
"message_id": "allomancy.coin",
"scaling": "when_caused_by_living_non_player"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"allomancy:coin"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"allomancy:coin"
]
}
Loading

0 comments on commit f00682b

Please sign in to comment.