I have a parent and child classes. The parent class defines a variable and uses it in some methods. I want to set the variable by the child so that the parent will act on that value.
Forest tile is not inheriting the base tile script; maybe you want to make a new inherited scene of the base tile by right clicking BaseTile.tscn in the filesystem. Then right clicking the root node and extending the script to ForestTile.
BaseTile is only a child Node in your set up, not a parent/base Class
The main difference is that having a child node does not mean the parent extends it. Extending scripts is not related to the scene tree.
A new Inherited scene is like soft-copying the scene, you can still update the old version and it’s changes will propigate to the inherited scenes, similar, but not the same as nor related to extending scripts.
Chances are your script would work if you removed BaseTile and gave the ForestTile a collision shape, I only recommend a inherited scene because there is more to the BaseTile than just a collision shape and type string.