OgelGames
50e69217bd
remove more excluded files from luacheck
2020-10-31 16:39:27 +11:00
SX
8f88ec9e16
Merge pull request #96 from mt-mods/network-ng
...
Partial network rewrite
2020-10-31 05:05:01 +02:00
SX
9fd9676bfb
Merge branch 'master' of github.com:mt-mods/technic into network-ng
2020-10-31 04:55:17 +02:00
SX
7661ea582d
Fix digtron again after removing last SC hacks
2020-10-31 04:43:37 +02:00
SX
93c509d1d9
Better tests for SC placement between networks
2020-10-31 04:43:37 +02:00
SX
7b658a4291
Do not add duplicates to PR_nodes when cable placed near SC
2020-10-31 04:43:37 +02:00
SX
1a83a03ad0
Test SC digging for nil cable network use
...
Check network table before attempting to use it
2020-10-31 04:43:35 +02:00
SX
9887a5950b
Remove global dig/place handlers. Better multi tier support for dig/place
...
Fix on_construct/on_destruct registration
2020-10-31 04:43:24 +02:00
SX
977913c785
Basic tests for SC, cleaner world fixture management
2020-10-31 04:43:24 +02:00
SX
d206956810
Destroy network if ref switch disappears, cleanup switching station code
...
Remove rest of SP_nodes from code, it does not contain anything
Reset switch infotext, export machine_tiers
Add tests for cable building between active networks
Remove all networks when cable is placed between networks
Fix SC connectivity issues
2020-10-31 04:43:16 +02:00
SX
bdf8d2e0cc
Make default_timeout dynamic, remove power_monitor from machine group
2020-10-31 04:43:10 +02:00
SX
6bbe8e1da5
Fix SC/build/dig bugs, some cleanup
2020-10-31 04:43:10 +02:00
SX
8c5aca5856
Net building tests
...
Fix few cable place/dig issues
Tests for machine build/dig
Fix machine build/dig bugs
Fix test for machine building
Fix machines acting like cables when placed
Inline fixtures for building/digging tests
fix ignored luacheck warnings
(#105 )
fix long lines
(#105 )
Add more tests for bugs found
Fix tests, add minetest.get_us_time (implement using socket.gettime)
2020-10-31 04:42:24 +02:00
SX
16f0683c21
Network node placement, utilize locals for frequent names
...
(#95 ) Place/remove network nodes. Cleanup sw_pos
(#96 ) SC infotext / reduce timeout ABM workload
2020-10-31 04:41:45 +02:00
SX
5efafaceb9
( #100 ) Add compatibility hack for digtron
2020-10-31 04:40:05 +02:00
SX
c6aa02897b
Network handles timeouts, remove second switch ABM
2020-10-31 04:38:45 +02:00
SX
11fe7a7bf7
Add machines to all_nodes, no holes in arrays, check if node is added already
...
Comment out debug prints
Network node place/dig, simple remove_network test
Luacheck warnings
Fix network check
Fix overridden global table
2020-10-31 04:38:21 +02:00
SX
193447ea20
Tests for network constructor
...
Cleanup network.lua
Add minetest vector.lua
Add tests for network constructor
2020-10-31 04:38:01 +02:00
SX
f66c644fce
Remove metadata for supply,demand,battery_count,battery_charge,battery_charge_max
...
Remove switching station from networks
Disable few debug prints, add removed machines to LBM
clear_networks refatoring #95
Functions remove_network_node and add_network_branch #95
Fix undef network_id, remove flatten #95
2020-10-31 04:37:21 +02:00
SX
c08732cd87
Fix digiline event and luacheck warnings
...
Add fake get_modpath for busted
2020-10-31 04:37:12 +02:00
SX
a259576894
Network refactoring, proper multi switch support WIP
...
Update network utils, globalstep use networks, update switch ABM
Removing switching stations from network
2020-10-31 04:36:26 +02:00
SX
79233d764a
Add busted unit testing for technic
...
Fix test framework and luacheck, Add metadata cleanup ABM
Added busted and contentdb badges
2020-10-31 04:35:35 +02:00
SX
7a4826e77d
Move basic global network funcs to network.lua
2020-10-31 04:33:20 +02:00
OgelGames
c28c2499c3
fix long lines
...
#105
2020-10-25 01:11:29 +11:00
OgelGames
ddeaf76ade
fix ignored luacheck warnings
...
#105
2020-10-24 22:59:38 +11:00
SX
761cd3e14b
Add compatibility hack for digtron ( #102 )
...
* #100 Add compatibility hack for digtron
* Do not use function introduced in network-ng branch
* #100 Timeout check back to 1 second
2020-10-20 19:42:59 +03:00
OgelGames
275e27e7c4
Update README.md
...
* add ContentDB badge
* add some new things that were missing
* add @SwissalpS as a contributor
2020-10-19 18:53:27 +11:00
OgelGames
b488aa081a
add shift-click support to constructor formspec
...
constructor needs to be reworked to use only one inventory to make this better, but it works
closes #103
2020-10-19 14:57:15 +11:00
SX
b722a9f004
#97 Add LV & MV digi cables
2020-10-13 14:37:14 +02:00
SX
16ebb33c84
Merge pull request #80 from mt-mods/switching
...
Switching updates
Better than what it was, many bugs introduced in my last PR fixed. Power monitor is simply better. Some new checks for switch activation/deactivation.
2020-09-26 00:13:19 +03:00
SX
6a9212eddd
Cleanup caches immediately when new switching station placed
2020-09-20 18:21:34 +03:00
SX
22dd13d622
Do not activate new switch if another is active already
2020-09-20 16:01:47 +03:00
SX
97de34b2f4
Overload skip PR+RE nodes
2020-09-20 13:00:17 +03:00
SX
3981ad18e7
#77 Revert early exit on overload, update overload
2020-09-20 02:01:52 +03:00
SX
ad362a6ecc
Remove Power monitor from network #76 not actual machine anymore
2020-09-19 22:34:20 +03:00
Buckaroo Banzai
7330226633
add --depth 1 for integration-test checkouts
2020-09-17 20:04:36 +02:00
BuckarooBanzay
ffc0bb5fa0
remove duplicate after_place_node
2020-09-11 10:37:43 +02:00
BuckarooBanzay
67ff93a865
Merge branch 'master' of https://github.com/minetest-mods/technic
2020-09-11 10:36:34 +02:00
auouymous
57f6815f61
Constructor: Add protection check ( #564 )
...
Check if the player who placed constructor can access protected positions before placing or removing nodes.
2020-09-09 18:44:12 +02:00
pull[bot]
efadac10ba
Merge pull request #85 from minetest-mods/master
...
[pull] master from minetest-mods:master
2020-09-07 21:39:09 +00:00
auouymous
264ddc1f22
Restore recipe for bronze block to ingots ( #566 )
2020-09-07 17:41:34 +02:00
pull[bot]
259aca7166
Merge pull request #83 from minetest-mods/master
...
[pull] master from minetest-mods:master
2020-09-05 21:39:11 +00:00
David Leal
b39c410d3c
Fix warning reported by LuaCheck ( #563 )
2020-09-05 18:54:37 +02:00
SX
47cda2d81e
Make node_timeout local
2020-09-05 15:14:54 +03:00
SX
b63bfe683e
Reduce meta usage, clean cable cache on overload #76 #77
2020-09-05 15:09:32 +03:00
wzy2006
4da306a945
Add files via upload
2020-09-05 10:46:10 +02:00
wzy2006
e3b35a034f
Add files via upload
2020-09-05 10:46:10 +02:00
wzy2006
5462c185d1
Add files via upload
2020-09-05 10:46:10 +02:00
wzy2006
45e70644b9
Add files via upload
2020-09-05 10:46:10 +02:00
wzy2006
847ac13e3f
Add files via upload
2020-09-05 10:46:10 +02:00