910 Commits

Author SHA1 Message Date
tchncs
633be8f94e update submodule wine, darkage 2016-06-04 22:48:50 +02:00
tchncs
30e1476c5d replace default crafting_guide in initial stuff 2016-06-01 18:44:10 +02:00
tchncs
e6ab3a5977 update submodule xdecor 2016-05-31 19:12:39 +02:00
tchncs
40a736cc14 update submodule caverealms 2016-05-31 18:17:11 +02:00
tchncs
87551af24b add caverealms to submodules 2016-05-31 18:12:02 +02:00
tchncs
d2f63e50c5 change pick_diamond speed and make it group 3 again 2016-05-31 18:02:13 +02:00
tchncs
6f9cf1e999 update submodules 2016-05-31 10:49:50 +02:00
tchncs
30241f62ad update submodules 2016-05-31 09:57:11 +02:00
tchncs
5bb740cac3 update submodules 2016-05-28 22:58:57 +02:00
Auke Kok
0da14dbb56 cherry-pick from github.com/minetest/minetest_game> Default: Convert saplings to use node timers
Each sapling is given a single node timer that is between
2 and 4 days of game play time (40-80 minutes). If you walk out
of the zone, and come back later, the tree will always grow
to full if the timer has elapsed.

Because trees.lua is all functions, it needs to be parsed before
nodes.lua, since that references some of its functions. Hence,
change the order of parsing here. Otherwise saplings would not
grow to full.
2016-05-28 08:58:23 +02:00
paramat
b80af1bc95 cherry-pick from github.com/minetest/minetest_game> Vessels: Improve code style 2016-05-28 08:57:47 +02:00
paramat
7a1b975f8f cherry-pick from github.com/minetest/minetest_game> Vessels: Make shelf open on 2 sides not impossible 4 sides
Make shelf facedir rotatable as is now required
2016-05-28 08:56:50 +02:00
Duane Robertson
68a9d8e338 cherry-pick from github.com/minetest/minetest_game> Doors: Fix uninitialized state variable 2016-05-28 08:56:09 +02:00
Thomas--S
168d9a2591 cherry-pick from github.com/minetest/minetest_game> Vessels: Smaller/improved textures, remove duplicated 'inv' textures
Removed unnecessary inventory textures
The drinking glass inventory texture now differs from
the node texture to be more clearly a drinking glass
Smaller textures to reduce size as nodes
2016-05-28 08:54:52 +02:00
red-001
91bb144fef cherry-pick from github.com/minetest/minetest_game> Creative: Reset 'start_i' to 1 when the inventory filter is changed 2016-05-28 08:52:52 +02:00
paramat
504961a0a2 cherry-pick from github.com/minetest/minetest_game> Tnt: Avoid divide-by-zero errors in calc_velocity() 2016-05-28 08:47:25 +02:00
tenplus1
32c5872bd1 cherry-pick from github.com/minetest/minetest_game> Creative: Fix inventory crash after toggling creative mode in-game 2016-05-28 08:46:13 +02:00
tenplus1
77873ddb9e cherry-pick from github.com/minetest/minetest_game> Creative: Fix '-' glitch in playername
Fix the glitch when players use the '-' character in their username
on a server, causing creative inventory to not pass page 2
2016-05-28 08:45:27 +02:00
tenplus1
5e84246526 cherry-pick from github.com/minetest/minetest_game> Creative: Add global variable creative.formspec_add
This pull adds a new global variable called creative.formspec_add
that will allow mods to add to the creative inventory screen
without the need to fork the mod altogether.  Simple solution
that works already for inventory_plus' BACK button
2016-05-28 08:44:28 +02:00
paramat
75a85b951e cherry-pick from github.com/minetest/minetest_game> Stairs/default: Make sandstone(brick) groups consistent
Sandstone is crumbly = 1 cracky = 3 to be slowly diggable by hand
Sandstonebrick(stair/slab) is cracky = 2
2016-05-28 08:42:57 +02:00
Foz
c47d026950 cherry-pick from github.com/minetest/minetest_game> Tnt: Fix bug in dropped item counting 2016-05-28 08:40:00 +02:00
tchncs
75aa611aa2 update submodule farming 2016-05-26 12:10:29 +02:00
tchncs
82a9d81e19 add xdecor to submodules 2016-05-25 23:03:30 +02:00
tchncs
881f4ac066 add hudbars to submodules 2016-05-25 23:01:38 +02:00
tchncs
c181117afb add darkage to submodules 2016-05-25 22:59:14 +02:00
tchncs
66c5683ccf add bags and plantlife to submodules 2016-05-25 22:56:32 +02:00
tchncs
907cb3be8c add 3d_armor to submodules 2016-05-25 22:52:40 +02:00
tchncs
82a31236be add worldedit to submodules 2016-05-25 22:03:46 +02:00
tchncs
92ee60e6c7 update submodule farming 2016-05-25 15:34:48 +02:00
tchncs
c8fc4cfb36 update submodules 2016-05-24 12:01:34 +02:00
tchncs
79e4ea3bf2 update submodules 2016-05-23 09:07:19 +02:00
tchncs
ad04e5ae0d update submodules 2016-05-22 23:33:14 +02:00
tchncs
8ef03465d1 update submodules 2016-05-22 23:05:42 +02:00
tchncs
f1ddb91275 update submodules 2016-05-22 22:43:37 +02:00
tchncs
3c9c69e5fe replace farming with submodule 2016-05-22 09:56:56 +02:00
tchncs
95adcfc97b update submodules mods/mobs_animal and mods/mobs_monster 2016-05-21 15:39:37 +02:00
tchncs
bb93133ceb replace submodule mods/mobs_animal 2016-05-20 12:39:21 +02:00
tchncs
8578d16b76 add alias for moretrees:slab_acacia_planks, fixes #4 2016-05-19 23:36:55 +02:00
tchncs
7ac7661de1 update submodule mods/illuna 2016-05-19 23:18:25 +02:00
tchncs
ac7e46b74d add mobs_redo, mobs_animal, mobs_monster to submodules 2016-05-18 12:28:04 +02:00
tchncs
018c89a9d6 update submodule illuna 2016-05-16 00:26:42 +02:00
tchncs
482573ca32 update/fix submodule death_messages 2016-05-15 21:35:10 +02:00
tchncs
f70c1e91b1 remove obsolet submodule death_messagem add new death_messages module 2016-05-15 21:28:52 +02:00
tchncs
25aff14341 add wine mod to submodules 2016-05-15 15:51:24 +02:00
tchncs
69f284f950 merge minetest/minetest_game master 2016-05-02 11:11:05 +02:00
tchncs
f4fc4294b7 fix mergeconflicts 2016-05-02 10:16:25 +02:00
rubenwardy
acafe5ca86 Add give_initial_items API 2016-05-01 19:29:15 +01:00
Auke Kok
12c763a6c7 TNT: Combine adjacent TNT into the explosion
This uses a vmanip to count adjacent tnt nodes and explodes them
all at once, using an inverse square law to recalculate the radius.
The maximum explosion becomes 125 nodes of tnt yielding a radius of
15 nodes, which does not break my machine and makes it return
in under a second.

This makes both bigger explosions and less stability issues.

The drop code has been simplified and now drops at all times a
reasonable amount of drops, never blanketing the area with drops,
even at the larges explosion level.

Particles are scaled up according to explosion size as well - a
bigger explosion will show bigger particles.

To scale the tnt:boom particle, we move it to the _effects() function.
2016-05-01 18:57:45 +01:00
Auke Kok
098ea0d10a TNT: Allow mods to override entity physics.
Introduces an `on_blast(luaobj, damage)` callback that mods can attach
to an entity def. The function will get called with the damage that
TNT would make.

The function should return three values:

  bool do_damage, bool do_knockback, table drops

do_damage allows the mod to tell the TNT code to perform damage on
the entity for the mod. The mod code should not do anything with
the entity HP. The entity should not be immortal. If false, then
the entity will not be damaged by the TNT mod.

do_knockback allows the mod to tell the TNT mod to perform an
entity knockback effect. If false, no knockback effect is applied
to the entity.

the drops table is a list of items to drop. It may be nil. E.g. {
"wool:red" }.

I've documented both on_blast() API methods in game_api.txt. It is
a better place than lua_api.txt.
2016-04-30 20:47:21 +01:00
Auke Kok
f14b411157 TNT: Fix multiple explosions erasing drops
Any second explosion near a first TNT explosion will punch all
entities found nearby, including item drops. This causes the
item pickup code to think the item was picked up, but by
a `nil` player, thus removing the item.

We query for the immortal entity group, and if the item is in
the immortal group, do not punch the item.
2016-04-30 20:47:21 +01:00