battlestar_caprica
Member
Basically i'm wondering how to make it so that certain items don't show up in your inventory, as well as when you are selling your items at shops.
Here's the code that i know i need to change;
So for example, I don't want armor_id #35 to show up at all, as well as weapon_id #12, and item number #74. How would i code it so that these three items (and possibly more) don't even show up at all.
Thanks in advance,
~RM.
PS: I used the search function and found a topic similar to mine, but the solution there didn't really work out for me. So any suggestions would be great.
Here's the code that i know i need to change;
Code:
for i in 1...$data_items.size
if $game_party.item_number(i) > 0
@data.push($data_items[i])
end
end
for i in 1...$data_weapons.size
if $game_party.weapon_number(i) > 0
@data.push($data_weapons[i])
end
end
for i in 1...$data_armors.size
if $game_party.armor_number(i) > 0
@data.push($data_armors[i])
end
end
end
So for example, I don't want armor_id #35 to show up at all, as well as weapon_id #12, and item number #74. How would i code it so that these three items (and possibly more) don't even show up at all.
Thanks in advance,
~RM.
PS: I used the search function and found a topic similar to mine, but the solution there didn't really work out for me. So any suggestions would be great.