Skip to content

Commit

Permalink
Game portals
Browse files Browse the repository at this point in the history
  • Loading branch information
ellieisjelly committed Jan 23, 2024
1 parent d7b8a0d commit f34e895
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
41 changes: 41 additions & 0 deletions src/main/resources/data/sabotage/game_portals/root.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"type": "nucleoid_extras:styled/advanced_menu",
"name": {
"translate": "gameType.sabotage.sabotage"
},
"icon": "minecraft:shears",
"entries": [
{
"type": "plasmid:game",
"icon": "sabotage:sabotage_chest",
"game": "sabotage:random",
"name": {
"translate": "map.sabotage.random"
}
},
{
"type": "plasmid:game",
"icon": "minecraft:villager_spawn_egg",
"game": "sabotage:village",
"name": {
"translate": "map.sabotage.village"
}
},
{
"type": "plasmid:game",
"icon": "minecraft:netherrack",
"game": "sabotage:hellbound",
"name": {
"translate": "map.sabotage.hellbound"
}
},
{
"type": "plasmid:game",
"icon": "minecraft:white_wool",
"game": "sabotage:skybound",
"name": {
"translate": "map.sabotage.skybound"
}
}
]
}
14 changes: 14 additions & 0 deletions src/main/resources/data/sabotage/games/random.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"type": "plasmid:random",
"games": [
"sabotage:village",
"sabotage:skybound",
"sabotage:hellbound"
],
"name": {
"translate": "gameType.sabotage.sabotage"
},
"icon": {
"id": "minecraft:shears"
}
}
11 changes: 11 additions & 0 deletions src/main/resources/data/sabotage/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,40 @@
"block.sabotage.tester_wool": "Tester Wool",
"block.sabotage.tester_sign": "Tester Sign",
"item.sabotage.detective_shears": "Portable Tester",

"map.sabotage.random": "Random",
"map.sabotage.village": "Village",
"map.sabotage.hellbound": "Hellbound",
"map.sabotage.skybound": "Skybound",

"sabotage.waiting": "Waiting for players.",
"sabotage.full": "Game is full.",

"sabotage.sidebar.countdown": "Get ready!",
"sabotage.sidebar.grace_period.plural": " You have %s seconds left.",
"sabotage.sidebar.grace_period.singular": "You have %s second left.",
"sabotage.sidebar.role": "Your role is: %s",
"sabotage.sidebar.role.desc": "Find and kill all %s",
"sabotage.sidebar.time_left": "Time left: %02d:%02d",

"sabotage.tester.message": "%s is being tested. Check back in %s seconds for the result",
"sabotage.tester.fail": "This tester is on cooldown. Try again in a few seconds.",
"sabotage.detective_shears_reveal": "%s was a %s!",

"sabotage.game_start": "The game has started! You have %s seconds to collect items, gear, or hide. Your roles will be selected after the grace period.",
"sabotage.game_end": "The game has ended! The following players were saboteurs: %s",
"sabotage.game_end.innocents": "Congratulations to all alive %s and %s for figuring out who the %s were.",
"sabotage.game_end.saboteurs": "Congratulations to all alive %s for eradicating all %s",
"sabotage.game_end.none": "No one has won.",
"sabotage.role_reveal": "You are a %s",

"sabotage.innocent": "Innocent",
"sabotage.innocents": "Innocents",
"sabotage.detective": "Detective",
"sabotage.detectives": "Detectives",
"sabotage.saboteur": "Saboteur",
"sabotage.saboteurs": "Saboteurs",

"sabotage.kill_message": "%s was killed. %s players remain.",
"sabotage.kill_message_attacker": "You killed %s %s"
}

0 comments on commit f34e895

Please sign in to comment.