Page 2 of 2

Re: Empty space OR wall function missing?

Posted: Sat Oct 13, 2012 2:19 am
by Neikun
His todo list is longer than most people's christmas lists.

Re: Empty space OR wall function missing?

Posted: Sat Oct 13, 2012 3:40 pm
by Decayer
Some way to check the solidity / passability of the door / wall in a certain direction would be nice too. Example:

Code: Select all

function whatever(level, x, y, facing)
    return "open" --open or no wall/door: can pass through, can grab items from other side
    return "sparse" --closed grating/portcullis: can't pass through, can grab items from other side
    return "solid" --closed solid door or wall: can only 'har de har' softly...
end