Note: I was unsure where this belonged exactly since it is kind of a mashup between the 3 different areas of the forum (Dev howto, code probs, design philo) so ill post it here and hope for some responses.
So im using Divine Travellers library for the additional mouse functions. Mainly for Shift Left/right clicks, and norm left/right clicks.
Now with this demo to get the right clicking to work properly you need to either set the popup_menu to 0 in the global settings or set it to send right clicks to proc on the map.. I chose to go with the popup_menu 0 in the actual code so that i can get it to work on both the map and grid interfaces.
Ok with that aside time for the main question for the purpose of this please refer to the following scenario
Scenario:: Player One drops 5 essences which is a stacked item so it is classified as one item and is simply placed there. Now they go to drop a sword without moving so the sword and essences are both on the same tile. But stacked onto each other.
Problem:: Now if you were player two and you walked along if i did not use the library and was not using a custom right click popup (using tooltip library for this purpose) it would show the items as such..
Right Click >
Essence > Get
Sword > Get
in its own default dialogue.
Now since im using the tooltip demo it is by default launching it on right click and as such making you unable to see multiple items on one turf.
How would i go about avoiding this dilemma while still maintaining a clean and staying true to what im currently using the tooltips for.
(Right click shows Name, description and an option for.. Get, Bank, Drop, Store (depending on certain parameters))
I appreciate any help as usual, But please do not post if you are unable to provide proper insight as i believe it hinders the ability to get further help on the matter.
Mar 31 2011, 8:05 pm (Edited on Mar 31 2011, 8:11 pm)