Commit Graph

76 Commits

Author SHA1 Message Date
sapier e09293b483 Add lua exception handling test code
Catch some error situations when mod used without thinking about it
2014-08-23 20:53:34 +02:00
Kahrl 26f4a5c110 Minimal game: add /dummyball <count> command 2014-08-23 00:52:57 +02:00
Novatux d879a539cd Add minetest.swap_node 2013-11-30 18:37:56 +01:00
kwolekr 9a927476ca Change default value of is_ground_content to true
Most modders would otherwise forget to explicitly define this, and generated nodes aliased from mods would wall-off caves
2013-11-30 02:37:10 -05:00
Novatux d11c76b9f2 Fix possible crash with grass ABM. 2013-11-02 16:22:26 +01:00
Novatux 2bf9abade2 Fix grass adding/removing ABM. 2013-11-02 13:49:22 +01:00
Novatux 69a59f1e41 Move the sapling growing and grass adding/removing ABMs to Lua 2013-11-02 10:50:11 +01:00
0gb.us afb27329fc Remove mapgen_air alias (#935) 2013-10-05 18:42:31 +02:00
Sfan5 df3a5a2abf Add mapgen_stair_cobble alias to minimal 2013-09-06 21:46:22 +02:00
BlockMen 7b13d119ed Add support for different drowning damage and allow drowning in other nodetypes 2013-08-06 17:49:39 +02:00
PilzAdam 53066024f6 Add drowning 2013-06-19 15:47:00 +00:00
David Gumberg 26165453d2 Compress textures 2013-06-18 19:48:04 +00:00
sapier ab43377577 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
ShadowNinja 127c488355 Use the group "soil" for nodes that saplings grow on 2013-05-20 13:43:13 +02:00
kwolekr 8ec3fc35c6 Add Mapgen V7, reorganize biomes 2013-04-07 00:50:21 -04:00
khonkhortisan 1586cdac53 unkn own block -> unkn own node 2013-04-05 15:57:39 +02:00
PilzAdam 5e7e0347cd Add different place sound for nodes 2013-03-29 20:14:18 +01:00
PilzAdam 650d706d35 Use minetest.register_ore() in minimal 2013-03-24 21:20:41 +01:00
proller f70378f7f5 Mapgen indev: float islands, larger far biomes 2013-03-24 03:40:15 +04:00
proller f5ab056b38 Liquid fine tuning 2013-03-14 17:06:25 -04:00
proller b90e431fc7 new adjustable finite liquid 2013-02-24 18:39:07 +04:00
kwolekr d5029958b9 Readded and optimized mapgen V6 2013-01-21 21:41:37 +02:00
kwolekr 96898c1794 Add initial Lua biomedef support, fixed biome selection 2013-01-21 21:41:37 +02:00
PilzAdam fa76057e7f Add the group attached_node
Nodes in this group will be dropped as items if the node under them or the node in the wallmounted direction is not walkable.
2012-12-01 13:32:32 +01:00
Perttu Ahola 5f1d3ad754 Swap out pixel-perfect nyan cat by request of Chris Torres 2012-11-09 20:14:04 +02:00
PilzAdam 7fcf153ada Add functions to the default mod of minimal game to support old code 2012-11-01 18:49:12 +01:00
PilzAdam 10dc2b30fb Move falling to builtin 2012-10-31 19:06:11 +01:00
Perttu Ahola b717b6505b Fix crash when furnace is full (minimal game) 2012-08-12 17:11:23 +03:00
Perttu Ahola 100345f1e4 Deprecate minetest.add_to_creative_inventory and use group not_in_creative_inventory instead 2012-07-25 18:05:31 +03:00
Perttu Ahola 4535166a3b Add notice in the minimal game 2012-07-25 17:10:31 +03:00
Perttu Ahola 983e45ae92 Improve inventory callbacks a bit 2012-07-25 15:39:39 +03:00
Perttu Ahola 9eaf93d41d Detached inventory callbacks and reworked node metadata callbacks 2012-07-25 02:36:54 +03:00
Perttu Ahola 2ac20982e0 Detached inventories 2012-07-24 20:57:17 +03:00
Perttu Ahola 717ae67995 Add node timer test in minimal/experimental 2012-07-24 14:51:13 +03:00
Perttu Ahola 2c027b03db Move /give, /giveme, /spawnentity and /pulverize to builtin/chatcommands.lua 2012-07-23 17:43:08 +03:00
Perttu Ahola 6dfefaf229 Formspec button_exit[] and image_button_exit[] 2012-07-22 17:40:48 +03:00
Perttu Ahola acf3a43095 Add /test1 command to minimal for testing a more complicated player inventory form 2012-07-22 17:40:48 +03:00
darkrose 506203345b Implement formspec 2012-07-22 17:40:41 +03:00
Perttu Ahola 0b61253931 Actually fix facedir-rotated nodes placed using minetest.env:place_node() 2012-07-21 21:23:15 +03:00
darkrose 80f35467d8 Make lava buckets work as fuel in minimal game 2012-07-21 02:33:11 +03:00
Perttu Ahola 16ad10e62f Allow defining player's inventory form in Lua 2012-07-19 14:09:16 +03:00
Kahrl 1575448b1a Custom boxy nodes (stairs, slabs) and collision changes 2012-06-17 16:34:39 +03:00
Perttu Ahola e6b86fa304 Revert back proper crack texture 2012-06-16 20:48:05 +03:00
Perttu Ahola 07ccc15fc2 Allow node cracking animations of any length 2012-06-16 18:02:56 +03:00
Perttu Ahola cd0014b24f Update field names to non-deprecated ones in node definition prototype 2012-06-16 17:05:21 +03:00
Perttu Ahola b3786d84c5 Use new field names and reorder fields a bit in minimal game 2012-06-16 16:47:41 +03:00
Perttu Ahola fd1135c7af Node texture animation 2012-06-16 16:47:28 +03:00
Perttu Ahola f7147d9c0a Add experimental_tester_tool_1.png to minimal game (was accidentally left out) 2012-06-08 16:46:02 +03:00
Perttu Ahola a435cfcd82 Allow groups in crafting recipes 2012-06-06 23:39:17 +03:00
Perttu Ahola 3a0562bebc Add after_destruct and cache the existence of on_construct, on_destruct and after_destruct for quick skipping when a node does not have them 2012-06-05 23:51:37 +03:00