Pickable

Oct 31, 2019
Pickable
  • [​IMG]

    In this section you can find information about additional pickable function.



    Pickable function is not required in the model file and can be used for support, texture and item advanced type.

    Let's start with the values that this function takes.

    Time:
    This value is given in minutes. This means that after picking up the item you will have to wait the given time to pick up it again. If you want the balloon to be used once, use 0.
    Receiver:
    This value is needed to determine for which group this balloon is intended. There are two types.
    'Player' - if collecting the balloon is to be intended for each player individually.
    'All' - if the balloon is special and can be collected only by one player at a time.
    Items:
    List of items to be received by the player after clicking on the balloon.
    To use this option you first need to learn how to create your own items.
    Example (+ message):
    Code (YAML):
    model:
        balloon
    :
            ...
            message
    :
               - "&aCongratulations! You got your first kit."
            pickable
    :
                time
    : 0
                receiver
    : 'player'
                items
    :
                   - wooden_pickaxe
                    - wooden_shovel
                    - wooden_sword
                    - wooden_axe
            ...
    « Go to previous page
  • Loading...
  • Loading...