* Allow for setting of promary formspec height via options; Get stored pos on form handler, not on recieve fields
* Make sure pos is local and end_input is always called when the form closes
* Always pass as much infomration as possible into the end_input action
* Remove the usage of pos2str using context var
* Make sure on punch and paging is working
* Generate formspecs on interact, not on update
* Linting and page_formspec usage
* Clear metadata formspec on interact
* Consolidate ordered formspec function
* Reduce repetition in infotext when updating station
* Formspec redo - first working version
* Move largest actions to individual files
* Cleanup and tested
* Remove the usage of pos2str using context var
* Make sure on punch and paging is working
* Generate formspecs on interact, not on update
* Linting and page_formspec usage
* Clear metadata formspec on interact
* Consolidate ordered formspec function
* Reduce repetition in infotext when updating station
* Check that a node is in fact a travelnet or elevator before parsing input data
* Update functions.lua
Check that node_def and node_def.groups exist before using them
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
Co-authored-by: Buckaroo Banzai <39065740+BuckarooBanzay@users.noreply.github.com>
* Initial interface
* Paging functionality and conditional display completed
* Cleanup
* Move formspec display to formspecs file
* Linting
* Use max station number to decide if paging is required
* Linting
* Make sure the current page number as a valid number
* first pass adding edit functionality
* moved is_falsey_string to functions.lua
* adding some formspec_escape()
* added node_description() getter
* comment updated
* show edit formspec in a subsequent run-loop
* handle edit formspec
* changelog and misc comment fixes
* simplified elevator editing
Don't allow network or owner change on elevators
* remove unused variables
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
* locale revisions
would be nice if some native speakers would check :)
Co-authored-by: Luke aka SwissalpS <Luke@SwissalpS.ws>
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
* add the rest of the dye colors for travelnets
* fix screenshot url in readme
* use markdown syntax for images
* add color fixes from OgelGames
Co-authored-by: OgelGames <olliverdc28@gmail.com>
* updated screenshots
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
Co-authored-by: OgelGames <olliverdc28@gmail.com>
Co-authored-by: OgelGames <48543043+OgelGames@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
* Initial linting done
* Spaces spaces everywhere, more than you might think
* No space like home
* Continuation indentation
* Double down
* One more thing
* Undo practical change
* Update doors.lua to reduce line lengths
* String concatenation and line lengths
Co-authored-by: Oversword <bionic@oversword.co.uk>
Co-authored-by: OgelGames <olliverdc28@gmail.com>
* changelog title
* split registration and helper function
* add api docs
* simplify travelnet registration (dye as item-string, color only as string)
* fix docs
* add white travelnet
* fix inventory preview
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>