Skip to content

Commit

Permalink
Adapt to changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Oct 14, 2023
1 parent 716d12b commit 97f6d1b
Show file tree
Hide file tree
Showing 8 changed files with 77 additions and 47 deletions.
1 change: 1 addition & 0 deletions data/lt/behaviors/biodiversity_blitz/donations.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
20 changes: 14 additions & 6 deletions data/lt/behaviors/biodiversity_blitz/intro.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
22 changes: 15 additions & 7 deletions data/lt/behaviors/biodiversity_blitz/intro_teams.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
1 change: 1 addition & 0 deletions data/lt/behaviors/survive_the_tide/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
{
"type": "ltminigames:phase_change",
"release_players": {
"type": "ltminigames:apply_to_player",
"target": "participants",
"actions": [
{
Expand Down
1 change: 1 addition & 0 deletions data/lt/behaviors/survive_the_tide/stt1_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
{
"type": "ltminigames:phase_change",
"release_players": {
"type": "ltminigames:apply_to_player",
"target": "participants",
"actions": [
{
Expand Down
1 change: 1 addition & 0 deletions data/lt/behaviors/survive_the_tide/stt2_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
{
"type": "ltminigames:phase_change",
"loot_drop": {
"type": "ltminigames:apply_to_player",
"target": "all",
"actions": [
{
Expand Down
1 change: 1 addition & 0 deletions data/lt/behaviors/survive_the_tide/stt3_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
{
"type": "ltminigames:phase_change",
"release_players": {
"type": "ltminigames:apply_to_player",
"target": "participants",
"actions": [
{
Expand Down
77 changes: 43 additions & 34 deletions data/lt/behaviors/survive_the_tide/weather_notifications.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand All @@ -39,6 +43,7 @@
]
},
"heatwave": {
"type": "ltminigames:apply_to_player",
"target": "all",
"actions": [
{
Expand All @@ -57,6 +62,7 @@
]
},
"sandstorm": {
"type": "ltminigames:apply_to_player",
"target": "all",
"actions": [
{
Expand All @@ -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"
}
]
}
]
}
}
]

0 comments on commit 97f6d1b

Please sign in to comment.