Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(content, port): port treetops and ability to climb trees from DDA (
#5167) * couple three things * push through changes to terrain-roofs.json and mapdata * adjust treetop roofs * unstable implementation of tree climbing * change trees to use CLIMBABLE rather than CLIMBABLE_ADJACENT * make treetop collapse if tree is cut down * make neighboring treetops not automatically self-destruct on tree destroy * Updates `collapse_at()` function Collapses can no longer collapse roof's that are supported by walls. This means that roof collapse propagation will be contained within rooms. unless the walls are given `COLLAPSES` as a flag. Makes `SINGLE_SUPPORT` flag unnecessary, the only edge case possible if that chopping down a tree will propagate collapse to any unsupported roofs nearby, which is easily explained by the tree hitting things on the way down and thus may be considered expected behaviour. * Changes to fit my suggestions Given that the PR OP doesn't seem to be around at the moment and they are fairly simple fixes. * Updated format Moves "roof" before "flag" on all trees Removed unused giant fern treetop. --------- Co-authored-by: fairyarmadillo <94415528+fairyarmadillo@users.noreply.github.com> Co-authored-by: Ethan Meade <ethanmeade@ucsb.edu> Co-authored-by: KheirFerrum <102964889+KheirFerrum@users.noreply.github.com>
- Loading branch information