Skip to content

Commit

Permalink
Tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
Cart3r1234 committed Jul 12, 2023
1 parent a3ec92c commit 642d3ce
Show file tree
Hide file tree
Showing 2 changed files with 201 additions and 4 deletions.
38 changes: 35 additions & 3 deletions src/main/resources/assets/portalcubed/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,39 @@

"subtitles.portalcubed.faith_plate": "Faith plate activates",


"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.schrodinger_cube.1": " Links Two Schrödinger Cubes",
"tooltip.portalcubed.schrodinger_cube.2": "Schrodinger Cubes linked by name",
"tooltip.portalcubed.schrodinger_cube.3": "ignore other Schrodinger Cubes.",

"tooltip.portalcubed.radio.1": " Changes if Grabbing the Radio toggles the Music",

"tooltip.portalcubed.velocity_helper.1": " Links Velocity Helpers",
"tooltip.portalcubed.velocity_helper.2": " Opens Configuration Menu",

"tooltip.portalcubed.auto_portal.1": " Changes Portal Type",
"tooltip.portalcubed.auto_portal.2": " Changes Portal Colors",

"tooltip.portalcubed.excursion_funnel_emitter.1": " Changes Funnel Polarity",

"tooltip.portalcubed.faith_plate.1": " Opens Configuration Menu",
"tooltip.portalcubed.faith_plate.2": "Hammer not required in Creative Mode",

"tooltip.portalcubed.pedestal_button.1": " Changes Placement Offset",

"tooltip.portalcubed.light_bridge_emitter.1": " Changes Edge Alignment",


"item.portalcubed.long_fall_boots": "Long Fall Boots",
"item.portalcubed.hammer": "Hammer",
"item.portalcubed.energy_pellet": "High Energy Pellet",
Expand Down Expand Up @@ -80,7 +113,7 @@
"item.portalcubed.mini_blackhole": "Miniature Black Hole",
"item.portalcubed.toxic_goo_bucket": "Toxic Goo Bucket",

"item.portalcubed.turret": "Sentry Turret",
"block.portalcubed.turret": "Sentry Turret",
"block.portalcubed.rocket_turret": "Rocket Turret",

"block.portalcubed.power_block": "Power Block",
Expand Down Expand Up @@ -330,7 +363,7 @@
"block.portalcubed.faith_plate_target": "Aerial Faith Plate Target",

"block.portalcubed.light_bridge_emitter": "Hard Light Bridge Emitter",
"block.portalcubed.light_bridge": "Hard Light Bridge Emitter",
"block.portalcubed.light_bridge": "Hard Light Bridge",

"portalcubed.midnightconfig.title": "Portal Cubed Config",
"portalcubed.midnightconfig.maxBridgeLength": "Maximum Emitter Block Range",
Expand Down Expand Up @@ -366,7 +399,6 @@
"key.portalcubed.remove_portals" : "Remove Portals",
"key.portalcubed.toggle_hidden_blocks" : "Toggle Hidden Blocks",

"block.portalcubed.auto_portal.tooltip": "Interact with a Hammer to change portal type.",
"portalcubed.auto_portal.set_portal_type": "Set portal type to %s",
"portalcubed.portal_type.primary": "Primary",
"portalcubed.portal_type.secondary": "Secondary",
Expand Down
167 changes: 166 additions & 1 deletion src/main/resources/tooltips.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,173 @@
{
"auto_portal": [
{
"translate": "block.portalcubed.auto_portal.tooltip",
"translate": "tooltip.portalcubed.hammer_interaction",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.auto_portal.1",
"color": "blue"
},
{
"translate": "tooltip.portalcubed.empty",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.dye_interaction",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.auto_portal.2",
"color": "blue"
}
],
"hammer": [
{
"translate": "tooltip.portalcubed.hammer.1",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.empty",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.hammer.2",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.hammer.3",
"color": "gray"
}
],
"schrodinger_cube": [
{
"translate": "tooltip.portalcubed.name_tag_interaction",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.schrodinger_cube.1",
"color": "blue"
},
{
"translate": "tooltip.portalcubed.empty",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.schrodinger_cube.2",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.schrodinger_cube.3",
"color": "gray"
}
],
"radio": [
{
"translate": "tooltip.portalcubed.hammer_interaction",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.radio.1",
"color": "blue"
}
],
"velocity_helper": [
{
"translate": "tooltip.portalcubed.hammer_interaction",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.velocity_helper.1",
"color": "blue"
},
{
"translate": "tooltip.portalcubed.empty",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.velocity_helper_interaction",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.velocity_helper.2",
"color": "blue"
}
],
"excursion_funnel_emitter": [
{
"translate": "tooltip.portalcubed.hammer_interaction",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.excursion_funnel_emitter.1",
"color": "blue"
}
],
"pedestal_button": [
{
"translate": "tooltip.portalcubed.hammer_interaction",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.pedestal_button.1",
"color": "blue"
}
],
"old_ap_pedestal_button": [
{
"translate": "tooltip.portalcubed.hammer_interaction",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.pedestal_button.1",
"color": "blue"
}
],
"light_bridge_emitter": [
{
"translate": "tooltip.portalcubed.hammer_interaction",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.light_bridge_emitter.1",
"color": "blue"
}
],
"faith_plate": [
{
"translate": "tooltip.portalcubed.hammer_interaction",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.faith_plate.1",
"color": "blue"
},
{
"translate": "tooltip.portalcubed.empty",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.faith_plate.2",
"color": "gray"
}
],
"beta_faith_plate": [
{
"translate": "tooltip.portalcubed.hammer_interaction",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.faith_plate.1",
"color": "blue"
},
{
"translate": "tooltip.portalcubed.empty",
"color": "gray"
},
{
"translate": "tooltip.portalcubed.faith_plate.2",
"color": "gray"
}
]

}

0 comments on commit 642d3ce

Please sign in to comment.