Valentin Anger
7b33564b3f
Make solarpanels have a stand
2017-12-07 18:38:52 +01:00
Valentin Anger
f2a191b316
Update the new spark_dig_stlye_alt setting name for remaining tools
2017-01-13 21:00:23 +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
6cc3f16647
Improvements for 2b612c7d67cd913bff2cec72ef20d301047b2ea9
...
- Fix Last not working due to a early return
- Return the proper value as explained in
16b541a0e1af2296d35ad8c7f5ac71ae681f7a25
2017-01-04 16:51:32 +01:00
Valentin Anger
da244a69e9
Revert "Remove a false return in f_tablet that made Last unusable"
...
This reverts commit 16b541a0e1af2296d35ad8c7f5ac71ae681f7a25.
2017-01-04 16:45:31 +01:00
Valentin Anger
16b541a0e1
Remove a false return in f_tablet that made Last unusable
...
Returning false in a register_on_player_receive_fields callback
activates the next registered callback.
We don't need to return false if there is a expected form incoming.
2017-01-04 13:56:28 +01:00
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
kamirama
65a656a760
changed tablet formspec
2017-01-03 16:41:03 +01:00
Valentin Anger
6b35f8ccf9
Like 1d402e3c66d10eb5444b568a8365c28a6fc30121 for sparkdebug:tablet
2017-01-03 15:10:47 +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
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