Commit Graph

295 Commits

Author SHA1 Message Date
Pascal Abresch 8c9ff4ce71 moved charger to new formspec 2018-09-30 00:57:59 +02:00
Pascal Abresch 6d7a2c9c10 moved burnergenerator to new formspec 2018-09-30 00:55:02 +02:00
Pascal Abresch 62837bc3bb balanced drill speed 2018-09-30 00:39:41 +02:00
Pascal Abresch 008abeb3ef added sparktech.add_inventory and changed furnace formspec
this is a new utility function to append the sparktech-style inventory to any other inventory
(mainly so it doesn't have to be manually aligned every single time)
(also enabled crafting menu in the metalfurnace now)
2018-09-30 00:37:19 +02:00
Valentin Anger 63441e0b6b Decrease Scanner delay 2018-09-29 23:12:21 +02:00
Pascal Abresch 12cb6b0ae1 added scanner texture 2018-09-29 23:08:35 +02:00
Valentin Anger a3a35e7962 Its called code reuse mom... 2018-09-29 22:49:28 +02:00
Valentin Anger 925b086fcc Last commit message says it all 2018-09-29 22:48:28 +02:00
Valentin Anger 919baededb Testing recipies is overrated 2018-09-29 22:44:24 +02:00
Valentin Anger f46256d401 Add a scanner that searches for all non air nodes around a player 2018-09-29 21:51:42 +02:00
Pascal Abresch 7baca363de added /lua chat command 2018-09-28 15:18:48 +02:00
Pascal Abresch 07972fab10 fixed capacitor recipe 2018-09-28 15:16:40 +02:00
Valentin Anger 4902d9bcee Merge branch 'master' of ssh://git.gryphno.de:58148/SyrupThinker/minetest-mod-sparktech 2018-09-28 13:09:11 +02:00
Valentin Anger 6329fa31aa Give the Electric Handdrill a texture 2018-09-27 20:14:50 +02:00
Valentin Anger 614aaf1dcc Add a nametag to change nodes infotext 2018-09-27 20:14:28 +02:00
Pascal Abresch 0ec710cb03 added crafting menu to inventory 2018-09-27 19:13:27 +02:00
Pascal Abresch 633228a1ea changed formspecs (inventory + charger) 2018-09-27 18:49:14 +02:00
Valentin Anger 1fff056306 Consume and gain cables when using the Cable Inserter 2018-09-27 18:02:24 +02:00
Valentin Anger d78731dd79 Give feedback for cable insertion and removal 2018-09-27 17:46:00 +02:00
Pascal Abresch 758ee5b1b2 Fixed wrench to no longer destroy items in block inventories
closes #4
2018-09-23 19:58:40 +02:00
Valentin Anger 6bb08c62f6 Cleanup of last commit, dirtying the graph 2018-09-23 04:06:44 +02:00
Valentin Anger b727fcf102 Add a drill and tool charger 2018-09-23 03:56:51 +02:00
Pascal Abresch ba467aa0bd Changed solar panel behaviour (needs sunlight now)
this change is incomplete since a required api is missing, this will (probably) allow lighting through torches to also count towards generated energy
2018-09-23 02:19:19 +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 a49cf5d1a9 Update network around the with a wrench removed node 2018-09-22 23:53:31 +02:00
Valentin Anger ed96b86230 Remove nodes deconstructed with a wrench instead of digging them
We are already handling the drop so we shouldn't destroy it
2018-09-22 23:43:27 +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 f169ccbf8a added plain readme 2018-09-21 14:02:14 +02:00
Valentin Anger c64b6cd83b Let the Land Clear tools replacement block be selectable 2018-09-21 13:20:24 +02:00
Valentin Anger a0257bfb22 Add a tool that clears regions of nodes 2018-09-21 03:00:38 +02:00
Valentin Anger 7fcf0a6feb Keep updating while the furnace is low on energy and has educts 2018-09-21 00:44:47 +02:00
Valentin Anger 0a229de58e Correctly verify the availability of energy in furnaces
The check previously checked for a non zero energy value.
This works when the value only ever decreases by one,
which forces the value to reach zero via reduction.
With the addition of a modifier for cooking cost this breaks down.

This bug was introduced due to the addition of a modifier which
controls the running cost.
2018-09-21 00:39:48 +02:00
Pascal Abresch e8be56fefc fixed unitialized vars (placing of capacitors) 2018-09-21 00:38:16 +02:00
Pascal Abresch a33671f03b updated furnace graphics 2018-09-21 00:02:18 +02:00
Pascal Abresch 463136bb89 Removed focus.lua since it doens't make much sense serverside 2018-09-20 23:19:55 +02:00
Pascal Abresch 69a8673fd2 bug fix for negative energy values 2018-09-20 23:00:47 +02:00
Valentin Anger c5ef06a4cd First version of the pitch and yaw calculation
Don't Store object into another table.
Continue with all players instead of returning after first hit.
2018-05-14 12:17:39 +02:00
Pascal Abresch 0cf9016c8c inital code for focus item 2018-05-12 22:58:56 +02:00
Valentin Anger f0f7877a3a Remove whitespace highlighting because its bugged in Emacs 26RC1 2018-05-12 17:57:06 +02:00
Valentin Anger 864add28bc Ignore invalid player hud entries 2018-05-12 17:56:31 +02:00
Valentin Anger c724978a09 Add Emacs configuration so that tabs are used for indentation and spaces are highlighted 2018-02-02 16:49:07 +01:00
Pascal Abresch 09d6f4104c Addded more code for network wakeup (non-functioning yet) 2018-02-02 16:03:48 +01:00
Pascal Abresch 3d5db125a7 fixed typo 2018-02-02 15:47:31 +01:00
Pascal Abresch 7f9656ff68 added initial code for sparktech_energy_wakeup support 2018-02-02 02:43:31 +01:00
Pascal Abresch ceeca9ddde Burnergenerator fixes
-fixed energy overflow
-fixed invalid items beeing allowed
-fixed restarting the burnergenrator on recieving new item
2018-02-02 02:11:41 +01:00
Pascal Abresch 5c08a12c8b commented out debug code 2018-02-02 01:02:36 +01:00
kamirama b13738bbfd added attempted fix for inventory pickup 2018-01-19 16:10:32 +01:00
Valentin Anger e183efef3a Merge branch 'master' of gitlab.com:SyrupThinker/minetest-mod-sparktech 2018-01-07 15:58:45 +01:00
Valentin Anger a44d2acea5 Fix items not being removable from the metal furnace 2018-01-07 15:57:42 +01:00