Adds Dye Kit item

This commit is contained in:
chardub
2025-03-09 13:45:31 -04:00
parent 6b978c0ebc
commit a974994d15
10 changed files with 62 additions and 27 deletions

View File

@@ -40,11 +40,11 @@ class ClothesMartAdapter < OutfitsMartAdapter
previewWindow.updatePreview()
end
def get_dye_color(item)
def get_dye_color(item_id)
return 0 if isShop?
$Trainer.dyed_clothes= {} if ! $Trainer.dyed_clothes
if $Trainer.dyed_clothes.include?(item.id)
return $Trainer.dyed_clothes[item.id]
if $Trainer.dyed_clothes.include?(item_id)
return $Trainer.dyed_clothes[item_id]
end
return 0
end