42 Commits

Author SHA1 Message Date
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
kamirama
6061b1f397 Moved code to api 2017-08-19 22:56:32 +02:00
kamirama
0638aad470 created sparkwrench mod 2017-08-19 22:35:48 +02:00
kamirama
78fc05d0ae removed reduntant file 2017-08-19 22:31:38 +02:00
kamirama
080544fff0 moved textures and solar 2017-08-19 22:30:38 +02:00
Valentin Anger
834b3986c7 Merge branch 'api' 2017-08-20 00:11:42 +02:00
Valentin Anger
66cf5bbea8 Merge branch 'furnace' 2017-08-20 00:04:30 +02:00
Valentin Anger
099d823389 Put sparktech api functions into a dictionary
To prevent namespace pollution
2017-08-19 23:46:43 +02:00
kamirama
98bd390629 Changed debug ouput and merged all init.lua scripts [relative symlink] 2017-02-16 00:59:22 +01:00
Valentin Anger
81314f2314 Create an example for a wrench register function 2017-01-13 21:37:32 +01:00
Valentin Anger
7ce288d0a7 Merge branch 'master' of gitlab.com:SyrupThinker/minetest-mod-sparktech 2017-01-13 20:23:00 +01:00
Valentin Anger
965aeaa868 Improve energy balancing and add a new hud
- Now a function that actually creates the
  relative average is used
- A new hud has been added to show the energy level
  of items hold in the players hand
2017-01-13 20:22:16 +01:00
kamirama
9d3c9f92fb fixed hardcoded tool name 2017-01-12 00:38:10 +01:00
kamirama
7d277f3f54 added option to disable console loggin 2017-01-12 00:36:38 +01:00
Valentin Anger
56412556e8 Improve the sparktool_dig_stlye_alt option code
- Predefine on_use instead of having two tool definitions per tool
- Add the tablet to the tools with this feature
- Readd the increased range to debugwrench
2017-01-04 17:45:08 +01:00
Valentin Anger
f031389282 Merge branch 'energy-rewrite' 2017-01-04 16:44:55 +01:00
Valentin Anger
a2a2190947 Merge branch 'master' of gitlab.com:SyrupThinker/minetest-mod-sparktech 2017-01-03 18:04:11 +01:00
Valentin Anger
1ce3ed7801 Nodes in group sparktech_energy_storeonbreak keep energy after break 2017-01-03 17:48:45 +01:00
kamirama
7123645cba added optional alt dig style for sparktools 2017-01-03 16:29:18 +01:00
Valentin Anger
a4f648ce02 Use on_place for node removal with wrenches
Instead of mining a sparktech_techy node with a wrench
the wrench is "placed" to remove the node
2017-01-03 14:37:35 +01:00
Valentin Anger
001dbb33f9 Add sparktech_techy group and wrenches - Closes #8
sparktech_techy is for technological nodes
- current sparktech nodes are only minable
  with a tool implementing this group
2017-01-02 20:53:44 +01:00
kamirama
9fa91f2af3 renamed sparktech to sparkcore 2017-01-01 20:10:35 +01:00