Note that the picture doesn't show the glitch in action, but instead shows the room I'm testing in. That picture will help make my desciption in the secret tag make more sense.
Normally, when a monster player role tries to move onto a potion, it treats it like a wall.
But I was surprised to see
this topic. Wondering how Monkey got a spider to use a clone potion, I did some investigating.
I found out that, rather expectedly, when you playtest a room, with your start location on a clone potion, and turn into a spider on turn 0, you first turn into a spider, and then get to place the clone as a spider. But even though it was pretty obvious that it would work if done this way, in actuality, it shouldn't work. The spider should not activate the potion, and, instead, should treat it like when you start on a wall; nothing happens, and once you move off of it, you can't move back on.
As the game seems to have successfully changed my player role before placement, the NPC's Player Role command seems to take place before the clone placement screen. Therefore, you can prevent the potion from activating for the spider by simply having the game check the player role variable before potion script execution. Incredibly easy, or so I would think (I haven't looked at the source code, nor am I even sure it comes with the Demo version).
But if it is intentional that a potion can be activated by another player role in these rare occasions (which would be limited to screen exits, playtesting, and Level Entrances on top of potions), then it still is unintuitive how it works.
But I'll describe the placement difficulties in a Secret tag so that these don't take up space when the former solution (not allowing this situation at all) is the more likely choice:
Click here to view the secret text
×There is no blue lightning connecting the player to the clone. The clone only shows up on the placing screen if you have it in a valid spot, which is normal, but the way the game refreshes the location of the red tile for incorrect placement is flawed:
-It will only appear if it is your first step into invalid territory. Take a look at my test room. As it almost all water, this means I often won't know where I am.
-Also, it will only appear if this first step is adjacent to or on the original spider. So, I will only see a red square if I am on the center, left, or right tile and move north 1 space.
-It will only disappear if you are on that space and then move onto land. So you can have 3 red tiles on the screen in my room that each only disappear when you are on them and move south. Perhaps you need to refresh the whole screen, and not just the previous tile?
Look at the room I am testing this in. Due to the lack of red invalid placement tiles, I can't see where I currently am placing it with the exception of 7 tiles.
EDIT: Oh, I just realized that I have never updated TCB, sort of due to the fact that I can't find out how, and I still have the demo version, so updates might not even apply to it.
Sorry if this was reported ages ago and already fixed.
____________________________
Also known as ExpHP everywhere else.
[Last edited by Kwakstur at 07-29-2007 11:11 PM]