1010 Commits

Author SHA1 Message Date
paramat
cabf80b743 Fire: Use 'enable fire' setting instead of 'disable fire' 2016-08-20 04:29:32 +01:00
pithydon
088385493a Default: Improve fences inventory/wield images 2016-08-20 04:27:48 +01:00
tenplus1
1b745d401d Default/trees: Faster 'is snow nearby' function
Use 'find node near' instead of 'find nodes in area'
2016-08-15 20:43:19 +01:00
paramat
2ecbc43a7a Default: Optimise and simplify leafdecay ABM, remove cache
With thanks to contributor tenplus1
Remove leaf cache and globalstep accumulator limiter
Use 'pos' instead of 'p0'
Remove non-essential 'group:liquid' from 'neighbors'
Increase chance value to 10 to compensate for disabled cache
Disable 'catch-up' to avoid the ABM often becoming 10 times more
intensive
Remove use of 'do preserve' bool, instead simply 'return'
Remove unnecessary checks for 'd' and 'd == 0'
Don't 'get' n0, use already present 'node' instead
Swap order two conditionals so that the one most likely is first
2016-08-15 20:42:50 +01:00
tchncs
a193162301 update submodule columnia, pkarcs 2016-08-15 09:15:04 +02:00
tchncs
3850f9a008 add submodule columnia 2016-08-13 22:03:12 +02:00
tchncs
4aea8a4092 update submodule pkarcs 2016-08-13 22:02:24 +02:00
tchncs
9dec8f4b01 add submodule pkarcs 2016-08-11 22:02:42 +02:00
tchncs
d6b4fda256 update submodule illuna 2016-08-11 14:33:30 +02:00
tenplus1
619ac52693 Add labels to ABMs
Useful for searches and the mod profiler.
2016-08-09 03:56:37 +01:00
DonBatman
61a197ffd8 Changed snow nodebox to 'walkable = false'
Allows walking in, and prevents being trapped in, 2 node high spaces.
Simulates player's feet sinking into snow.
Easier jumping up onto nodes with snow.
2016-08-09 03:51:22 +01:00
tenplus1
14b99a72a9 Tnt: Limit blown up dropped stacks to stack_max
This replaces the hardcoded 99 item limit and instead uses the
get_stack_max() limit for each item.
2016-08-09 03:48:01 +01:00
Tim
76211624ac Use minetest instead of core namespace, discourage via luacheck 2016-08-09 03:47:27 +01:00
tchncs
dd938f306f update submodule farming 2016-08-08 17:38:45 +02:00
Tim
20fa037313 Screwdriver: disallow rotation with on_rotate = false
Other screwdriver mods, or mods that cause rotation, might operate without the screwdriver mod loaded and have `screwdriver.disallow` unavailable.
This allows nodes to default to full-disallow rather than full-rotation in such a situation.
2016-08-05 20:41:24 +01:00
Tim
60cf3f85b6 Doors: Allow the screwdriver to rotate doors around y-axis.
Keep other axis' disabled to prevent the hidden placeholder node to become irremovable to players.
2016-08-05 12:34:46 +02:00
tenplus1
6c83ea0b48 TNT: Fix bug with huge stacks
This fixes the TNT bug that can crash game when blowing up a container
which holds huge stacks above the norm... e.g. give yourself 65535 snow,
place in chest, blow up, stalled!
2016-08-04 03:21:55 +01:00
paramat
265c40b558 Doors: Trim open fence gate collision box
Previously, the collision box extended into an empty node, causing
falling node objects to land on the open gate but not transform
back into normal nodes. Now fallng node objects will fall through and
either side of the end of the open gate and transform back.
2016-08-04 03:21:09 +01:00
tchncs
67931a0ede replace submodule mobs_monster with our forked one 2016-08-03 23:21:44 +02:00
tchncs
e4a23c029a update submodule illuna 2016-08-03 00:44:05 +02:00
tchncs
f3513e297b update submodule illuna 2016-08-03 00:10:37 +02:00
tchncs
fe1f3f59d7 update/fix wooden trapdoor recipe 2016-08-02 22:26:28 +02:00
tchncs
82ece0559d update submodule illuna 2016-08-02 19:39:23 +02:00
tchncs
3bcf0a93f4 update submodule illuna 2016-08-02 18:20:19 +02:00
tchncs
ebc4d886ac merge upstream 2016-08-02 18:17:24 +02:00
tchncs
8c8b3f9721 update submodule illuna 2016-08-02 18:16:31 +02:00
Tim
00c2dde4ea Doors: Fix potential crashes, code improvements
Fix crash when doors are placed under unknown nodes.
Share a can_dig among doors, that does not crash on nil-player.
Only set can_dig if we actually protect the door.
2016-08-01 01:21:57 +01:00
paramat
4fba897a96 Bones: Improve bones textures
Add mouth, remove jaw shadow, shade eyesockets.
Darker shading for spine and rotate texture using ^[transform2
instead of inverting texture.
Use 'node sound gravel defaults' for sounds.
2016-08-01 01:20:27 +01:00
tchncs
c391fc5668 update submodule wardrobe 2016-07-31 00:19:03 +02:00
tchncs
d0f4f39a0e update submodule bows 2016-07-29 22:40:44 +02:00
tchncs
cf669d3703 update submodule wardrobe 2016-07-29 19:08:43 +02:00
tchncs
2fe3f45624 update submodule wardrobe 2016-07-29 18:52:06 +02:00
tchncs
ed68401f07 give_initial_stuff: add wooden bow and arrows 2016-07-29 17:12:29 +02:00
tchncs
46fab90375 update submodule bows 2016-07-28 23:31:10 +02:00
tchncs
81ca075cd8 add mod bows to submodules 2016-07-28 22:53:34 +02:00
SmallJoker
ea49eb3f3d Beds, boats: Replace deprecated get_look_yaw/set_look_yaw 2016-07-27 21:39:22 +01:00
paramat
0ac096991c Default: Prevent placing sapling if grown tree intersects protection
Add a global 'intersects protection' function to functions.lua for
checking if a specified volume intersects with a protected volume.
A 3D lattice of points are checked with an adjustable interval.
Add a global 'sapling on place' function to avoid duplicated code in
nodes.lua.
2016-07-27 21:39:22 +01:00
tenplus1
2df7ce20dd Bones: Ability to change bones mode. Tidy up code
Add 'bones_mode' setting to minetest.conf -> Modes: bones, drop, keep
Remove table 'bones'
Add minetest.conf.example description
Remove protection check from may_replace
2016-07-27 21:37:49 +01:00
tchncs
0f691b2211 update submodule hudbars 2016-07-26 09:52:42 +02:00
tchncs
052f9aec6e update submodule mobs_redo, 3d_armor, mobs_monster 2016-07-24 13:47:49 +02:00
paramat
db129f4ca0 Flowers: Fix waterlily on-place itemstack code
Add 'record_protection_violation()'
2016-07-23 04:56:49 +01:00
Thomas--S
72f4c6be48 Doors: Fix orientations of trapdoor textures 2016-07-23 04:56:09 +01:00
tchncs
39615a3403 update submodule plantlife_modpack 2016-07-20 13:58:55 +02:00
tchncs
b4519760c0 update submodule plantlife_modpack 2016-07-19 23:02:48 +02:00
paramat
79dbafc13b Nyancat: Fix texture names 2016-07-18 23:47:14 +01:00
paramat
1a2eb89f17 Default/trees: Update to 'get_mapgen_setting()' 2016-07-18 23:47:14 +01:00
Thomas--S
f018e06d9b Doors: Fix trapdoor on_blast
Removing the node above was an error and is unnecessary
2016-07-18 23:45:48 +01:00
Thomas--S
9862bbc8e5 Doors: Same naming for trapdoors as for doors
This makes register_trapdoor act the same as the register_door.
If `name` isn't prefixed, it will be prefixed with "doors:".
2016-07-18 23:43:51 +01:00
rubenwardy
3661cb61e3 Move nyancats into a separate mod
Nyancats are independent in the default mod. Nothing else uses them or
their code. Separating it into a separate mod makes it easier for
subgames to remove them. It also makes it easier for a mod to depend
on nyancats, as lots of subgames don't have them.

Default/mapgen.lua: Register biomes, ores and decorations in
singlenode mapgen. These were never disabled anyway because
singlenode was removed from the world creation menu.
2016-07-18 04:15:44 +01:00
tenplus1
e45386a069 merge upstream: Doors: Make door groups consistent with corresponding materials 2016-07-16 20:41:24 +02:00
adrido
6d418e9962 merge upstream: Beds: Only register respawn callbacks if respawn is enabled 2016-07-16 20:40:02 +02:00
tchncs
77648aac8e hopefully readd submodule boats and farming 2016-07-16 16:40:51 +02:00
Tim
23544869e3 Clean up fire ABM parameters. 2016-07-16 14:20:51 +02:00
Tim
d7b337eae2 Stop shadowing upvalues and definitions. 2016-07-16 14:18:08 +02:00
Tim
0c3d4135e1 merge upstream commit: Remove unused and clean up missused variable-value assignments. 2016-07-16 14:17:55 +02:00
tenplus1
5b36a03f02 merge upstream commit: Beds: Save respawn position when entering bed, only read bed spawns once 2016-07-16 14:17:31 +02:00
Tim
26a00db1c1 merge upstream commit: Doors: Fix missing node parameter passing 2016-07-16 14:17:04 +02:00
Tim
4f419d3953 merge upstream commit: Doors: Fix trapdoor crash on can_dig with nil-player 2016-07-16 14:16:31 +02:00
tenplus1
1f17a8b1b2 merge upstream commit: Default/trees: Faster way to detect snow around pine saplings 2016-07-16 14:15:13 +02:00
tchncs
568045a4c4 merge upstream commit: Doors: Remove unnecessary node lookups 2016-07-16 14:14:56 +02:00
tchncs
980347343a merge upstream commit: Doors: Remove unnecessary node lookups 2016-07-16 14:12:57 +02:00
Tim
0c122236ef Doors: Remove unnecessary node lookups 2016-07-16 14:12:45 +02:00
Tim
2052664a30 merge upstream commit: Always return the leftover ItemStack for on_place and on_rightclick 2016-07-16 14:11:20 +02:00
Tim
62d8261e42 merge upstream commit: Bucket: Allow liquid placed against unknown nodes instead of aborting abnormally 2016-07-16 14:10:29 +02:00
Tim
95b2def30c merge upstream commit: Bucket: Prevent crashing when placing liquid against a buildable node into an unknown node 2016-07-16 14:09:42 +02:00
paramat
d2552744b9 merge upstream commit: Doors: Code cleanup 2016-07-16 14:08:55 +02:00
paramat
6336ffb476 merge upstream commit: Doors / default: Remove 'hot', 'bendy' and 'melty' groups from nodes 2016-07-16 14:08:23 +02:00
paramat
7a1505b32d merge upstream commit: Default, flowers: Use 'get_mapgen_setting()' 2016-07-16 14:00:32 +02:00
tchncs
6bafa46283 Revert "merge upstream commit: TNT: When disabled leave some useful functionality enabled"
This reverts commit c80473afe69a95bdd6410cf6a3e115cb6fcbd170.
2016-07-16 13:59:46 +02:00
tenplus1
c80473afe6 merge upstream commit: TNT: When disabled leave some useful functionality enabled 2016-07-16 13:58:11 +02:00
paramat
814f356208 merge upstream commit: Default/mapgen: Simplify iron ore registrations 2016-07-16 13:56:29 +02:00
paramat
cb5727b50c merge upstream commit: Default/mapgen: Add ores above y = 1024 2016-07-16 13:55:32 +02:00
paramat
8b03f29585 merge upstream commit: Default/mapgen: Clean up ore registrations 2016-07-16 13:55:03 +02:00
tenplus1
cf77ef435a merge upstream commit: Bucket: Correct liquid placing in protected areas 2016-07-16 13:54:29 +02:00
tenplus1
38ed7b998b merge upstream commit: Tidy sethome code, add global functions, round coords to 1 decimal 2016-07-16 13:53:50 +02:00
paramat
e6bda9c439 merge upstream commit: Flowers: Make waterlily floodable 2016-07-16 13:53:07 +02:00
Thomas--S
fbbe79df87 merge upstream commit: Doors: Remove use_texture_alpha from door definition 2016-07-16 13:52:29 +02:00
HybridDog
45d7eebf01 merge upstream commit: Wool: Use adv- and optipng to optimise texture files 2016-07-16 13:51:54 +02:00
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
tenplus1
0bd13d11cf Doors: Make door groups consistent with corresponding materials 2016-07-15 22:01:20 +01:00
adrido
d89bb69a22 Beds: Only register respawn callbacks if respawn is enabled 2016-07-15 22:00:57 +01:00
Tim
9524ff67a3 Clean up fire ABM parameters. 2016-07-15 21:58:49 +01:00
Tim
30b0a155fb Stop shadowing upvalues and definitions. 2016-07-15 21:58:49 +01:00
Tim
4473627de0 Remove unused and clean up missused variable-value assignments.
* Unused variables
* Unused values (assigned to variables, but overwritten before use)
* Defining already defined variables instead of reassigning to them.
2016-07-15 21:58:49 +01: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
tenplus1
d7a7456007 Beds: Save respawn position when entering bed, only read bed spawns once
No longer require night to be skipped for resawn position to be saved
Remove constant beds.read_spawns() calls when a player joins as this
is only required once
2016-07-13 14:45:30 +01:00
Tim
b74954969c Doors: Fix missing node parameter passing 2016-07-13 14:45:18 +01:00
paramat
07141b4a2e Bones: New textures 2016-07-10 21:08:01 +01:00
Tim
fcceec0e8c Doors: Fix trapdoor crash on can_dig with nil-player (e.g. minetest.dig_node) 2016-07-10 21:07:17 +01:00