6 Commits

Author SHA1 Message Date
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
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
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