forked from MineClone5/MineClone5
Make mobs Minecraft tweaks
This commit is contained in:
parent
b3e595e62e
commit
6ddf602c01
|
@ -3,43 +3,7 @@ local S = mobs.intllib
|
||||||
|
|
||||||
-- name tag
|
-- name tag
|
||||||
minetest.register_craftitem("mobs:nametag", {
|
minetest.register_craftitem("mobs:nametag", {
|
||||||
description = S("Nametag"),
|
description = S("Name Tag"),
|
||||||
inventory_image = "mobs_nametag.png",
|
inventory_image = "mobs_nametag.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
core.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "mobs:nametag",
|
|
||||||
recipe = {"default:paper", "dye:black", "farming:string"},
|
|
||||||
})
|
|
||||||
|
|
||||||
-- golden lasso
|
|
||||||
minetest.register_tool("mobs:magic_lasso", {
|
|
||||||
description = S("Magic Lasso (right-click animal to put in inventory)"),
|
|
||||||
inventory_image = "mobs_magic_lasso.png",
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mobs:magic_lasso",
|
|
||||||
recipe = {
|
|
||||||
{"farming:string", "default:gold_lump", "farming:string"},
|
|
||||||
{"default:gold_lump", "default:diamondblock", "default:gold_lump"},
|
|
||||||
{"farming:string", "default:gold_lump", "farming:string"},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
-- net
|
|
||||||
minetest.register_tool("mobs:net", {
|
|
||||||
description = S("Net (right-click animal to put in inventory)"),
|
|
||||||
inventory_image = "mobs_net.png",
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "mobs:net",
|
|
||||||
recipe = {
|
|
||||||
{"default:stick", "", "default:stick"},
|
|
||||||
{"default:stick", "", "default:stick"},
|
|
||||||
{"farming:string", "default:stick", "farming:string"},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Enter name: = Namen eingeben:
|
||||||
Rename = Umbenennen
|
Rename = Umbenennen
|
||||||
|
|
||||||
#crafts.lua
|
#crafts.lua
|
||||||
Nametag = Namensschild
|
Name Tag = Namensschild
|
||||||
Leather = Leder
|
Leather = Leder
|
||||||
Raw Meat = Rohes Fleisch
|
Raw Meat = Rohes Fleisch
|
||||||
Meat = Fleisch
|
Meat = Fleisch
|
||||||
|
@ -30,9 +30,9 @@ Net (right-click animal to put in inventory) = Netz (Rechtsklick auf Tier,\num e
|
||||||
Steel Shears (right-click to shear) = Stahlschere (Rechtsklick zum Scheren)
|
Steel Shears (right-click to shear) = Stahlschere (Rechtsklick zum Scheren)
|
||||||
|
|
||||||
#spawner.lua
|
#spawner.lua
|
||||||
Mob Spawner = Mobspawner
|
Monster Spawner = Monsterspawner
|
||||||
Mob MinLight MaxLight Amount PlayerDist = Mob MinLicht MaxLicht Menge SpielerEntfng
|
Mob MinLight MaxLight Amount PlayerDist = Mob MinLicht MaxLicht Menge SpielerEntfng
|
||||||
Spawner Not Active (enter settings) = Spawner nicht aktiv (Einstellungen eintragen)
|
Spawner Not Active (enter settings) = Spawner nicht aktiv (Einstellungen eintragen)
|
||||||
Spawner Active (@1) = Spawner aktiv (@1)
|
Spawner Active (@1) = Spawner aktiv (@1)
|
||||||
Mob Spawner settings failed! = Mobspawnereinstellungen gescheitert!
|
Mob Spawner settings failed! = Mobspawnereinstellungen gescheitert!
|
||||||
> name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] distance[1-20] y_offset[-10 to 10] = Name min. Licht[0-14] max. Licht[0-14] max. Mobs in Gebiet[0 zum deaktivieren] Entfernung zum Spieler[1-20] Höhe[-10 bis 10]
|
> name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] distance[1-20] y_offset[-10 to 10] = Name min. Licht[0-14] max. Licht[0-14] max. Mobs in Gebiet[0 zum deaktivieren] Entfernung zum Spieler[1-20] Höhe[-10 bis 10]
|
||||||
|
|
|
@ -21,7 +21,7 @@ Enter name: = Insira um nome:
|
||||||
Rename = Renomear
|
Rename = Renomear
|
||||||
|
|
||||||
#crafts.lua
|
#crafts.lua
|
||||||
Nametag = Etiqueta
|
Name Tag = Etiqueta
|
||||||
Leather = Couro
|
Leather = Couro
|
||||||
Raw Meat = Carne crua
|
Raw Meat = Carne crua
|
||||||
Meat = Carne
|
Meat = Carne
|
||||||
|
@ -30,7 +30,7 @@ Net (right-click animal to put in inventory) = Net (clique-direito no animal par
|
||||||
Steel Shears (right-click to shear) = Tesoura de Aço (clique-direito para tosquiar)
|
Steel Shears (right-click to shear) = Tesoura de Aço (clique-direito para tosquiar)
|
||||||
|
|
||||||
#spawner.lua
|
#spawner.lua
|
||||||
Mob Spawner = Spawnador de Mob
|
Monster Spawner =
|
||||||
Mob MinLight MaxLight Amount PlayerDist = Mob LuzMinima LuzMaxima Valor DistJogador
|
Mob MinLight MaxLight Amount PlayerDist = Mob LuzMinima LuzMaxima Valor DistJogador
|
||||||
Spawner Not Active (enter settings) = Spawnador Inativo (configurar)
|
Spawner Not Active (enter settings) = Spawnador Inativo (configurar)
|
||||||
Spawner Active (@1) = Spawnador Ativo (@1)
|
Spawner Active (@1) = Spawnador Ativo (@1)
|
||||||
|
|
|
@ -19,7 +19,7 @@ Enter name: =
|
||||||
Rename =
|
Rename =
|
||||||
|
|
||||||
#crafts.lua
|
#crafts.lua
|
||||||
Nametag =
|
Name Tag =
|
||||||
Leather =
|
Leather =
|
||||||
Raw Meat =
|
Raw Meat =
|
||||||
Meat =
|
Meat =
|
||||||
|
@ -28,9 +28,9 @@ Net (right-click animal to put in inventory) =
|
||||||
Steel Shears (right-click to shear) =
|
Steel Shears (right-click to shear) =
|
||||||
|
|
||||||
#spawner.lua
|
#spawner.lua
|
||||||
Mob Spawner =
|
Monster Spawner =
|
||||||
Mob MinLight MaxLight Amount PlayerDist =
|
Mob MinLight MaxLight Amount PlayerDist =
|
||||||
Spawner Not Active (enter settings) =
|
Spawner Not Active (enter settings) =
|
||||||
Spawner Active (@1) =
|
Spawner Active (@1) =
|
||||||
Mob Spawner settings failed! =
|
Mob Spawner settings failed! =
|
||||||
> name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] distance[1-20] y_offset[-10 to 10] =
|
> name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] distance[1-20] y_offset[-10 to 10] =
|
||||||
|
|
|
@ -10,7 +10,7 @@ minetest.register_node("mobs:spawner", {
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
description = S("Mob Spawner"),
|
description = S("Monster Spawner"),
|
||||||
groups = {cracky = 1},
|
groups = {cracky = 1},
|
||||||
|
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 108 B After Width: | Height: | Size: 261 B |
Binary file not shown.
Before Width: | Height: | Size: 176 B |
Binary file not shown.
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 195 B |
Loading…
Reference in New Issue