Commit Graph

39 Commits (a5b6c5f69bf92f0d5655f101a5233128f62ef628)

Author SHA1 Message Date
Wuzzy a5b6c5f69b Use “speaking” button texts 2014-07-27 18:52:58 +02:00
Wuzzy b02d42778e Add “Clear” button (clears all edit fields) 2014-07-27 18:42:10 +02:00
Wuzzy b8ae4e958f Remember selected help tab 2014-07-27 13:27:43 +02:00
Wuzzy 8c73ec4b78 Fix cheat sheet size 2014-07-27 13:23:24 +02:00
Wuzzy 73ba1b74cf Add help texts and move cheat sheet to help tab 2014-07-27 13:20:19 +02:00
Wuzzy 597121e6eb Move treeform showing functionality to function 2014-07-27 01:22:23 +02:00
Wuzzy 2aed2aa596 Reorder the functions and add some basic comments 2014-07-27 01:01:28 +02:00
Wuzzy a172d755ed Move tree removing functionality to function 2014-07-27 00:23:52 +02:00
Wuzzy dad2adc297 Destroy L-system tree sapling on dig
This is an intermediate solution to this problem:
After digging a sapling, the metadata is lost
and when it is placed again, it won't grow a tree.
It is considered safer to not drop anything at all
instead to prevent buggy behaviour.

A better solution may be found later.
2014-07-26 23:22:09 +02:00
Wuzzy 33a8efbf25 Enforce unique names
If a player attempts to create a tree with a name which is already used,
there are 2 possible cases:
1. The other tree the player’s own. The player is asked wheather he/she/it
   wants to replace it.
2. The other tree is from another player. This is an error. The player must
   use another name.
2014-07-26 20:56:46 +02:00
Wuzzy f6d516066a Check for invalid chars in axiom and rule sets 2014-07-26 18:18:26 +02:00
Wuzzy 7707e23462 Add more error messages and clean up error msgs 2014-07-26 17:09:34 +02:00
Wuzzy fda709662b Remember fields on error messages, too. 2014-07-26 16:24:01 +02:00
Wuzzy a4b20c3b06 Remember contents of input fields on tab change 2014-07-26 16:20:02 +02:00
Wuzzy f394b0a439 Use a different form name for each tab 2014-07-26 14:58:12 +02:00
Wuzzy fd30e7b066 Bugfix: Treeform appeared after closing inv. menu 2014-07-26 04:35:23 +02:00
Wuzzy b40c765654 Add renaming functionality 2014-07-26 04:18:04 +02:00
Wuzzy b7c9e41733 Make plant menu use ltool.number_of_trees 2014-07-26 03:24:11 +02:00
Wuzzy 6ac2f9a381 Complete rework of tree ID system 2014-07-26 03:18:31 +02:00
Wuzzy 1d8a539708 Own trees can now be deleted (still a bit buggy) 2014-07-25 17:42:42 +02:00
Wuzzy 2d17a3939b Rename “Reload” button 2014-07-25 16:42:46 +02:00
Wuzzy f00d4af519 Give player a sapling on request 2014-07-25 16:30:17 +02:00
Wuzzy 894ca6563e Highlight own treedefs 2014-07-24 02:41:39 +02:00
Wuzzy 4659035ca3 Add plant parameters 2014-07-23 16:14:03 +02:00
Wuzzy 769f172fa4 Remove legacy examples 2014-07-22 18:57:08 +02:00
Wuzzy 7638e15e8e Use seed for tree planting again 2014-07-22 18:42:49 +02:00
Wuzzy f1d63ba0f7 Move all planting functionality to “Plant” tab 2014-07-22 18:37:16 +02:00
Wuzzy 00df9190f6 Fix crash when “Plant” tab is selected on empty DB 2014-07-22 18:13:00 +02:00
Wuzzy 9d2891a567 Show selected tree name in “Plant” tab 2014-07-22 18:04:19 +02:00
Wuzzy 981ef3218f Add cheat sheet 2014-07-22 17:49:50 +02:00
Wuzzy eed17a4e9b More parameter checking 2014-07-22 16:55:32 +02:00
Wuzzy fa3c0e602c Basic parameter checking 2014-07-22 16:34:42 +02:00
Wuzzy 4258100acd Special database formspec if database is empty. 2014-07-22 15:05:32 +02:00
Wuzzy 4dac72ba45 Add automatic tree saving and loading from/to file 2014-07-22 02:54:55 +02:00
Wuzzy 350d4ee160 Implement “Update list” button 2014-07-22 02:08:07 +02:00
Wuzzy a9c1fe26d9 Remove “Select” button 2014-07-22 02:01:51 +02:00
Wuzzy 1404f30a43 Make “Copy to editor” button respect selection 2014-07-22 01:56:01 +02:00
Wuzzy bad3d5237c Add basic saving functionality 2014-07-20 01:04:18 +02:00
Wuzzy a29036acc4 Initial commit 2014-07-19 23:32:35 +02:00