1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tortoise

Discussion in 'Addon Releases' started by LimeGlass, Apr 12, 2021.

  1. LimeGlass

    VIP Supporter Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    621
    Likes Received:
    436
    Medals:
    Tortoise
    A turtle manager for the Skript plugin made by @bi0sphere
    Turtles are invisible entities that have a location, an orientation and optionally a function which they can execute. Turtles can have parents and children. Children always follow their parents. If a child turtle is 3 meters left of it's parent it will stay 3 meters left of it's parent even if the parent moves or rotates.

    This fork makes this addon work on newer Java, Skript and Spigot versions. I have also recoded all of this addon. Things like expressions returning as booleans are now conditions, there are proper types and converters, performance optimizations, usage of Java 8, usage of PropertyExpressions and PropertyConditions, you can parse a string as a turtle assuming it's the correct uuid of the turtle and making all the syntaxes proper and supporting multiple entry expressions (%turtle% to %turtles%) https://github.com/TheLimeGlass/Tortoise

    Wiki https://github.com/bi0qaw/Tortoise/wiki

    Please report issues at https://github.com/TheLimeGlass/Tortoise/issues

    Documentation https://docs.skunity.com/syntax/search/addon:Tortoise

    Cools things I made with this addon during testing:
    Code (Skript):
    1. command /circle <number> <number> <number>:
    2.     usage: /circle <decimal size> <tick speed> <loops>
    3.     trigger:
    4.         # Loops
    5.         loop argument-3 times:
    6.             set {_turtle} to new turtle at player
    7.             # Center it. I think Tortoise is offset by mistake.
    8.             move {_turtle} by 0 - 0.05, 0, (argument-1 + 0.05) * 2
    9.             # Density
    10.             loop 350 times:
    11.                 # Calculated hitbox around player
    12.                 move {_turtle} by argument-1, 0.0055, 0
    13.                 # Makes circle
    14.                 rotate {_turtle} by 0, 25, 0
    15.                 play lava drip at location of {_turtle}
    16.                 # tick speed controller
    17.                 add 1 to {_tick}
    18.                 {_tick} is greater than argument-2
    19.                 clear {_tick}
    20.                 wait a tick
    21.             # tick speed controller for loop
    22.             add 1 to {_tick}
    23.             {_tick} is greater than argument-2
    24.             clear {_tick}
    25.             wait a tick


    I plan on making some template animation crate scripts in the future (the kind where items fly and stuff), so keep an eye out for those.
     

Share This Page

Loading...