#adding lore to a list of items

1 messages · Page 1 of 1 (latest)

sacred yacht
#

ive got this so far on pickup: wait 1 tick remove event-item from player's inventory set {_items::*} to event-item loop items in {_items::*}: add lore "hello" to loop-item give {_items::*} to player but it says loop-value cant have anything added to it

torpid pier
#

you'd have to set {_i} to loop-item n set lore of that

cobalt furnace
#

@sacred yacht my friend your skript is over complicating it

can you not just

on pickup:
add lore "hello" to event-item

sacred yacht
#

Still had to make it so it removes and gives the item anyways

#

Since it doesn't let me change the lore if event-item

cobalt furnace
#

oh maybe it's event-dropped item

#

or event-pickup item

#

or i might be making that up hold on

#

no I'm not making that up, try this

        add lore "hello" to event-dropped item```
sacred yacht
#

just so you know

cobalt furnace
#

oh whoops

cobalt furnace
#

yo ive got the actual fix for you i just tested it myself

on pickup:
    set {_item} to event-item
    add "hello" to lore of {_item}
    set item of event-dropped item to {_item}
#

i knew i did something like this before and i found the skript

#

here ya go