It is currently not possible to create databags in gdscript. Ideally, it would be as simple as extending Databag and declaring any vars/funcs below.