I found the following code to remove weapons and armors from the items menu. It worked great for what I wanted it to do, but my character could suddenly walk through other people and cross things they weren't supposed to do. I removed the script, and everything went back to normal - no walking on water or through solid objects. Can anyone help me with a script that will remove the weapons and armor options but not have these "side effects"?
class Window_ItemCategory < Window_HorzCommand
def col_max
return 2
end
def make_command_list
add_command(Vocab::item, :item)
add_command(Vocab::key_item, :key_item)
end
end
class Window_ItemCategory < Window_HorzCommand
def col_max
return 2
end
def make_command_list
add_command(Vocab::item, :item)
add_command(Vocab::key_item, :key_item)
end
end