I'm making a Cards system for my tycoon server and i'm making it so that when the player places flint (retextured to be a gold card) onto a narcher pottery sherd it removes the sherd and allows the placement of the card, however i'm having trouble with this section and in need of help:
# --- Handle placing flint from cursor ---
loop {_slots::*}:
if clicked slot is loop-value:
if player's cursor slot is flint:
set slot loop-value of event-inventory to player's cursor
set player's cursor to air
# --- Handle placing flint from cursor ---
loop {_slots::*}:
if clicked slot is loop-value:
if player's cursor slot is flint:
set slot loop-value of event-inventory to player's cursor
set player's cursor to air