Ok, so I have started adding an item or two to the game and I seem to be missing something. I can't get the look item message to display. As well, the item icons seem to overlap a bit as well... Here is what I have done so far.
First in the messages, I added a new noun N_TOILETPAPER. Then I went in and added a message for V_LOOK, N_TOILETPAPER. I also added a verb, V_TEEPEE but that is irrelevant for now until I am ready to use the item in some way.
Next in the sq5invitem script, I added in the instance for the item.
(instance ToiletPaper of Sq5InvItem
(properties
view 901
loop 1
cursor 901
message V_TEEPEE
signal $0002
noun N_TOILETPAPER
)
)
And in the same script, up towards the top in the sq5Inv instance of scrollableinventory, I added my instance name to the add list.
add(Money ToiletPaper) // TODO: addmore inventory items
Next I drew the necessary views, in 901 as defined in the instance of the item, and finally in the title screen script I threw in a send gEgo get statement so that I had the item at game start.
Now for the most part everything seems to be working, The item is there in my inventory, I can click on it with the arrow and the cursor changes to it. However, when I click to look at the item, the look item message is not triggered. As well, if you look at the screen shot, when the item is highlighted, it seems to overlap the money item icon a bit. Any ideas why the look item message isn't triggering... and whats up with the overlap?