Water bottle color when have name or lore.

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Lummox

Member
Jan 29, 2017
28
0
1
42
When I add a name to a bottle of water, it is colored purple.

How can I add a name and lore to a bottle and that it maintains the normal blue color ?.

Code:

code_language.skript:
command /botella:
    executable by: players
    trigger:
        give 1 botellallena named "<light blue>Agua fresca" to player
        give 1 botellallena named "<light red>Agua contaminada" with lore "<orange>Agua salada" to player

bcf9426a00cd878466fe34cff4ff703a.png
 
unable to test, but perhaps you could use NBT tags? Found this post here that may be of help.
NBT can be added to given items with the addon Skstuff.
 
I have solved it by changing the code

code_language.skript:
give player water bottle named "<light blue>Agua fresca" with lore "<aqua>Agua descontaminada"

Thank you :emoji_wink:
 
Status
Not open for further replies.