Skip to content

Commit

Permalink
More Dodgeball work
Browse files Browse the repository at this point in the history
  • Loading branch information
DinnerBeef committed Nov 22, 2024
1 parent a3792cb commit 51651f7
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 26 deletions.
6 changes: 6 additions & 0 deletions assets/lt/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,12 @@
"ltminigames.minigame.dodgeball.power_up.subtitle": "%s",
"ltminigames.minigame.dodgeball.gravity.subtitle": "Low Gravity Power-up",
"ltminigames.minigame.donation.dodgeball.rapid_fire": "Rapid Fire Mode",
"ltminigames.minigame.dodgeball.no_jump.subtitle": "Grounded Mode",
"ltminigames.minigame.dodgeball.no_jump_power_up": "Grounded Power-up",
"ltminigames.minigame.dodgeball.slowness.subtitle": "Slowness Mode",
"ltminigames.minigame.dodgeball.slowness_power_up": "Slowness Power-up",
"ltminigames.minigame.dodgeball.glowing_power_up": "Glowing Mode",
"ltminigames.minigame.dodgeball.glowing.subtitle": "Glowing Power-up",
"ltminigames.minigame.donation.dodgeball.rapid_fire.description": "Reduce the dodgeball cooldown for the next 30 seconds",
"ltminigames.minigame.donation.dodgeball.rapid_fire.toast": "%sender% has actived Rapid Fire for 30 seconds!",
"ltminigames.minigame.donation.dodgeball.big_boom": "Big Boom Mode",
Expand Down
48 changes: 24 additions & 24 deletions data/lt/behaviors/dodgeball/donations/disguises.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
[
{
"type": "lt:integrations/packages/disguise",
"id": "tapir_party",
"name": "ltminigames.minigame.donation.tapir_party",
"description": "ltminigames.minigame.donation.tapir_party.description",
"toast": "ltminigames.minigame.donation.tapir_party.toast",
"entity": {
"type": "tropicraft:tapir"
},
"seconds": 60,
"donation_amount": 8.0
},
{
"type": "lt:integrations/packages/disguise",
"id": "tapir_party",
"name": "ltminigames.minigame.donation.tapir_party",
"description": "ltminigames.minigame.donation.tapir_party.description",
"toast": "ltminigames.minigame.donation.tapir_party.toast",
"entity": {
"type": "tropicraft:tapir"
},
"seconds": 60,
"donation_amount": 5.0
},

{
"type": "lt:integrations/packages/disguise",
"id": "manatee_madness",
"name": "ltminigames.minigame.donation.manatee_madness",
"description": "ltminigames.minigame.donation.manatee_madness.description",
"toast": "ltminigames.minigame.donation.manatee_madness.toast",
"entity": {
"type": "tropicraft:manatee"
},
"seconds": 60,
"donation_amount": 8.0
}
{
"type": "lt:integrations/packages/disguise",
"id": "manatee_madness",
"name": "ltminigames.minigame.donation.manatee_madness",
"description": "ltminigames.minigame.donation.manatee_madness.description",
"toast": "ltminigames.minigame.donation.manatee_madness.toast",
"entity": {
"type": "tropicraft:manatee"
},
"seconds": 60,
"donation_amount": 5.0
}
]
56 changes: 56 additions & 0 deletions data/lt/behaviors/dodgeball/items/droppers.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,61 @@
"volume": 2.0,
"pitch": 2.0
}
},
{
"type": "ltminigames:item_dropper",
"loot": [
{
"id": "minecraft:enchanted_golden_apple",
"components": {
"custom_data": {
"power_up": "no_jump"
},
"custom_name": "{\"translate\": \"ltminigames.minigame.dodgeball.no_jump_power_up\", \"color\": \"aqua\"}"
}
},
{
"id": "minecraft:enchanted_golden_apple",
"components": {
"custom_data": {
"power_up": "slowness"
},
"custom_name": "{\"translate\": \"ltminigames.minigame.dodgeball.slowness_power_up\", \"color\": \"red\"}"
}
},
{
"id": "minecraft:enchanted_golden_apple",
"components": {
"custom_data": {
"power_up": "glowing"
},
"custom_name": "{\"translate\": \"ltminigames.minigame.dodgeball.glowing_subtitle\", \"color\": \"red\"}"
}
}
],
"region": "coin_dispenser_level_3",
"announcement": {
"type": "ltminigames:apply_to_player",
"target": "all",
"actions": {
"type": "ltminigames:send_message",
"message": {
"translate": "ltminigames.minigame.qottott.spawn.power_up",
"color": "aqua"
}
}
},
"interval_ticks": {
"type": "minecraft:uniform",
"min_inclusive": 300,
"max_inclusive": 600
},
"beacon": true,
"sound": {
"sound": "block.beacon.activate",
"source": "block",
"volume": 2.0,
"pitch": 2.0
}
}
]
44 changes: 42 additions & 2 deletions data/lt/behaviors/dodgeball/items/power_ups.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,55 @@
"attribute": {
"id": "dodgeball.gravity",
"name": "minecraft:generic.gravity",
"amount": -0.07,
"amount": -0.03,
"operation": "add_value"
},
"subtitle": {
"translate": "ltminigames.minigame.gravity.scale.subtitle",
"translate": "ltminigames.minigame.dodgeball.gravity.subtitle",
"color": "red"
},
"seconds": 30
},
{
"type": "lt:dodgeball/items/effect_power_up",
"item_tag": "{power_up: \"no_jump\"}",
"attribute": {
"id": "dodgeball.gravity",
"name": "minecraft:generic.gravity",
"amount": -0.07,
"operation": "add_value"
},
"subtitle": {
"translate": "ltminigames.minigame.dodgeball.no_jump.subtitle",
"color": "red"
},
"seconds": 5
},
{
"type": "lt:dodgeball/items/effect_power_up",
"item_tag": "{power_up: \"slowness\"}",
"attribute": {
"id": "dodgeball.slowness",
"name": "minecraft:generic.jump_strength",
"amount": -0.1,
"operation": "add_value"
},
"subtitle": {
"translate": "ltminigames.minigame.dodgeball.slowness.subtitle",
"color": "red"
},
"seconds": 5
},
{
"type": "lt:dodgeball/items/effect_power_up",
"item_tag": "{power_up: \"glowing\"}",
"effect": "minecraft:glowing",
"subtitle": {
"translate": "ltminigames.minigame.dodgeball.glowing.subtitle",
"color": "red"
},
"seconds": 5
},
{
"type": "ltminigames:power_up_indicator",
"effect": "ltminigames:coin_multiplier_power_up",
Expand Down

0 comments on commit 51651f7

Please sign in to comment.