Difference between revisions of "Groups/Custom groups"

From Minetest Developer Wiki
Jump to navigation Jump to search
(Add short editing section)
(→‎Editing this page: Note about group ratings.)
Line 41: Line 41:
  
 
== Editing this page ==
 
== Editing this page ==
Feel free to add your own subgames and mods, but please do not add groups which are intended to be used only internally by the mod or subgame.
+
Feel free to add your own subgames and mods. There are some guidelines for editing:
  
Please also specify the version number, if possible, so the users can see when this page becomes outdated.
+
* Do not add groups which are intended to be used only internally by the mod or subgame
 +
* Don't forget to mention the meaning of the group rating. If you omit it, we assume the group rating to be always 1 or it does not matter.
 +
* Specify the mod's / subgame's version number, if possible, so the users can see whether this page is still up to date

Revision as of 02:13, 2 July 2015

This page lists the various groups which are mainly used in subgames and mods.

(Note: If not group rating is specified, a rating of 1 is assumed.)

Subgames

Minetest Game

Version: 0.4.12

These are the custom groups used by Minetest Game. Many groups listed here have also been adopted by mods and subgames which are not directly related to Minetest Game, but be careful, the intention may not always be equal!

Digging time groups

The following groups determine digging times. The rating can be between 1 and 3; higher ratings result in slower digging.

  • crumbly: dirt, sand
  • cracky: tough but crackable stuff like stone.
  • snappy: something that can be cut using fine tools; eg. leaves, small plants, wire, sheets of metal
  • choppy: something that can be cut using force; eg. trees, wooden planks
  • fleshy: Living things like animals and the player. This could imply some blood effects when hitting.
  • explody: Especially prone to explosions
  • oddly_breakable_by_hand: Can be added to nodes that shouldn't logically be breakable by the hand but are. Somewhat similar to dig_immediate, but times are more like {[1]=3.50,[2]=2.00,[3]=0.70} and this does not override the speed of a tool if the tool can dig at a faster speed than this suggests for the hand.

Other

  • flammable: can be set on fire. Higher values mean more flammable.
  • puts_out_fire: if in a node with this group is near fire the fire gets extinguished.
  • igniter: sets flammable nodes on fire. Rating defines the radius.
  • liquid: node is a liquid. Ratings: water=3, lava=2.
  • water: node is water.
  • lava: node is lava.
  • hot: node is hot (used by lava, rating 3).
  • melty: node can be melted (used by steelblock, rating 3).
  • tree: node is a tree. Leaves don't decay nearby.
  • leafdecay: node decays if no tree is in a radius of the rating.
  • not_in_creative_inventory: the item is not added to the creative inventory. Note: This group is also widespread across other subgames and mods which are unrelated to Minetest Game.
  • vessel: item is a vessel.
  • dye: for all groups that are defined by the dye mod see the init.lua of it.
  • wool: node is wool (default rating: 1)


Mods

To be written …

Editing this page

Feel free to add your own subgames and mods. There are some guidelines for editing:

  • Do not add groups which are intended to be used only internally by the mod or subgame
  • Don't forget to mention the meaning of the group rating. If you omit it, we assume the group rating to be always 1 or it does not matter.
  • Specify the mod's / subgame's version number, if possible, so the users can see whether this page is still up to date