allow mods to use treasure scripts + remove debug spam in entity_getID()