Commit Graph

95 Commits

Author SHA1 Message Date
bri cassa 98f364c0cc Merge remote-tracking branch 'upstream/master' 2023-12-13 20:57:58 +01:00
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org f781039f43
MineClone/MineClonia compatibility (#80) 2023-12-02 21:45:07 +01:00
bri cassa d480fee891 Merge remote-tracking branch 'upstream/master' 2023-06-05 23:34:03 +02:00
fluxionary 722ff851dd
Don't record a protection violation when players aren't allowed to modify a node (#78) 2023-05-10 21:40:38 +02:00
nonfreegithub fa4f7a949c
Add ES locale and update the template (#77) 2023-01-10 16:26:31 +01:00
SmallJoker 9c2b980938 Fix LCD Z-fighting in distant places, large coordinates
Co-authored-by: DS <vorunbekannt75@web.de>
2022-12-20 19:05:14 +01:00
bri cassa f5b2521e4b Merge remote-tracking branch 'upstream/master' 2022-08-26 14:53:49 +02:00
Emo"jigit d35f7f12c4
zh_TW Translations (#76) 2022-08-13 15:03:12 +02:00
bri cassa b36dd31f0f Merge remote-tracking branch 'upstream/master' 2021-07-24 13:05:51 +02:00
Oversword f03cd02854
Send messages from digiline chest when items are moved with tubelib (#73)
Sends the same events from tubelib interaction as would be sent from pipeworks

 * Moved the tube_can_insert and tube_insert_object callbacks out of the node definition so they can be re-used in the tubelib registration
 * Optionally required tubelib and registered callbacks for pushing and pulling
 * Used "speculative pull" variable to only send a "take" event if tubelib's unpull is not called after a pull - this happens when it tries to take an item but there is no room, so it fails
2021-07-21 15:07:15 +02:00
bri cassa 5a04699b3e Merge remote-tracking branch 'upstream/master' 2021-06-20 17:06:29 +02:00
OgelGames a055b5045a
Add craft recipes for RTC and Lightsensor (#71) 2021-05-13 15:33:58 +02:00
bri cassa 7a5cc43280 Merge remote-tracking branch 'upstream/master' 2021-04-17 13:45:38 +02:00
sys4-fr 660bd62528
Optimize textures to avoid use_texture_alpha warnings (#70)
Co-authored-by: sys4 <bricassa@sys4.fr>
2021-04-14 16:19:53 +02:00
bri cassa 327c96cba8 Merge branch 'github' 2021-03-19 22:20:48 +01:00
bri cassa 0aa935c271 Optimize textures to avoid use_texture_alpha warnings 2021-03-19 22:15:45 +01:00
Sys Quatre dd8432ef34 Merge remote-tracking branch 'upstream/master' 2021-01-24 12:54:09 +01:00
David Leal af4a699e19
Fix LuaCheck warning (#69) 2021-01-24 10:42:01 +01:00
Sys Quatre c3f1b4ef41 Merge remote-tracking branch 'upstream/master' 2021-01-23 12:57:25 +01:00
OgelGames ff525c09a4
Fix wires not connecting to nodes using `digilines` def (#68) 2021-01-21 17:47:55 +01:00
Sys Quatre 45991bf124 Merge remote-tracking branch 'upstream/master' 2021-01-19 23:26:45 +01:00
David Leal dc6cc0b04a
[LuaCheck]: Various changes and improvements (#65)
* Add GitHub workflow
* Fix LuaCheck warnings
* Add build status badge on README.md
2021-01-16 09:59:19 +01:00
Sys Quatre 4e6b34da34 Merge remote-tracking branch 'upstream/master' 2020-12-15 23:43:58 +01:00
Peter Nerlich ab2eb4af43
LCDs: Rework line breaking algorithm, include spaces, show unknown symbols as spaces (#64)
Typeset the lines according to these rules (in order of subjective significance):

 * words that fit on the screen but would let the current line overflow are placed on a new line instead
 *  " | " always forces a linebreak
 *  spaces are included, except when there is a linebreak anyway
 * words with more characters than fit on screen are just chopped up, filling the lines as full as possible
 * don't bother typesetting more lines than fit on screen
 * if we are on the last line that will fit on screen
2020-12-09 17:48:18 +01:00
Sys Quatre 2800b237c5 Merge remote-tracking branch 'upstream/master' 2020-10-31 12:00:29 +01:00
David Leal 021c521c65
Use mod.conf for dependencies and description (#59) 2020-10-30 15:50:26 +01:00
Sys Quatre a6e79e6a25 Merge branch 'master' into nalc-1.2 2019-05-09 21:27:50 +02:00
Christopher Head 434010bdd0 Implement slot tracking
Whenever putting or taking items, tell the listeners which slot they
were put into or taken from. Also tell listeners when the user moves
items from one slot to another.
2019-03-05 22:04:56 -08:00
Christopher Head 9e4f1a5bab Rework Digilines chest
Fix various bugs regarding spurious messages being sent, item stack
swapping not being reported properly, etc.. Change from sending strings
to sending tables. Enhance Pipeworks tube support by reporting which
side an item is added or removed via tube or filter-injector.
2019-03-05 22:04:56 -08:00
DS 925b318800 change digiline to digilines in nodedef (#47)
* change digiline to digilines in nodedef

* choose the other variant
2019-03-05 22:01:12 -08:00
Auke Kok 930ca4779a Update .luacheckrc 2019-03-05 22:00:20 -08:00
GreenXenith a2230bdeb1 Fix entity overloading and add missing entity check
- Remove bad clear_screen()
- Use minetest.is_player()
- Fix entity with rotated LCD
- Use on_rotate and ad new rotate function, refactor code
2019-03-05 22:00:20 -08:00
12Me21 c7f4185e92 Fix duplicate messages (#52)
* Fixes duplicate messages
2019-03-05 21:41:50 -08:00
HybridDog a5e2f05d92 Use new minetest.settings (#51)
Use new minetest.settings.
2019-03-05 21:35:36 -08:00
sys4-fr 0b099505eb Ajoute message de chargement du mod dans le journal "action" 2018-12-25 13:54:05 +01:00
DS 8b73f9e11d add listring to chest (#46)
* add listring to chest
2018-02-16 17:31:53 -08:00
DS-Minetest fceb4bb696 lcd: make lettering nearer to display 2017-03-14 21:57:52 -07:00
Diego Martínez 7530df494f Backwards compat code. 2017-03-14 21:57:01 -07:00
Diego Martínez 196a6da26c Remove unused args. 2017-03-14 21:57:01 -07:00
Diego Martínez 5caacf3019 Add `.luacheckrc` and fix warnings. 2017-03-14 21:57:01 -07:00
Diego Martínez f5e6a7d181 Change to `.`. 2017-03-14 21:57:01 -07:00
Diego Martínez 6a2fa5a3e4 Rename global table to `digilines`.
This also adds a backwards compat alias so other mods
shouldn't break.
2017-03-14 21:57:01 -07:00
Diego Martínez 54b1b3fe91 Add `settingtypes.txt`.
This allows configuring the mod from the GUI.
2017-03-06 13:58:47 -08:00
Christopher Head 84133a10df Use `minetest.hash_node_position` for searches.
Previously, Digilines used concatenations of X/Y/Z coordinates into
strings as keys to check for repeatedly visiting the same node during a
graph search. Replace them with integer keys generated by
`minetest.hash_node_position`, which should be more efficient.
2017-02-28 22:13:19 -08:00
Christopher Head 25ea72270d Use VoxelManipulators to force-load nodes.
If a node needed during wire traversal is not currently loaded, it is
loaded from disk using a VoxelManipulator.
2017-02-28 22:13:19 -08:00
Christopher Head 514fb2e289 Replace DFS with BFS.
Replace the recursive depth-first search of a wire network with an
iterative breadth-first search, primarily to reduce memory footprint and
eliminate the possibility of stack overflow.
2017-02-28 22:13:19 -08:00
Auke Kok 7ecb29e87f Convert digilines to a mod (not modpack). (#32)
Digilines is probably used by most people in its entirety.

I've retained the ability to disable inventory, rtc, lightsensor and
LCD by the minetest settings "diglines_enable_rtc" etc.. If set to
"false", these components will not be loaded. It is assumed by default
that these are enabled.

In the conversion the digilines_lcd:lcd node was renamed to
digilines:lcd (same for all the other nodes). To retain backwards
compatibility I've provided aliases for each of these nodes.
2016-05-27 16:08:53 -07:00
cheapie 4c743f9c4d Add protection support to channel fields (#33) 2016-05-23 11:13:24 -07:00
Auke Kok b6e8913901 Adding a screenshot and description.txt
This is for the toplevel folder alone. Subfolders could each use
a separate one, but I feel they are not needed atm.
2016-04-11 21:30:40 -07:00
Auke Kok 2a0e0d6b73 Merge pull request #30 from Rui914/master
Fix undeclared global variable "rules"
2016-04-11 21:24:47 -07:00