864 Commits

Author SHA1 Message Date
HybridDog
b3c83180ec merge upstream commit: Wool: Clean up code 2016-07-16 13:51:11 +02:00
paramat
c70196dfbd merge upstream commit: Doors: Add dedicated sounds for glass doors 2016-07-16 13:50:40 +02:00
paramat
5452e8f05e merge upstream commit: Default: New aspen tree schematics 2016-07-16 13:50:06 +02:00
tenplus1
22224c265d merge upstream commit: Default: Enable crafting of mese crystal fragments into mese crystal 2016-07-16 13:49:23 +02:00
tenplus1
d239deccff merge upstream commit: Default: Craft locked chest from chest plus steel ingot 2016-07-16 13:48:39 +02:00
paramat
9c288600dd merge upstream commit: Stairs: Code cleanup, fix various errors 2016-07-16 13:47:40 +02:00
paramat
d75ccebe8f merge upstream commit: Stairs: Register stone / desert stone / sandstone / obsidian blocks 2016-07-16 13:47:01 +02:00
paramat
0533203710 merge upstream commit: Default: Add stone / desert stone / sandstone / obsidian blocks 2016-07-16 13:45:32 +02:00
paramat
4ee09a274b merge upstream commit: Stairs: Stair recipe returns 8 stairs not 6
Make it consistent with the slab recipe which conserves volume
2016-07-16 13:43:22 +02:00
tchncs
2e67cbc1b9 add horses to submodules 2016-07-15 22:58:03 +02:00
tchncs
892ab3faaa default: get darkage modpath to ensure basalt is available 2016-07-15 22:33:11 +02:00
tchncs
1e7ea09713 default: flowing lava can cool down to basalt 2016-07-15 19:06:35 +02:00
tchncs
3a42666e46 update submodule farming, worldedit 2016-07-13 18:00:33 +02:00
tchncs
18ea8f6e7d update submodule illuna 2016-06-29 09:59:24 +02:00
tchncs
e31d456de1 update submodule illuna 2016-06-29 09:51:41 +02:00
tchncs
c882e33618 update submodule caverealms 2016-06-23 19:45:50 +02:00
tchncs
92c0bcfa59 update submodule mobs_redo, farming, boats, worldedit 2016-06-23 19:14:14 +02:00
tchncs
a3ecc88a45 add cottages to submodules 2016-06-23 19:08:01 +02:00
tchncs
81bf163a59 Flowers: add mushroom group to mushrooms 2016-06-22 22:49:19 +02:00
Xunto
b64202fbe9 cherry-pick from github.com/minetest/minetest_game> Default: Fix character model uv-mapping 2016-06-22 15:44:37 +02:00
Yutao Yuan
2de51ee96f cherry-pick from github.com/minetest/minetest_game> Flowers: Fix misaligned waterlily texture 2016-06-22 15:43:33 +02:00
Auke Kok
a033f68bdc cherry-pick from github.com/minetest/minetest_game> Doors: Clean up nodedef usage 2016-06-22 15:42:39 +02:00
Auke Kok
77cdaacaac cherry-pick from github.com/minetest/minetest_game> Default: Make brick and plank nodes rotatable 2016-06-22 15:41:25 +02:00
Auke Kok
4c3b8376ab cherry-pick from github.com/minetest/minetest_game> Stairs: Add mossy cobble slab and stair 2016-06-22 15:39:40 +02:00
paramat
eff782c61f cherry-pick from github.com/minetest/minetest_game> Mapgen: Add biome fields for riverbed node and depth 2016-06-22 15:38:31 +02:00
tchncs
0fe3efbfd1 revert: Farming: allow LBM's for other mods as well. 2016-06-22 15:37:41 +02:00
Auke Kok
451e18751f cherry-pick from github.com/minetest/minetest_game> Farming: allow LBM's for other mods as well. 2016-06-22 15:34:29 +02:00
paramat
97f0ff6c44 cherry-pick from github.com/minetest/minetest_game> Fire: Ignite tnt, gunpowder, permanent flame above coalblock 2016-06-22 15:33:49 +02:00
Auke Kok
b4b24687a3 cherry-pick from github.com/minetest/minetest_game> Doors: Pass pointed_thing to on_rightclick() callback 2016-06-22 15:32:40 +02:00
paramat
37d3fe0cb1 cherry-pick from github.com/minetest/minetest_game> Default: Bookshelf has 2 openings instead of 4 2016-06-22 15:31:23 +02:00
Auke Kok
71a593ad88 cherry-pick from github.com/minetest/minetest_game> Fire: move fire node removal out of ABM. 2016-06-22 15:29:27 +02:00
tchncs
1f19159689 update submodule bags 2016-06-15 20:48:38 +02:00
tchncs
ca1e88ed3d update submodule ctravelnet 2016-06-15 19:38:15 +02:00
tchncs
d9449fcd56 update submodule mobs_animal 2016-06-14 13:17:51 +02:00
tchncs
b4e6b5ba3c update submodule hudbars, mobs_monster, mobs_redo 2016-06-14 13:07:44 +02:00
tchncs
ba5d33dc2e add forked bags mod to submodules 2016-06-10 21:01:19 +02:00
tchncs
b9e4c394fd remove old bags mod 2016-06-10 20:59:41 +02:00
tchncs
b87d427ac2 update submodule illuna, mobs_redo 2016-06-10 20:27:02 +02:00
tchncs
7375b9a8fa add ctravelnet to submodules 2016-06-10 09:38:08 +02:00
tchncs
3f8d39113f update submodule wardrobe 2016-06-09 12:39:50 +02:00
tchncs
f9861a86bb add wardrobe to submodules 2016-06-09 12:30:06 +02:00
tchncs
72e72d0bd3 update submodule illuna 2016-06-08 20:02:26 +02:00
tchncs
72f68f9de0 update submdoule illuna 2016-06-08 19:54:34 +02:00
tchncs
10d1f448b2 update submodule darkage, mobs_redo 2016-06-08 13:18:50 +02:00
tchncs
f9b87f3300 update submdoule illuna and mobs_redo 2016-06-05 19:04:44 +02:00
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
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
Foz
1a6298958e Default: Add function 'node_sound_gravel_defaults()' 2016-04-29 23:19:30 +01:00
paramat
fafbe2c268 Default: New grass and grass_side textures
Derived from Casimir's Voxelgarden texture
2016-04-29 23:19:30 +01:00
tenplus1
dc7cbdd5ab Beds: Quicker saves with tidy output
Tweaked the beds.save_spawns() function to compile list then output
to file with shortened co-ordinates containing 1 decimal place
2016-04-29 23:18:05 +01:00
Auke Kok
5cd4b5a231 TNT: make tnt:boom visual a particle, and larger
We reuse the tnt:boom texture for a particle that is added by the
on_construct() of tnt:boom, and has a short expiry time (0.2sec).
It is 3 nodes larged, centered on the explosion.

We then make tnt:boom airlike so it doesn't have a texture, and it's
the thing that emits lots of light (we could even make it exist a
bit longer).

The nice thing about particles is that the client is less susceptible
to lag and will always remove them as fast as possible, so this makes
the visual more constant and responsive.
2016-04-26 22:34:00 +01:00
Auke Kok
f62afa02b7 TNT: lower smoke particle count and speed.
The effect is similar, and the reduction in particles is a small
boost in responsiveness.

To compensate, I've lowered the spawner time and expiration length
as well.
2016-04-26 22:34:00 +01:00
Auke Kok
7a892c70e6 TNT: self-start boom removal timer. 2016-04-26 22:34:00 +01:00