Skip to content

Commit

Permalink
yep!
Browse files Browse the repository at this point in the history
  • Loading branch information
brickmaster5001 committed Nov 3, 2023
1 parent 92bef8a commit 03ba163
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
4 changes: 2 additions & 2 deletions data/lt/functions/collectible/give/disguise/frog.mcfunction
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#summon ltextras:collectible ~ ~ ~ {collectible:{item:"ltminigames:disguise",tag:{disguise:{entity:{type:"minecraft:frog",tag:{}}},display:{Name:'[{"translate":"entity.minecraft.frog","color":"#5ABDA3","italic":false},{"text":" "},{"translate":"lt.collectible.disguise.name.suffix","color":"#5ABDA3","italic":false}]',Lore:['{"text":" "}','{"translate":"lt.collectible.unicode.secret","color":"white","italic":false}','{"text":" "}','{"translate":"item.modifiers.head","color":"gray","italic":false}','{"translate":"lt.collectible.disguise.tooltip.subtract_player","color":"blue","italic":false}','[{"text":" + ","color":"blue","italic":false},{"translate":"entity.minecraft.frog","color":"blue","italic":false}]']},HideFlags:255,Enchantments:[{}]}}}
collectible give @s ltminigames:disguise{disguise:{entity:{type:"minecraft:frog",tag:{}}},display:{Name:'[{"translate":"entity.minecraft.frog","color":"#5ABDA3","italic":false},{"text":" "},{"translate":"lt.collectible.disguise.name.suffix","color":"#5ABDA3","italic":false}]',Lore:['{"text":" "}','{"translate":"lt.collectible.unicode.secret","color":"white","italic":false}','{"text":" "}','{"translate":"item.modifiers.head","color":"gray","italic":false}','{"translate":"lt.collectible.disguise.tooltip.subtract_player","color":"blue","italic":false}','[{"text":" + ","color":"blue","italic":false},{"translate":"entity.minecraft.frog","color":"blue","italic":false}]']},HideFlags:255,Enchantments:[{}]}
#summon ltextras:collectible ~ ~ ~ {collectible:{item:"ltminigames:disguise",tag:{disguise:{entity:{type:"minecraft:frog",tag:{}}},display:{Name:'[{"translate":"entity.minecraft.frog","color":"#005958","italic":false},{"text":" "},{"translate":"lt.collectible.disguise.name.suffix","color":"#005958","italic":false}]',Lore:['{"text":" "}','{"translate":"lt.collectible.unicode.reward","color":"white","italic":false}','{"text":" "}','{"translate":"item.modifiers.head","color":"gray","italic":false}','{"translate":"lt.collectible.disguise.tooltip.subtract_player","color":"blue","italic":false}','[{"text":" + ","color":"blue","italic":false},{"translate":"entity.minecraft.frog","color":"blue","italic":false}]']},HideFlags:255,Enchantments:[{}]}}}
collectible give @s ltminigames:disguise{disguise:{entity:{type:"minecraft:frog",tag:{}}},display:{Name:'[{"translate":"entity.minecraft.frog","color":"#005958","italic":false},{"text":" "},{"translate":"lt.collectible.disguise.name.suffix","color":"#005958","italic":false}]',Lore:['{"text":" "}','{"translate":"lt.collectible.unicode.reward","color":"white","italic":false}','{"text":" "}','{"translate":"item.modifiers.head","color":"gray","italic":false}','{"translate":"lt.collectible.disguise.tooltip.subtract_player","color":"blue","italic":false}','[{"text":" + ","color":"blue","italic":false},{"translate":"entity.minecraft.frog","color":"blue","italic":false}]']},HideFlags:255,Enchantments:[{}]}
1 change: 1 addition & 0 deletions data/lt/functions/collectible/give/moon_boots.mcfunction
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# summon ltextras:collectible ~ ~ ~ {collectible:{item:"minecraft:leather_boots",tag:{ParkourBlacklist:1b,display:{color:16772589,Name:'{"translate":"lt.collectible.moon_boots.name","color":"#5ABDA3","italic":false}',Lore:['{"translate":"lt.collectible.moon_boots.description","color":"gray"}','{"text":" "}','{"translate":"lt.collectible.unicode.secret","color":"white","italic":false}','{"text":" "}','{"translate":"item.modifiers.feet","color":"gray","italic":false}','{"translate":"lt.collectible.moon_boots.tooltip.subtract_gravity","color":"blue","italic":false}']},HideFlags:255,Unbreakable:1b,AttributeModifiers:[{AttributeName:"forge:entity_gravity",Amount:-0.9d,Operation:2,UUID:[I;-29154110,1231113289,-2020387616,-2041837444],Slot:"feet"}],Trim:{material:"minecraft:gold",pattern:"minecraft:snout"}}}}
collectible give @s minecraft:leather_boots{ParkourBlacklist:1b,display:{color:16772589,Name:'{"translate":"lt.collectible.moon_boots.name","color":"#5ABDA3","italic":false}',Lore:['{"translate":"lt.collectible.moon_boots.description","color":"gray"}','{"text":" "}','{"translate":"lt.collectible.unicode.secret","color":"white","italic":false}','{"text":" "}','{"translate":"item.modifiers.feet","color":"gray","italic":false}','{"translate":"lt.collectible.moon_boots.tooltip.subtract_gravity","color":"blue","italic":false}']},HideFlags:255,Unbreakable:1b,AttributeModifiers:[{AttributeName:"forge:entity_gravity",Amount:-0.9d,Operation:2,UUID:[I;-29154110,1231113289,-2020387616,-2041837444],Slot:"feet"}],Trim:{material:"minecraft:gold",pattern:"minecraft:snout"}}
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
collectible give @s minecraft:trident{ParkourBlacklist:1b,HideFlags:255,Unbreakable:1b,Enchantments:[{id:"minecraft:riptide",lvl:5s}],display:{Name:'{"translate":"lt.collectible.trident_of_traversal.name","color":"#005958","italic":false}',Lore:['{"translate":"lt.collectible.trident_of_traversal.description.1","color":"gray"}','{"translate":"lt.collectible.trident_of_traversal.description.2","color":"gray","italic":false}','{"text":" "}','{"translate":"lt.collectible.unicode.reward","color":"white","italic":false}']}}
# summon ltextras:collectible ~ ~ ~ {collectible:{item:"minecraft:trident",tag:{ParkourBlacklist:1b,HideFlags:255,Unbreakable:1b,Enchantments:[{id:"minecraft:riptide",lvl:5s}],display:{Name:'{"translate":"lt.collectible.trident_of_traversal.name","color":"#5ABDA3","italic":false}',Lore:['{"translate":"lt.collectible.trident_of_traversal.description.1","color":"gray"}','{"translate":"lt.collectible.trident_of_traversal.description.2","color":"gray","italic":false}','{"text":" "}','{"translate":"lt.collectible.unicode.secret","color":"white","italic":false}']}}}}

collectible give @s minecraft:trident{ParkourBlacklist:1b,HideFlags:255,Unbreakable:1b,Enchantments:[{id:"minecraft:riptide",lvl:5s}],display:{Name:'{"translate":"lt.collectible.trident_of_traversal.name","color":"#5ABDA3","italic":false}',Lore:['{"translate":"lt.collectible.trident_of_traversal.description.1","color":"gray"}','{"translate":"lt.collectible.trident_of_traversal.description.2","color":"gray","italic":false}','{"text":" "}','{"translate":"lt.collectible.unicode.secret","color":"white","italic":false}']}}
4 changes: 4 additions & 0 deletions data/lt/functions/utility/player/first_join.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ tag @s add utility.player.joined
execute in tropicraft:tropics run tp @s 2335 131 2403 -90 0
execute in tropicraft:tropics run spawnpoint @s 2335 131 2403

# Clear bamboo mug from tutorial
clear @s tropicraft:bamboo_mug

# Add every tag applied at first join
tag @s add utility.player.introduced
tag @s add utility.spawn_island.joined
Expand All @@ -28,5 +31,6 @@ tellraw @s [{"text":"| ","color":"dark_gray"},{"text":" "},{"text"
tellraw @s [{"text":"| ","color":"dark_gray"},{"text":" "},{"translate":"lt.utility.first_join.message.2","color":"green"}]
tellraw @s [{"text":"| ","color":"dark_gray"}]

function lt:collectible/give/utility/tropical_map
give @s ltextras:tropicoin 10
#give @s written_book{author:"http://minecraft.tools/Momibelle",display:{},pages:['["",{"text":"Welcome to \\nLove Tropics 2022 ","bold":true,"color":"dark_aqua"},{"text":"\\n","color":"reset"},{"text":"supporting\\nProject Seagrass\\nthis year!","bold":true},{"text":"\\nThank you for\\njoining us.","color":"reset"},{"text":" \\n\\n\\n\\n-> "},{"text":"read more!","italic":true}]','["",{"text":"WHERE AM I?","italic":true},{"text":"\\nYou\\u2019ll find a teleport map down the waterway/pathway that\'ll take you to places here in the overworld like the Seagrass Institute of Research highlighting ten seagrasses that appear throughout our real world... ","color":"reset"}]','["",{"text":"(con\'t)","italic":true},{"text":"\\n...or head to the Banyan Tree elytra jump for a spectacular fly over our island atolls.\\n\\u2708\\n\\n\\n\\n ","color":"reset"}]','["",{"text":"It\\u2019s important to remember","bold":true},{"text":" our in-game \\u2018etiquette\\u2019 here on Love Tropics. Please do not share personal information about yourself. Happen to come across a Mojangsta? Please don\\u2019t ask them about future features (or otherwise) in our game.","color":"reset"}]','["",{"text":"\\n"},{"text":"Met one of your\\nfav YouTubers?","bold":true},{"text":" Awesome! They are here to have fun (like you!) and help us raise ","color":"reset"},{"text":"FUN","bold":true},{"text":"ds! So please be respectful of their\\nin-game \'space\'.","color":"reset"}]','["",{"text":"COMMANDS","bold":true},{"text":"\\n\'Build mode\' can be toggled on and off by pressing \\u2018b\\u2019 by default, and there will be areas where you can contribute your creative builds!\\n ","color":"reset"}]','["",{"text":"\\n"},{"text":"Want to join in a minigame? ","bold":true},{"text":"Watch for the prompts! Some of the lobbies may fill quickly, you can always choose to spectate.\\n\\n ","color":"reset"}]','["",{"text":"Again, "},{"text":"thank you\\nso much for donating! ","bold":true},{"text":"Now it\'s time to explore, play, build and learn a bit more about how YOU can help seagrass restoration and conservation around the world!\\n","color":"reset"},{"text":"\\u2764","bold":true},{"text":"\\n","color":"reset"},{"text":"-Momibelle","bold":true}]'],title:"Welcome to Love Tropics '22"}
2 changes: 0 additions & 2 deletions data/lt/functions/utility/spawn_island/tick.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ execute as @a[tag=utility.player.introduced,tag=!utility.player.has_drink] at @s

execute as @a[tag=utility.player.introduced,tag=utility.player.has_drink,tag=!utility.player.really_has_drink] at @s if dimension minecraft:overworld if data entity @s Inventory[1] run function lt:utility/spawn_island/really_has_drink


data get entity @s ForgeCaps."ltextras:collectibles".collectibles[0]
execute as @a[scores={spawn_island.time=0},tag=!utility.player.joined] run function lt:utility/player/first_join
execute as @a[scores={spawn_island.skip_time=0},tag=!utility.player.joined] run function lt:utility/player/first_join
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Remove advancement
advancement revoke @s only lt:pina_colada_drink_test

# Remove collectible
collectible clear @s tropicraft:pina_colada{SpawnColada:1b,display:{Name:'{"translate":"lt.collectible.refreshing_pina_colada.name","color":"gold","italic":false,"bold":true}',Lore:['{"translate":"lt.collectible.refreshing_pina_colada.description","color":"gray"}','{"text":" "}','{"translate":"lt.collectible.generic.modifiers.when_consumed","color":"gray","italic":false}','{"translate":"lt.collectible.refreshing_pina_colada.tooltip.???","color":"blue","italic":false}']}}

execute if entity @s[tag=!utility.spawn_island.joined] run effect clear @s
execute if entity @s[tag=!utility.spawn_island.joined] run effect give @s nausea infinite 0 true
execute if entity @s[tag=!utility.spawn_island.joined] run scoreboard players set @s spawn_island.time 80

execute as @s run function lt:collectible/give/utility/tropical_map

tag @s add utility.spawn_island.joined

0 comments on commit 03ba163

Please sign in to comment.