Tortoise

  • 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!

LimeGlass

VIP
Supporter ++
Regular Diner
Addon Developer
Jan 24, 2017
633
442
73
25
location of "LimeGlass" parsed as player
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_language.skript:
command /circle <number> <number> <number>:
    usage: /circle <decimal size> <tick speed> <loops>
    trigger:
        # Loops
        loop argument-3 times:
            set {_turtle} to new turtle at player
            # Center it. I think Tortoise is offset by mistake.
            move {_turtle} by 0 - 0.05, 0, (argument-1 + 0.05) * 2
            # Density
            loop 350 times:
                # Calculated hitbox around player
                move {_turtle} by argument-1, 0.0055, 0
                # Makes circle
                rotate {_turtle} by 0, 25, 0
                play lava drip at location of {_turtle}
                # tick speed controller
                add 1 to {_tick}
                {_tick} is greater than argument-2
                clear {_tick}
                wait a tick
            # tick speed controller for loop
            add 1 to {_tick}
            {_tick} is greater than argument-2
            clear {_tick}
            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.