10 Commits

Author SHA1 Message Date
Oversword
48f46d2985
Load the travelnet node before performing teleport logic on it (#27)
* Move load retrying from the rotate_player method to outside of the existance check
2022-01-28 14:29:04 -05:00
Buckaroo Banzai
6f170053da
Editable station (#24)
* 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>
2022-01-07 16:37:46 +01:00
Oversword
9b20c7b023
WIP: Code sanity improved (#18)
* Logic cleaned up and repetition removed
2021-07-03 19:41:00 +02:00
Oversword
be109dd8dc
Linting and code formatting (#17)
* 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>
2021-07-02 14:58:54 +10:00
OgelGames
ede07a3933 fix typo 2021-02-03 16:55:19 +11:00
BuckarooBanzay
5549df3acc fix player variable leak 2021-02-02 09:20:48 +01:00
BuckarooBanzay
30ed33fcba fix door opening code 2021-02-02 09:18:40 +01:00
BuckarooBanzay
0a1b7dcf1b stricter luacheck / cleanups 2021-01-15 08:26:42 +01:00
BuckarooBanzay
39e7d86040 modularization, cleanup part II 2020-11-19 19:57:19 +01:00
BuckarooBanzay
484bd808f7 split some functions in separate files (cleanup part I) 2020-11-19 19:46:40 +01:00