Commit Graph

9 Commits

Author SHA1 Message Date
Tim
b5188493cc abstract common nodebox forms, fixing some ignored ones in the process 2015-01-23 12:37:23 -05:00
Tim
be4ed12b6c whitespace cleanup:
* remove all trailing whitespaces
* make inbox and computer use the prevalent indentation rules
* CRLF->LF where found
2015-01-21 00:44:23 +01:00
kilbith
1e31d0e02a Sticky cobwebs
Besides the realistic matter, it adds fun when players use it in PvP arenas, for making different kind of traps or amortize a fall.
2014-12-25 21:42:12 -05:00
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