Skip to content

Commit

Permalink
Achievement Advancements and other minor changes
Browse files Browse the repository at this point in the history
- Added a handful of task and challenge advancements
- Added subtitles to more sounds
- Some lang/tooltip tweaks
- Minor texture and recipe tweaks for a few items
  • Loading branch information
Cart3r1234 committed Jul 21, 2023
1 parent a30855c commit 1ddb7fb
Show file tree
Hide file tree
Showing 34 changed files with 1,392 additions and 8 deletions.
77 changes: 72 additions & 5 deletions src/main/resources/assets/portalcubed/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@

"subtitles.portalcubed.gel_bounce": "Something bounces on propulsion gel",
"subtitles.portalcubed.gel_run": "Something slides on propulsion gel",
"subtitles.portalcubed.gel_blob_splash": "Gel blob splashes",

"subtitles.portalcubed.portal_gun_secondary_fire": "Portal gun secondary fire",
"subtitles.portalcubed.portal_gun_primary_fire": "Portal gun primary fire",
"subtitles.portalcubed.portal_invalid_surface": "Portal gun failed",
"subtitles.portalcubed.portal_gun_secondary_fire": "Portal gun shoots secondary portal",
"subtitles.portalcubed.portal_gun_primary_fire": "Portal gun shoots primary portal",
"subtitles.portalcubed.portal_invalid_surface": "Portal gun shot fails",

"subtitles.portalcubed.portal_open": "Portal opens",
"subtitles.portalcubed.portal_close": "Portal closes",
"subtitles.portalcubed.portal_fizzle": "Portal fizzles",
"subtitles.portalcubed.portal_enter": "Something enters a portal",
"subtitles.portalcubed.portal_exit": "Something exits a portal",

"subtitles.portalcubed.material_emancipation": "Something disintegrates",

Expand All @@ -30,6 +33,7 @@
"subtitles.portalcubed.rocket.fire": "Rocket launches",
"subtitles.portalcubed.rocket.locked": "Rocket turret fires",
"subtitles.portalcubed.rocket.locking": "Rocket turret locks on",
"subtitles.portalcubed.rocket.explosion": "Rocket explodes",

"subtitles.portalcubed.pellet.bounce": "Energy pellet bounces",
"subtitles.portalcubed.pellet.explode": "Energy pellet explodes",
Expand All @@ -40,15 +44,78 @@
"subtitles.portalcubed.faith_plate": "Faith plate activates",


"advancement.portalcubed.root.title": "Portal Cubed",
"advancement.portalcubed.root.description": "Welcome to Aperture Science! You're here because we want the best, and you are it.",

"advancement.portalcubed.hammer_time.title": "Stop - Hammer Time!",
"advancement.portalcubed.hammer_time.description": "Use a Hammer to configure a test element",

"advancement.portalcubed.radio.title": "Tunes to Test to",
"advancement.portalcubed.radio.description": "Obtain a Radio",
"advancement.portalcubed.cubes.title": "Cubes to Keep You Company",
"advancement.portalcubed.cubes.description": "Obtain one of every cube variant",
"advancement.portalcubed.hoopy.title": "The Next Big Thing",
"advancement.portalcubed.hoopy.description": "Hold Hoopy the Hoop",
"advancement.portalcubed.rattmann.title": "I am Rattmann",
"advancement.portalcubed.rattmann.description": "Obtain every prop that can be found in a Rattmann den",

"advancement.portalcubed.boots.title": "Good Work, Boots",
"advancement.portalcubed.boots.description": "Prevent fall damage using the Long Fall Boots",
"advancement.portalcubed.falling_with_style.title": "Falling With Style",
"advancement.portalcubed.falling_with_style.description": "Trim a pair of Long Fall Boots",
"advancement.portalcubed.feather_falling_boots.title": "But Why?!",
"advancement.portalcubed.feather_falling_boots.description": "Enchant a pair of Long Fall Boots with Feather Falling",

"advancement.portalcubed.autoportal.title": "That Portal Was Framed",
"advancement.portalcubed.autoportal.description": "Place an Autoportal",
"advancement.portalcubed.rainbow_autoportals.title": "Pretty Painted Portal Producers",
"advancement.portalcubed.rainbow_autoportals.description": "Use Red, Orange, Yellow, Green, Blue, and Purple dyes on Autoportals. Any shade of each color works.",

"advancement.portalcubed.pellet.title": "Handle With Care",
"advancement.portalcubed.pellet.description": "Obtain a High Energy Pellet",
"advancement.portalcubed.pellet_bounce.title": "Volleyball World Champion",
"advancement.portalcubed.pellet_bounce.description": "Bounce a High Energy Pellet 35 times before it explodes",

"advancement.portalcubed.laser.title": "It Burns, Ah!",
"advancement.portalcubed.laser.description": "Touch a Thermal Discouragement Beam and become thermally discouraged",

"advancement.portalcubed.goo.title": "The Floor is Failure",
"advancement.portalcubed.goo.description": "Submerse yourself in a pool of Toxic Goo and receive an unsatisfactory mark to your record",

"advancement.portalcubed.faith_plate.title": "Soaring Through the Air...",
"advancement.portalcubed.faith_plate.description": "Launch yourself from an Aerial Faith Plate",

"advancement.portalcubed.light_bridge.title": "Walking on Sunshine",
"advancement.portalcubed.light_bridge.description": "Step onto a Hard Light Bridge",

"advancement.portalcubed.funnel.title": "Look Cave, No Hands!",
"advancement.portalcubed.funnel.description": "Take a ride in an Excursion Funnel",
"advancement.portalcubed.crouch_fly.title": "Sneaky Aviation",
"advancement.portalcubed.crouch_fly.description": "Activate the Crouch Fly Glitch",

"advancement.portalcubed.space_core.title": "Spaaaaaaaaaaaaaaaace!",
"advancement.portalcubed.space_core.description": "Take Space Core to y:500 or higher",

"advancement.portalcubed.repulsion_gel.title": "It's a Lively One",
"advancement.portalcubed.repulsion_gel.description": "Bounce off Repulsion Gel for the first time",
"advancement.portalcubed.propulsion_gel.title": "Gotta Go Fast!",
"advancement.portalcubed.propulsion_gel.description": "Slide on Propulsion Gel for the first time",
"advancement.portalcubed.conversion_gel.title": "Portal Here, There, Anywhere!",
"advancement.portalcubed.conversion_gel.description": "Shoot a portal on Conversion Gel for the first time",
"advancement.portalcubed.adhesion_gel.title": "Nice Try, Gravity",
"advancement.portalcubed.adhesion_gel.description": "Stand on the ceiling with Adhesion Gel",


"tooltip.portalcubed.hammer_interaction": "Interact with Hammer:",
"tooltip.portalcubed.dye_interaction": "Interact with Dye:",
"tooltip.portalcubed.name_tag_interaction": "Interact with Name Tag:",
"tooltip.portalcubed.velocity_helper_interaction": "Interact with Velocity Helper:",
"tooltip.portalcubed.empty": "",

"tooltip.portalcubed.hammer.1": "Used to configure various Test Elements.",
"tooltip.portalcubed.hammer.2": "Required to turn cubes and other props",
"tooltip.portalcubed.hammer.3": "back into items in Survival Mode.",
"tooltip.portalcubed.hammer.2": "Any item tagged as c:wrenches also works as a hammer.",
"tooltip.portalcubed.hammer.3": "Required to turn cubes and other props",
"tooltip.portalcubed.hammer.4": "back into items in Survival Mode.",

"tooltip.portalcubed.schrodinger_cube.1": " Links Two Schrödinger Cubes",
"tooltip.portalcubed.schrodinger_cube.2": "Schrodinger Cubes linked by name",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/portalcubed/sounds.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
]
},
"gel_splat": {
"subtitle": "subtitles.portalcubed.gel_blob_splash",
"sounds": [
"portalcubed:paint_blob_splat_01",
"portalcubed:paint_blob_splat_02",
Expand Down Expand Up @@ -208,6 +209,7 @@
"subtitle": "subtitles.portalcubed.rocket.locking"
},
"rocket/explode": {
"subtitle": "subtitles.portalcubed.rocket.explosion",
"sounds": [
"portalcubed:rocket/blast1"
]
Expand Down
Binary file modified src/main/resources/assets/portalcubed/textures/item/auto_portal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/assets/portalcubed/textures/item/hammer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"display": {
"icon": {
"item": "portalcubed:adhesion_gel"
},
"title": {
"translate": "advancement.portalcubed.adhesion_gel.title"
},
"description": {
"translate": "advancement.portalcubed.adhesion_gel.description"
},
"frame": "challenge",
"show_toast": true,
"announce_to_chat": true,
"hidden": true
},
"parent": "portalcubed:achievements/conversion_gel",
"criteria": {
"run": {
"trigger": "minecraft:enter_block",
"conditions": {
"block": "portalcubed:adhesion_gel",
"state": {
"up": "true"
}
}
}
},
"rewards": {
"experience": 50
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"display": {
"icon": {
"item": "portalcubed:auto_portal"
},
"title": {
"translate": "advancement.portalcubed.autoportal.title"
},
"description": {
"translate": "advancement.portalcubed.autoportal.description"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": false,
"hidden": false
},
"parent": "portalcubed:achievements/root",
"criteria": {
"auto_portal": {
"trigger": "minecraft:placed_block",
"conditions": {
"location": [
{
"condition": "minecraft:block_state_property",
"block": "portalcubed:auto_portal",
"properties": {}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"display": {
"icon": {
"item": "portalcubed:long_fall_boots"
},
"title": {
"translate": "advancement.portalcubed.boots.title"
},
"description": {
"translate": "advancement.portalcubed.boots.description"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": false,
"hidden": false
},
"parent": "portalcubed:achievements/root",
"criteria": {
"boots": {
"trigger": "minecraft:fall_from_height",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"feet": {
"items": [
"portalcubed:long_fall_boots"
]
}
}
}
}
],
"distance": {
"y": {
"min": 4
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"display": {
"icon": {
"item": "portalcubed:conversion_gel"
},
"title": {
"translate": "advancement.portalcubed.conversion_gel.title"
},
"description": {
"translate": "advancement.portalcubed.conversion_gel.description"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": false,
"hidden": false
},
"parent": "portalcubed:achievements/propulsion_gel",
"criteria": {
"conversion_gel": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "minecraft:player",
"type_specific": {
"type": "player",
"looking_at": {
"type": "portalcubed:portal",
"location": {
"block": {
"blocks": [
"portalcubed:conversion_gel"
]
}
}
}
},
"nbt": "{SelectedItem:{id: \"portalcubed:portal_gun\"}}",
"equipment": {
"mainhand": {}
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"display": {
"icon": {
"item": "portalcubed:excursion_funnel_emitter"
},
"title": {
"translate": "advancement.portalcubed.crouch_fly.title"
},
"description": {
"translate": "advancement.portalcubed.crouch_fly.description"
},
"frame": "challenge",
"show_toast": true,
"announce_to_chat": true,
"hidden": true
},
"parent": "portalcubed:achievements/funnel",
"criteria": {
"funnel": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "portalcubed:funnel",
"in_funnel": false,
"in_cfg": true
}
]
}
}
},
"rewards": {
"experience": 50
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"display": {
"icon": {
"item": "portalcubed:companion_cube"
},
"title": {
"translate": "advancement.portalcubed.cubes.title"
},
"description": {
"translate": "advancement.portalcubed.cubes.description"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"parent": "portalcubed:achievements/radio",
"criteria": {
"cubes": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"portalcubed:portal_1_storage_cube"
]
},
{
"items": [
"portalcubed:portal_1_companion_cube"
]
},
{
"items": [
"portalcubed:storage_cube"
]
},
{
"items": [
"portalcubed:companion_cube"
]
},
{
"items": [
"portalcubed:redirection_cube"
]
},
{
"items": [
"portalcubed:schrodinger_cube"
]
},
{
"items": [
"portalcubed:old_ap_cube"
]
}
]
}
}
},
"rewards": {
"experience": 25
}
}
Loading

0 comments on commit 1ddb7fb

Please sign in to comment.