forked from mff/maptools
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			c4d54b083a
			...
			f28ddc1385
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| f28ddc1385 | |||
| 
						 | 
					ce8a6aec22 | ||
| 
						 | 
					1949d88b06 | 
@@ -12,15 +12,20 @@ use `-1` as the amount.
 | 
			
		||||
as they cannot be removed by hand (they can only be removed with
 | 
			
		||||
[WorldEdit](https://github.com/Uberi/Minetest-WorldEdit) or similar).
 | 
			
		||||
 | 
			
		||||
> **Note**
 | 
			
		||||
>
 | 
			
		||||
> All of the nodes mentioned below have aliases which can be used as well.\
 | 
			
		||||
> Here's the full aliases list: <https://github.com/minetest-mods/maptools/blob/master/aliases.lua>
 | 
			
		||||
 | 
			
		||||
| Item code               | Description                                                                                                                                                            |
 | 
			
		||||
| ----------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
 | 
			
		||||
| `maptools:{block}_u`    | Unbreakable, non-flammable, non-falling, non-decaying blocks. Most common default blocks have an unbreakable form available (`maptools:stone_u`, `maptools:wood_u`, …) |
 | 
			
		||||
| `maptools:full_grass`   | Unbreakable block with the grass texture on all sides.                                                                                                                 |
 | 
			
		||||
| `maptools:player_clip`  | :warning: Invisible, non-pointable block that blocks players and entities.                                                                                             |
 | 
			
		||||
| `maptools:full_clip`    | Invisible, pointable block that blocks players and entities. Also available as a thin face (`maptools:full_clip_face`).                                                |
 | 
			
		||||
| `maptools:playerclip`  | :warning: Invisible, non-pointable block that blocks players and entities.                                                                                              |
 | 
			
		||||
| `maptools:fullclip`    | Invisible, pointable block that blocks players and entities. Also available as a thin face (`maptools:fullclip_face`).                                                  |
 | 
			
		||||
| `maptools:smoke`        | Some smoke. Decreases visibility, but doesn't damage players or entities).                                                                                             |
 | 
			
		||||
| `maptools:no_build`     | :warning: Very basic building prevention.                                                                                                                              |
 | 
			
		||||
| `maptools:no_interact`  | Prevents interacting through the block (opening chests, furnaces, attacking entities, …), but can still be walked through.                                             |
 | 
			
		||||
| `maptools:nobuild`     | :warning: Very basic building prevention.                                                                                                                               |
 | 
			
		||||
| `maptools:nointeract`  | Prevents interacting through the block (opening chests, furnaces, attacking entities, …), but can still be walked through.                                              |
 | 
			
		||||
| `maptools:damage_{1…5}` | :warning: Damaging blocks which damage players by 1 to 5 HP per second.                                                                                                |
 | 
			
		||||
| `maptools:kill`         | :warning: Instant kill blocks (damages players by 20 HP per second).                                                                                                   |
 | 
			
		||||
| `maptools:drowning`     | :warning: Simulates drowning in water.                                                                                                                                 |
 | 
			
		||||
@@ -31,10 +36,10 @@ as they cannot be removed by hand (they can only be removed with
 | 
			
		||||
 | 
			
		||||
| Item code                        | Description                                                                                                                                       |
 | 
			
		||||
| -------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------ |
 | 
			
		||||
| `maptools:admin_pick`            | A bright magenta pickaxe with infinite durability, digs everything including unbreakable blocks instantly. No drops are given when digging nodes. |
 | 
			
		||||
| `maptools:admin_pick_with_drops` | Same as the admin pickaxe, but drops are given when digging nodes.                                                                                |
 | 
			
		||||
| `maptools:infinite_fuel`         | Fuel lasting for a near-infinite time (about 50 real-life years).                                                                                 |
 | 
			
		||||
| `maptools:super_apple`           | A yellow apple which heals the player by 20 HP when used.                                                                                         |
 | 
			
		||||
| `maptools:pick_admin`            | A bright magenta pickaxe with infinite durability, digs everything including unbreakable blocks instantly. No drops are given when digging nodes. |
 | 
			
		||||
| `maptools:pick_admin_with_drops` | Same as the admin pickaxe, but drops are given when digging nodes.                                                                                |
 | 
			
		||||
| `maptools:infinitefuel`         | Fuel lasting for a near-infinite time (about 50 real-life years).                                                                                  |
 | 
			
		||||
| `maptools:superapple`           | A yellow apple which heals the player by 20 HP when used.                                                                                          |
 | 
			
		||||
| `maptools:copper_coin`           | Decorative item (can be used in mini-games).                                                                                                      |
 | 
			
		||||
| `maptools:silver_coin`           | Decorative item (can be used in mini-games).                                                                                                      |
 | 
			
		||||
| `maptools:gold_coin`             | Decorative item (can be used in mini-games).                                                                                                      |
 | 
			
		||||
 
 | 
			
		||||
@@ -85,6 +85,7 @@ register_node("maptools:ignore_like", {
 | 
			
		||||
	tiles = {"invisible.png"},
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	use_texture_alpha = "clip",
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
register_node("maptools:ignore_like_no_clip", {
 | 
			
		||||
@@ -94,6 +95,7 @@ register_node("maptools:ignore_like_no_clip", {
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	walkable = false,
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	use_texture_alpha = "clip",
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -104,6 +106,7 @@ register_node("maptools:ignore_like_no_point", {
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	pointable = false,
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	use_texture_alpha = "clip",
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
register_node("maptools:ignore_like_no_clip_no_point", {
 | 
			
		||||
@@ -124,6 +127,7 @@ register_node("maptools:fullclip_face", {
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	paramtype2 = "facedir",
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	use_texture_alpha = "clip",
 | 
			
		||||
	node_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5},
 | 
			
		||||
@@ -141,6 +145,7 @@ register_node("maptools:playerclip_bottom", {
 | 
			
		||||
	pointable = false,
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	use_texture_alpha = "clip",
 | 
			
		||||
	node_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5},
 | 
			
		||||
@@ -158,6 +163,7 @@ register_node("maptools:playerclip_top", {
 | 
			
		||||
	pointable = false,
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	use_texture_alpha = "clip",
 | 
			
		||||
	node_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {-0.5, 0.4999, -0.5, 0.5, 0.5, 0.5},
 | 
			
		||||
@@ -176,6 +182,7 @@ for pusher_num=1,10,1 do
 | 
			
		||||
		paramtype = "light",
 | 
			
		||||
		paramtype2 = "facedir",
 | 
			
		||||
		sunlight_propagates = true,
 | 
			
		||||
		use_texture_alpha = "clip",
 | 
			
		||||
		node_box = {
 | 
			
		||||
			type = "fixed",
 | 
			
		||||
			fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user