Commit Graph

237 Commits

Author SHA1 Message Date
1F616EMO~nya
c97db07b14
Display item description when missing item (#103) 2024-06-18 06:29:44 +02:00
Luke aka SwissalpS
64416fd07c
Update README.md (#102)
Slight change of wording concerning mod dependency and support
2024-05-28 07:46:51 +02:00
OgelGames
9697db788f
Replace fake player code with fakelib (#101)
* replace fake player with fakelib

* update luacheck workflow

* remove depends.txt and description.txt

* mention fakelib in readme
2024-05-24 13:15:51 +02:00
1F616EMO~nya
ff0d9bcbad
Apply container loggers onto digtron containers (#100) 2024-04-04 07:35:25 +02:00
OgelGames
0c8f652b2c
preserve crate name when repacking digtron (#97) 2024-02-21 10:34:23 +01:00
1F616EMO~nya
ce02163ef0
Fix use_texture_alpha warnings (#96) 2024-01-17 07:54:55 +01:00
1F616EMO~nya
afd6b8736a
Node diggers also eating dungeon chests (#95) 2024-01-16 19:15:41 +01:00
1F616EMO~nya
1b4628e491
Avoid falling nodes eating digger heads (#94)
If the interval of the digtron is too short (e.g. 1s) while the falling time of nodes in front of the digtron is too long, digtrons may run into them. Previously, this would result in falling nodes destroying the digger head. With this change, the digtron absorbs the falling node and puts it into its inventory.
2024-01-15 14:16:46 +01:00
ksandr
6cf6fd80a9 Add template 2023-12-06 20:08:55 +01:00
ksandr
b89907c5dd Translate awards 2023-12-06 20:08:55 +01:00
ksandr
822352f7bc Translate util 2023-12-06 20:08:55 +01:00
ksandr
af3ca2ac09 Translate doc 2023-12-06 20:08:55 +01:00
ksandr
0f1d53dbde Translate all nodes 2023-12-06 20:08:55 +01:00
ksandr
e74ef691fa Begin translate 2023-12-06 20:08:55 +01:00
Buckaroo Banzai
f746e64c5f
provide default for offset var in case of nil
fixes #92
2023-11-02 11:29:50 +01:00
Buckaroo Banzai
3e1c1ca208
add luacheck and ci workflow (#88)
* add luacheck and ci workflow

* fix another bunch

* more fixes

* more fixes

* regex magic

* add deps

* doc.lua special rules

* more regex magic

* final fixes

---------

Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2023-06-19 07:44:40 +02:00
Hans von Smacker
3f9ca87269
Master builder node (#60)
* broken layout check

* broken layout check

* broken layout check

* introducing master builder module

* fix drops for mb

---------

Co-authored-by: h-v-smacker <hans-von-smacker+github@gmail.com>
2023-05-24 08:00:00 +02:00
Buckaroo Banzai
87db1b33ac
Fix crate transparency (#87) 2023-05-23 20:32:46 +02:00
Buckaroo Banzai
fc11dce128
Fix deprecated minetest.env calls (#86) 2023-02-21 20:41:49 +01:00
Gabriel Pérez-Cerezo
972b6919dc Fix rotation and controller being single-use 2022-10-29 21:45:08 +02:00
Gabriel Pérez-Cerezo
c6611fdede Fix no fuel bug, fix rotation axles and simple controllers being single-use. 2022-10-29 21:45:08 +02:00
Arsenicus
c7bb36b2c7
Fix links in the README (#82) 2022-06-03 19:33:54 +02:00
Luke aka SwissalpS
8cd481daea
Allow duplicating into protected crates (#80) 2022-03-22 22:13:47 +01:00
sfence
ed62ae3275
Fix use_texture_alpha warnings (#79) 2021-08-21 09:42:00 +02:00
tuedel
843dbd2276
Replace deprecated function calls (#70) 2020-08-12 21:15:36 +02:00
tuedel
1c85c822e8
auto_controller: Avoid nil error when digging slopes (#69)
Crashes otherwise if offset field is left empty.
Related: https://github.com/minetest/minetest/issues/10180
2020-08-11 18:57:09 +02:00
Thomas--S
eea743185d
Change after_dig_node() callbacks to supply metadata as table (#68)
Metadata was previously lost according to my testing.
Now, the behaviour will be as specified in Minetest's lua_api.txt.
2020-07-31 18:33:09 +02:00
OgelGames
93573f22ee
Fix and simplify battery usage (#65)
Changes digtron.tap_batteries function so that battery wear and charge is set directly to 0 instead of needlessly calculating it.

Fixes a crash that happens if a battery item doesn't define tool capabilities.
2020-06-01 11:22:28 +02:00
gpcf
c969676657
Forbid dropping loaded digtron crates (see #44) (#61)
* Forbid dropping loaded digtron crates (see #44)

This workaround forbids dropping the crates, so the servers should no
longer crash so often because of loaded digtron crates.

* Check for protection when taking crates
2020-02-25 12:43:22 -07:00
SX
f3d526eda7
Prevent punching with invalid userdata (#64)
Fixes for https://github.com/pandorabox-io/pandorabox.io/issues/445
2020-02-25 12:42:57 -07:00
David Leal
a691afb6d8 Add (soft) dependencies to "mod.conf" (#58) 2019-09-22 23:34:19 -05:00
FaceDeer
d0ce43e2fe add some safety checks to update_builder_item 2019-08-18 14:19:19 -06:00
disba1ancer
b394214ffa Add support for all rechargeble items from technic (#42)
* Add support for all rechargeble items from technic

* Changed comment about batteries

* Changed second comment about batteries
2019-07-19 18:42:47 -05:00
FaceDeer
8b1c63f067 lossless compression of textures 2019-07-05 23:51:58 -06:00
FaceDeer
0b4ec531c7 Use new style of itemstack metadata to show description in inventory 2019-07-05 23:50:55 -06:00
FaceDeer
4b810fc584 removing collectgarbage() from layout creation 2019-06-28 15:56:27 -06:00
FaceDeer
aa927fe26a protect against extremely large builder periods causing entities to be added out of range 2019-06-09 23:53:09 -06:00
Thomas Rudin
445140abaa limit size of the digtron with config option: digtron_size_limit, default to 1000 nodes (#52) 2019-06-09 23:15:27 -06:00
Alex
b3d01a714c Update layout to prevent duplication (#54) 2019-06-06 19:45:25 +02:00
Pierre-Yves Rollo
6726897413 Avoid crate corruption when dug with special tools (#53) 2019-06-06 19:45:11 +02:00
tuedel
d41190a842 execute_downward_dig_cycle: Add missing parameter (#45) 2019-03-17 10:32:35 +01:00
FaceDeer
e09f1b9f56 found a way for incomplete digtron layouts to be created 2019-01-13 16:02:41 -07:00
FaceDeer
556b80bc22 Another guard against a nil that shouldn't be possible 2019-01-13 11:19:40 -07:00
FaceDeer
8ea6d7eb70 collectgarbage hammer fix, and add some asserts to crash before corrupting anything in impossible situations. 2019-01-13 03:02:02 -07:00
FaceDeer
03beff0d33 Add block count to default crate title 2019-01-09 00:39:40 -07:00
FaceDeer
1d5d1d20df a little more optimization, and sounds when placing nodes on builders and diggers 2019-01-09 00:20:02 -07:00
FaceDeer
d4a03478e2 prevent digging of immortal nodes 2019-01-05 22:55:46 -07:00
FaceDeer
5985788181 fixing extrusion - place a copy of the example item, not the example item itself 2019-01-05 22:04:56 -07:00
FaceDeer
5c0700456c
Optimization of table allocation, more sophisticated entity damage (#37)
This pass cleans up a lot of unnecessary table allocation and disposal, which should help with memory usage and garbage collection.

It also adds some sophistication to the entity damage process from diggers, allowing items to be picked up into Digtron inventory.
2019-01-04 22:06:12 -07:00
FaceDeer
fe753a9bed check for presence of node def before testing wallmounted 2019-01-02 20:36:21 -07:00