Commit Graph

1631 Commits (7b028667dcf0c11132e04f319df0b4e90e40e59f)

Author SHA1 Message Date
Ezhh 40ed77185e Improve node descriptions (#1834) 2017-07-23 10:26:10 +02:00
SmallJoker a1d35f3d69 Creative: Prevent unauthorized item access (#1840) 2017-07-22 20:16:25 +02:00
Ezhh c2f3c99cad Correct farming/stairs dependency (#1838) 2017-07-22 16:11:40 +02:00
paramat 48baf1acb5 Floatland biomes: Update due to mgv7 biomerepeat option
Only register floatland biomes if mgv7 'biomerepeat' flag is false.
Simplify floatland biomes to coniferous forest and ocean.
Make 'mgv7_floatland_level' and 'mgv7_shadow_limit' parameters global
values for mods to use to register their own floatland biomes.
2017-07-22 01:07:06 +01:00
TeTpaAka 886537ef50 Player model: Remove vertical 1 node offset
Required due to the settable player collision box engine feature.
Change for MT/MTG v0.5.0 that breaks compatibility with old clients.
2017-07-21 02:13:09 +01:00
SmallJoker e5189760b3 Default: Expose the formspec getter functions (#1783) 2017-07-16 14:31:34 +02:00
Paramat 1d5bc15f9a Crafting: Remove duplicate reversed recipes (#1777)
For axes and hoes only use one recipe that matches the appearance of the texture and in inventory.
2017-07-16 14:31:21 +02:00
Fixer 1aafcdd7e0 Stairs: Add tin block stairs and slab 2017-07-08 14:51:24 +01:00
paramat 0cdee1d8f5 Saplings: Reduce grow time to ABM equivalent
Previous times were chosen using statistical maths, but reports suggested
this was too long.
I tested by timing an ABM acting on 100 nodes, with interval and chance equal
to the old sapling ABM.
50 at 4m59s.
99 at 24m58s.
100 at 26m58s.
So choose a grow time between 5 and 25 min for tree and bush saplings.
If 'can grow' is false at grow time the timer is reset to 5 min.
2017-07-08 14:51:03 +01:00
TumeniNodes b66a61a10f Stairs: Add inner and outer corner stairs
With thanks to MarkuBu for the original PR and GreenXenith for the stair models.
2017-07-08 14:50:17 +01:00
paramat 57979686d9 Mapgen: Completely separate mgv6 ore registrations
This allows us to preserve mgv6 ore distribution while giving us the freedom
to alter ore distribution for other mapgens.
Other mapgens are larger scale and have 3D noise tunnels which make vertical
travel easier, so ores can be deeper.
Other mapgens have registered biomes which allows us to limit ores to certain
biomes.
2017-07-02 11:33:48 +01:00
DS-Minetest 2e413b521a Add backface_culling to open chests and fencegates 2017-07-02 11:32:34 +01:00
Foz 0f7d0bfd7a TNT: Track TNT owner in metadata for protection mods
It is useful for protection mods to know who owns an exploding
TNT block. This allows the blocks destroyed by the TNT to be
limited to the same ones the owner could destroy without using
TNT.

TNT placed within a protected area by the area owner, and later
ignited by another player will destroy within the protected area
nodes the igniter may not otherwise be able to interact with. Any
player could significantly increase the size of an explosion by
placing more TNT in an adjacent unprotected area if the original
TNT block was placed withing 1 node of such a boundary. This
feature sounds dangerous, but we are talking about TNT. Players
should use it carefully.
2017-07-02 11:30:39 +01:00
SmallJoker c51ebcb74a Carts: Do not connect rails with gunpowder (#1812) 2017-07-02 10:32:10 +02:00
Milan* a7344c7ea8 update initial stuff 2017-07-01 14:05:24 +02:00
Milan* 81044ee100 update submodule illuna 2017-07-01 13:59:26 +02:00
paramat bae17cd88c Flowers: More flowers 2017-07-01 04:29:49 +01:00
Johannes Fritz 7b46d3b6af Stairs: Add backface culling to stair meshes
If backface culling is not specified for a tile in 'images' it is set to true.
Slabs already have backface culling due to being defined as nodeboxes (which
are then converted to meshnodes).
2017-07-01 04:22:11 +01:00
Milan* 10abee3f87 update submodule illuna 2017-06-29 13:08:12 +02:00
Milan* 83b50f60b6 update submodule illuna 2017-06-29 13:03:51 +02:00
paramat bdc09d2313 Floatland biomes: Add ocean biomes to fix missing sandstone
Update biome lists for blob ores.
2017-06-28 11:18:53 +01:00
F.K.Z 2c666891a8 Furnace formspec: Replace deprecated 'current_name' with 'context' 2017-06-28 11:17:40 +01:00
Ezhh 3d1fc42f66 Make sapling, leaves and fence descriptions consistent (#1795) 2017-06-25 11:19:12 +02:00
John Cole 36d024a716 Allow mossy cobble slabs to combine (#1791) 2017-06-22 20:38:02 +02:00
paramat 120e96938d Chests: Check 'def' of node above chest to avoid crash
In 'chest_lid_obstructed(pos)' check for nil 'def' to avoid a crash caused by
an unknown node above the chest.
2017-06-16 04:11:33 +01:00
red-001 502720b14d Books: Also limit the max size of the title
This limits the max size of the full title of the book to `80` letters and
the size of the part thats displayed in the tooltip to `35` letters.
2017-06-16 04:11:00 +01:00
tchncs 0aa39f3c47 Merge branch 'technicworld' of https://git.tchncs.de/Illuna-Minetest/minetest_game into technicworld 2017-06-15 17:01:44 +02:00
tchncs d189469f6d update submodule ethereal 2017-06-15 17:00:04 +02:00
Milan* 40f94a9ecd update submodule illuna 2017-06-15 16:49:36 +02:00
tenplus1 0157175346 Creative: Add 'creative' privilege for survival servers
This adds a 'creative' privilege to survival servers which OPs can bestow
on admin or competent builders to give access to the creative inventory.
2017-06-14 20:47:11 +01:00
red-001 b3f17cda9f Books: Limit the size of books
Really large books just waste hard drive space and the engine is not designed to
handle that much data in item metadata, this can cause strange things to happen.
2017-06-14 20:28:40 +01:00
ezhh 15ba96467d Descriptions: Make capitalization consistent 2017-06-14 20:26:33 +01:00
red-001 da7e8e4810 Books: Add nil value checks to the book formspec handler 2017-06-14 20:26:17 +01:00
paramat 175a9f8ff5 Stairs: Use one recipe matching inventory appearence
No longer have 2 recipes for stairs, choose the one that matches the appearence
in inventory (stair rising toward the right).
Helps to reduce recipe count now that an increasing number of stairs are
being registered.
2017-06-14 20:26:17 +01:00
Wuzzy b91e047868 Stairs: Allow crafting slabs and stairs into full blocks again 2017-06-14 20:25:26 +01:00
DS-Minetest 7e9c5a3576 Doors: Avoid white particles when digging wooden trapdoor
Alter the wooden trapdoor side texture, replacing the white area with a
repetition of the wood pixels.
It is now consistent with the steel trapdoor side texture.
2017-06-08 15:52:31 +01:00
paramat c714d43319 Flowers: New texture for yellow dandelion
Derived from the white dandelion texture.
Uses the flower head colours of the previous yellow dandelion.
2017-06-08 15:52:00 +01:00
vorunbekannt75@web.de 626cd8e9c7 Default: Revert "Default: Shorter and better ABMs"
This reverts commit e523c3a296 to re-enable
the overriding and redefinition of these global functions.
2017-06-08 10:35:54 +01:00
sfan5 f855beeda5 Use transparency for unused part of mese post top texture
The color autogeneration algorithm of minetestmapper otherwise
causes this node to appear as solid black.
2017-06-06 12:54:42 +02:00
MrIbby 18956c7f69 Change "Junglewood" to "Jungle Wood" 2017-06-03 11:55:13 -04:00
Michael Bargatin a8a60d33a3 Resize book textures from 16x17 to 16x16 2017-06-03 11:54:39 -04:00
Milan* 3c422605e7 update submodule illuna 2017-05-27 15:06:16 +02:00
Milan* 60cb3fc398 update submodule illuna 2017-05-27 14:25:26 +02:00
Milan* 04b58ef265 update submodule illuna 2017-05-27 14:23:23 +02:00
Milan* 3bc1aefdcd update submodule mobs_redo 2017-05-27 10:15:16 +02:00
Milan* 3d7e77b438 update submodule underworlds geomoria 2017-05-27 10:07:04 +02:00
Milan* e6d0e6e37c update submodule ethereal 2017-05-27 08:38:10 +02:00
Milan* dbe42a00bd update submodule illuna 2017-05-26 20:17:31 +02:00
Milan* 2fc749b8c0 update submodule hudbars, illuna, illuna_ethereal 2017-05-26 18:40:27 +02:00
Milan* adf7edcced merge upstream 🐈 2017-05-26 18:24:37 +02:00
Milan* 8bac0467af update submodule illuna_extras 2017-05-26 15:38:28 +02:00
tchncs 33aa4de3d0 update submodule illuna_extras, pkarcs 2017-05-25 21:22:15 +02:00
tchncs 2c2c6a67cc update submodule illuna 2017-05-25 16:02:04 +02:00
Milan* 36a47fd92e merge upstream 🐈 2017-05-25 10:03:55 +02:00
Milan* 60971dc1a5 update submodules ethereal, illuna_extras 2017-05-25 10:03:42 +02:00
Milan* 73c07d7b27 update submodule inventory_plus 2017-05-24 13:07:28 +02:00
paramat eec1c5a03b Settings: Use new settings object 2017-05-24 07:18:26 +01:00
tchncs 30d169c618 add submodule irc 2017-05-23 12:19:06 +02:00
Milan* 40187ce545 update submodule illuna 2017-05-23 11:38:24 +02:00
Milan* cb904d3b5b update submodule technic 2017-05-23 10:57:00 +02:00
Milan* 4d39a3f5a6 update submodule wiki 2017-05-23 10:51:18 +02:00
Milan* 3ab39ebf1a make gui background a bit darker 2017-05-23 10:30:36 +02:00
Milan* fe120be941 add submodule wiki 2017-05-22 18:45:19 +02:00
Auke Kok df65716711 re-add nyancat mod
add pbj_pup from
9b45e7b3e9
2017-05-22 09:42:29 +02:00
Milan* 9052d3ae14 fix mergeconflicts 2017-05-22 09:30:34 +02:00
Milan* 56e4678f61 drop submodule farming, boats for easier mtg merges 2017-05-22 08:48:31 +02:00
Milan* f92ff3abc4 update submodule homedecor
add submodule moreblocks
2017-05-21 23:05:59 +02:00
Milan* aadd59fc0a update esubmodule homedecor_modpack 2017-05-21 22:37:47 +02:00
Milan* 38c0dd33d5 update submodule illuna_ethereal 2017-05-21 21:55:57 +02:00
tchncs b28c51cd27 update submodule integral 2017-05-21 12:06:52 +02:00
Milan* 3c536e8e5a add some worldmods to the subgame 2017-05-21 11:58:58 +02:00
theFox6 e523c3a296 Default: Shorter and better ABMs (#1739)
Action of some abm's call functions directly, instead of calling the function inside a function.
2017-05-20 14:32:52 +02:00
sfan5 b25317fc64 Remove set_inventory_formspec in default, remove delay in sfinv 2017-05-18 09:54:18 +01:00
Vanessa Ezekowitz d104b9b10f Chest: Redo new chests to use single-tile textures where possible
This keeps the filenames the same, but adds a new "inside" double texture
for the open chest.
Use regular drawtype for closed chest and delete the "cube.obj" model.
X-flip the right-side texture for the closed chest.
2017-05-18 09:45:56 +01:00
ezhh 758d5010b8 Fire: Disable fire by default in multiplayer 2017-05-15 17:39:59 +01:00
tenplus1 63b3542d00 Chests: Revert inventory name
Revert the new 'default:game' inventory back to the old 'main' and use the
lbm to restore the contents of the chest.
Change the name of the conversion LBM to ensure it is run again on already
converted chests.
2017-05-15 13:47:03 +01:00
cx384 5bd44c21ef Change the selection_box of bush stems (#1733)
This is needed because you can't place a node above a bush stem when you are pointing at the bush stem.
2017-05-13 12:49:04 +02:00
Auke Kok c7d558c09e Chest open model: UV map fix.
The back side had a UV mapping issue which caused the bottom
rear part to "shrink" when opened.
2017-05-07 20:47:17 -07:00
Auke Kok 55f81d0802 Fix nil deref issue with people hitting chests too often. 2017-05-07 20:47:17 -07:00
SmallJoker a533434b58 Chests: Keep old textures for mod compability
Prevents generating ugly looking dummy images for mods that weren't updated yet.
2017-05-07 20:46:49 -07:00
Ezhh 08706313f4 Add option to disable lavacooling (#1726) 2017-05-07 18:25:53 +02:00
sfan5 6737952fbf Fix merging mistake (crash in "stairs") 2017-05-01 21:26:10 +02:00
Tim 519d166ce3 Stairs: Add snowblock and ice stairs and slabs 2017-05-01 19:48:54 +01:00
Fernando Carmona Varo be9121214c TNT: Gunpowder (and tnt.burn) will trigger the on_ignite of nodes
The previous behaviour is kept as fallback for compatibility, for when the on_ignite
is not defined in the node.
2017-05-01 19:38:38 +01:00
Auke Kok 011ad78b42 Improve Chest appearance - opening chests.
Adds a mesh model that appears when a chest is opened. The chest
stays visibly open as long as the player keeps it open. When the
player closes the formspec, the chest returns back to the closed
shape. While opening and closing, a sound plays.

A second person inspecting the chest will trigger a second sound
open. However, only after the last player closes the chest, does the
chest actually visually close and is the sound close played. This
keeps mesh updates to a minimum.

While it's possible that a server shutting down may cause chests
to remain open, this does not affect the chests' working matter,
and opening or closing them should fix them.

Old chests are converted to the new style by LBM. I previously
had them converted on open but this was unreliable, and LBMs
don't have that problem.

Open chests cannot be dug up. This prevents people from keeping
a chest open and digging it out as well, since closing a chest
would place a chest back (swap) at the spot. We could protect
against this, but it still messes up the client and causes a lot
of "missing node inventory" error messages otherwise. It's
unlikely but possible that a player lagging out causes a chest
to stay "open" and thus unremovable by digging, but there are
other ways of dealing with that - a server restart fixes that
issue.

If the lid of the chest is obstructed, the sounds continue to play,
but the lid isn't opened. Obstructed means that a node is present
above the chest lid, however, we ignore several node types like signs,
torches (not 3d) and wallmounted nodeboxes (typically signs) since
they don't pose any major obstruction in almost any case, and are
typically found above chests. Additionally, the selection box of the
opened chest does not include the lid, and so one can still interact
with e.g. a sign behind an open lid.

Due to the fact that chests now have 7+ textures, we can no longer
use materials (limit: 6) to texture the chest, and so there is now
a single UV mapped image that applies both to open and closed chests.
While this does mean texture pack makers need to create it, this
is extremely simple and consists of a simple cut'n'paste over the
template and should be really easy to do. Only one texture file is
now then used for both open and closed chests.
2017-05-01 19:36:35 +01:00
Auke Kok 4ec0fd974b Doors: place sound when placing a door.
Due to door items being the thing that's placed, we need to
explicitly play a sound when placing a door.

Fixes #1363
2017-04-28 21:52:59 -07:00
Auke Kok 67b13a5942 Fix books getting erased on page button use.
Changing the book page caused the entire itemstack meta to
get wiped due to improper calling of meta:from_table().

Fixes #1711
2017-04-28 21:52:39 -07:00
Auke Kok ae7206c006 Remove dye craft recipe conflict.
We have enough gray recipes, but brown is more difficult.

Fixes #1710
2017-04-26 20:19:59 -07:00
rubenwardy 2917562728 Fix owner not being checked on write to book 2017-04-27 02:28:23 +01:00
paramat c2d1a5ed4b Tin: Tune mapgen, bugfix, fix texture credits
Previously i had matched ore density to moreores, but this density was
too high and out of balance with MTGame, reduce density to be similar
to copper ore.
The 2 levels of underground ore were overlapping, fix.
Textures are actually by kilbith, update credits.

Also credit kilbith for bronze, copper, gold and steel blocks, credits
had not been updated at the time.
2017-04-23 23:05:31 +01:00
paramat 4d9fd7ad61 Textures: Reduce contrast of snow ripples 2017-04-23 23:05:31 +01:00
Dániel Juhász 24559d012e Creative: Automatic item colorization for creative mode 2017-04-23 23:05:06 +01:00
paramat 2668619638 Ores: Add tin ore, lump, ingot and block
Use Calinou's textures from moreores mod.
Craft bronze from tin and copper instead of steel and copper.
Match ore density to the moreores mod but start ore at a depth of
y = -32 to be part of the depth progression of other ores.
2017-04-20 19:55:05 +01:00
upsilon 6335525757 Doors: Ignore permission check if player parameter is omitted
As written in game_api.txt.
2017-04-20 19:54:27 +01:00
octacian c54a7e882f Keys: Move skeleton key to craftitems.lua
Commit 73d61cbb103415c9a3970eaf2c48aeadabfff828 makes skeleton keys
craftitems rather than tools, warranting the move from tools.lua
to craftitems.lua.
2017-04-20 19:51:51 +01:00
octacian 701abc2d2f Keys: Allow skeleton keys to be stacked
Allow skeleton keys to be stacked by converting them to craftitems and
adding a few lines of code to add a new itemstack to the inventory with
the new key or drop it at the player position if the inventory is full.
2017-04-20 19:50:34 +01:00
Thomas--S 98216810ef nodebox -> node_box
Seems like this was a typo
2017-04-12 18:39:42 -07:00
paramat a57d2db54a Bushes: Add saplings
Bush saplings grow in half the time of tree saplings.
Bushes do not need 'from sapling' schematic variants because only the
stem node is force-placed in the mapgen schematic, so only the sapling
is force-replaced.
Bush leaves drop saplings with a rarity that ensures at least 1 sapling
per bush on average.
2017-04-12 17:18:50 +01:00
paramat d68d2c08ef PB&J Pup: Remove mod
Also delete nyancat API documentation from game_api.txt.
2017-04-12 17:18:35 +01:00
MarkuBu e6d0d775e3 Stairs: Improve stair and slab rotation on placement
Slabs are placed horizontal instead of vertical, even if they are
placed on a wall.
Slabs are rotated automatically if they are placed to another slab,
no matter which material.
Slabs are placed at the lower position if the placer points into
the lower half of the pointed node and to the upper position if
pointed to the upper half.
Stairs are placed normal if the placer points to the lower half of
the pointed node and rotated upside down if pointed to the upper half.
2017-04-11 08:33:30 +01:00
Alex Ford 8d43b984fc Screwdriver: Allow non-native rotations if supported by targeted node
This also allows custom actions (such as using the screwdriver as a wrench).
2017-04-11 03:58:13 +01:00
LNJ fe021281e6 Textures: Replace aspen leaves texture with BlockMen's 2017-04-11 03:57:44 +01:00
paramat 9e4f0d3689 Leafdecay: Do not restart aready running timers 2017-04-11 03:57:07 +01:00
paramat acfd58cdeb Carts: Make rail recipes more generous
As part of making vertical travel easier to reduce reliance on
sneak ladders.
Calculate using cubic pixels of steel.

A steelblock is 16^3 = 4096 cubic pixels steel.
6 ingots is 6/9 steelblocks.
A rail is a 2*2*16 pixel length of steel, 64 cubic pixels steel.
6 ingots produces 2*21 rails = 21 rail nodes.
Choose 18 for an even number that is a multiple of ingot number.

Replace the stick with 2 wood in the recipe to be closer to the amount
of wood that would be needed for 20*4 sleepers.

Replace 2 mese crystal fragments with 1 mese crystal to
compensate for the larger number of nodes returned. The result
is the recipe is much more generous with steel usage but slightly
less generous with mese usage, keeping power rail cost reasonably high.

Replace 2 coal lumps with 1 for a similar recipe to power rails.
2017-04-11 03:57:01 +01:00
Milan* 3feb689563 update submodule illuna 2017-04-02 13:41:54 +02:00
Milan* b0ed39ec1e update submodules ethereal, illuna 2017-04-02 13:18:14 +02:00
SmallJoker b377aaa50d doors: Fix craftitem not listed in inventory (#1683)
Fixes bug caused by b847888
2017-04-02 10:01:01 +02:00
paramat 5fe831ed13 Carts: Remove '+' added in commit 077316b 2017-03-30 04:24:29 +01:00
paramat 2f46103ff8 Glasslike_framed nodes: Add 'glasslikeliquidlevel' paramtype2 2017-03-30 04:24:23 +01:00
zaoqi 077316b4cd Use creative.is_enabled_for for creative mode if possible (#1558) 2017-03-29 21:02:26 +02:00
cx384 b847888cb7 doors: add groups to the door craftitem 2017-03-29 20:40:56 +02:00
Milan* 7dcb844f18 add submodule digilines, turtle, basic_robot 2017-03-28 14:15:11 +02:00
Milan* 6d0a08fafe update submodule illuna 2017-03-27 19:32:08 +02:00
upsilon 7c42c41170 doors: record protection violation if it cannot be dug 2017-03-26 03:06:44 +01:00
paramat 08eec2beb7 Flora spread: Re-enable dry shrub replacing flora in desert sand
Flora is converted to dry shrub in desert sand and silver sand.
No conversion in sand to preserve sand dune grasses.
Dry shrubs do not spread so this conversion, used by players, is the
only way to generate them.
2017-03-26 03:06:37 +01:00
Auke Kok 9b45e7b3e9 PB&J Pup.
Replace possibly trademarked artwork with royalty free and
OK for commercial use artwork.

The Pup appears by default but does not alias the Nyan Cat nodes
away. For that you will have to enable the setting. A settingtypes.txt
is provided to make that really easy. This allows people to get
an out-of-tree mod and not have their Nyan nodes disappear.

The mod can also be disabled entirely this way for those who don't
want it.

There's some eatser eggs in here as well. Instead of making the
nodes burnable, they are edible, and make you bark and howl. And
perhaps something else too.
2017-03-26 03:05:57 +01:00
Milan* fc23cd62f2 add submodule hopper 2017-03-25 11:31:07 +01:00
paramat 91182d6a9e Flora spread: Do not replace flora with dry shrub, only 'return'
If there is no group:soil node found below, do not replace flora with
dry shrub, this was breaking flower pots and other mods.
Originally, flora would only turn to dry shrub if in desert sand.
2017-03-22 22:30:35 +00:00
Milan* 7f2d4f4fbf merge upstream 🐈 2017-03-20 22:40:16 +01:00
Milan* e99f72a103 update submodule illuna 2017-03-20 22:40:02 +01:00
paramat 86fd616f3c Flora spread: Allow spread on rainforest litter. Other improvements
Use the soil group more instead of checking for multiple node names.
Remove 'neighbors' from ABM.
Turn any flora to dry shrub if on a non-soil, except when on default:sand
to avoid dune grasses being replaced.
Search for "group:soil" when searching for a position for the new flora
node, instead of searching for multiple node names, however do not spread
flora onto desert sand, which is in the soil group.

Remove default:dirt_with_snow from the soil group as it would be frozen
soil. It can be dug and placed to turn it into dirt (consider this some
extra work needed to make it cultivatable).
2017-03-20 00:14:56 +00:00
octacian 2a74032745 Books: Fix backwards compatibility issues
Commit c68b8274fe prevented books from
being copied in the crafting grid, and made it so that old books, though
seemingly successfully transferred to the new format, could not be written
to as the old data still persisted.
2017-03-20 00:13:31 +00:00
Auke Kok ecf160d93d Screwdriver: simplify logic, allow wallmounted rotation.
- Allow rotation of wallmounted nodeboxes (signs) since they are
  now rotating properly.
- Instead of testing `ndef` several times, do it once, correctly.
- Simplify exception logic for nodes that have `on_rotate` set.
- For simplicity, return itemstack, always.
- Remove a useless nil check.
2017-03-20 00:12:16 +00:00
tchncs 9f19de97fe update submodule 3d_armor (fixes crash) 2017-03-19 15:08:21 +01:00
tchncs 52df0fae8c update submodule 3d_armor 2017-03-19 12:57:28 +01:00
tchncs 740cab71d6 merge upstream 🐈 2017-03-19 12:56:38 +01:00
Milan* 934d0c9458 update submodule teleport_potion 2017-03-19 12:50:34 +01:00
Thomas--S 6a55e150af Doors: Fix wood/glass doors not opening or closing
Some code was lost during a rebase of a recently merged commit (73e4666).
2017-03-19 00:43:12 +00:00
tchncs 0f7a29f035 merge upstream 🐱 2017-03-18 20:56:32 +01:00
Milan* ff43f66f7d update submodule ethereal, illuna_ethereal 2017-03-18 20:50:31 +01:00
tchncs a17260c8e9 merge upstream 🐈 2017-03-18 14:51:09 +01:00
Milan* 346adcd71e add default:mese_ongen and use this for the mapgen as replacement for default:mese 2017-03-18 14:44:20 +01:00
tchncs ea26028784 add submodule unifieddyes as requiered by technic 2017-03-18 08:31:17 +01:00
Milan* 2ce30050d4 update all submodules with updates
submodule update 3d_armor
submodule update hemp
submodule update mobs_animal
submodule update mobs_monster
submodule update mobs_redo
submodule update pipeworks
submodule update playereffects
submodule update princess
submodule update protector
submodule update technic
submodule update wine
submodule update worldedit
drop chat_bubbles
2017-03-18 08:07:57 +01:00
Milan* f398673e4f update submodule ethereal 2017-03-18 07:56:18 +01:00
tchncs 133cd86cb6 re-add submodule fun_caves 2017-03-17 23:05:16 +01:00
tchncs 376b009159 drop submodule fun_caves to solve conflicts 2017-03-17 23:04:38 +01:00
Milan* 9d221299d9 replace/add submodules caverealms, underworlds, fun_caves 2017-03-17 22:50:49 +01:00
paramat d2aae95c39 Leafdecay: Change Aspen radius back to 3
Although the new aspen tree schematic only requires a radius of 2 the
many existing aspen trees in a world require radius 3.
2017-03-17 05:52:06 +00:00
paramat 02921baa7a Junglegrass: Prevent seeding of dirt_with_grass
Previously you could place junglegrass on dirt to convert that dirt to
dirt_with_grass, but this is unsuitable now that rainforest has a
surface of dirt_with_rainforest_litter.
Remove junglegrass from the 'grass' group.
2017-03-17 05:52:06 +00:00
octacian 07e11427cf Keys: Fix crash when using unconfigured default:key
Since meta secret field is blank on any keys (default:key) obtained using
/give, the game will crash if you attempt to use one of these. This follows
along the principle that the game should never have any reason to crash.
2017-03-17 05:50:50 +00:00
paramat 68212967c0 Biomes: Add and auto-select mgv7 floatland biomes
A simple set of biomes for now: Ocean, coniferous forest, grassland,
sandstone desert.
Update biome lists for blob ores and decorations.

Make sandstone desert filler 1 node deeper to match other deserts.
2017-03-17 05:49:57 +00:00
Thomas--S 73e4666f28 Change doors to default.can_interact_with_node() 2017-03-16 09:11:20 -07:00
paramat bd4d2dff1c Farming: Add override for default:dirt_with_rainforest_litter 2017-03-15 22:22:21 +00:00
Auke Kok 61d7c43c83 Skeleton key: Change to use left-click (tool on_use)
Instead of right click, the skeleton key is now a true `tool`
in the sense that it's default left-click action is to create
a key for the locked object.

This is far better than the outcome of the patches we've done
where the only way to create a key for a locked item was to
use sneak+rightclick. Now keys are perhaps a bit more sensible,
left for making keys, right for opening stuff with keys.

Fixes #1625
2017-03-15 22:22:21 +00:00
SmallJoker 780f991a87 Sapling_on_place: Restore after_place_node() calls 2017-03-15 22:18:50 +00:00
Auke Kok 1c78fd346d Sethome: Migrate sethome mod to player attributes.
Migrates settings safely and evacuates the `homes` file
entirely over time.
2017-03-15 22:18:36 +00:00
Milan* 70f14fda58 update submodule ethereal 2017-03-15 11:41:51 +01:00
Milan* 464fee1dee fix mergeconflicts 2017-03-15 11:30:00 +01:00
Milan* 37dbcf9d1f update submodule ethereal 2017-03-15 00:34:48 +01:00
Milan* f1a827e17a update submodule illuna_ethereal 2017-03-15 00:34:23 +01:00
Milan* 28b042ee13 update submodule illuna_extras 2017-03-15 00:33:58 +01:00
Fixer da69fcdf91 TNT: Clarify new TNT receipe
Update readme.txt with new TNT crafting recipe.
2017-03-14 19:05:49 +00:00
paramat 37c81f70b0 Textures: New textures for silver sandstone nodes 2017-03-14 19:05:14 +00:00
Auke Kok 7b90044574 TNT: start fire nodetimers for created fire nodes.
Without this patch, any fire created(placed) by tnt explosions
will remain forever on the map.
2017-03-14 19:03:34 +00:00
Milan* 6a65683b5a add submodule fun_caves 2017-03-13 11:42:36 +01:00
Milan* 853aae28c5 update submodule illuna_ethereal 2017-03-13 10:24:27 +01:00
Milan* b3d42c40a8 update submodule illuna_extras 2017-03-13 09:13:29 +01:00
Milan* 626784702a add submodule illuna_extras 2017-03-13 09:13:13 +01:00
SmallJoker b87ef5ccde Keys: Update default.can_interact_with_node to new item meta
Completes a forgotten update in 9d3a526
2017-03-12 12:20:31 -07:00
paramat 07a5fca432 Leafdecay: Register leafdecay for bush leaves 2017-03-12 10:20:26 +00:00
Auke Kok d5e19d70c2 Screwdriver: drop nodes if no longer attached.
This should be fairly cheap and pops off items if needed.
2017-03-12 10:20:19 +00:00
Dániel Juhász efb81d188e Correct rotation of attached nodes, and rotate colored nodes 2017-03-12 10:20:19 +00:00
Auke Kok 297192dd39 Screwdriver: use table lookup for facedir rotations.
The table was generated using the old code. A table lookup
should be faster than lots of math and branches.

Allows us to drop `nextrange()` as well.
2017-03-12 10:20:19 +00:00
Auke Kok f14b0a6ff5 Screwdriver: allow simple wallmounted rotation.
Allows rotating things like signs and torches. Axis rotation
rotates over all 6 faces, face rotation flips upside down to
flat on floor only, and of course in the 4 horizontal directions.

Made the code a bit more modular to account for different rotation
schemes. Should be easier to extend from here on to other needs,
and the functions can be reused by other mods for convenience.
2017-03-12 10:20:19 +00:00
paramat ad118ea98d Flint & steel sounds: Fix bugs caused by nil position
Usage and tool break sounds were played at 'pointed_thing.above' which
can be nil if not pointing at anything or at an entity. This caused
sounds to be played to all players on a server non-positionally.

Fallback to player pos for sounds if 'pointed_thing.above' is nil.

Replace 'pt' variable with 'pointed_thing' in 'register_tool'.
2017-03-10 19:30:18 +00:00
paramat c52ad140ae Mapgen: Use decoration sidelen 16 for jungletrees and junglegrass
Currently jungletrees and junglegrass use sidelen 80 for simplicity,
but this results in a more uneven distribution of decorations. A more
even distribution helps keep rainforest darker with a more unbroken
canopy.
This is also more consistent. 80 is based on the default mapchunk
size, all other decorations use sidelen 16 or smaller to divide into
any mapchunk size.
2017-03-10 19:28:43 +00:00
paramat 0f0dd0f6e8 Tree schematics: Alter jungletree, aspen, pine, appletree
Denser jungletree for darker rainforest:
Highest 'jungletree' nodes now prob 255.
Add a 5th lower branch layer.
Increase lower branch layer y-slice prob to 191.

Aspen:
Extend trunk upwards by 1 node to reduce leafdecay radius to 2.

Pine:
Make lower trunk 1 node longer so that lowest branches are more often
higher off the ground, also to make pines taller.

Appletree:
Make 2 opposite branches prob 255, the other 2 prob 127, to avoid
trees with 1 or 0 branches. Therefore also add random rotation.
2017-03-10 19:28:38 +00:00
Milan* 0e35b613d2 update submodules ethereal, illuna_ethereal 2017-03-09 22:47:20 +01:00
Milan* 19c6231abd update submodule ethereal 2017-03-07 20:26:33 +01:00
Milan* d0ec140fd6 update submodule geomoria 2017-03-07 09:20:55 +01:00
paramat 1f6d633037 Ladder recipe: Make wooden ladder recipe more generous
Increase to 5 ladders from 7 sticks.
More generous to help with vertical travel.

Divide the log core volume of 14 * 14 * 16 cubic pixels by the volume of
a ladder node with two 2 * 2 * 16 side pieces and four 2 * 1 * 16 rungs
(cut down to length 14), to get 12.25 ladders per log.
The recipe of 7 stick items is 7 / 16 = 0.4375 logs.
Ladders per 7 stick items = 0.4375 * 12.25 = 5.36.
2017-03-07 06:43:44 +00:00
rubenwardy a16413f96c sfinv: Fix wrong tab being highlighted
Thank you to @ForbiddenJ for finding cause of the issue.
2017-03-07 06:43:18 +00:00
tenplus1 6d67badcac Screwdriver: Fix crash
If 'node_box' is nil 'node_box.type' causes a crash.
2017-03-07 06:37:33 +00:00
Diego Martínez 1d45b27c12 Add desert/silver sandstone-related blocks. (#1596)
Add desert and silver sand-related blocks, and stairs.
2017-03-06 19:03:30 -08:00
Milan* 07a4991896 add submodule integral 2017-03-06 22:09:29 +01:00
Diego Martínez 496521f4a1 Fix some warnings.
Also fixes the failing travis checks.
2017-03-05 09:27:53 +00:00
paramat 28ecb3b261 Dungeons: Use 'block' instead of 'brick' for nodebox stairs 2017-03-05 09:27:44 +00:00
Milan* 3c409b6f7a update submodule ethereal, illuna_ethereal 2017-03-04 22:57:56 +01:00
Milan* eb3980906f add submodule geomoria 2017-03-04 13:05:15 +01:00
Milan* 477abb0a24 update submodule illuna 2017-03-03 09:08:27 +01:00
octacian c68b8274fe Show title and author of book in description
Utilizes the new key-meta (as with nodes) and the ability to set the description of an itemstack with the `description` meta key. Includes code to convert old metadata to new key-meta.
2017-02-28 18:16:55 -08:00
Auke Kok 78c632ebd4 Allow interaction with nodes while wielding these items.
- beds
- boats
- carts
- key/skeleton key
- seeds

All these had on_place handlers that did not allow nodes with
an on_rightclick() handler to be used first (if not using
sneak). This code is taken from the torches mod and applied
everywhere.

This allows all these items to e.g. be inserted into the `frame`
mod's item frames.
2017-02-28 18:16:12 -08:00
Milan* 0ec1989737 update submodule illuna_ethereal 2017-02-28 21:50:24 +01:00
Milan* 9c95f8ef5b update submodule illuna_ethereal 2017-02-28 20:59:27 +01:00
Milan* b89dac55dd add submodule bacon 2017-02-28 20:46:15 +01:00
Milan* 18ee108642 update submodules ethereal, illuna_ethereal 2017-02-28 20:39:15 +01:00
paramat d1b132555b Biomes: New surface node for rainforest
Moist rainforest plant litter.
Textures by npx.
2017-02-28 05:32:19 +00:00
octacian 9d3a526324 Keys: Show owner in description
Utilizes several new features allowing the description of an item to be changed using the `description` meta key. This also moves keys from using the old single-value itemstack metadata system to the new node-like metadata system.
2017-02-27 19:00:14 -08:00
paramat bb18eeccaf Corals: Smaller, less dense reefs 2017-02-25 03:52:31 +00:00
paramat d5f1f964e3 Lavacooling: Return to chance = 2
Return to previous parameters interval = 1, chance = 2.
Compensates for the increase in default active block radius.
Large amounts of lava cooling at once is known to overload sound
creation, producing error messages.
2017-02-25 03:52:26 +00:00
paramat 1ec31d8472 Torches: Reduce light source level from 13 to 12
As part of the original plan for a new lightcurve.

With the old lightcurve lights were so dim all light sources had light
source level 13 or 14 to compensate, resulting in almost no difference
between torchlight and a maximum brightness light.

The new lightcurve makes all light sources effectively much brighter by
spreading visually-bright light further, torches are now slightly too
bright. So now we can reduce the light source level of torches while
actually making them effectively brighter than with the old lightcurve.
This also creates a desirable difference between torchlight and a
maximum-brightness light source.
2017-02-25 03:52:19 +00:00
MarkuBu 60e5b299af Leafdecay: Node timer based implementation, API
This implements a node-timer based leafdecay mechanism, and exposes
an API to use it in mods.

The API is documented in game_api.txt.

`default.register_leafdecay(leafdecaydef)`

`leafdecaydef` is a table, with following members:
{
	trunks = { "default:tree"}, -- nodes considered trunks
	leaves = { "default:leaves", "default:apple"}, -- nodes considered leaves
	radius = 3, -- activates leafdecay this far from the trunk
}

The algorithm will drop `leaves` items in the area if no `trunks` are found
in the `trunk_radius` sized area around the position of the leaf. If a node
listed in `leaves` has a group `leafdecay_drop > 0`, then the item is dropped,
otherwise the item is removed but not dropped.

The algorithm also implements a value `default.leafdecay_speed` (default
15) which can be modified to increase or decrease of the leaf decay. The
algorithm will vary the actual speed a bit to introduce randomness.

Leaf decay is randomized by 0.1 seconds to reduce the chance that
decay happens many times on the same second interval. This requires
nodetimer_interval to be set to values lower than 1.0 to have an
effect.

The leaves will decay between 2 and 10 seconds after digging the trunk,
and happen at non-integer second intervals.

-- The API was added by sofar.
2017-02-25 03:50:15 +00:00
Thomas--S 37dd910747 Globalize, rename and change the behaviour of has_locked_chest_privilege
* rename to default.can_interact_with_node()
* pass pos instead of meta
* change order of arguments
2017-02-21 10:17:12 -08:00
SmallJoker 89c45993ac Carts: Fix the rail table overwrite behaviour 2017-02-12 11:39:52 -08:00
paramat 0819d4bade Visual scale: Update plantlike nodes to post-bugfix values
Plantlike drawtype no longer applies 'visual scale' twice, so now we
use the actual scale factor desired.
Remove unnecessary 'visual_scale = 1.0' lines.
2017-02-12 01:27:34 +00:00
octacian f6dfa4a1cb Waterlily: Avoid z-fighting of base texture with water surface
Avoid z-fighting visible from below.
Raise the nodebox base 1/64th of a node.
2017-02-12 01:23:53 +00:00
rubenwardy e3dd3d19cd Add sfinv.set_page, plus other helper functions 2017-02-10 23:54:57 +00:00
Paramat 86849d9eec Default: Add nodebox mese post light usable as a growlamp (#1480)
Light level 14 to be able to grow plants.
3 returned from crafting with 1 glass node, 3 mese crystals and 1
wood plank.
Seamlessly placable on appletree wood fence posts.
2017-02-08 16:01:30 -08:00
Thomas--S c88c0a98fd Make drop logic work better for non-8-step-plants. (#1544)
Using @paramat's formula.
2017-02-08 15:59:25 -08:00