Apologies if this has been done to death - it's hard finding effective search terms since "Item" and "weapon" are used so frequently
Anyway. The situation is that I have a security flashlight as an item in my game. It's one of these police issue ones that are essentially nightsticks with a handy built-in flashlight.
My problem then, is that I want the flashlight to appear on the item menu, and also on the weapons menu.
The first thing that occurs is to create two objects - a weapon and an item - with the same icon and description. I could modify the lose_item method to ensure that dropping or selling one resulted in the other vanishing as well. But I can't escape the feeling that this is going to be a right pain to debug.
Does anyone know any other ways to approach the problem?
[Edit] I suppose I had better mention that I'm running RMXP
[edit2] :s/always/also/
Anyway. The situation is that I have a security flashlight as an item in my game. It's one of these police issue ones that are essentially nightsticks with a handy built-in flashlight.
My problem then, is that I want the flashlight to appear on the item menu, and also on the weapons menu.
The first thing that occurs is to create two objects - a weapon and an item - with the same icon and description. I could modify the lose_item method to ensure that dropping or selling one resulted in the other vanishing as well. But I can't escape the feeling that this is going to be a right pain to debug.
Does anyone know any other ways to approach the problem?
[Edit] I suppose I had better mention that I'm running RMXP
[edit2] :s/always/also/