Skip to content

Commit

Permalink
added edu teleporter
Browse files Browse the repository at this point in the history
  • Loading branch information
brickmaster5001 committed Nov 3, 2023
1 parent 0298229 commit 45f7259
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/lt/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@
"lt.info.money_team_explanation.4": "Which side are you on?",
"lt.info.team_selection": "⏷ Team Selection Teleporter ⏷",

"lt.info.edu_teleport": "⏷ EDU Area Teleporter ⏷",

"lt.info.interact": "⏷ Interact to Shop ⏷",
"lt.info.interact.2": "⏷ Interact to Buy ⏷",
"lt.info.interact.3": "⏷ Interact to Get ⏷",
Expand Down
2 changes: 2 additions & 0 deletions data/lt/functions/main/tick_runner.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ execute as @e[tag=game.stt.placed_mob,scores={game.stt.entity_track=1200..}] at
execute in tropicraft:tropics at @e[type=marker,tag=utility.team_selection_teleporter] run particle minecraft:dust 1 0 0 1 ~ ~0.75 ~0.2 0.05 0.5 0.2 0.01 1 force @a[distance=..15]
execute in tropicraft:tropics at @e[type=marker,tag=utility.team_selection_teleporter] run particle minecraft:dust 0.059 0.467 1 1 ~ ~0.75 ~-0.2 0.05 0.5 0.2 0.01 1 force @a[distance=..15]
execute in tropicraft:tropics as @a at @s if entity @e[type=marker,tag=utility.team_selection_teleporter,distance=..0.65] run function lt:utility/to_team_selection
execute in tropicraft:tropics at @e[type=marker,tag=utility.edu_teleporter] run particle minecraft:enchant ~ ~1 ~ 0.1 0.5 0.1 0.01 1 force @a[distance=..15]
execute in tropicraft:tropics as @a at @s if entity @e[type=marker,tag=edu.edu_teleporter,distance=..0.65] run function lt:utility/to_edu_area


# Change long duration strength area effect cloud created by linger potions to desired functionality
Expand Down
2 changes: 2 additions & 0 deletions data/lt/functions/utility/to_edu_area.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
execute in tropicraft:tropics run tp @s 2189.50 148.50 2292.51 180 0
execute as @s at @s run playsound minecraft:item.chorus_fruit.teleport master @s ~ ~ ~ 1 1

0 comments on commit 45f7259

Please sign in to comment.