SOLVED:VerbCoin Template: Starting in a different room than 1 disables inventory

Started by Adrian, Mon 13/08/2012 14:25:34

Previous topic - Next topic

Adrian

Hello,

first of all, I'm sorry for double posting this, but the Modules & Plugins thread I put this in doesn't seem to have any watchers any more.
(http://www.adventuregamestudio.co.uk/forums/index.php?topic=32745.0)

I have a litte issue with the built-in VerbCoin Template:
When I set the player character's starting room to a different one than 1, I'm not able to open the inventory item. Right click has no effect then.

I'm sure this is a minor issue. Can anybody tell my how to fix it?

Thanks!

Khris

I don't know what the problem is, I created a new game using the template, added a second room, set the character to start off there and could open the inventory just fine.
There's nothing in the template's on_mouse_click that checks the room the player is in, and there's no event code in room 1 at all (which might have done additional setup that's now omitted).

Whatever the reason, it's specific to your current implementation, and there's probably no way for us to figure out what's happening without taking a look at the source files.

Adrian

Yes, that's what I suspected. I guess I have to start all over again and watch my changes step by step.

Thank you for having a look at it, Khris!


Adrian

In case anyone runs into the same problem:

The actual issue has nothing to do with the player character's starting room. It's this:
If you change to a room where the ShowPlayerCharacter property in the room property grid is set to false, the inventory item will not show up any more, even if you change back to a room where the property is set ot true.

I avoid the issue by using the player.transparency command instead.

I'll post this in the VerbCoin Template thread as well.

SMF spam blocked by CleanTalk