#Npc Shopkeepers

1 messages · Page 1 of 1 (latest)

rain plank
#

notice how this is #1019709064621600808 and not #skript-spoonfeedme

fast tapir
#

XD

hidden hill
#

Its trades, like the shopkeeper plugin

#

You cant do like player npcs though

rain plank
#

pretty sure it doesnt work

hidden hill
#

Youre pretty sure it doesnt work??

rain plank
#

yeah

hidden hill
#

how so? Have you tried it?

rain plank
#

i think

hidden hill
#

I know I have to fix a few bugs due to SkBee's latest update. But its not entirely broken. Shouldnt be

sweet halo
#
    if entity's name is "Test":
        set {Testgui} to a new chest inventory with 3 rows named "&7test"
        set slot intergers from 0 to 26 of {Testgui} to grey stained glass pane with name " "
        set slot 11 of {Testgui} to wooden axe with name "&6Tools"
        set slot 13 of {Testgui} to Leather Chestplate with name "&6Armor"
        set slot 12 of {Testgui} to oak log with name "&6Compressor"
        open {Testgui} to player

on inventory click:
    if name of event-inventory is "&6tools":
        if event-slot if 11:```