with some tinkering i've been able to load your scripts into my project without making it buggy.
New problem however, didn't know i should've posted it on the other topic but hey seemed a different type of issue.
The new problem is your variable G. (like in the parser line 87 -> G.can_talk)
I cant find where G is defined and how ? Is it a singleton that autoloads and i dont have the file or am i completely missing something ?
For info : my player scene with all the animations, health, and stuff, is called player.tscn which is an extension of our singleton "entity.gd"
Hope you'll be able to help ! Thanks in advance