382 Commits

Author SHA1 Message Date
sapier
5977eaff86 Worldlist fixes
Add alphabeticaly sorted worldlists
Select world after creation
Move worldlist handling to separate file
Merge world selection of singleplayer/server tab
Remove some useless code
2013-07-11 22:20:50 +02:00
sapier
0d365fa327 Fix serverlist 2013-07-09 22:55:39 +02:00
proller
ad430048cb Public server checkbox 2013-07-10 00:17:47 +04:00
kwolekr
a7099f4f68 Revert "Fix serverlist not beeing escaped correctly"
This reverts commit 39d03148e5d98ef5f9a31b131a79ff2bbd71a877.
2013-07-08 20:21:09 -04:00
sapier
70dc1c1109 Fix header not beeing shown except on singleplayer tab 2013-07-08 19:58:28 -04:00
sapier
2c345afd1d Fix serverlist not beeing escaped correctly
Always use address for server
Fix first (empty) element beeing selected after deleting last world
2013-07-08 19:58:17 -04:00
sapier
d9c5cbfa86 fix crash on play/start with empty world list
make enter button work in create world dialog
2013-07-08 19:58:03 -04:00
PilzAdam
0070180dc4 Make sure that coordinates passed to /teleport are actual numbers 2013-07-08 13:33:14 +02:00
ShadowNinja
75cf0f1140 Move math.hypot() to misc_helpers.lua and fix zero-division error 2013-07-07 21:47:38 -04:00
kwolekr
93cebc4de0 Lua main menu: Fix world creation dialog 2013-07-07 20:37:00 -04:00
PilzAdam
ad2aa33f90 Set numeric locale in Lua in main menu 2013-07-08 02:28:36 +02:00
sapier
4f7abcbafa Fix many formspec menu bugs 2013-07-07 19:49:52 -04:00
Sfan5
66c8125f40 Fix parseColor, change remaining colorkeys to new format, fix Contributor list 2013-07-07 19:59:18 +02:00
ShadowNinja
7c0685a6bd Handle 0 vectors in vector.normalize() 2013-07-07 02:29:09 -04:00
ShadowNinja
de5f1f9b42 Add vector helpers 2013-07-07 01:49:11 -04:00
Sfan5
67b58fa494 Use hexadecimal RRGGBB instead of colorkeys, rename getColor to parseColor 2013-07-06 10:32:58 +02:00
kwolekr
9b0a30f4ea Lua main menu: Fix crash on init lua error, mapgen dropdown index, and new worlds not saving index 2013-07-03 01:25:26 -04:00
sapier
62794622d6 Replace C++ mainmenu by formspec powered one 2013-07-02 19:58:20 -04:00
PilzAdam
327d6e8c4f Remove unnecessary debug output in node_dig() 2013-07-02 00:34:59 +00:00
Lord89James
3a1bbbb873 Infinite tools in creative mode 2013-07-02 00:33:31 +00:00
kwolekr
e72ffb15a2 Add Lua VoxelArea methods: contains, containsp, containsi 2013-06-28 22:52:13 -04:00
kwolekr
2b512c6182 Add voxelarea.lua helper to builtin 2013-06-28 11:07:45 -04:00
kwolekr
5c8a16016c Add Lua on_mapgen_init callback, and minetest.set_mapgen_params API 2013-06-27 22:35:35 -04:00
Diego Martínez
d9235bfcbf Restore old output format of dump() 2013-06-18 19:55:53 +00:00
khonkhortisan
4f50de8db2 Fix crash in dump() when index is a table 2013-06-15 00:10:16 +00:00
sapier
2dceda8890 Move scriptapi to separate folder (by sapier)
On the lua side, notably minetest.env:<function>(<args>) should now
be replaced by minetest.<function>(<args>).
The old way is and will stay supported for a long time.

Also:
Update and clean up lua_api.txt (by celeron55)
Move EnvRef to lua and remove add_rat and add_firefly (by kahrl)
Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
2013-05-25 00:51:02 +02:00
PilzAdam
8c8db94639 Fix minetest.features 2013-05-01 16:00:58 +02:00
Sfan5
3b2ff97905 Add a Way of checking for specific Feature with Lua Adds minetest.get_feature() and minetest.has_feature() 2013-05-01 15:06:01 +02:00
ShadowNinja
e88d39e0bb Add option to not prepend "Server -!- " to messages sent with minetest.chat_send_player() 2013-04-23 09:47:08 +03:00
RealBadAngel
c2dcff27f6 Use system wide LuaJIT if aviable. 2013-04-08 22:10:00 +02:00
PilzAdam
740ddfe2be Only enqueue falling nodes if they really want to fall 2013-04-05 22:33:11 +02:00
khonkhortisan
0b676b0163 unkn own block -> unkn own node 2013-04-05 15:57:39 +02:00
ShadowNinja
bfa620c497 Add private messaging with /msg 2013-04-05 15:25:59 +02:00
Diego Martínez
df31e72bb0 Use the nodebox as selection box if it's not set manually 2013-04-05 15:14:37 +02:00
PilzAdam
af40139523 Add a delay to nodeupdate() 2013-04-05 02:24:39 +02:00
PilzAdam
0815dfb691 Return an ItemStack in minetest.item_place() if nodes' on rightclick doesnt return it 2013-04-02 15:19:02 +02:00
0gb.us
4321d6bd01 Don't grant priveleges to non-existent players.
When accidentally misspelling a name, privileges are sometimes granted to non-existent players, leaving them with the extra privileges, but without the default privileges, if they ever join the server. This corrects that by disallowing /grant from working with invalid players. For completeness, it does the same for /revoke.
2013-03-30 21:50:07 -04:00
0gb.us
205dd250e0 Fix node replacement in not-quite-loaded chunks
When first entering an area, sometimes placing nodes replaces other nodes that are not buildable_to. This seems to be caused by the fact that nodes in unloaded map blocks are treated as ignore, a node that is buildable_to. This fixes that, by using get_node_or_nil() instead of the previously-used get_node(), then checking to see if the nodes were actually loaded before replacing.
2013-03-29 14:18:51 -04:00
Splizard
0f3fe0ab50 Allow falling nodes to pass through solid "buildable_to" nodes. 2013-03-19 16:38:56 +01:00
PilzAdam
bcd3dbc25e Prevent passing nil to unpack() in minetest.after 2013-03-19 00:15:41 +01:00
Jeija
8740fb8520 Allow minetest.after to take a variable number of arguments 2013-03-17 00:23:30 -04:00
kwolekr
950c0e60e2 Allow any character in formspec strings with escape char 2013-03-05 23:25:02 -05:00
PilzAdam
ea3d6f3d52 Fix pickup of dropped items when the player only takes a part of them 2013-03-03 16:35:29 +01:00
PilzAdam
04e83d5584 Drop nodes as items when dugged and no room in inventory and dont remove dropped items when no room in inventory 2013-02-21 16:58:50 +01:00
PilzAdam
61d9e641f6 Dont drop tools on rightclick 2013-02-19 20:16:55 +01:00
Ilya Zhuravlev
592087a73b Set numeric locale for Lua 2013-02-18 13:58:55 +04:00
PilzAdam
2c6cfb193b Fix minetest.item_place_node() and minetest.item_drop() to always return an ItemStack 2013-02-13 18:06:25 +01:00
RealBadAngel
8fcf2eab4b Fix to on_rightclick not able to change wielded_item 2013-02-13 02:06:36 +04:00
PilzAdam
fc0668c989 Dont call on_rightclick() if sneak is pressed 2013-01-27 21:58:46 +01:00
PilzAdam
d5e1a75d7d Fix spread of items in falling code 2013-01-12 20:55:45 +01:00