Commit Graph

6 Commits

Author SHA1 Message Date
Vanessa Ezekowitz 29cdb89f60 ignore cobwebs when searching for walls to put them on 2014-10-02 23:20:40 -04:00
Vanessa Ezekowitz 29b2c262e5 fix cobweb conversion abm 2014-09-05 08:44:26 -04:00
Vanessa Ezekowitz 8c3c1deea5 remove some debug statements 2014-09-04 17:14:21 -04:00
Vanessa Ezekowitz fdfaa42f4f allow placement of cobweb on a flat vertical surface also. 2014-09-04 17:13:58 -04:00
Vanessa Ezekowitz 5c1b4de65a adjust selection box for centered cobweb 2014-09-04 16:50:39 -04:00
Vanessa Ezekowitz 60d34095a5 make cobwebs sit in corners when so-placed.
Algorithm tries to find an X-/Z+ or X+/Z- corner first (places the
cobweb using the torchlike "on-floor" mode) then an X-/Z- or X+/Z+
corner ("on-ceiling), then opposing X-/X+ walls (nodebox, not rotated),
then opposing Z-/Z+ walls (nodebox, rotated 90 degrees), then falls back
to plantlike (which also happens to fit places where e.g. three walls
come together only 1m apart)

ABM added to convert old ones.

Node name has changed so if you have cobwebs in your inventory, sorry
about that.
2014-09-04 16:27:05 -04:00