13 Commits

Author SHA1 Message Date
SX
76a135d557 Fix digtron HV connector again (broken in #113) (#121)
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2020-11-08 00:21:14 +02:00
SX
6a777fbeb9 Use technic.conf for all technic mod settings, update admin commands, some cleanup, averages for network lag detection (#111)
* Configs to correct place, use moving average for net lag, improve admin commands

* Fix luacheck warnings

* Handle file paths, missing cfg file and Settings:set simlar way engine does

* Quarry and radiation settings to technic.conf

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2020-11-05 12:39:49 +02:00
SX
7a4826e77d Move basic global network funcs to network.lua 2020-10-31 04:33:20 +02: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
SX
1536df8589 Machine conduct digilines downwards (#49)
* Custom digiline rules for machines

* Add custom digiline receptor and effector rules for machines

* technic.digiline.rules must be always available, even if digilines is disabled

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2020-05-23 21:24:35 +02:00
BuckarooBanzay
44fe5686c9 move "max_lag" function a layer up 2020-02-18 09:51:10 +01:00
BuckarooBanzay
979a2f00e6 reduce technic_run interval if lag is too high / hot-reload offdelay setting / cache-flush command 2020-02-03 10:29:20 +01:00
Thomas Rudin
7234b73f46 move out switching station run function 2020-01-03 13:43:36 +01:00
h-v-smacker
c4843132e6 LV led lighting 2018-11-09 11:16:06 +01:00
Carter Kolwey
088eea1e3b Fixes for network calculation issues
This fixes several issues:
* More than one switching station could become active on large networks
 - Switching stations now semi-permanently become disabled if another is present
 - Power monitors have been added to replace the function of "slave" switching stations, to discourage overuse of switching stations
* Networks did not reliably "split" when cutting a cable
 - I "may" have caused this issue, but I believe it is solved by this
* Machines did not run without a player near the switching station
 - Active switching stations now forceload themselves, and free the forceloaded block if disabled, dug, or disconnected
 - Machines are only loaded to run them (as before), so only one mapblock (or two if the bottom edge of the switching station is a mapblock boundary) is loaded
 - Cables are still only loaded during a full network recalculation
2017-03-10 01:35:58 -06:00
ShadowNinja
ee0765804c Partial rewrite 2013-09-17 16:37:56 -04:00
RealBadAngel
3bc6cad671 Remove lv, mv, and hv tiers from power tools.
Theyre already tiered with Mk1-3 (at least drill is, more in the future).
Tools can be considered as designed for different tiers of circuits thx to their power needs.
For example Mk3 will require ages to load in LV batbox.
Batboxes load tools timining: LV standard (1000EU), MV 4x faster (4000EU), HV 16x faster (16000EU)
Also since 1EU is the same in any circuit it is possible to move energy from one to another with portable devices like crystals.

Other changes:
- moved charge/discharge functions to battery_boxes_commons.lua
- added UI style backgrounds for all the batboxes
2013-07-17 19:14:01 +02:00
ShadowNinja
5d470cd753 Move files to subfolders 2013-07-11 12:31:00 -04:00