To try and understand it I reformated it to make it somewhat readable:
To try and understand it I reformated it to make it somewhat readable:
>// Probably plus means a locked door, and single quote means unlocked, or the other way around.
http://angband.oook.cz/stuff/manual.txt gives
' An open /broken door
+ A closed door
$ Gold or gems
A Angelic being
~ Light sources, Tools, Chests, Junk, Sticks, Skeletons, etc
https://gist.github.com/ctsrc/fef3006e1d728bb7271cff0656eb02...
Meanwhile others have posted fully deobfuscated versions that the original author and someone else has published in the past. Oh well :P
The link above goes to the first revision.
Here is a link to the most recent revision at all times:
https://gist.github.com/ctsrc/fef3006e1d728bb7271cff0656eb02...
I think at this point most of it is pretty understandable.
https://gist.github.com/ctsrc/fef3006e1d728bb7271cff0656eb02...
Description of bug, which I also posted as a comment on the OP gist:
> Player and other entities will never be placed on the rightmost column of the room floor, nor on the bottom-most row of the room floor. See https://gist.github.com/ctsrc/fef3006e1d728bb7271cff0656eb02... [...]. In my refactored version of your code the bug is explained at the line I linked to in this comment.
https://gist.github.com/munificent/b1bcd969063da3e6c298be070...
https://gist.github.com/femto113/28f69626acddc70a002ecead0b3...