ephread / inkgd

Implementation of inkle's Ink in pure GDScript for Godot, with editor support.
MIT License
305 stars 33 forks source link

Failed to convert token to runtime object: True #31

Closed bkmeneguello closed 2 years ago

bkmeneguello commented 3 years ago

Testing this ink file:

VAR test = true
Hello {test:world!}

compiled with inkcatle v1.0.0 gives me Failed to convert token to runtime object: True. This is the line where the error happens. I changed this line to

if token is int || token is float || token is bool:

And it worked.

ephread commented 3 years ago

Hey @bkmeneguello same as #30, inkgd doesn't support stories compiled with inklecate 1.0.0 yet. It's coming in the future!

ephread commented 2 years ago

Fixed by #49.