Afaik every value is stored in data.raw . Some sort of global table you can directly access.
I tried like /c game.player.print(data.raw.fuel.coal) but i get errors

anyone know whats wrong? (And sometimes it sais "attempt to index data ,a nil value" wtf i thought data has everything how can it be nil)
And whats a prototype exactly?