Buckaroo Banzai
db1e731ba7
add lbm to migrate formspecs automatically on mapblock load ( #48 )
...
* add lbm to migrate formspecs automatically on mapblock load
* add setting for formspec migration
* apply suggestion from @OgelGames
* rename setting to `travelnet_cleanup_lbm`
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2022-02-14 17:09:26 -05:00
Oversword
302e425262
Draft: Formspec redo ( #47 )
...
* 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
2022-02-12 14:56:37 -05:00
Oversword
2f09593ebf
Re-work how formspecs are shown to remove the need for delays and to guarantee the formspec is show ( #35 )
...
* Initial rewrite
* Working
* Cleanup
* No need to ensure existance as we already check for existance
2022-02-01 19:13:45 -05: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
740cecc67e
fix deprecated use of use_texture_alpha
2021-04-04 22:45:36 +10:00
BuckarooBanzay
0a1b7dcf1b
stricter luacheck / cleanups
2021-01-15 08:26:42 +01:00
Buckaroo Banzai
dd759279ed
colored travelnets ( #5 )
...
* 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>
2021-01-08 15:11:19 +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
David Leal
696548f6d3
Add integration test (based on 3D Armor's integration test) ( #7 )
...
* Add integration test (based from 3D Armor's...
...integration test).
* Add Integration Test status badge
* make the `integration-test.sh` file executable
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2020-11-04 12:05:17 -06:00
David Leal
f3e77cc744
Fix LuaCheck warnings
2020-10-26 12:15:57 -06:00
BuckarooBanzay
671d754cc8
Merge https://github.com/Panquesito7/travelnet into HEAD
2020-10-26 07:35:35 +01:00
David Leal
727f657cbe
Refactor how some translations are coded
2020-10-25 14:35:48 -06:00
David Leal
c8420fc3b7
Refactor how translations are coded
2020-10-24 21:34:16 -05:00
h3ndrik
f3b83c65c6
interoperability with protection mods
...
don't allow digging boxes if protected by another mod
2020-08-12 17:41:25 +02:00
Thomas Rudin
43e74f80ea
add nil check to formspec callback
...
fixes https://github.com/pandorabox-io/pandorabox.io/issues/399
2020-01-03 19:59:11 +01:00
Thomas Rudin
8282310c63
fix typo
2019-12-29 21:56:40 +01:00
Thomas Rudin
fe05f9ac2c
fix door registration (again?)
...
related: https://github.com/pandorabox-io/pandorabox.io/issues/393
fixes https://github.com/pandorabox-io/pandorabox.io/issues/390
2019-12-29 21:55:01 +01:00
OgelGames
ca91f95ad8
fix pandorabox-io/pandorabox.io#337
2019-12-29 13:21:47 +01:00
BuckarooBanzay
84ddbef3b0
check and remove blocking node in travelnet box
...
fixes https://github.com/pandorabox-io/pandorabox.io/issues/337
2019-12-29 13:21:19 +01:00
BuckarooBanzay
41f621a760
luacheck workflow and fixes
2019-12-29 13:19:53 +01:00
BuckarooBanzay
5139dd7830
extend travelnet.allow_dig with a pos param
2019-12-29 13:16:50 +01:00
Panquesito7
a30a1e7e3f
Use translation method from MT 5.0.0+
2019-11-11 14:09:52 -06:00
Sokomine
6d6e533629
renamed deprecated functions to new name
2019-03-11 23:45:10 +01:00
Sokomine
19c0c162b9
buttons for locked travelnet work now
2019-03-10 16:52:45 +01:00
Sokomine
cc1e2eade3
added extra buttons for configuration of locked travelnets
2019-03-10 16:12:40 +01:00
Sokomine
4331483c72
version bumped to 2.3
2019-03-09 23:56:18 +01:00
Sokomine
be6eb62332
adjusted changes for locale
2019-03-09 23:42:38 +01:00
Sokomine
525714a9ed
merged changes to locale
2019-03-09 23:16:41 +01:00
Sokomine
d5cf0ff79c
enabled sound by default
2019-03-09 22:36:55 +01:00
Sokomine
74da8a296e
Merge pull request #34 from poikilos/restore_sound
...
replacement for missing sound, and different for elevator
2019-03-09 22:25:20 +01:00
Sokomine
17837ad5a7
try harder to rotate the player correctly
2019-03-09 22:05:43 +01:00
Sokomine
1d8823e3b9
open/close tin doors automaticly
2019-03-09 21:27:39 +01:00
Sokomine
67c44ab210
fixed bug with attaching travelnets to networks owned by others
2019-03-09 21:11:42 +01:00
Sokomine
4cded704e8
updated changelog
2019-03-08 14:55:26 +01:00
Sokomine
5b338f0d5c
added buttons for removing/digging stations
2019-02-26 22:44:33 +01:00
SmallJoker
c1a4ca0741
Use safe_write_file, backup damaged network files
2018-10-28 20:39:58 +01:00
Sokomine
c295395ae8
dig travelnet in creative mode directly again
2018-10-10 00:53:55 +02:00
poikilos
6a89dba20d
use new sounds
2018-10-08 20:50:50 -04:00
Sokomine
33c88ecb98
move up/move down no longer close the formspec
2018-09-22 13:47:03 +02:00
Sokomine
4066361b91
creative mode: update on punch, dig with diamond pick
2018-09-22 02:23:02 +02:00
codexp
29aefc511f
implement official intllib fallback boilerplate
2018-04-05 20:06:28 +02:00
Sokomine
af581a0e81
door detection is now more versatile
2017-12-25 12:46:42 +01:00
Sokomine
661919aaaf
added localization (inttlib); added german
2017-12-25 02:08:06 +01:00
Sokomine
0dbcda24c1
minor formspec improvement
2017-12-24 03:05:32 +01:00
Sokomine
8e023fad92
made behaviour of menu more consistent
2017-12-18 20:05:26 +01:00
Sokomine
35e86f900f
improved formspec
2017-12-17 19:52:36 +01:00
Sokomine
11de2c34b7
when placing elevator show where nearest one is
2017-12-17 17:56:36 +01:00
Sokomine
4aa4cf8966
#23 added brighter steel-like elevator doors
2017-12-17 03:34:46 +01:00