Commit Graph

295 Commits

Author SHA1 Message Date
kamirama 2b612c7d67 usability improvements for tablet 2017-01-04 00:59:10 +01:00
Valentin Anger 12f876dee5 Fix tablet not being usable when pointing at nothing 2017-01-03 18:10:09 +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 65a656a760 changed tablet formspec 2017-01-03 16:41:03 +01:00
kamirama 7123645cba added optional alt dig style for sparktools 2017-01-03 16:29:18 +01:00
Valentin Anger 6b35f8ccf9 Like 1d402e3c66 for sparkdebug:tablet 2017-01-03 15:10:47 +01:00
Valentin Anger 1d402e3c66 Make sparkdebug:multimeter a tool and use on_place
The multimeter should appear in the tool tab and the usage
of sparktech tools should be consistent
2017-01-03 14:54:39 +01:00
Valentin Anger d0eb74d9e5 Check for nil in the code field of the tablet form - Closes #13
When fields.code in the f_tablet form is nil replace it with an empty
string to prevent a type error in set_metadata
2017-01-03 14:49:06 +01:00
Valentin Anger 2b10b2eb40 Rename instawrench to debugwrench
The name instawrench is redundant as the sparkcore:wrench removes nodes
at the same speed
2017-01-03 14:41:58 +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 ad1ddbfcf4 Switch to on_use for the multimeter - Closes #10 2017-01-03 12:52:18 +01:00
kamirama 50e3e26496 added callbkacs for furnace inventory 2017-01-03 12:23:12 +01:00
kamirama f55ae62b60 formspec added to lv_furnace 2017-01-03 03:39:13 +01:00
kamirama 35ff05d94c did some more furnace stuff, also fixed to work with latest core version 2017-01-03 01:43:18 +01:00
kamirama 55fe5fb290 Merge branch 'furnace' of https://gitlab.com/SyrupThinker/minetest-mod-sparktech into furnace 2017-01-03 01:26:12 +01:00
kamirama 8dbdd41cd2 changed group of sparkdebug:d_block 2017-01-02 21:18:51 +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
Valentin Anger d1b4d05a20 Merge branch 'master' of gitlab.com:SyrupThinker/minetest-mod-sparktech 2017-01-02 19:57:10 +01:00
Valentin Anger 0e4cf52a31 Isolated tablet and d_block from sparkdebug init - Closes #4 and #5
Reduced the amount of global data:
- The last command is stored in the tablet item metadata
Limited tablet an tablet and multimeter stack size to 1
2017-01-02 19:55:47 +01:00
kamirama 9fa91f2af3 renamed sparktech to sparkcore 2017-01-01 20:10:35 +01:00
Valentin Anger 50ad0b47f8 Change logic to execute connections only once 2016-12-31 23:05:10 +01:00
kamirama 7dca669192 made init more universal 2016-12-31 21:25:37 +01:00
kamirama 8f0a09cbc3 started furnace 2016-12-31 21:25:08 +01:00
kamirama 60ac347ba3 cleaned up debug messages of sparkdebug - Closes #2 2016-12-31 13:50:44 +01:00
Valentin Anger 9c4b90ec12 Move sparktech global variable to sparkdebug - Closes #1
It is not required by sparktech
2016-12-31 14:41:24 +01:00
kamirama cb5a67c8ee fixed solar panel 2016-12-31 13:16:42 +01:00
kamirama c4067bec91 removed dependency on foldername 2016-12-31 00:41:29 +01:00
kamirama 2b0d6ddfe2 Reformated debug output 2016-12-31 00:37:20 +01:00
kamirama 140563d969 moved debug messages to init 2016-12-31 00:29:22 +01:00
Valentin Anger 9f41199950 First tries of a new energy system 2016-12-30 21:43:16 +01:00
kamirama 125150aa73 removed dependency on ls 2016-12-30 21:33:06 +01:00
Valentin Anger 4ca694f0fe Improve multimeter output 2016-12-30 21:16:49 +01:00
kamirama edbc2fe2af changed init loading again 2016-12-30 21:14:16 +01:00
Valentin Anger 99eee19d41 Add an example for settingtypes 2016-12-30 17:46:55 +01:00
Valentin Anger 64c64aeb3d Fix the tablet not working
After moving the code the formspec name hasn't been updated
2016-12-30 17:04:51 +01:00
Valentin Anger 9dfe0da584 Isolate multimeter logic and move it to sparkdebug
Removes "dependency" sparkdebug for sparktech
2016-12-30 17:00:48 +01:00
kamirama c7299b007a moved debug components to a seperate module 2016-12-30 15:45:24 +01:00
Valentin Anger 993715739e Fix kamirama's complaint about the lack of load information 2016-12-30 16:39:39 +01:00
kamirama 2774060123 changed init loading 2016-12-30 15:07:02 +01:00
Valentin Anger 39105eb299 Use debug file and add multimeter 2016-12-30 15:51:17 +01:00
Valentin Anger 843f475390 Use groups as energy modifier 2016-12-30 15:46:05 +01:00
Valentin Anger dd5a69451b Remove TODO and move .gitignore to the correct folder 2016-12-29 15:04:12 +01:00
Valentin Anger 60a647cd0d Preparation for a modular system 2016-12-29 14:57:53 +01:00
Valentin Anger b0c7574655 Initial commit 2016-12-29 12:59:47 +01:00