71 Commits

Author SHA1 Message Date
Pascal Abresch
ae84f4977a minor change 2019-10-04 14:15:23 +02:00
Pascal Abresch
67c8636a4f Applied constants to node definitions 2019-10-04 05:13:42 +02:00
Pascal Abresch
34d01977fa fix energy wakeup, wooh! 2019-10-04 04:00:21 +02:00
Pascal Abresch
c7f5a98bd9 minor fix for quickput 2019-09-04 11:34:42 +02:00
Pascal Abresch
165139104a fixed inventory colors 2019-06-27 09:16:16 +02:00
Pascal Abresch
0958632969 added size fields to statbar hud elements (not doing so is deprecated) 2019-04-01 02:31:13 +02:00
Pascal Abresch
29f3074047 removed deprecated settings call from core 2019-04-01 02:16:41 +02:00
Pascal Abresch
3fab0643de simplifies init.lua, adds lua/ subdir for mods 2019-03-25 01:36:19 +01:00
Pascal Abresch
4dbf73a7a8 added missing setting vars 2019-02-25 18:21:11 +01:00
Pascal Abresch
0c390d53a3 added default support (optional) 2019-02-24 22:27:26 +01:00
Pascal Abresch
5e5e30d7f0 fixed, now :) 2019-02-24 22:08:32 +01:00
Pascal Abresch
d33030e0e2 pairs works differently that i expected 2019-02-24 21:52:00 +01:00
Pascal Abresch
e73fa06354 fixed lil' crash 2019-02-24 21:34:25 +01:00
Pascal Abresch
6a304f4dd8 code fixes 2019-02-24 20:07:25 +01:00
Pascal Abresch
e748b9d3fe testcase (unfinished code for quickfuel) 2019-02-24 19:46:04 +01:00
Pascal Abresch
abb0301668 removed debug statements 2018-10-01 15:37:20 +02:00
Pascal Abresch
27c7b62f28 moved inventory specific code to core, deleted sparkinventory 2018-10-01 15:26:30 +02:00
Pascal Abresch
07972fab10 fixed capacitor recipe 2018-09-28 15:16:40 +02:00
Pascal Abresch
3a831b6a36 Added steel chasis
The steel chasis is used to craft machines
2018-09-23 01:49:22 +02:00
Valentin Anger
f161e121fd Add a tool to insert network metadata into nodes
This also involves modifications of the network update routines
as the modification of metadata does not trigger the callbacks
used for this purpose.
Instead the tool manually forces updates to networks around the node.
Currently we cannot detect the digging of a node with specific
metadata associated, thus we currently need to trigger network updates
for ALL nodes digged which can incur much lag for heavy recalculations.
2018-09-22 16:20:27 +02:00
Pascal Abresch
00024a4cde added net_build code to allow 'embeded' cables 2018-09-21 15:11:22 +02:00
Pascal Abresch
e8be56fefc fixed unitialized vars (placing of capacitors) 2018-09-21 00:38:16 +02:00
Pascal Abresch
69a8673fd2 bug fix for negative energy values 2018-09-20 23:00:47 +02:00
Pascal Abresch
09d6f4104c Addded more code for network wakeup (non-functioning yet) 2018-02-02 16:03:48 +01:00
Pascal Abresch
7f9656ff68 added initial code for sparktech_energy_wakeup support 2018-02-02 02:43:31 +01:00
kamirama
71ada60f4e fixed crash 2018-01-07 15:56:12 +01:00
Valentin Anger
a8065fbe8a Switch from wool to silicon in the cable recipe 2018-01-07 15:17:20 +01:00
Valentin Anger
e9eb6c1ecf "Minor code fixes" 2018-01-07 15:05:17 +01:00
Valentin Anger
e2c921c158 Add more survival recipes 2018-01-07 15:04:04 +01:00
kamirama
28d0ce4f65 added cable recipe 2018-01-07 01:53:12 +01:00
Valentin Anger
ace37afacf Distribute energy according to node types 2017-08-30 14:42:26 +02:00
Valentin Anger
93f98146e1 Only allow trigger nodes if they don’t connect through one directly 2017-08-21 18:20:39 +02:00
Valentin Anger
a526fc56ea Calculate energy share relative to node maximum
- Network nodes don’t have a energy limit of the weakest node
2017-08-21 15:02:37 +02:00
Valentin Anger
098204aca0 Regenerate networks when breaking nodes 2017-08-21 15:01:28 +02:00
Valentin Anger
402f668493 Fix infinite recursion in net_build and keep master until the end 2017-08-21 14:59:54 +02:00
kamirama
521a4b020d moved energy code 2017-08-20 18:33:18 +02:00
kamirama
b9f1c6688e started energy distrib code 2017-08-20 18:32:00 +02:00
kamirama
b24f36efad modified cable for new energy system 2017-08-20 17:12:46 +02:00
Valentin Anger
425749e178 Continue work on the network build code 2017-08-20 18:50:37 +02:00
kamirama
2d024ad612 finished net building 2017-08-20 15:41:44 +02:00
kamirama
235cd5fa68 fixed some stuff 2017-08-20 14:43:51 +02:00
kamirama
6d82ece2ed added energy code 2017-08-20 14:34:42 +02:00
kamirama
1facf3acfb Merge branch 'master' into energynet
some asshole forgot to test changes
2017-08-20 02:01:09 +02:00
Valentin Anger
b345afc966 Seperate the api from the core 2017-08-20 03:57:26 +02:00
Valentin Anger
381878fd21 Make cable node visual connections dynamic 2017-08-20 03:27:15 +02:00
Valentin Anger
5e627c2025 Merge branch 'master' of gitlab.com:SyrupThinker/minetest-mod-sparktech 2017-08-20 02:31:56 +02:00
Valentin Anger
005f5eb12b Move hud into sparkcore and use sparktech dictionary as storage 2017-08-20 02:21:52 +02:00
kamirama
b8cac10466 merged master 2017-08-20 01:50:23 +02:00
kamirama
90239eb6b4 started energy rewrite as networks 2017-08-20 01:45:36 +02:00
kamirama
e78b78f44b moved sparkcode to sparkcore 2017-08-19 23:30:46 +02:00