mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-07-19 00:30:23 +02:00
Compare commits
25 Commits
469e35d6e0
...
bf32a09e5e
Author | SHA1 | Date | |
---|---|---|---|
bf32a09e5e | |||
9489ff6965 | |||
1dfd7e1af1 | |||
4a6518eeba | |||
a4d2918383 | |||
bdea826b7c | |||
d12576f0c8 | |||
7f4d473fee | |||
f7a1b27ea4 | |||
f14050ad3c | |||
b6fb1948e8 | |||
67e4ede31b | |||
3009da0efe | |||
bd8be0905a | |||
89523195d5 | |||
c6dffd1390 | |||
499d43a9aa | |||
39002cf4e7 | |||
477148962f | |||
497ff7241f | |||
9f02777f14 | |||
ae62b1410d | |||
81b5e40d09 | |||
565c0851eb | |||
cb465559a1 |
42
api.txt
42
api.txt
@ -64,6 +64,7 @@ functions needed for the mob to work properly which contains the following:
|
|||||||
'fall_damage' when true causes falling to inflict damage.
|
'fall_damage' when true causes falling to inflict damage.
|
||||||
'water_damage' holds the damage per second infliced to mobs when standing in
|
'water_damage' holds the damage per second infliced to mobs when standing in
|
||||||
water.
|
water.
|
||||||
|
'air_damage' holds damage per second inflicted to mob when standing in air.
|
||||||
'lava_damage' holds the damage per second inflicted to mobs when standing
|
'lava_damage' holds the damage per second inflicted to mobs when standing
|
||||||
in lava or fire or an ignition source.
|
in lava or fire or an ignition source.
|
||||||
'light_damage' holds the damage per second inflicted to mobs when light
|
'light_damage' holds the damage per second inflicted to mobs when light
|
||||||
@ -199,7 +200,8 @@ functions needed for the mob to work properly which contains the following:
|
|||||||
'double_melee_attack' when true has the api choose between 'punch' and
|
'double_melee_attack' when true has the api choose between 'punch' and
|
||||||
'punch2' animations. [DEPRECATED]
|
'punch2' animations. [DEPRECATED]
|
||||||
|
|
||||||
'animation' holds a table containing animation names and settings for use with mesh models:
|
'animation' holds a table containing animation names and settings for use with
|
||||||
|
mesh models:
|
||||||
'stand_start' start frame for when mob stands still.
|
'stand_start' start frame for when mob stands still.
|
||||||
'stand_end' end frame of stand animation.
|
'stand_end' end frame of stand animation.
|
||||||
'stand_speed' speed of animation in frames per second.
|
'stand_speed' speed of animation in frames per second.
|
||||||
@ -225,6 +227,7 @@ functions needed for the mob to work properly which contains the following:
|
|||||||
'die_end'
|
'die_end'
|
||||||
'die_speed'
|
'die_speed'
|
||||||
'die_loop' when set to false stops the animation looping.
|
'die_loop' when set to false stops the animation looping.
|
||||||
|
'die_rotate' if true mob spins during death animation.
|
||||||
|
|
||||||
Using '_loop = false' setting will stop any of the above animations from
|
Using '_loop = false' setting will stop any of the above animations from
|
||||||
looping.
|
looping.
|
||||||
@ -297,6 +300,9 @@ enhance mob functionality and have them do many interesting things:
|
|||||||
is returned normal attack function continued.
|
is returned normal attack function continued.
|
||||||
'on_die' a function that is called when mob is killed (self, pos), also
|
'on_die' a function that is called when mob is killed (self, pos), also
|
||||||
has access to self.cause_of_death table.
|
has access to self.cause_of_death table.
|
||||||
|
'on_flop' function called when flying or swimmimng mob is no longer in
|
||||||
|
air/water, (self) paramater and return true to skip the built
|
||||||
|
in api flop feature.
|
||||||
'do_custom' a custom function that is called every tick while mob is
|
'do_custom' a custom function that is called every tick while mob is
|
||||||
active and which has access to all of the self.* variables
|
active and which has access to all of the self.* variables
|
||||||
e.g. (self.health for health or self.standing_in for node
|
e.g. (self.health for health or self.standing_in for node
|
||||||
@ -328,6 +334,14 @@ for each mob.
|
|||||||
'self.order' set to "follow" or "stand" so that npc will follow owner
|
'self.order' set to "follow" or "stand" so that npc will follow owner
|
||||||
or stand it's ground
|
or stand it's ground
|
||||||
'self.nametag' contains the name of the mob which it can show above
|
'self.nametag' contains the name of the mob which it can show above
|
||||||
|
'self.state' Current mob state.
|
||||||
|
"stand": no movement (except turning around)
|
||||||
|
"walk": walk or move around aimlessly
|
||||||
|
"attack": chase and attack enemy
|
||||||
|
"runaway": flee from target
|
||||||
|
"flop": bounce around aimlessly
|
||||||
|
(for swimming mobs that have stranded)
|
||||||
|
"die": during death
|
||||||
|
|
||||||
|
|
||||||
Adding Mobs in World
|
Adding Mobs in World
|
||||||
@ -344,6 +358,15 @@ Adding Mobs in World
|
|||||||
Returns false if mob could not be added, returns mob object if spawned ok.
|
Returns false if mob could not be added, returns mob object if spawned ok.
|
||||||
|
|
||||||
|
|
||||||
|
Removing Mob from World
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
mobs:remove(self, decrease)
|
||||||
|
|
||||||
|
Removes mob 'self' from the world and if 'decrease' is true then the mob counter
|
||||||
|
will also be decreased by one.
|
||||||
|
|
||||||
|
|
||||||
Spawning Mobs in World
|
Spawning Mobs in World
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
@ -373,6 +396,9 @@ default setting and can be omitted:
|
|||||||
anytime
|
anytime
|
||||||
'on_spawn' is a custom function which runs after mob has spawned
|
'on_spawn' is a custom function which runs after mob has spawned
|
||||||
and gives self and pos values.
|
and gives self and pos values.
|
||||||
|
'on_map_load' when true mobs will have a chance of spawning only
|
||||||
|
when new areas of map are loaded, interval will not be
|
||||||
|
used.
|
||||||
|
|
||||||
The older spawn functions are still active and working but have no defaults like
|
The older spawn functions are still active and working but have no defaults like
|
||||||
the mobs:spawn, so it is recommended to use the above instead.
|
the mobs:spawn, so it is recommended to use the above instead.
|
||||||
@ -647,6 +673,13 @@ Use this instead:
|
|||||||
mob_class:line_of_sight(pos1, pos2, stepsize)
|
mob_class:line_of_sight(pos1, pos2, stepsize)
|
||||||
|
|
||||||
|
|
||||||
|
mobs:can_spawn(pos, name)
|
||||||
|
|
||||||
|
This function checks the surrounding area at [pos] to see if there is enough empty
|
||||||
|
space to spawn mob [name], if so then a new position is returned for use,
|
||||||
|
otherwise nil is returned.
|
||||||
|
|
||||||
|
|
||||||
External Settings for "minetest.conf"
|
External Settings for "minetest.conf"
|
||||||
------------------------------------
|
------------------------------------
|
||||||
|
|
||||||
@ -677,6 +710,9 @@ External Settings for "minetest.conf"
|
|||||||
function.
|
function.
|
||||||
'mob_nospawn_range' Minimum range a mob can spawn near player (def: 12)
|
'mob_nospawn_range' Minimum range a mob can spawn near player (def: 12)
|
||||||
'mob_active_limit' Number of active mobs in game, 0 for unlimited
|
'mob_active_limit' Number of active mobs in game, 0 for unlimited
|
||||||
|
'mob_area_spawn' When true will check surrounding area the size of the
|
||||||
|
mob for obstructions before spawning, otherwise it
|
||||||
|
defaults to checking the height of the mob only.
|
||||||
|
|
||||||
Players can override the spawn chance for each mob registered by adding a line
|
Players can override the spawn chance for each mob registered by adding a line
|
||||||
to their minetest.conf file with a new value, the lower the value the more each
|
to their minetest.conf file with a new value, the lower the value the more each
|
||||||
@ -688,8 +724,8 @@ mobs_monster:sand_monster 100
|
|||||||
...you can also change how many of a certain mob appear in an active mapblock by
|
...you can also change how many of a certain mob appear in an active mapblock by
|
||||||
adding a comma and then a new value e.g.
|
adding a comma and then a new value e.g.
|
||||||
|
|
||||||
mobs_animal:cow 8000,4 <-- 4 cows per mapblock at 8000 spawn chance
|
mobs_animal:cow = 8000,4 <-- 4 cows per mapblock at 8000 spawn chance
|
||||||
mobs_monster:dirt_monster ,20 <-- 20 dirt monsters per mapblock
|
mobs_monster:dirt_monster = ,20 <-- 20 dirt monsters per mapblock
|
||||||
|
|
||||||
|
|
||||||
Rideable Horse Example Mob
|
Rideable Horse Example Mob
|
||||||
|
22
crafts.lua
22
crafts.lua
@ -331,3 +331,25 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||||||
tex_obj = nil
|
tex_obj = nil
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
||||||
|
-- Meat Block (thanks to painterlypack.net for allowing me to use these textures)
|
||||||
|
minetest.register_node("mobs:meatblock", {
|
||||||
|
description = S("Meat Block"),
|
||||||
|
tiles = {"mobs_meat_top.png", "mobs_meat_bottom.png", "mobs_meat_side.png"},
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2},
|
||||||
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
on_place = minetest.rotate_node,
|
||||||
|
on_use = minetest.item_eat(20),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mobs:meatblock",
|
||||||
|
type = "shapeless",
|
||||||
|
recipe = {
|
||||||
|
"group:food_meat", "group:food_meat", "group:food_meat",
|
||||||
|
"group:food_meat", "group:food_meat", "group:food_meat",
|
||||||
|
"group:food_meat", "group:food_meat", "group:food_meat"
|
||||||
|
}
|
||||||
|
})
|
||||||
|
46
intllib.lua
46
intllib.lua
@ -1,45 +1,3 @@
|
|||||||
|
-- Support for the old multi-load method
|
||||||
|
dofile(minetest.get_modpath("intllib").."/init.lua")
|
||||||
|
|
||||||
-- Fallback functions for when `intllib` is not installed.
|
|
||||||
-- Code released under Unlicense <http://unlicense.org>.
|
|
||||||
|
|
||||||
-- Get the latest version of this file at:
|
|
||||||
-- https://raw.githubusercontent.com/minetest-mods/intllib/master/lib/intllib.lua
|
|
||||||
|
|
||||||
local function format(str, ...)
|
|
||||||
local args = { ... }
|
|
||||||
local function repl(escape, open, num, close)
|
|
||||||
if escape == "" then
|
|
||||||
local replacement = tostring(args[tonumber(num)])
|
|
||||||
if open == "" then
|
|
||||||
replacement = replacement..close
|
|
||||||
end
|
|
||||||
return replacement
|
|
||||||
else
|
|
||||||
return "@"..open..num..close
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return (str:gsub("(@?)@(%(?)(%d+)(%)?)", repl))
|
|
||||||
end
|
|
||||||
|
|
||||||
local gettext, ngettext
|
|
||||||
if minetest.get_modpath("intllib") then
|
|
||||||
if intllib.make_gettext_pair then
|
|
||||||
-- New method using gettext.
|
|
||||||
gettext, ngettext = intllib.make_gettext_pair()
|
|
||||||
else
|
|
||||||
-- Old method using text files.
|
|
||||||
gettext = intllib.Getter()
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Fill in missing functions.
|
|
||||||
|
|
||||||
gettext = gettext or function(msgid, ...)
|
|
||||||
return format(msgid, ...)
|
|
||||||
end
|
|
||||||
|
|
||||||
ngettext = ngettext or function(msgid, msgid_plural, n, ...)
|
|
||||||
return format(n==1 and msgid or msgid_plural, ...)
|
|
||||||
end
|
|
||||||
|
|
||||||
return gettext, ngettext
|
|
||||||
|
23
locale/fr.po
23
locale/fr.po
@ -3,20 +3,19 @@
|
|||||||
# This file is distributed under the same license as the PACKAGE package.
|
# This file is distributed under the same license as the PACKAGE package.
|
||||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
#
|
#
|
||||||
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2017-07-29 09:13+0200\n"
|
"POT-Creation-Date: 2017-07-29 09:13+0200\n"
|
||||||
"PO-Revision-Date: 2017-07-29 09:20+0200\n"
|
"PO-Revision-Date: 2020-08-13 21:20+0500\n"
|
||||||
|
"Last-Translator: Olivier Dragon <odragon@protonmail.com>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
|
"Language: fr\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"X-Generator: Poedit 1.8.12\n"
|
|
||||||
"Last-Translator: fat115 <fat115@framasoft.org>\n"
|
|
||||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
||||||
"Language: fr\n"
|
|
||||||
|
|
||||||
#: api.lua
|
#: api.lua
|
||||||
msgid "** Peaceful Mode Active - No Monsters Will Spawn"
|
msgid "** Peaceful Mode Active - No Monsters Will Spawn"
|
||||||
@ -64,7 +63,7 @@ msgstr "Renommer"
|
|||||||
|
|
||||||
#: crafts.lua
|
#: crafts.lua
|
||||||
msgid "Name Tag"
|
msgid "Name Tag"
|
||||||
msgstr "Étiquette pour collier"
|
msgstr "Étiquette de collier"
|
||||||
|
|
||||||
#: crafts.lua
|
#: crafts.lua
|
||||||
msgid "Leather"
|
msgid "Leather"
|
||||||
@ -102,18 +101,26 @@ msgstr "Selle"
|
|||||||
msgid "Mob Fence"
|
msgid "Mob Fence"
|
||||||
msgstr "Clôture à animaux"
|
msgstr "Clôture à animaux"
|
||||||
|
|
||||||
|
#: crafts.lua
|
||||||
|
msgid "Mob Fence Top"
|
||||||
|
msgstr "Haut de clôture à animaux"
|
||||||
|
|
||||||
#: spawner.lua
|
#: spawner.lua
|
||||||
msgid "Mob Spawner"
|
msgid "Mob Spawner"
|
||||||
msgstr "Générateur de mob"
|
msgstr "Générateur de mob"
|
||||||
|
|
||||||
#: spawner.lua
|
#: spawner.lua
|
||||||
msgid "Mob MinLight MaxLight Amount PlayerDist"
|
msgid "(mob name) (min light) (max light) (amount) (player distance) (Y offset)"
|
||||||
msgstr "Mob MinLumière MaxLumière Quantité DistanceJoueur"
|
msgstr "(Nom) (MinLumière) (MaxLumière) (Quantité) (Distance du Joueur) (Décalage en Y)"
|
||||||
|
|
||||||
#: spawner.lua
|
#: spawner.lua
|
||||||
msgid "Spawner Not Active (enter settings)"
|
msgid "Spawner Not Active (enter settings)"
|
||||||
msgstr "Générateur non actif (entrez les paramètres)"
|
msgstr "Générateur non actif (entrez les paramètres)"
|
||||||
|
|
||||||
|
#: spawner.lua
|
||||||
|
msgid "Command:"
|
||||||
|
msgstr "Commande:"
|
||||||
|
|
||||||
#: spawner.lua
|
#: spawner.lua
|
||||||
msgid "Spawner Active (@1)"
|
msgid "Spawner Active (@1)"
|
||||||
msgstr "Générateur actif (@1)"
|
msgstr "Générateur actif (@1)"
|
||||||
|
34
locale/mobs.de_DE.tr
Normal file
34
locale/mobs.de_DE.tr
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# textdomain:mobs
|
||||||
|
#** Peaceful Mode Active - No Monsters Will Spawn=
|
||||||
|
@1 (Tamed)=@1 (Gezähmt)
|
||||||
|
@1 at full health (@2)=@1 bei voller Gesundheit (@2)
|
||||||
|
@1 has been tamed!=@1 wurde gezähmt!
|
||||||
|
@1 is owner!=@1 ist der Besitzer!
|
||||||
|
#Active Mob Limit Reached!=
|
||||||
|
Already protected!=Bereits geschützt!
|
||||||
|
#Change=
|
||||||
|
#Command:=
|
||||||
|
Enter name:=Namen eingeben:
|
||||||
|
#Enter texture:=
|
||||||
|
Lasso (right-click animal to put in inventory)=Lasso (Rechtsklick auf Tier, um es zu nehmen)
|
||||||
|
Leather=Leder
|
||||||
|
Meat=Fleisch
|
||||||
|
Missed!=Daneben!
|
||||||
|
Mob Fence=Kreaturen Zaun
|
||||||
|
#Mob Fence Top=
|
||||||
|
Mob Protection Rune=Kreaturschutzrune
|
||||||
|
#Mob Reset Stick=
|
||||||
|
#Mob Spawner=
|
||||||
|
Mob Spawner settings failed!=Kreaturenspawner-Einstellungen gescheitert!
|
||||||
|
Mob has been protected!=Kreatur wurde geschützt!
|
||||||
|
Name Tag=Namensschild
|
||||||
|
Net (right-click animal to put in inventory)=Netz (Rechtsklick auf Tier, um es zu nehmen)
|
||||||
|
Not tamed!=Nicht gezähmt!
|
||||||
|
Raw Meat=Rohes Fleisch
|
||||||
|
Rename=Umbenennen
|
||||||
|
Saddle=Sattel
|
||||||
|
Spawner Active (@1)=Spawner aktiv (@1)
|
||||||
|
Spawner Not Active (enter settings)=Nicht aktiv (Einstellungen eingeben)
|
||||||
|
Steel Shears (right-click to shear)=Stahlschere (Rechtsklick zum Scheren)
|
||||||
|
#Syntax: “name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] player_distance[1-20] y_offset[-10 to 10]”=
|
||||||
|
#lifetimer expired, removed @1=
|
34
locale/mobs.en.tr
Normal file
34
locale/mobs.en.tr
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# textdomain:mobs
|
||||||
|
#** Peaceful Mode Active - No Monsters Will Spawn=
|
||||||
|
#@1 (Tamed)=
|
||||||
|
#@1 at full health (@2)=
|
||||||
|
#@1 has been tamed!=
|
||||||
|
#@1 is owner!=
|
||||||
|
#Active Mob Limit Reached!=
|
||||||
|
#Already protected!=
|
||||||
|
#Change=
|
||||||
|
#Command:=
|
||||||
|
#Enter name:=
|
||||||
|
#Enter texture:=
|
||||||
|
#Lasso (right-click animal to put in inventory)=
|
||||||
|
#Leather=
|
||||||
|
#Meat=
|
||||||
|
#Missed!=
|
||||||
|
#Mob Fence=
|
||||||
|
#Mob Fence Top=
|
||||||
|
#Mob Protection Rune=
|
||||||
|
#Mob Reset Stick=
|
||||||
|
#Mob Spawner=
|
||||||
|
#Mob Spawner settings failed!=
|
||||||
|
#Mob has been protected!=
|
||||||
|
#Name Tag=
|
||||||
|
#Net (right-click animal to put in inventory)=
|
||||||
|
#Not tamed!=
|
||||||
|
#Raw Meat=
|
||||||
|
#Rename=
|
||||||
|
#Saddle=
|
||||||
|
#Spawner Active (@1)=
|
||||||
|
#Spawner Not Active (enter settings)=
|
||||||
|
#Steel Shears (right-click to shear)=
|
||||||
|
#Syntax: “name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] player_distance[1-20] y_offset[-10 to 10]”=
|
||||||
|
#lifetimer expired, removed @1=
|
34
locale/mobs.es.tr
Normal file
34
locale/mobs.es.tr
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# textdomain:mobs
|
||||||
|
#** Peaceful Mode Active - No Monsters Will Spawn=
|
||||||
|
@1 (Tamed)=@1 (Domesticado)
|
||||||
|
@1 at full health (@2)=@1 con salud llena (@2)
|
||||||
|
@1 has been tamed!=@1 ha sido domesticado!
|
||||||
|
@1 is owner!=@1 es el dueño!
|
||||||
|
#Active Mob Limit Reached!=
|
||||||
|
Already protected!=Ya está protegido!
|
||||||
|
#Change=
|
||||||
|
#Command:=
|
||||||
|
Enter name:=Ingrese nombre:
|
||||||
|
#Enter texture:=
|
||||||
|
Lasso (right-click animal to put in inventory)=Lazo (click derecho en animal para colocar en inventario)
|
||||||
|
Leather=Cuero
|
||||||
|
Meat=Carne
|
||||||
|
Missed!=Perdido!
|
||||||
|
#Mob Fence=
|
||||||
|
#Mob Fence Top=
|
||||||
|
Mob Protection Rune=Runa de protección de Mob
|
||||||
|
#Mob Reset Stick=
|
||||||
|
#Mob Spawner=
|
||||||
|
Mob Spawner settings failed!=Configuracion de generador de Mob falló!
|
||||||
|
Mob has been protected!=El mob ha sido protegido!
|
||||||
|
Name Tag=Nombrar etiqueta
|
||||||
|
Net (right-click animal to put in inventory)=Red (click derecho en animal para colocar en inventario)
|
||||||
|
Not tamed!=No domesticado!
|
||||||
|
Raw Meat=Carne cruda
|
||||||
|
Rename=Renombrar
|
||||||
|
Saddle=Montura
|
||||||
|
Spawner Active (@1)=Generador activo (@1)
|
||||||
|
Spawner Not Active (enter settings)=Generador no activo (ingrese config)
|
||||||
|
Steel Shears (right-click to shear)=Tijera de acero (click derecho para esquilar)
|
||||||
|
#Syntax: “name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] player_distance[1-20] y_offset[-10 to 10]”=
|
||||||
|
#lifetimer expired, removed @1=
|
34
locale/mobs.fr.tr
Normal file
34
locale/mobs.fr.tr
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# textdomain:mobs
|
||||||
|
** Peaceful Mode Active - No Monsters Will Spawn=** Mode pacifique activé - aucun monstre ne sera généré
|
||||||
|
@1 (Tamed)=@1 (apprivoisé)
|
||||||
|
@1 at full health (@2)=@1 est en pleine forme (@2)
|
||||||
|
@1 has been tamed!=@1 a été apprivoisé !
|
||||||
|
@1 is owner!=Appartient à @1 !
|
||||||
|
Active Mob Limit Reached!=Limite atteinte du nombre des êtres vivants actifs !
|
||||||
|
Already protected!=Déjà protégé !
|
||||||
|
Change=Changer
|
||||||
|
Command:=Commande :
|
||||||
|
Enter name:=Saisissez un nom :
|
||||||
|
Enter texture:=Saisissez une texture :
|
||||||
|
Lasso (right-click animal to put in inventory)=Lasso (clic droit sur l'animal pour le mettre dans l'inventaire)
|
||||||
|
Leather=Cuir
|
||||||
|
Meat=Viande
|
||||||
|
Missed!=Raté !
|
||||||
|
Mob Fence= Clôture à animaux
|
||||||
|
Mob Fence Top=Haut de clôture à animaux
|
||||||
|
Mob Protection Rune=Rune de protection des animaux
|
||||||
|
Mob Reset Stick=Baguette de réinitialisation des êtres vivants
|
||||||
|
Mob Spawner=Créateur d'êtres vivants
|
||||||
|
Mob Spawner settings failed!=Échec des paramètres du créateur d'être vivants !
|
||||||
|
Mob has been protected!=L'animal a été protégé !
|
||||||
|
Name Tag=Étiquette de collier
|
||||||
|
Net (right-click animal to put in inventory)=Filet (clic droit sur l'animal pour le mettre dans l'inventaire)
|
||||||
|
Not tamed!=Non-apprivoisé !
|
||||||
|
Raw Meat=Viande crue
|
||||||
|
Rename=Renommer
|
||||||
|
Saddle=Selle
|
||||||
|
Spawner Active (@1)=Créateur actif (@1)
|
||||||
|
Spawner Not Active (enter settings)=Créateur non actif (entrez les paramètres)
|
||||||
|
Steel Shears (right-click to shear)=Ciseaux à laine (clic droit pour tondre)
|
||||||
|
Syntax: “name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] player_distance[1-20] y_offset[-10 to 10]”=Syntaxe : «name min_lumière[0-14] max_lumière[0-14] max_être_vivant_dans_région[0 pour désactiver] distance_joueur[1-20] décalage_y[-10 to 10]»
|
||||||
|
lifetimer expired, removed @1=Être immortel expiré ; @1 retiré
|
34
locale/mobs.it.tr
Normal file
34
locale/mobs.it.tr
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# textdomain:mobs
|
||||||
|
** Peaceful Mode Active - No Monsters Will Spawn=** Modalità pacifica attiva - non comparirà nessun mostro
|
||||||
|
@1 (Tamed)=@1 (Addomesticato)
|
||||||
|
@1 at full health (@2)=@1 in piena salute (@2)
|
||||||
|
@1 has been tamed!=@1 è stato addomesticato!
|
||||||
|
@1 is owner!=Il padrone è @1!
|
||||||
|
#Active Mob Limit Reached!=
|
||||||
|
Already protected!=Già protetto!
|
||||||
|
#Change=
|
||||||
|
#Command:=
|
||||||
|
Enter name:=Inserire il nome:
|
||||||
|
#Enter texture:=
|
||||||
|
Lasso (right-click animal to put in inventory)=Lazo (click di destro per mettere l'animale nell'inventario)
|
||||||
|
Leather=Pelle
|
||||||
|
Meat=Carne
|
||||||
|
Missed!=Mancato!
|
||||||
|
Mob Fence=Recinzione per mob
|
||||||
|
#Mob Fence Top=
|
||||||
|
Mob Protection Rune=Runa di protezione per mob
|
||||||
|
#Mob Reset Stick=
|
||||||
|
#Mob Spawner=
|
||||||
|
Mob Spawner settings failed!=Impostazioni del generatore di mob fallite!
|
||||||
|
Mob has been protected!=Il mob è stato protetto!
|
||||||
|
Name Tag=Targhetta
|
||||||
|
Net (right-click animal to put in inventory)=Rete (click destro per mettere l'animale nell'inventario)
|
||||||
|
Not tamed!=Non addomesticato!
|
||||||
|
Raw Meat=Carne cruda
|
||||||
|
Rename=Rinomina
|
||||||
|
Saddle=Sella
|
||||||
|
Spawner Active (@1)=Generatore attivo (@1)
|
||||||
|
Spawner Not Active (enter settings)=Generatore inattivo (inserire le impostazioni)
|
||||||
|
Steel Shears (right-click to shear)=Cesoie d'acciaio (click destro per tosare)
|
||||||
|
#Syntax: “name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] player_distance[1-20] y_offset[-10 to 10]”=
|
||||||
|
#lifetimer expired, removed @1=
|
34
locale/mobs.ms.tr
Normal file
34
locale/mobs.ms.tr
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# textdomain:mobs
|
||||||
|
** Peaceful Mode Active - No Monsters Will Spawn=** Mod Aman Diaktifkan - Tiada Raksasa Akan Muncul
|
||||||
|
@1 (Tamed)=@1 (Jinak)
|
||||||
|
@1 at full health (@2)=Mata kesihatan @1 telah penuh (@2)
|
||||||
|
@1 has been tamed!=@1 telah dijinakkan!
|
||||||
|
@1 is owner!=Ini hak milik @1!
|
||||||
|
#Active Mob Limit Reached!=
|
||||||
|
Already protected!=Telah dilindungi!
|
||||||
|
#Change=
|
||||||
|
#Command:=
|
||||||
|
Enter name:=Masukkan nama:
|
||||||
|
#Enter texture:=
|
||||||
|
Lasso (right-click animal to put in inventory)=Tanjul (klik-kanan haiwan untuk masukkan ke inventori)
|
||||||
|
Leather=Kulit
|
||||||
|
Meat=Daging Bakar
|
||||||
|
Missed!=Terlepas!
|
||||||
|
Mob Fence=Pagar Mob
|
||||||
|
#Mob Fence Top=
|
||||||
|
Mob Protection Rune=Rune Perlindungan Mob
|
||||||
|
#Mob Reset Stick=
|
||||||
|
#Mob Spawner=
|
||||||
|
Mob Spawner settings failed!=Penetapan Pewujud Mob gagal!
|
||||||
|
Mob has been protected!=Mob telah pun dilindungi!
|
||||||
|
Name Tag=Tanda Nama
|
||||||
|
Net (right-click animal to put in inventory)=Jaring (klik-kanan haiwan untuk masukkan ke inventori)
|
||||||
|
Not tamed!=Belum dijinakkan!
|
||||||
|
Raw Meat=Daging Mentah
|
||||||
|
Rename=Namakan semula
|
||||||
|
Saddle=Pelana
|
||||||
|
Spawner Active (@1)=Pewujud Mob Aktif (@1)
|
||||||
|
Spawner Not Active (enter settings)=Pewujud Mob Tidak Aktif (masukkan tetapan)
|
||||||
|
Steel Shears (right-click to shear)=Ketam Keluli (klik-kanan untuk mengetam bulu biri-biri)
|
||||||
|
#Syntax: “name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] player_distance[1-20] y_offset[-10 to 10]”=
|
||||||
|
#lifetimer expired, removed @1=
|
34
locale/mobs.pt.tr
Normal file
34
locale/mobs.pt.tr
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# textdomain:mobs
|
||||||
|
#** Peaceful Mode Active - No Monsters Will Spawn=
|
||||||
|
#@1 (Tamed)=
|
||||||
|
@1 at full health (@2)=@1 em plena saude (@2)
|
||||||
|
@1 has been tamed!=@1 foi domesticado!
|
||||||
|
@1 is owner!=Dono @1!
|
||||||
|
#Active Mob Limit Reached!=
|
||||||
|
#Already protected!=
|
||||||
|
#Change=
|
||||||
|
#Command:=
|
||||||
|
Enter name:=Insira um nome:
|
||||||
|
#Enter texture:=
|
||||||
|
Lasso (right-click animal to put in inventory)=Laço (clique-direito no animal para por no inventario)
|
||||||
|
Leather=Couro
|
||||||
|
Meat=Carne
|
||||||
|
Missed!=Faltou!
|
||||||
|
#Mob Fence=
|
||||||
|
#Mob Fence Top=
|
||||||
|
#Mob Protection Rune=
|
||||||
|
#Mob Reset Stick=
|
||||||
|
#Mob Spawner=
|
||||||
|
Mob Spawner settings failed!=Configuraçao de Spawnador do Mob falhou!
|
||||||
|
#Mob has been protected!=
|
||||||
|
Name Tag=Etiqueta
|
||||||
|
Net (right-click animal to put in inventory)=Net (clique-direito no animal para por no inventario)
|
||||||
|
Not tamed!=Indomesticado!
|
||||||
|
Raw Meat=Carne crua
|
||||||
|
Rename=Renomear
|
||||||
|
#Saddle=
|
||||||
|
Spawner Active (@1)=Spawnador Ativo (@1)
|
||||||
|
Spawner Not Active (enter settings)=Spawnador Inativo (configurar)
|
||||||
|
Steel Shears (right-click to shear)=Tesoura de Aço (clique-direito para tosquiar)
|
||||||
|
#Syntax: “name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] player_distance[1-20] y_offset[-10 to 10]”=
|
||||||
|
#lifetimer expired, removed @1=
|
34
locale/mobs.ru.tr
Normal file
34
locale/mobs.ru.tr
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# textdomain:mobs
|
||||||
|
** Peaceful Mode Active - No Monsters Will Spawn=** Мирный модус активирован - монстры не спаунятся
|
||||||
|
@1 (Tamed)=@1 (Прирученный)
|
||||||
|
@1 at full health (@2)=@1 при полном здоровье (@2)
|
||||||
|
@1 has been tamed!=@1 приручен
|
||||||
|
@1 is owner!=@1 владелец
|
||||||
|
#Active Mob Limit Reached!=
|
||||||
|
Already protected!=Уже защищен!
|
||||||
|
#Change=
|
||||||
|
#Command:=
|
||||||
|
Enter name:=Введите имя:
|
||||||
|
#Enter texture:=
|
||||||
|
Lasso (right-click animal to put in inventory)=Лассо (Правый клик - положить животное в инвентарь)
|
||||||
|
Leather=Кожа
|
||||||
|
Meat=Мясо
|
||||||
|
Missed!=Промазал!
|
||||||
|
Mob Fence=Забор от мобов
|
||||||
|
#Mob Fence Top=
|
||||||
|
Mob Protection Rune=Защитная руна мобов
|
||||||
|
#Mob Reset Stick=
|
||||||
|
#Mob Spawner=
|
||||||
|
Mob Spawner settings failed!=Настройки спаунера моба провалились
|
||||||
|
Mob has been protected!=Моб защищен!
|
||||||
|
Name Tag=Новый тэг
|
||||||
|
Net (right-click animal to put in inventory)=Сеть (Правый клик - положить животное в инвентарь)
|
||||||
|
Not tamed!=Не прирученный
|
||||||
|
Raw Meat=Сырое мясо
|
||||||
|
Rename=Переименовать
|
||||||
|
Saddle=Седло
|
||||||
|
Spawner Active (@1)=Активные спаунер (@1)
|
||||||
|
Spawner Not Active (enter settings)=Спаунер не активен (введите настройки)
|
||||||
|
Steel Shears (right-click to shear)=Ножницы (Правый клик - подстричь)
|
||||||
|
#Syntax: “name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] player_distance[1-20] y_offset[-10 to 10]”=
|
||||||
|
#lifetimer expired, removed @1=
|
34
locale/mobs.tr.tr
Normal file
34
locale/mobs.tr.tr
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# textdomain:mobs
|
||||||
|
#** Peaceful Mode Active - No Monsters Will Spawn=
|
||||||
|
#@1 (Tamed)=
|
||||||
|
@1 at full health (@2)=@1 tam canında (@2)
|
||||||
|
@1 has been tamed!=@1 tamamen evcilleştirilmiştir!
|
||||||
|
@1 is owner!=Sahibi @1!
|
||||||
|
#Active Mob Limit Reached!=
|
||||||
|
#Already protected!=
|
||||||
|
#Change=
|
||||||
|
#Command:=
|
||||||
|
Enter name:=İsim gir:
|
||||||
|
#Enter texture:=
|
||||||
|
Lasso (right-click animal to put in inventory)=Kement (hayvana sağ tıklayarak envantere koy)
|
||||||
|
Leather=Deri
|
||||||
|
Meat=Et
|
||||||
|
Missed!=Kaçırdın!
|
||||||
|
Mob Fence=Canavar Yaratıcı
|
||||||
|
#Mob Fence Top=
|
||||||
|
#Mob Protection Rune=
|
||||||
|
#Mob Reset Stick=
|
||||||
|
#Mob Spawner=
|
||||||
|
Mob Spawner settings failed!=Yaratıcı ayarları uygulanamadı.
|
||||||
|
#Mob has been protected!=
|
||||||
|
Name Tag=İsim etiketi
|
||||||
|
Net (right-click animal to put in inventory)=Ağ (hayvana sağ tıklayarak envantere koy)
|
||||||
|
Not tamed!=Evcil değil!
|
||||||
|
Raw Meat=Çiğ et
|
||||||
|
Rename=Yeniden adlandır
|
||||||
|
#Saddle=
|
||||||
|
Spawner Active (@1)=Yaratıcı aktif (@1)
|
||||||
|
Spawner Not Active (enter settings)=Yaratıcı aktif değil (ayarlara gir)
|
||||||
|
Steel Shears (right-click to shear)=Çelik makas (sağ tıklayarak kes)
|
||||||
|
#Syntax: “name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] player_distance[1-20] y_offset[-10 to 10]”=
|
||||||
|
#lifetimer expired, removed @1=
|
34
locale/mobs.zh_CN.tr
Normal file
34
locale/mobs.zh_CN.tr
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# textdomain:mobs
|
||||||
|
** Peaceful Mode Active - No Monsters Will Spawn=** 和平模式已激活——没有怪物会产生
|
||||||
|
@1 (Tamed)=@1(已驯服)
|
||||||
|
@1 at full health (@2)=@1已经满血(@2)
|
||||||
|
@1 has been tamed!=@1已经被驯服!
|
||||||
|
@1 is owner!=@1 是主人
|
||||||
|
#Active Mob Limit Reached!=
|
||||||
|
Already protected!=已经被保护!
|
||||||
|
#Change=
|
||||||
|
#Command:=
|
||||||
|
Enter name:=输入名称:
|
||||||
|
#Enter texture:=
|
||||||
|
Lasso (right-click animal to put in inventory)=套索(右键单击动物以放入物品栏)
|
||||||
|
Leather=皮革
|
||||||
|
Meat=肉
|
||||||
|
Missed!=没抓住!
|
||||||
|
Mob Fence=Mob 栅栏
|
||||||
|
#Mob Fence Top=
|
||||||
|
Mob Protection Rune=Mob 保护符文
|
||||||
|
#Mob Reset Stick=
|
||||||
|
#Mob Spawner=
|
||||||
|
Mob Spawner settings failed!=Mob 孵化器设置失败!
|
||||||
|
Mob has been protected!=Mob 已经被保护了!
|
||||||
|
Name Tag=名称标签
|
||||||
|
Net (right-click animal to put in inventory)=网(右键单击动物以放入物品栏)
|
||||||
|
Not tamed!=没有驯服!
|
||||||
|
Raw Meat=生肉
|
||||||
|
Rename=重新命名
|
||||||
|
Saddle=鞍
|
||||||
|
Spawner Active (@1)=孵化器正在运转(@1)
|
||||||
|
Spawner Not Active (enter settings)=孵化器未使用(输入设置)
|
||||||
|
Steel Shears (right-click to shear)=钢剪(右键单击以剪切)
|
||||||
|
#Syntax: “name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] player_distance[1-20] y_offset[-10 to 10]”=
|
||||||
|
#lifetimer expired, removed @1=
|
34
locale/mobs.zh_TW.tr
Normal file
34
locale/mobs.zh_TW.tr
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# textdomain:mobs
|
||||||
|
** Peaceful Mode Active - No Monsters Will Spawn=** 和平模式已激活——沒有怪物會產生
|
||||||
|
@1 (Tamed)=@1(已馴服)
|
||||||
|
@1 at full health (@2)=@1已經滿血(@2)
|
||||||
|
@1 has been tamed!=@1已經被馴服!
|
||||||
|
@1 is owner!=@1 是主人
|
||||||
|
#Active Mob Limit Reached!=
|
||||||
|
Already protected!=已經被保護!
|
||||||
|
#Change=
|
||||||
|
#Command:=
|
||||||
|
Enter name:=輸入名稱:
|
||||||
|
#Enter texture:=
|
||||||
|
Lasso (right-click animal to put in inventory)=套索(右鍵單擊動物以放入物品欄)
|
||||||
|
Leather=皮革
|
||||||
|
Meat=肉
|
||||||
|
Missed!=沒抓住!
|
||||||
|
Mob Fence=Mob 柵欄
|
||||||
|
#Mob Fence Top=
|
||||||
|
Mob Protection Rune=Mob 保護符文
|
||||||
|
#Mob Reset Stick=
|
||||||
|
#Mob Spawner=
|
||||||
|
Mob Spawner settings failed!=Mob 孵化器設置失敗!
|
||||||
|
Mob has been protected!=Mob 已經被保護了!
|
||||||
|
Name Tag=名稱標籤
|
||||||
|
Net (right-click animal to put in inventory)=網(右鍵單擊動物以放入物品欄)
|
||||||
|
Not tamed!=沒有馴服!
|
||||||
|
Raw Meat=生肉
|
||||||
|
Rename=重新命名
|
||||||
|
Saddle=鞍
|
||||||
|
Spawner Active (@1)=孵化器正在運轉(@1)
|
||||||
|
Spawner Not Active (enter settings)=孵化器未使用(輸入設置)
|
||||||
|
Steel Shears (right-click to shear)=鋼剪(右鍵單擊以剪切)
|
||||||
|
#Syntax: “name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] player_distance[1-20] y_offset[-10 to 10]”=
|
||||||
|
#lifetimer expired, removed @1=
|
@ -101,6 +101,10 @@ msgstr ""
|
|||||||
msgid "Mob Fence"
|
msgid "Mob Fence"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: crafts.lua
|
||||||
|
msgid "Mob Fence Top"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: spawner.lua
|
#: spawner.lua
|
||||||
msgid "Mob Spawner"
|
msgid "Mob Spawner"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -23,7 +23,9 @@ Lucky Blocks: 9
|
|||||||
|
|
||||||
|
|
||||||
Changelog:
|
Changelog:
|
||||||
- 1.52 - Added 'mob_active_limit' in settings to set number of mobs in game
|
- 1.54 - Simplified animal breeding function, added editable settings (thanks Wuzzy), Child mobs now take 20 mins to grow up, reverted to simple mob spawning with setting to use area checks, on_flop added, air_damage added.
|
||||||
|
- 1.53 - Added 'on_map_load' settings to mobs:spawn so that mobs will only spawn when new areas of map are loaded.
|
||||||
|
- 1.52 - Added 'mob_active_limit' in settings to set number of mobs in game,
|
||||||
(default is 0 for unlimited), removed {immortal} from mob armor, fluid viscocity slows mobs
|
(default is 0 for unlimited), removed {immortal} from mob armor, fluid viscocity slows mobs
|
||||||
- 1.51 - Added some node checks for dangerous nodes, jumping and falling tweaks, spawn area check (thx for idea wuzzy), re-enabled mob suffocation, add 'mob_nospawn_range' setting
|
- 1.51 - Added some node checks for dangerous nodes, jumping and falling tweaks, spawn area check (thx for idea wuzzy), re-enabled mob suffocation, add 'mob_nospawn_range' setting
|
||||||
- 1.50 - Added new line_of_sight function that uses raycasting if mt5.0 is found, (thanks Astrobe), dont spawn mobs if world anchor nearby (technic or simple_anchor mods), chinese local added
|
- 1.50 - Added new line_of_sight function that uses raycasting if mt5.0 is found, (thanks Astrobe), dont spawn mobs if world anchor nearby (technic or simple_anchor mods), chinese local added
|
||||||
|
@ -33,3 +33,6 @@ mob_nospawn_range (Mob no-spawn range) float 12.0
|
|||||||
|
|
||||||
# Sets maximum number of active mobs in game (0 for unlimited)
|
# Sets maximum number of active mobs in game (0 for unlimited)
|
||||||
mob_active_limit (Mob Active Limit) float 0
|
mob_active_limit (Mob Active Limit) float 0
|
||||||
|
|
||||||
|
# Enables area check when spawning mobs
|
||||||
|
mob_area_spawn (Mob Area Spawn) bool false
|
||||||
|
BIN
textures/mobs_meat_bottom.png
Normal file
BIN
textures/mobs_meat_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 253 B |
BIN
textures/mobs_meat_side.png
Normal file
BIN
textures/mobs_meat_side.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 271 B |
BIN
textures/mobs_meat_top.png
Normal file
BIN
textures/mobs_meat_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 287 B |
Reference in New Issue
Block a user