Commit Graph

139 Commits (master)

Author SHA1 Message Date
Wuzzy 71f86aa931 Use new doc_items field names 2016-11-16 06:40:30 +01:00
Wuzzy 433b075cd9 Fix incorrect privilege handling in tabs 2016-11-07 17:37:22 +01:00
Wuzzy b960d65805 Fix crash when aborting tree rename 2016-11-06 03:14:09 +01:00
Wuzzy 708e469632 Return to edit menu when Esc'ing editplus form 2016-11-06 02:56:09 +01:00
Wuzzy 857f9d921c “formular” → “form” 2016-11-05 19:20:51 +01:00
Wuzzy a5182b7bab Fix edit tab going to read only mode after clear 2016-11-03 23:24:14 +01:00
Wuzzy 245d0b3398 Remove in_doc group 2016-11-02 02:07:54 +01:00
Wuzzy 8acd489bec Generate version string automatically 2016-11-02 02:06:23 +01:00
Wuzzy 002d974284 Use new doc_items desc format 2016-11-02 01:23:24 +01:00
Wuzzy 1469f83d4b is_ground_content=false for sapling 2016-11-02 01:22:00 +01:00
Wuzzy e4de7a788a Add simple item description 2016-08-13 12:04:11 +02:00
Wuzzy 4d12f6e86d Move database buttons more to the center 2016-08-13 11:44:14 +02:00
Wuzzy dc9c0f794c Hide most widgets in plant tab w/o lplant priv 2016-08-13 11:42:12 +02:00
Wuzzy 924987a457 Hide editing buttons when ledit priv is missing 2016-08-13 11:23:29 +02:00
Wuzzy 1b66a74aa7 Fix two consecutive dots 2016-08-13 11:00:41 +02:00
Wuzzy a283ab1f0b Fix privilege issue in give_plant 2016-08-11 17:16:31 +02:00
Wuzzy ff53c93fcb Fix minor grammatical fuck-up 2016-08-03 00:38:34 +02:00
Wuzzy e6cb394566 Use mapgen aliases for node names of example tree 2016-08-02 13:47:17 +02:00
Wuzzy d61b934e9c Shorten edit field names 2016-07-30 02:41:02 +02:00
Wuzzy 95eb6d9909 Add button for Unified Inventory 2016-07-30 02:13:12 +02:00
Wuzzy 6a4ff6a8f5 Version 1.0.2 2016-03-12 16:48:49 +01:00
Wuzzy 1db89d2ac7 Some bigger buttons to fit in text 2016-03-12 16:47:43 +01:00
Wuzzy 753ecc0e3f Improve button/fields vertical alignment 2016-03-11 11:06:05 +01:00
Wuzzy cb8ae6dc29 Fix 2 typos 2015-06-03 13:08:05 +02:00
Wuzzy 71d4fd9ad5 Fix another leaked variable 2015-02-08 01:30:07 +01:00
Wuzzy 6653a1d6c4 Bump patch version number 2015-02-08 00:41:02 +01:00
Wuzzy 76e980691c Fix leaked local variable 2015-02-08 00:39:15 +01:00
Wuzzy 29d140c6e4 Add input help to editplus dialog 2014-10-17 17:25:13 +02:00
Wuzzy 8b62cfc0b3 Add buttons in edit tab for larger input fields of axiom and rule sets 2014-10-17 15:59:48 +02:00
Wuzzy dc638e5762 Move “Reload database” button in empty database 2014-10-17 14:12:47 +02:00
Wuzzy 7abc2e5a53 Add tooltips to several input fields 2014-10-17 14:11:53 +02:00
Wuzzy 2f872982f2 Re-organize the fields in the edit formular 2014-10-17 11:24:39 +02:00
Wuzzy 1eb39305c9 Make formspec work for resolution 800×600 2014-10-17 10:41:45 +02:00
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
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