When an object that is in the center (or centre, if you prefer) of a tile is converted, any resultant object will also be there, including a pickableuppable item.
Thus, if I'm trying to make a monster into an object, for example, it will appear in the middle of the tile, and I can't pick it up.
[Fixed for V0.38] Items created in center can't be picked up
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting. You may
to help finance the hosting costs of this forum.
Please read the Forum rules and policies before posting. You may

- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
Something like:
Code: Select all
if (tile is a wall)
{
if (current tile position == NORTH)
current tile position = NORTHWEST
else if (current tile position == EAST)
current tile position = NORTHEAST
else if (current tile position == SOUTH)
current tile position = SOUTHEAST
else if (current tile position == WEST)
current tile position = SOUTHWEST
else if (current tile position == CENTRE)
current tile position = Random of one of the above 4.
}
else
{
if (current tile position == NORTHWEST)
current tile position = NORTH
else if (current tile position == NORTHEAST)
current tile position = EAST
else if (current tile position == SOUTHEAST)
current tile position = SOUTH
else if (current tile position == SOUTHWEST)
current tile position = WEST
else if (current tile position == CENTRE)
current tile position = Random of one of the above 4.
}