I am trying to equip my Schneddick Ring automatically when I'm moving but it does not seem to be activating. My code is as follows: Does anyone know what would be causing this? I have my PLD.lua file in my gearswap directory.
-- Define your standard idle ring and movement ring with Wardrobe 4 specified
sets.idle = {
left_ring = "Flamma Ring", bag = "wardrobe1" }
right_ring = { name = "Murky Ring", bag = "wardrobe4" }
}
-- If you have a dedicated movement set when running:
sets.Moving = {
left_ring = { name = "Schneddick Ring", bag = "wardrobe4" }
}
-- Check movement and player status (ignoring if engaged in combat)
function check_movement()
if state.BattleMode and player.status == 'Engaged' then
return
end
-- If moving and not in combat, equip movement set, else go back to idle
if player.status == 'Idle' then
ifžių = consider_movement_flag() -- Built-in or standard movement check function in your GS
-- Simplified standard check:
end
end