Commit Graph

905 Commits

Author SHA1 Message Date
OgelGames
5345fe7af3
Prevent vacuum tubes breaking themselves and refactor code (#51)
also bumps `min_minetest_version` to 5.4.0
2022-11-11 23:14:08 +11:00
Jude Melton-Houghton
8c251800db
Store teleport tube DB more compactly (#45) 2022-09-21 17:53:42 -04:00
unknown
b190d29d21 fix https://github.com/mt-mods/pipeworks/issues/44 2022-09-19 20:21:34 -04:00
fluxionary
e45eca76e1
check if machine is protected before trying to break/place a node (#43)
* check if target is protected before trying to break/place a node, so as not to trigger protection violations

* check whether the machine is protected, not the target
2022-09-17 19:03:55 -04:00
fluxionary
65cea1e33c
check if target is protected before trying to break/place a node, so as not to trigger protection violations (#42) 2022-09-16 19:16:58 -04:00
Luke aka SwissalpS
b6c02ac8de
typo fix 2022-08-16 00:30:42 +02:00
wsor4035
54243764e0
prevent tubes from connecting to the front of furnaces to match chests 2022-08-13 23:59:46 -04:00
Jude Melton-Houghton
1823690dad
Store teleport tube DB in mod storage (#40)
* Store teleport tube DB in mod storage

* Prevent overwriting of tube DB backup file

* Remove backup code

* Slightly improve storage reading code

* Log DB migration to mod storage

* Add migration note in README

* Improve pipeworks.logger
2022-08-13 16:22:53 -04:00
SX
75894355d4
Use on_repair when repairing tube (#37)
* Use on_repair when repairing tube

* Use tube.on_repair

* Verify was_node registration
2022-06-23 18:06:01 +02:00
Jude Melton-Houghton
7b15bdbd1f
Add configurable globalstep interval (#32)
* Add configurable globalstep interval

* Add warning for high globalstep interval

* Lower maximum globalstep interval

With no accelerator tubes, 0.8 can handle item movement speeds even
with lag.
2022-05-24 19:13:41 -04:00
OgelGames
90425fde95 fix broken shift-clicking in wielder formspec
fixes #34
2022-05-23 02:28:21 +10:00
Jude Melton-Houghton
1349ff8dd8
Return early from on_step (#33) 2022-05-15 10:58:35 -04:00
unknown
3b31b6f9c0 fix https://github.com/mt-mods/pipeworks/issues/31 2022-05-13 22:10:40 -04:00
sfence
4fce320d9c
Better Hades Revisited support (#30)
* Fix spaces vs tabs in crafts.lua

* Fix recipes, add telepoter device for teleporter tube recipe.

* Override chests and furnaces in Hades as well.
2022-05-12 22:52:17 -04:00
Jude Melton-Houghton
55ded7e569
Make tubes opaque when entities are not used (#29)
* Make tubes opaque when entities are not used
2022-05-11 18:41:28 -04:00
wsor4035
e3d94cb3a8
fix digiline formspec spacing (#27) 2022-05-07 17:04:06 -04:00
Jude Melton-Houghton
97903327a5
Add option to forego real entities (#26) 2022-05-06 11:25:02 -04:00
wsor4035
37eef73695
add I3 support + update to formspecs v2 (#22)
* add fs helper inv function

* add fs helper prepends function

* add trash can, vacuum tube, teleport tube. wielders, autocrafter, mesetube, injectors

* fixed missed texture to make game agnostic

* fix luacheck
2022-04-16 14:51:59 -04:00
fluxionary
3092ce771f
Merge pull request #21 from mt-mods/issue_20
override (not replace) minetest_game furnace behaviors. fixes #20
2022-04-01 20:38:39 -07:00
unknown
96ccd29dd2 address flux review 2022-04-01 20:20:48 -04:00
unknown
8e0b25fb2c fix https://github.com/mt-mods/pipeworks/issues/20 2022-04-01 19:50:21 -04:00
wsor4035
8a29f8844c
fix pipeworks:mese_tube_000000 craft 2022-03-20 12:47:45 -04:00
wsor4035
5aa0501872
make pipeworks Game agnostic (#16)
* make it boot in non mtg

* make water flow

* fix water texture warnings

* fix missing steel texture issues

* remove depreciated/unnessary default function calls

* make sounds work

* fix default formspec crashes

* fix wierd tab spacing

* additionally game dig group support

* move crafts to crafts.lua

* make crafts support various games
2022-03-14 21:39:58 -04:00
OgelGames
5618003be3 fix remaining use_texture_alpha warnings
extension of d2954c52, using the same compatibility check for now, though it would be good to bump the minimum minetest version to 5.4 at some point

fixes #11
2022-02-07 15:53:29 +11:00
OgelGames
06fd754216 fix pipeworks_enable_items_per_tube_limit setting
fixes #7
2022-01-07 13:42:08 +11:00
SX
794cae675e
Expose set_tube on public API (#6)
* Expose set_tube on public API
* Added update_meta to public tptube API
2022-01-02 15:14:14 +01:00
zichen
7d3a61e595
Fix toggling of autocrafter when digilines is not installed (#5)
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2021-12-26 17:12:15 +11:00
wsor4035
a70115ab8d
update wiki link 2021-12-13 20:20:47 -05:00
sfence
23fe215721
Fix furnace block fuel (#2)
* Fix blocking of fuel inventory by fuel replacement and losing of fuel replacements.
2021-11-29 17:01:16 +01:00
OgelGames
8f067db7cd github luacheck workflow 2021-11-28 16:13:11 +11:00
OgelGames
e082ea473b
fix missing argument when calling on_rightclick 2021-11-28 14:40:40 +11:00
Vanessa Dannenberg
cec6049dd1 Merge branch 'tptube-cache-v2' into 'master'
add caching layer to teleport tube

See merge request VanessaE/pipeworks!46
2021-06-01 17:17:34 +00:00
BuckarooBanzay
047718b3c3 add caching layer to teleport tube 2021-06-01 18:57:59 +02:00
Vanessa Dannenberg
01f4ea066c Merge branch 'master' into 'master'
Fix autocrafter to match formspec changes and fix setting of channel

See merge request VanessaE/pipeworks!45
2021-05-29 12:22:42 +00:00
OgelGames
7ba685344c fix autocrafter 2021-05-29 17:37:10 +10:00
Vanessa Dannenberg
c39d40e940 Merge branch 'fix_undeclared' into 'master'
Fix Undeclared Global Variable "unified_inventory"

See merge request VanessaE/pipeworks!44
2021-05-14 04:08:02 +00:00
Jordan Irwin
48b082e014 Fix Undeclared global variable "unified_inventory" 2021-05-13 10:57:58 -07:00
Vanessa Dannenberg
2670fd88a9 Merge branch 'lua-tube-mono' into 'master'
Make the LUA tube editor textarea and error label use monospaced font

See merge request VanessaE/pipeworks!43
2021-05-06 18:21:59 +00:00
Vanessa Dannenberg
3536004667 Merge branch 'fix-protection-check' into 'master'
Skip protection check on formspec close (where not already done)

See merge request VanessaE/pipeworks!42
2021-05-06 18:21:42 +00:00
hlqkj
b53a1ee477 Make LUA editor and error label use mono font 2021-05-06 18:28:47 +02:00
hlqkj
29bac67d3a Skip protection check on formspec close
Prevents protector flip/player being hurt/protection violation if the
player closes the formspec without attempting any changes (sorting tube
and autocrafter).
2021-05-06 18:02:19 +02:00
Vanessa Dannenberg
db6d1bd9c1 Merge branch 'master' into 'master'
Make luacheck happy

See merge request VanessaE/pipeworks!41
2021-04-06 09:12:01 +00:00
luk3yx
79dc5f5c7d Make luacheck happy 2021-04-06 21:10:08 +12:00
Vanessa Dannenberg
01d44056a2 Merge branch 'master' into 'master'
Remove deprecated invsize

See merge request VanessaE/pipeworks!40
2021-04-06 09:09:56 +00:00
luk3yx
c7d44272e6 Remove deprecated invsize 2021-04-06 21:07:35 +12:00
Vanessa Dannenberg
5837d62979 Merge branch 'categories' 2021-04-05 22:16:04 -04:00
Vanessa Dannenberg
fc6efb450c add support for Unified Inventory categories 2021-04-02 15:48:28 -04:00
Vanessa Dannenberg
828c50e85d Merge branch 'formspec-improvements' into 'master'
Improve formspecs for better mobile usability and consistency

See merge request VanessaE/pipeworks!39
2021-04-02 19:47:48 +00:00
hlqkj
4add40705f Improve formspecs for better mobile usability and consistency 2021-04-02 19:47:48 +00:00
Vanessa Dannenberg
a6e4f2dceb Make sure item_exit() exists before calling it inside minetest.after()
When a signal/detector tube breaks, its minetest.after() can be triggered
just after that, perhaps several times, causing it to try to execute the
item_exit() callback of whatever node is present at least once, but a
broken tube has just taken its place and has no such callback.
2021-03-30 08:28:47 -04:00