Is there a way to detect whether or not a decoration has been placed? For example:
Given a tree_base tile and a decoration tile that represents the tree-top, peered to N of tree_base
Randomly drawing tree_base tiles (programmatically), which also decorates them
Randomly drawing other tiles, like rock, after first checking that neither a tile nor a decoration is in the target cell
It seems like get_cell returns -1 for decorations, as if they were empty. Is there an alternative way to query the state of the cell that would disambiguate between "empty" and "decorated?"
Is there a way to detect whether or not a decoration has been placed? For example:
tree_base
tile and a decoration tile that represents the tree-top, peered to N oftree_base
tree_base
tiles (programmatically), which also decorates themrock
, after first checking that neither a tile nor a decoration is in the target cellIt seems like
get_cell
returns-1
for decorations, as if they were empty. Is there an alternative way to query the state of the cell that would disambiguate between "empty" and "decorated?"