I have an inventory list in ink that has a corresponding set of metadata functions: print_name and print_desc
To Reproduce
declare the following in ink:
=== function print_name(x)
{x:
- pendant: Silver Pendant
}
=== function print_desc(x)
{x:
- pendant: A brilliantly shiny silver pendant depicting the dove of Genos.
}
Describe the bug
I have an inventory list in ink that has a corresponding set of metadata functions:
print_name
andprint_desc
To Reproduce
declare the following in ink:
when running the following:
I get this error:
Uncaught (in promise) Error: null
Expected behavior
ItemName
anditemDescription
will be set to the string values declared in inkInk files
N/A see examples above
Environment
Additional context
I posted this before: https://github.com/y-lohse/inkjs/issues/1020 I was unable to find anything that worked in the discord links