https://grimoirecastle.wordpress.com/rgss3-scripts/gameplay-scripts/shoplifting/ I am trying to use this script in my game but it came up with this error:
How do i fix this?
How do i fix this?
class Window_ShopCommand < Window_HorzCommand
#--------------------------------------------------------------------------
# ● Create the list of commands
#--------------------------------------------------------------------------
def make_command_list
add_command(Vocab::ShopBuy, :buy)
add_command(Vocab::ShopSell, :sell, !@purchase_only)
# Make sure the scene isn't the synthesis shop
unless is_synthesis_shop?
add_command(KRX::VOCAB::SHOPLIFT_COMMAND, :steal, steal_ok?)
end # End check
add_command(Vocab::ShopCancel, :cancel)
end
def is_synthesis_shop?
return false unless $imported['KRX-SynthesisShop']
return SceneManager.scene.is_a?(Scene_SynthesisShop)
end
end
It fixed it but now stuff I can buy is on the steal list, how do i fix that?
Original thread: https://forums.rpgmakerweb.com/threads/shoplifting.116191/