Wuzzy
4bf47d4923
Add new planting method based on view direction
2014-10-16 19:28:04 +02:00
Wuzzy
5bc86d3092
Add version information
2014-10-16 18:17:36 +02:00
Wuzzy
3e041a64f3
Fix ltool.generate_sapling overwriting treedef
2014-10-16 18:07:01 +02:00
Wuzzy
e0230ac95b
API: ltool.get_tree()
2014-10-16 18:04:42 +02:00
Wuzzy
ef7a1cea56
Refactor function names for formspec templates
2014-10-16 17:39:15 +02:00
Wuzzy
feccec6dc1
Refactor: Rename formspec-generating functions accordingly to avoid confusion
2014-10-16 17:12:27 +02:00
Wuzzy
24ab84252c
Fix missing comment on ltool.plant_tree
2014-10-16 16:59:56 +02:00
Wuzzy
a850c486a7
Store seed into generated saplings
2014-10-16 14:35:18 +02:00
Wuzzy
0ae9a78caf
Automatically sort tree table by ID
2014-10-16 14:15:54 +02:00
Wuzzy
7538cc4928
API: ltool.copy_tree
2014-10-09 13:25:59 +02:00
Wuzzy
c49c910caa
Move ltool.generate_sapling up
2014-10-09 13:15:53 +02:00
Wuzzy
53288a1800
Move tree planting to API function
2014-10-09 13:05:55 +02:00
Wuzzy
4e40fae5c3
Add more generic ltool.generate_sapling
2014-10-09 12:58:20 +02:00
Wuzzy
1fd2222bb2
Move sapling giving into API function
2014-10-09 12:50:36 +02:00
Wuzzy
ce9360bdb2
ltool.rename_tree
2014-10-09 12:27:42 +02:00
Wuzzy
fc57a79a8f
Add “lplant” privilege
2014-10-09 12:07:51 +02:00
Wuzzy
b73ff018a8
Add and enforce privilege "ledit"
2014-10-09 09:05:47 +02:00
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