Closed jimmydorry closed 8 years ago
I think the GetSelectedHeroName
error was just me failing to add PlayerResource to it, it's fixed in the test branch so not sure how valid is this now
Awesome.
Do you think it would be easier to have a generic enough schema that always works, or another setting that allows the basic integration out of the box regardless of schema, and makes it clear they need to edit the schema?
I believe the first one is better, but now with the new utilities.lua file we should just fill that in with anything that the users might need as long as it's not mod-specific (such as fetching a .damage_done value on the hero handles or that sort of stuff)
I should look at the test branch. Sounds good.
Yeah the only reason I haven't merged the test branch yet is because I'm waiting confirmation for the item-string length, but it might be good enough to just merge it already so people don't need to go back and adjust the changes again
At least we got @ynohtna92 and @fcalife on the IRC to test now
People that install this with mods that don't support heroes (etc.), will get errors in their console... now that we print the schema result to console, which obviously will attempt to assemble the data.
e.g. "on schema.lua line 122, GetSelectedHeroName a nil value"