Added:
- 100% Rendering Map support
- Piston reaction
- Added a get hologram from ID syntax
- Added get all hologram id's
- Made the hologram text line settable
- Ability to get hologram items in a line and set them
- Block is powered (Redstone wise)
Fixed:
- Some syntax bugs
- Few fixes
Syntax:
Code (Text):
#Expressions:
#Gets the piston reaction state of what is going to happen if a piston was to extend this block
[the] piston [move] reaction (of|from) %block%
%block%'s piston [move] reaction
[skellett] [the] image (of|from) [the] file [(location|path)] %string%
[the] [skellett] holo[gram] with ID %string%
[(the|all)] [of] [the] [skellett] holo[gram][s] ids
#made this settable (So you can update holograms cleaner)
[the] [skellett] (text|string) of holo[gram] line %hologramline%
#Changers: set (ItemStack)
[the] [skellett] item[[ ](type|stack)] of holo[gram] line %hologramline%
[skellett] [(the|all)] [of] [the] map cursors (in|on|for) [skellett] [map] %map%
#Changers: set (Integer)
[skellett] map cursor direction (of|for) [map[ ]cursor] %mapcursor%
#Changers: set (String)
#Info: This is a MapCursor.Type
[skellett] map cursor type (of|for) [map[ ]cursor] %mapcursor%
#Changers: set (Integer)
[skellett] map cursor (1¦x|2¦y)(-| )(coord[inate]|pos[ition]|loc[ation])[s] of [map[ ]cursor] %mapcursor%
#Changers: set (Boolean)
[skellett] map cursor visibl(e|ity) [state] (of|for) [map[ ]cursor] %mapcursor%
#Changers: set (Number)
#Info: The number is a byte being a colour on Spigot's MapColour scale
[skellett] map pixle [colo[u]r] at [coordinate[s]] [x] %number%(,| and) [y] %number% (on|in) [skellett] map %map%
#Conditons:
[block] %block% (1¦(is|has)|2¦(is|has)(n't| not)) [got] [redstone] powered
[map] %map% (1¦is|2¦is(n't| not)) being handled [by skellett]
#Effects:
(manage|override|overwrite|create) [skellett] map %map% [[and] [with] override %-boolean%]
(show|send|display) [skellett] [custom] map %map% to %players%
draw [buffered] image %image% [at [coordinate[s]] [x] %number%(,| and) [y] %number%] on [skellett] map %map%
draw [map] cursor %string% pointing %number% at [coordinate[s]] [x] %number%(,| and) [y] %number% on [skellett] map %map%
(erase|clear|remove|delete|unregister) [skellett] map %map%
Byte colours:
TRANSPARENT = 0
GRASS = 1
SAND = 2
RED = 4
SKY_BLUE = 5
GRAY = 6
GREEN = 7
WHITE = 6
LIGHT_GRAY = 9
LIGHT_BROWN = 10
DARK_GRAY = 11
BLUE = 12
FADED_BROWN = 13
FADED_WHITE = 14
GENERAL_ORANGE = 15
GENERAL_MAGENTA = 16
GENERAL_LIGHT_BLUE = 17
GENERAL_YELLOW = 18
GENERAL_LIME = 19
GENERAL_PINK = 20
GENERAL_GRAY = 21
GENERAL_LIGHT_GRAY = 22
GENERAL_CYAN = 23
GENERAL_PURPLE = 24
GENERAL_BLUE = 25
GENERAL_BROWN = 26
GENERAL_GREEN = 27
GENERAL_RED = 28
GENERAL_BLACK = 29
GOLD = 30
DIAMOND_BLUE = 31
LAPIS_BLUE = 32
EMERALD_GREEN = 33
OBSIDIAN_BLACK = 34
COLOR_NETHER = 35
Any numbers higher than this are untested. I have no clue where it stops
Cursor types:
BLUE_POINTER
GREEN_POINTER
RED_POINTER
WHITE_CROSS
WHITE_POINTER
Test script:
Code (Text):
on map:
set {_map} to event-map
set scale of map {_map} to FARTHEST
broadcast "%scale of map {_map}%"
manage skellett map {_map}
if map {_map} is being handled by skellett:
set {_image} to image from the file path "plugins\Skellett\test.png"
draw image {_image} on skellett map {_map}
draw text "&aSexy" at 44, 30 on skellett map {_map}
draw cursor "BLUE_POINTER" pointing 1 at 50, 50 on skellett map {_map}
loop all players:
send map {_map} to loop-player
stop
loop all of the map cursors in skellett map {_map}:
broadcast "&a%map cursor direction of cursor loop-value%"
set map cursor direction of cursor loop-value to 5
broadcast "&2%map cursor direction of cursor loop-value%"
broadcast "&c%map cursor type of cursor loop-value%"
set map cursor type of cursor loop-value to "RED_POINTER"
broadcast "&4%map cursor type of cursor loop-value%"
broadcast "&b%map cursor x-coord of cursor loop-value%"
set map cursor x-coord of cursor loop-value to 30
broadcast "&1%map cursor x-coord of cursor loop-value%"
broadcast "&3%map cursor y-coord of cursor loop-value%"
set map cursor y-coord of cursor loop-value to 30
broadcast "&9%map cursor y-coord of cursor loop-value%"
broadcast "&7%map cursor visible state of cursor loop-value%"
set map cursor visible state of cursor loop-value to false
broadcast "&8%map cursor visible state of cursor loop-value%"
wait a second
set map cursor visible state of cursor loop-value to true
add "WHITE_POINTER", "GREEN_POINTER", "RED_POINTER", "WHITE_CROSS" and "BLUE_POINTER" to {_s::*}
loop {_s::*}:
set map cursor type of cursor loop-value-1 to loop-value-2
wait 10 ticks
broadcast "&f%map pixle at 50, 50 in skellett map {_map}%"
command /test:
trigger:
if target block is not redstone powered:
broadcast "no"
else:
broadcast "yes"
If you need help with anything in this update feel free to reply in the discussion page, and I will help you as soon as I can.