diff --git a/data/lt/behaviors/biodiversity_blitz/donations.json b/data/lt/behaviors/biodiversity_blitz/donations.json index 84c15ec1..510c4a04 100644 --- a/data/lt/behaviors/biodiversity_blitz/donations.json +++ b/data/lt/behaviors/biodiversity_blitz/donations.json @@ -155,6 +155,7 @@ "receive_actions": [ { "type": "ltminigames:countdown_action", + "target": "source", "warning": { "text": "A wave of surprise creepers is spawning in %time% seconds!", "color": "red" diff --git a/data/lt/behaviors/biodiversity_blitz/intro.json b/data/lt/behaviors/biodiversity_blitz/intro.json index ff55dbdf..23c19f71 100644 --- a/data/lt/behaviors/biodiversity_blitz/intro.json +++ b/data/lt/behaviors/biodiversity_blitz/intro.json @@ -34,12 +34,20 @@ "italic": true } }, - "220": { - "type": "ltminigames:bb_tutorial", - "diffusa": "commelina_diffusa", - "grass": "grass", - "wheat": "wheat" - }, + "220": [ + { + "type": "ltminigames:apply_to_plot", + "target": "all", + "actions": [ + { + "type": "ltminigames:bb_tutorial", + "diffusa": "commelina_diffusa", + "grass": "grass", + "wheat": "wheat" + } + ] + } + ], "300": { "type": "ltminigames:send_message", "message": { diff --git a/data/lt/behaviors/biodiversity_blitz/intro_teams.json b/data/lt/behaviors/biodiversity_blitz/intro_teams.json index 30f3e0f0..7ea9545e 100644 --- a/data/lt/behaviors/biodiversity_blitz/intro_teams.json +++ b/data/lt/behaviors/biodiversity_blitz/intro_teams.json @@ -34,13 +34,21 @@ "italic": true } }, - "220": { - "type": "ltminigames:bb_tutorial", - "diffusa": "commelina_diffusa", - "grass": "grass", - "wheat": "wheat", - "run_tutorial": false - }, + "220": [ + { + "type": "ltminigames:apply_to_plot", + "target": "all", + "actions": [ + { + "type": "ltminigames:bb_tutorial", + "diffusa": "commelina_diffusa", + "grass": "grass", + "wheat": "wheat", + "run_tutorial": false + } + ] + } + ], "300": { "type": "ltminigames:send_message", "message": { diff --git a/data/lt/behaviors/survive_the_tide/common.json b/data/lt/behaviors/survive_the_tide/common.json index 468307df..86f0d896 100644 --- a/data/lt/behaviors/survive_the_tide/common.json +++ b/data/lt/behaviors/survive_the_tide/common.json @@ -104,6 +104,7 @@ { "type": "ltminigames:phase_change", "release_players": { + "type": "ltminigames:apply_to_player", "target": "participants", "actions": [ { diff --git a/data/lt/behaviors/survive_the_tide/stt1_map.json b/data/lt/behaviors/survive_the_tide/stt1_map.json index e2b83119..56abafcf 100644 --- a/data/lt/behaviors/survive_the_tide/stt1_map.json +++ b/data/lt/behaviors/survive_the_tide/stt1_map.json @@ -125,6 +125,7 @@ { "type": "ltminigames:phase_change", "release_players": { + "type": "ltminigames:apply_to_player", "target": "participants", "actions": [ { diff --git a/data/lt/behaviors/survive_the_tide/stt2_map.json b/data/lt/behaviors/survive_the_tide/stt2_map.json index 853d6aea..79fb717f 100644 --- a/data/lt/behaviors/survive_the_tide/stt2_map.json +++ b/data/lt/behaviors/survive_the_tide/stt2_map.json @@ -151,6 +151,7 @@ { "type": "ltminigames:phase_change", "loot_drop": { + "type": "ltminigames:apply_to_player", "target": "all", "actions": [ { diff --git a/data/lt/behaviors/survive_the_tide/stt3_map.json b/data/lt/behaviors/survive_the_tide/stt3_map.json index 7044621e..8b7beb64 100644 --- a/data/lt/behaviors/survive_the_tide/stt3_map.json +++ b/data/lt/behaviors/survive_the_tide/stt3_map.json @@ -127,6 +127,7 @@ { "type": "ltminigames:phase_change", "release_players": { + "type": "ltminigames:apply_to_player", "target": "participants", "actions": [ { diff --git a/data/lt/behaviors/survive_the_tide/weather_notifications.json b/data/lt/behaviors/survive_the_tide/weather_notifications.json index afc88859..ae9766a5 100644 --- a/data/lt/behaviors/survive_the_tide/weather_notifications.json +++ b/data/lt/behaviors/survive_the_tide/weather_notifications.json @@ -2,25 +2,29 @@ { "type": "ltminigames:weather_change_trigger", "events": { - "acid_rain": { - "target": "all", - "actions": [ - { - "type": "ltminigames:notification_toast", - "text": "WEATHER REPORT:\nAcid Rain is falling!\nFind shelter, or make sure to carry an Acid Repellent Umbrella!", - "icon": { - "item": "ltminigames:acid_repellent_umbrella" + "acid_rain": [ + { + "type": "ltminigames:apply_to_player", + "target": "all", + "actions": [ + { + "type": "ltminigames:notification_toast", + "text": "WEATHER REPORT:\nAcid Rain is falling!\nFind shelter, or make sure to carry an Acid Repellent Umbrella!", + "icon": { + "item": "ltminigames:acid_repellent_umbrella" + }, + "sentiment": "negative", + "color": "dark" }, - "sentiment": "negative", - "color": "dark" - }, - { - "type": "ltminigames:play_sound", - "sound": "minecraft:entity.villager.no" - } - ] - }, + { + "type": "ltminigames:play_sound", + "sound": "minecraft:entity.villager.no" + } + ] + } + ], "hail": { + "type": "ltminigames:apply_to_player", "target": "all", "actions": [ { @@ -39,6 +43,7 @@ ] }, "heatwave": { + "type": "ltminigames:apply_to_player", "target": "all", "actions": [ { @@ -57,6 +62,7 @@ ] }, "sandstorm": { + "type": "ltminigames:apply_to_player", "target": "all", "actions": [ { @@ -74,24 +80,27 @@ } ] }, - "snowstorm": { - "target": "all", - "actions": [ - { - "type": "ltminigames:notification_toast", - "text": "WEATHER REPORT:\nA Snowstorm is passing!\nFind shelter!", - "icon": { - "item": "minecraft:snow_block" + "snowstorm": [ + { + "type": "ltminigames:apply_to_player", + "target": "all", + "actions": [ + { + "type": "ltminigames:notification_toast", + "text": "WEATHER REPORT:\nA Snowstorm is passing!\nFind shelter!", + "icon": { + "item": "minecraft:snow_block" + }, + "sentiment": "negative", + "color": "dark" }, - "sentiment": "negative", - "color": "dark" - }, - { - "type": "ltminigames:play_sound", - "sound": "minecraft:entity.villager.no" - } - ] - } + { + "type": "ltminigames:play_sound", + "sound": "minecraft:entity.villager.no" + } + ] + } + ] } } ] diff --git a/data/lt/games/levitation.json b/data/lt/games/levitation.json index 8d530f4c..63794756 100644 --- a/data/lt/games/levitation.json +++ b/data/lt/games/levitation.json @@ -52,8 +52,11 @@ "player_remove": { "type": "ltminigames:run_commands", "player": "tag @s remove levitation.yes" - }, - "stop": { + } + }, + { + "type": "ltminigames:phase_triggers/stop", + "actions": { "type": "ltminigames:run_commands", "global": "kill @e[current_world=true,type=minecraft:fishing_bobber]" } diff --git a/data/lt/games/spleef.json b/data/lt/games/spleef.json index fba70c34..5864b7fe 100644 --- a/data/lt/games/spleef.json +++ b/data/lt/games/spleef.json @@ -50,8 +50,11 @@ "player_remove": { "type": "ltminigames:run_commands", "player": "function lt:game/party/spleef/player/leave" - }, - "stop": { + } + }, + { + "type": "ltminigames:phase_triggers/stop", + "actions": { "type": "ltminigames:run_commands", "global": "function lt:game/party/spleef/deinit" }