tmedwards / tweego

Tweego is a free (gratis and libre) command line compiler for Twine/Twee story formats, written in Go.
https://www.motoslave.net/tweego
BSD 2-Clause "Simplified" License
124 stars 23 forks source link

Story.name Sugarcube 2.37.0 support #61

Closed rohal12 closed 2 months ago

rohal12 commented 2 months ago

https://github.com/tmedwards/tweego/blob/243cf70ed79e0c76caf7eeec34dc47a3aa12a922/tweego.go#L87-L89 checks for s.name but doesn't seem to load it anywhere. SugarCube 2.37.0 has a new Story.name property that can be used in place of StoryTitle.

tmedwards commented 2 months ago

It's loaded on the line: https://github.com/tmedwards/tweego/blob/243cf70ed79e0c76caf7eeec34dc47a3aa12a922/story.go#L187-L189

What SugarCube has to do with anything I don't know. It's properties are not available to Tweego and that property existed before now under another name.