Matthew I
cf6e79e220
Extend Lua API in order to implement chat commands
...
minetest.get_server_status()
minetest.request_shutdown()
EnvRef:clear_objects()
2012-08-12 16:44:55 +03:00
Matthew I
a85321a7a3
Remove trailing comma after player list in server status string
2012-08-12 16:44:54 +03:00
Matthew I
32b064eb21
Allow digging of unknown nodes
...
This allows the removal of nodes with unknown types.
get_item_callback() (C++) would fail if a node has an unknown type. Now it
will try using the callback from minetest.nodedef_default in this case.
Also, minetest.node_dig() (Lua) was altered to always allow digging when
the node definition is empty (i.e. unknown node).
2012-08-12 16:04:18 +03:00
Perttu Ahola
d7f8cdd07a
Fix wrong amount of nodes being dropped from inventory
2012-08-12 15:49:23 +03:00
darkrose
2abd5d337a
fix node timers so on_timer gets the correct position
2012-08-12 15:28:31 +03:00
Perttu Ahola
ecff847d29
Remove unwanted ! from ifs in inventory record-for-rollback code
2012-08-12 11:20:36 +03:00
Perttu Ahola
95f8afeb24
Call this 0.4.2-rc1
2012-07-28 16:31:45 +03:00
Perttu Ahola
e6e88c5ce7
Fix inventory segfault when rollback recording is disabled
2012-07-28 14:44:18 +03:00
Perttu Ahola
b39e2b3549
Add enable_rollback_recording setting, defaulting to false
2012-07-28 03:08:09 +03:00
Perttu Ahola
610559f194
Handle max<min in LuaPseudoRandom::l_next()
2012-07-27 19:03:15 +03:00
Perttu Ahola
165a21a4a6
Tweak rollback and liquids
2012-07-27 15:46:51 +03:00
Perttu Ahola
a601ec84ab
Tweak rollback stuff
2012-07-27 14:52:29 +03:00
Perttu Ahola
1121f3845f
Increase automatic suspect guess timeframe
2012-07-27 13:54:14 +03:00
Perttu Ahola
ce5dec2993
ABM and liquid overload skip
2012-07-27 13:45:49 +03:00
Perttu Ahola
66aae0c002
Fix server build (a missing header)
2012-07-27 13:43:25 +03:00
Perttu Ahola
dcfd402697
Make the rollback system VERY FUCKING GOD DAMN POWERFUL
2012-07-27 13:24:28 +03:00
Perttu Ahola
ec37061ad3
Don't track liquids for rollback because of too much log
2012-07-27 02:46:54 +03:00
Perttu Ahola
97457f079f
Properly rollback chat command triggered things
2012-07-27 02:37:04 +03:00
Perttu Ahola
3303470fbc
Experimental-ish rollback functionality
2012-07-27 02:27:18 +03:00
Perttu Ahola
1608d1439a
Working group-shapeless and multigroup recipes
2012-07-26 13:49:13 +03:00
Perttu Ahola
a68ac1a230
Restore focus to formspec menu when pressing a button
2012-07-25 18:28:40 +03:00
Perttu Ahola
0e8ad8b6b8
Deprecate minetest.add_to_creative_inventory and use group not_in_creative_inventory instead
2012-07-25 18:05:31 +03:00
Perttu Ahola
4548b1cef5
Add special return value -1 to inventry callbacks
2012-07-25 16:52:00 +03:00
Perttu Ahola
ff59bdf9f4
Improve formspec positioning
2012-07-25 16:30:23 +03:00
Perttu Ahola
a1d678f021
Improve inventory callbacks a bit
2012-07-25 15:39:39 +03:00
Perttu Ahola
4183fdbe70
Remove special handling of creative mode
2012-07-25 14:07:45 +03:00
Perttu Ahola
1b2ae34ed4
Detached inventory callbacks and reworked node metadata callbacks
2012-07-25 02:36:54 +03:00
Perttu Ahola
c2cb98c1a6
Detached inventories
2012-07-24 20:57:17 +03:00
Perttu Ahola
305a52fdda
builtin/item.lua: callbacks with copies of positions and nodes rather than recycle the same ones, which callbacks can modify
2012-07-24 17:46:17 +03:00
Perttu Ahola
b5b4cc17ea
darkrose should work at a nuclear power plant.
...
It'd take years to figure out what caused the accident.
2012-07-24 16:36:50 +03:00
Perttu Ahola
223b04e396
Update minetestmapper.py to support ver. 24 and 25
2012-07-24 15:17:00 +03:00
Perttu Ahola
0a975204b2
Improve node timer format (map format version 25) and update mapformat.txt
2012-07-24 15:03:46 +03:00
Perttu Ahola
f7b06f5427
Add oldnode parameter to minetest.register_on_placenode callback
2012-07-23 20:44:56 +03:00
Perttu Ahola
277f9f9709
Fix building on top of (pointable && buildable_to) nodes
2012-07-23 20:42:08 +03:00
Perttu Ahola
c43c24b166
Describe node definition fields better in lua_api.txt
2012-07-23 20:17:44 +03:00
Perttu Ahola
992f5e5bdf
Move /give, /giveme, /spawnentity and /pulverize to builtin/chatcommands.lua
2012-07-23 17:43:08 +03:00
Perttu Ahola
9676ccd7a5
Improve build configuration options
2012-07-23 15:23:33 +03:00
Perttu Ahola
2f0d7106d4
Update lua_api.txt a bit
2012-07-23 08:48:55 +03:00
Perttu Ahola
2c7babb397
Fix map deserialization and remove old serialization code
2012-07-23 08:18:39 +03:00
darkrose
92a389f848
Increase node id/param0 to 16 bits, leaving param2 always with 8 bits
2012-07-23 08:18:39 +03:00
darkrose
e5bebe42e9
Implement node timers
2012-07-23 08:18:37 +03:00
Perttu Ahola
56e361e135
Fix terrible grammar in comment!
2012-07-22 20:36:06 +03:00
Perttu Ahola
14d50e107f
Fix compressZlib()
2012-07-22 20:29:09 +03:00
Perttu Ahola
d6998afda6
Test zlib wrapper's handling of large data
2012-07-22 20:27:55 +03:00
Perttu Ahola
390efc1c99
Tweak test.c overally a bit
2012-07-22 20:26:54 +03:00
Perttu Ahola
f1e67f44ca
Formspec button_exit[] and image_button_exit[]
2012-07-22 17:40:48 +03:00
darkrose
ef29865c79
Doc updates for formspec
2012-07-22 17:40:48 +03:00
Perttu Ahola
243d9fb7d6
minetest.register_on_player_receive_fields()
2012-07-22 17:40:48 +03:00
darkrose
a3ba145339
Implement formspec
2012-07-22 17:40:41 +03:00
Matthew I
5f44ca0c1b
Update Lua API documentation to include minetest.get_modnames()
2012-07-22 13:36:17 +03:00