Commit Graph

149 Commits

Author SHA1 Message Date
Jean-Patrick Guerrero 28884cc784 Add flint and flint-and-steel 2016-03-15 16:22:42 +00:00
Auke Kok 2fb40be409 Add "protection_bypass" priv.
The access privilege allows players that have it to bypass protection
on locked doors/trapdoors, chests and bones.

The priv also allows bypassing any minetest.is_protected() check,
including digging nodes and placing them. It is meant for world
moderators to clean up and fix map issues.

Original patch by red-001. Split up and rebased/rewritten by sofar.

This patch requires https://github.com/minetest/minetest/pull/3800
2016-03-13 04:48:57 +00:00
Auke Kok d979293f14 Convert fences to NDT_CONNECTED.
This changes the drawtype of fences to NDT_CONNECTED nodebox drawtype.

These nodes are drawn by the client with the needed connections on
the fly as the scene is drawn. There is no logic needed by mods to
modify the nodes.

These fences connect to (1) other fences, (2) planks and (3) tree
trunks, but nothing else. They do not connect to stone, dirt, wool,
etc. This is done by the "connects_to" parameter, which takes groups
and node names.

Due to the way textures are wrapped, we can make these nodes look a
lot better by giving them a special tile.

This change requires minetest/minetest#3503.
2016-03-13 04:10:51 +00:00
Jean-Patrick Guerrero 676822d286 Change steel ladder sounds + fix/add missing recipes 2016-03-11 15:28:13 +00:00
Jean-Patrick Guerrero aa676ab878 Add steel sign + Update wooden sign texture 2016-03-09 02:44:27 +00:00
Jean-Patrick Guerrero 7f317871d4 Add steel ladder 2016-03-06 01:31:36 +00:00
MT-Modder ac843f8fe7 Allow non-players to dig locked chests. 2016-03-03 00:37:01 +00:00
rubenwardy 42cc6d2c31 Add item name to chest log messages 2016-02-24 22:53:20 +00:00
MT-Modder ea2a7d3b1f Remove dig_up() from cactus.
Digging a cactus leaves the branches hanging. With this change it will no longer happen.
2016-02-23 20:34:32 +00:00
Auke Kok 73d998ccdf Lower snow footstep and dig sound level.
These sounds were perceived to be too loud in the
game. I've lowered them significantly but they remain
plenty audible. The dig sounds were very loud as well
so I toned them down as well.
2016-02-21 15:31:28 +00:00
Rui 7a3cff5529 Remove minetest.inventorycube 2016-02-13 03:47:49 +00:00
Auke Kok 2f39cad09b Create API for fence.register, and use it.
This converts the call to minetest.register() for the default
fence node, so it can be called by other mods to quickly
setup other fences.

Since this creates an API, insert it into the game_api.txt.

The api looks like minetest.register(name, {def}), and has two
uncommon fields: "texture" and "material". Any normal nodedef
property can be passed through, except "drawtype". The "fence"
group will always be added.

The default fence recipe is modified to be as follows:
  wood, stick, wood
  wood, stick, wood

This recipe yields 4 fence nodes.

This allows us to create according recipes for acacia, pine,
aspen, and junglewood fences without adding new stick types:

  pine wood, stick, pine wood
  pine wood, stick, pine wood

This is a from-scratch implementation, written by heart but inspired
by (#665 - Add many wooden fences).

Stick and fences nodes are named in a consistent way.
2016-02-03 19:33:19 +00:00
Auke Kok 6267f26027 Aspen trees.
Adds a birch-like tree to the default_game. Aspen was chosen on
purpose instead of birch, as several birch tree mods already exist
and choosing a different name avoids any conflicts.

Schematics were made for both normal and sapling version, assuring
saplings will not be able to grief. The shape of the Aspen is "fanning
out at the top" and provides an easy tree to walk under, but still a
somewhat thick cover. The Aspen trunk is 4 to 6 blocks tall, with up
to three layers of leaves on top, making it slightly taller than an
Apple tree, but shorter than a Pine tree, which provides a good blend.

Textures were painted from scratch, except tree_top and _wood
variants, which are color modified versions of the pine_wood
variants. Appropriate licenses have been chosen for the new textures.

The leaf texture is light enough to contrast other trees, but dark
enough to offset against our light default grass color. The leaves
are drawn in the typical minetest default fashion with plenty of
transparancy, but enough definition to suggest that you're seeing
something that looks like leaves. The placement of leaves in the
schematic also suggests the top of the tree is sparse and you can
see the sky through the leaves.

Sapling texture is both traditional and different, with lush green
leaves and a well-defined stem, but slightly stick-like and skinny,
as these plants tend to grow up first, then out.

Add fallen Aspen logs. We make these logs a minimum of 2 blocks long,
and up to 3. This allows us to make these logs a place where both
red and brown mushrooms can be found, to these may be attractive to
players. However, the spawn rate for these has been reduced a lot
compared to the other logs, to account for the scarcity of Aspen.

Add stairs, slabs for these wood types as well.

Mapgen will place these trees in deciduous forests only, but in
a way that the biome is a range between entirely Apple trees, and
mostly entirely Aspen trees, with a bias to Apple trees. To make
fallen logs somewhat correlated with trees, we modify the planting
of Apple trees and logs to use perlin noise and not fill ratio,
otherwise you'd always end up with Apple logs in Aspen tree areas,
which would be suspicious. There still is a bit of a mix.
2016-01-15 04:56:15 +00:00
paramat c66a98bbed Default: Slightly reduce alpha of water post effect colour
To make water a little clearer and feel purer
Also correct lava alpha values from 192 to 191
2015-12-12 13:42:54 +00:00
paramat ac810dbf9d Default: Remove light source from mese ore
New brighter mineral_mese texture
2015-10-03 01:11:10 +01:00
MT-Modder f5c8f881d7 Change obsidian glass drawtype to glasslike_framed_optional 2015-09-14 23:08:37 +01:00
paramat c2307b8816 Default/nodes: Fix acacia leaves not waving 2015-09-01 06:18:06 +01:00
paramat 908d8e5f90 Default/nodes.lua: Add missing spaces, shorten lines 2015-08-25 06:47:55 +01:00
paramat a0d7644a86 Default: Add snow, snowblock, ice to puts_out_fire group 2015-08-25 03:03:06 +01:00
RealBadAngel 835ca02be5 Add tiling info for grass nodes 2015-08-19 00:59:22 +01:00
paramat c7b9e734ff Default: New grass textures, new footprint overlay texture 2015-08-15 21:19:39 +01:00
paramat be4dd6479d Default: Rename pine tree nodes, textures and mapgen aliases 2015-08-10 09:19:02 +01:00
paramat cbea61e8dd Default: Thicker snow nodebox 2015-07-29 01:18:30 +01:00
Rui914 da9789e3ce Fix not_in_creative_inventory
Update
2015-07-17 20:53:55 +01:00
RealBadAngel 0c5f6dabc0 Add new texture for leaves, jungle leaves and style simple 2015-07-13 03:17:26 +01:00
paramat 6843ddb814 Default: Add savanna nodes, textures, crafting and fuels 2015-07-12 22:41:59 +01:00
Amaz 7361eb5e05 Add the listring functionality c977fbd928 2015-06-23 19:17:57 +02:00
paramat e15fde1624 Fix is_ground_content settings for nodes
Remove line if set to the default of 'true'
2015-06-18 02:25:02 +01:00
Novatux 15ef8b0995 Fix bookshelf's allow_metadata_inventory_move (check if item belongs to "book" group instead of checking if it is "default:book") 2015-06-17 18:33:54 +02:00
paramat 7786f7f8b1 Default/nodes: Match river_water post_effect_colour hue to that of new texture 2015-06-07 04:39:02 +01:00
Calinou 750f9575af Improve water post effect color 2015-06-06 14:13:01 +02:00
paramat 40e2b945e3 Default: New obsidian brick texture. Add river water textures 2015-06-02 01:13:34 +01:00
Calinou a4d056e493 Make some common nodes let light pass through 2015-05-14 17:34:17 +02:00
Novatux 23a37e5e79 Apples give 2 HP instead of 1 HP, bread gives 5 HP instead of 4 HP 2015-05-14 17:33:10 +02:00
Wuzzy 852b337916 Use connect_to_raillike for rail
Used value: 2
2015-05-14 10:19:07 +02:00
Wuzzy 8bc8dd64c5 Make TNT respect on_blast, implement on_blast for some nodes
Implemented nodes:
- Steel Door: Ignores explosion
- Locked Chest: Ignores explosion
- Fire: Ignores explosion
- TNT: Starts burning
- Burning TNT: Explodes immediately
- Gunpowder: Starts burning
- Burning Gunpowder: Ignores explosion
2015-05-12 16:32:52 +02:00
paramat fa1b4d0d44 Default/nodes: Increase meselamp light level to light_max (14) 2015-05-11 22:50:44 +01:00
paramat f8c8047a52 Default: Add river_water nodes 2015-04-19 02:27:06 +01:00
paramat fe7a982343 Default/nodes: Make water, lava and ice is_ground_content = false 2015-04-06 01:43:17 +01:00
BlockMen 820a97e397 Add Meselamps
- Mese glows
- Glass + Mese = Meselamp
- New mese mineral texture
2015-03-29 21:17:53 +02:00
ThatGraemeGuy e604d8d7f3 Remove dupe aliases (fixes #438) 2015-02-28 22:49:32 +01:00
MT-Modder 0755a8fa05 Mossycobble fixes 2015-01-24 20:36:37 +01:00
PilzAdam 3689bdad75 Fix typo in water_flowing tile animation Also add missing commas and use non-deprecated field-names 2015-01-10 15:47:30 +01:00
PilzAdam 4ce47528e1 Clarify comment in default:grass_1 2015-01-10 15:47:30 +01:00
PilzAdam 2edfb55c29 Restructure default/nodes.lua 2015-01-10 15:47:30 +01:00
PilzAdam c654c9fd11 Remove weird constants in default 2015-01-10 15:47:30 +01:00
paramat 69614dc20d Pinetree (by sfan5, from mg mapgen) lua generation and sapling ABM. Add checks for ignore to other trees 2014-12-12 16:11:42 +01:00
Calinou 75dfcdb1e7 Add 3D signs 2014-12-12 16:10:30 +01:00
HybridDog 608e51f16d Add obsidianbrick
use Zeg9`s texture
2014-12-12 16:04:27 +01:00
PilzAdam 2ebd6b3839 Correct node definitons for pine saplings and pine needles 2014-12-07 11:57:37 +01:00
PilzAdam 5a06de184c Rewrite furnace
* Move furnace related code into furnace.lua
* Move duplicated code into functions
* Rewrite ABM:
	* Easier to follow strcuture (no returns in the middle)
	* No unnecessary calls to get_craft_result
	* Split logic and "visual feedback" (a bit)
	* Fewer calls to meta:set and meta:get
	* Better feedback on the current state of the furnace
2014-12-06 21:18:02 +01:00
PilzAdam 4ec4672f01 Remove remains of weather 2014-12-06 20:58:03 +01:00
PilzAdam 9ec33f34f1 Set param2 to 1 if player places leaves 2014-12-06 20:36:20 +01:00
PilzAdam 20f938e44a Allow the group book to be placed into bookshelfs 2014-12-06 11:46:04 +01:00
PilzAdam fd34872de8 Fix possible stacking of books in bookshelf
Original author: @MT-Modder
2014-12-06 11:43:07 +01:00
PilzAdam 31edc5a9ff Add all saplings to group sapling 2014-12-03 17:26:01 +01:00
PilzAdam 19bdcb26f6 Add missing groups to pine sapling 2014-12-03 17:26:01 +01:00
Craig Davison 128f0adb24 Fix some undeclared global variables 2014-11-30 18:02:33 +01:00
paramat 6fb072e5ff Pine tree, pine needles, pine sapling and pinewood nodes, including textures by Splizard and Cisoun 2014-11-30 17:47:02 +01:00
BlockMen 7f44a49d99 Use new optional framed glasslike drawtype 2014-10-02 11:51:47 +02:00
Zefram d4c24a30e9 Retain sign text when editing is aborted by <esc> 2014-07-22 13:00:20 +02:00
BlockMen 49ad1c1bf7 Make gui part of default 2014-07-05 16:06:16 +02:00
HybridDog d0aa09dd8d New fence texture 2014-07-05 16:03:14 +02:00
SmallJoker a32751800c Add furnace protection, eat some lines of codes
This adds protection for furnaces (when the area is protected, so it the
furnace).
Also made the codes a bit shorter..
2014-07-05 16:01:28 +02:00
Sfan5 16b625d963 Add fancy inventory for bookshelves 2014-07-05 15:57:55 +02:00
arsdragonfly bb76f17703 Add a inventory to bookshelf, in which books are unstackable 2014-07-05 15:57:45 +02:00
BlockMen 104018d711 Add fancy inventories 2014-07-05 15:57:35 +02:00
Vanessa Ezekowitz b3f4f406c4 Modify default grasses rather than entirely re-defining them
Also, move "waving = 1" property for grasses/shrubs over to default/nodes.lua
and put all instances of this property right under the drawtype, since they
are directly related and depend on the above.
2014-07-05 15:56:15 +02:00
Casimir 9559f695ec Dig upwards for papyrus and cactus 2014-07-05 15:56:07 +02:00
Sfan5 919c9d152b Add Desert Cobblestone 2014-07-05 15:55:59 +02:00
4Evergreen4 a5dcf123e0 Add animated front texture for active furnace 2014-02-17 18:21:08 -05:00
ShadowNinja d09d8f02a4 Fix crash with nil fuel 2014-01-11 11:27:21 -05:00
ShadowNinja 8eff7ba0cd Add protection support to signs 2013-12-22 17:42:03 -05:00
Novatux 47a49eccf4 Use minetest.swap_node instead of hacky_swap_node 2013-12-08 18:12:44 +01:00
RealBadAngel 81e9a7cb36 Add waving property for leaves and plants. 2013-12-03 19:15:19 +01:00
kwolekr a5a59e3552 Explicitly set values of is_ground_content
Counterpart commit to minetest 9a927476
2013-11-30 02:42:57 -05:00
kwolekr bdd22db33d Add is_ground_content setting to grass_1, apple, and dry shrubs 2013-11-29 23:47:13 -05:00
PilzAdam 51de4236ab Remove / replace all print() calls 2013-11-17 11:55:46 +01:00
Vanessa Ezekowitz 4bd6bce86e Allow cactus to lay on its side also. 2013-11-08 00:56:20 -05:00
4Evergreen4 3653859961 Add 6d facedir to logs. 2013-11-07 20:16:54 -05:00
BlockMen 9fdbc1f407 Fix tree growing and jungle sapling growth rate 2013-11-07 00:13:51 +01:00
4Evergreen4 91849c3b4e Implemented facedir in the nyan cat rainbow 2013-11-03 15:30:24 -05:00
Novatux 2d9f34cf29 Fix possible crash with grass ABM. 2013-11-02 16:12:51 +01:00
Novatux c21dccd7fa Fix grass adding/removing ABM. 2013-11-02 13:47:45 +01:00
Novatux a4b4de6d0e Move sapling growing and grass adding/removing ABMs to Lua. 2013-11-02 11:03:08 +01:00
BlockMen fa9424c31b Update drowning
Needed if #851 gets merged
2013-08-02 08:12:20 +02:00
proller eb71e01887 Snow default level up 2013-07-28 17:21:18 +04:00
proller 83133210cc Melting and freezing 2013-07-27 23:37:54 +04:00
GloopMaster 90fde974a2 Mese and Diamond ore description consistancy.
Merely creates consistancy in the in-game naming of the ores.
2013-07-11 02:54:10 +02:00
PilzAdam d7784c0729 Make dry shrubs buildable_to 2013-06-13 15:15:42 +00:00
PilzAdam 179f4c3f91 Use louder footstep sound as dug_node 2013-06-13 14:36:11 +00:00
BlockMen 486509876a Separate formspecs of active furnace and chests
Makes its possible to override formspecs by mods
2013-06-12 23:06:26 +00:00
Mitori Itoshiki c3c5f8a228 New sounds 2013-06-12 22:38:40 +00:00
PilzAdam 31a74ede18 Replace minetest.env: with minetest. 2013-05-25 00:40:03 +02:00
PilzAdam 8dd2a77ff1 Fix a typo in apple decaying 2013-05-21 20:02:47 +02:00
PilzAdam 5d11a34b04 Add farming mod 2013-05-21 18:53:10 +02:00
PilzAdam 0dd813b5f8 Let apples fall when the tree is decaying 2013-05-21 18:50:39 +02:00
PilzAdam d015f0e2e6 Add the soil group 2013-05-20 14:38:51 +02:00
PilzAdam ea6d504b01 Split init.lua into several files 2013-05-19 18:43:04 +02:00