Update mobs_mc

This commit is contained in:
Wuzzy 2017-11-03 22:14:27 +01:00
parent 7055b68f6b
commit 088bb40908
19 changed files with 631 additions and 332 deletions

@ -67,6 +67,9 @@ Origin of those models:
* `mobs_mc_endermite.png` * `mobs_mc_endermite.png`
* `mobs_mc_magmacube.png` * `mobs_mc_magmacube.png`
* `mobs_mc_chicken.png` * `mobs_mc_chicken.png`
* `mobs_mc_wither.png`
* `mobs_mc_wither_skeleton.png`
* `mobs_mc_TEMP_wither_projectile.png`
* “Spawn egg” textures (`mobs_mc_spawn_icon_*`) by 22i * “Spawn egg” textures (`mobs_mc_spawn_icon_*`) by 22i
* Any other texture not mentioned here are licensed under the MIT License * Any other texture not mentioned here are licensed under the MIT License

@ -8,7 +8,7 @@ This mod adds mobs which closely resemble the mobs from the game Minecraft, vers
* [Wuzzy2](https://github.com/Wuzzy2): Zombies, husks, item textures, and code * [Wuzzy2](https://github.com/Wuzzy2): Zombies, husks, item textures, and code
* [toby109tt](https://github.com/tobyplowy): Mapping fixes - better 2D planes * [toby109tt](https://github.com/tobyplowy): Mapping fixes - better 2D planes
* [22i](https://github.com/22i): Models (done in Blender) and mob icons for spawn eggs * [22i](https://github.com/22i): Models (done in Blender) and mob icons for spawn eggs
* [XSSheep](https://www.planetminecraft.com/member/xssheep/): Mob and item textures (from [Pixel Perfection](https://www.planetminecraft.com/texture_pack/131pixel-perfection/) * [XSSheep](https://www.planetminecraft.com/member/xssheep/): Mob and item textures (from [Pixel Perfection](https://www.planetminecraft.com/texture_pack/131pixel-perfection/))
* MysticTempest: More mob textures * MysticTempest: More mob textures
* See `LICENSE_media.md` for detailed credits about each file * See `LICENSE_media.md` for detailed credits about each file

@ -0,0 +1,43 @@
--###################
--################### AGENT
--###################
-- intllib
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
mobs:register_mob("mobs_mc:agent", {
type = "npc",
passive = true,
stepheight = 1.2,
hp_min = 20,
hp_max = 20,
armor = 100,
collisionbox = {-0.35, -0.01, -0.35, 0.35, 1, 0.35},
visual = "mesh",
mesh = "mobs_mc_agent.b3d",
textures = {
{"mobs_mc_agent.png"},
},
visual_size = {x=3, y=3},
walk_velocity = 0.6,
run_velocity = 2,
jump = true,
animation = {
stand_speed = 25,
walk_speed = 25,
run_speed = 50,
stand_start = 20,
stand_end = 60,
walk_start = 0,
walk_end = 20,
run_start = 0,
run_end = 20,
},
})
mobs:register_egg("mobs_mc:agent", S("Agent"), "mobs_mc_spawn_icon_agent.png", 0)
if minetest.settings:get_bool("log_mods") then
minetest.log("action", "MC Agent loaded")
end

@ -53,12 +53,16 @@ dofile(path .. "/sheep.lua") -- Mesh and animation by Pavel_S
dofile(path .. "/wolf.lua") -- KrupnoPavel dofile(path .. "/wolf.lua") -- KrupnoPavel
dofile(path .. "/squid.lua") -- Animation, sound and egg texture by daufinsyd dofile(path .. "/squid.lua") -- Animation, sound and egg texture by daufinsyd
-- NPC -- NPCs
dofile(path .. "/villager.lua") -- KrupnoPavel Mesh and animation by toby109tt / https://github.com/22i dofile(path .. "/villager.lua") -- KrupnoPavel Mesh and animation by toby109tt / https://github.com/22i
--dofile(path .. "/villager_agent.lua") -- Mesh and animation by toby109tt / https://github.com/22i -- Agent texture missing
--dofile(path .. "/agent.lua") -- Mesh and animation by toby109tt / https://github.com/22i
-- Illagers and witch
dofile(path .. "/villager_evoker.lua") -- Mesh and animation by toby109tt / https://github.com/22i dofile(path .. "/villager_evoker.lua") -- Mesh and animation by toby109tt / https://github.com/22i
dofile(path .. "/villager_vindicator.lua") -- Mesh and animation by toby109tt / https://github.com/22i dofile(path .. "/villager_vindicator.lua") -- Mesh and animation by toby109tt / https://github.com/22i
dofile(path .. "/villager_zombie.lua") -- Mesh and animation by toby109tt / https://github.com/22i dofile(path .. "/villager_zombie.lua") -- Mesh and animation by toby109tt / https://github.com/22i
dofile(path .. "/witch.lua") -- Mesh and animation by toby109tt / https://github.com/22i dofile(path .. "/witch.lua") -- Mesh and animation by toby109tt / https://github.com/22i
--Monsters --Monsters
@ -80,7 +84,6 @@ dofile(path .. "/skeleton_wither.lua") -- Mesh by Morn76 Animation by Pavel_S
dofile(path .. "/zombie.lua") -- Mesh by Morn76 Animation by Pavel_S dofile(path .. "/zombie.lua") -- Mesh by Morn76 Animation by Pavel_S
dofile(path .. "/zombiepig.lua") -- Mesh by Morn76 Animation by Pavel_S dofile(path .. "/zombiepig.lua") -- Mesh by Morn76 Animation by Pavel_S
dofile(path .. "/slime+magma_cube.lua") -- Wuzzy dofile(path .. "/slime+magma_cube.lua") -- Wuzzy
--dofile(path .. "/snowman.lua") -- maikerumine Mesh and animation by toby109tt / https://github.com/22i
dofile(path .. "/spider.lua") -- Spider by AspireMint (fishyWET (CC-BY-SA 3.0 license for texture) dofile(path .. "/spider.lua") -- Spider by AspireMint (fishyWET (CC-BY-SA 3.0 license for texture)
dofile(path .. "/vex.lua") -- KrupnoPavel dofile(path .. "/vex.lua") -- KrupnoPavel
dofile(path .. "/wither.lua") -- Mesh and animation by toby109tt / https://github.com/22i dofile(path .. "/wither.lua") -- Mesh and animation by toby109tt / https://github.com/22i

@ -1,20 +1,11 @@
--MCmobs v0.4
--maikerumine
--made for MC like Survival game
--License for code WTFPL and otherwise stated in readmes
-- intllib -- intllib
local MP = minetest.get_modpath(minetest.get_current_modname()) local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua") local S, NS = dofile(MP.."/intllib.lua")
--dofile(minetest.get_modpath("mobs").."/api.lua")
--################### --###################
--################### LLAMA --################### LLAMA
--################### --###################
mobs:register_mob("mobs_mc:llama", { mobs:register_mob("mobs_mc:llama", {
type = "animal", type = "animal",
hp_min = 15, hp_min = 15,
@ -23,16 +14,14 @@ mobs:register_mob("mobs_mc:llama", {
collisionbox = {-0.45, -0.01, -0.45, 0.45, 1.86, 0.45}, collisionbox = {-0.45, -0.01, -0.45, 0.45, 1.86, 0.45},
visual = "mesh", visual = "mesh",
mesh = "mobs_mc_llama.b3d", mesh = "mobs_mc_llama.b3d",
textures = { -- 1: chest -- 2: decor -- 3: llama base texture textures = { -- 1: chest -- 2: decor (carpet) -- 3: llama base texture
{"blank.png", "blank.png", "mobs_mc_llama_brown.png"}, {"blank.png", "blank.png", "mobs_mc_llama_brown.png"},
{"blank.png", "blank.png", "mobs_mc_llama_creamy.png"}, {"blank.png", "blank.png", "mobs_mc_llama_creamy.png"},
{"blank.png", "blank.png", "mobs_mc_llama_gray.png"}, {"blank.png", "blank.png", "mobs_mc_llama_gray.png"},
{"blank.png", "blank.png", "mobs_mc_llama_white.png"}, {"blank.png", "blank.png", "mobs_mc_llama_white.png"},
{"blank.png", "blank.png", "mobs_mc_llama.png"}, {"blank.png", "blank.png", "mobs_mc_llama.png"},
--{"mobs_mc_llama.png", "blank.png", "mobs_mc_llama.png"}, --lama with chest -- TODO: Implement carpet (aka decor) on llama
--{"blank.png", "mobs_mc_decor_green.png", "mobs_mc_llama.png"}, --lama with decor },
--{"mobs_mc_llama.png", "mobs_mc_decor_green.png", "mobs_mc_llama.png"}, --lama with everything
},
visual_size = {x=3, y=3}, visual_size = {x=3, y=3},
makes_footstep_sound = true, makes_footstep_sound = true,
runaway = true, runaway = true,

@ -7,8 +7,8 @@ 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-02 20:52+0200\n" "POT-Creation-Date: 2017-07-05 16:40+0200\n"
"PO-Revision-Date: 2017-07-02 16:20+0200\n" "PO-Revision-Date: 2017-07-20 15:05+0200\n"
"Last-Translator: Wuzzy <almikes@aol.com>\n" "Last-Translator: Wuzzy <almikes@aol.com>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: de_DE\n" "Language: de_DE\n"
@ -40,34 +40,78 @@ msgstr ""
msgid "Raw Chicken" msgid "Raw Chicken"
msgstr "Rohes Hühnchen" msgstr "Rohes Hühnchen"
#: 1_items_default.lua
msgid ""
"Raw chicken is a food item and can be eaten safely. Cooking it will increase "
"its nutritional value."
msgstr ""
"Rohes Hühnchen ist ein Lebensmittel und kann problemlos gegessen werden. Es "
"kann gegart werden, um den Nährwert zu erhöhen."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Cooked Chicken" msgid "Cooked Chicken"
msgstr "Gebratenes Hühnchen" msgstr "Gebratenes Hühnchen"
#: 1_items_default.lua
msgid "A cooked chicken is a healthy food item which can be eaten."
msgstr "Ein gekochtes Hühnchen ist ein gesundes essbares Lebensmittel."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Feather" msgid "Feather"
msgstr "Feder" msgstr "Feder"
#: 1_items_default.lua
msgid "Feathers are used in crafting and are dropped from chickens."
msgstr ""
"Federn werden für die Fertigung benutzt und werden von Hühnern fallen "
"gelassen."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Raw Beef" msgid "Raw Beef"
msgstr "Rohes Rindfleisch" msgstr "Rohes Rindfleisch"
#: 1_items_default.lua
msgid ""
"Raw beef is the flesh from cows and can be eaten safely. Cooking it will "
"greatly increase its nutritional value."
msgstr ""
"Rohes Rindfleisch ist das Fleisch von Kühen und kann problemlos gegessen "
"werden. Es kann gegart werden, um den Nährwert deutlich zu erhöhen."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Steak" msgid "Steak"
msgstr "Steak" msgstr "Steak"
#: 1_items_default.lua
msgid "Steak is cooked beef from cows and can be eaten."
msgstr "Steak ist gebratenes Rindfleisch und kann gegessen werden."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Milk" msgid "Milk"
msgstr "Milch" msgstr "Milch"
#: 1_items_default.lua
msgid "Milk is a food item obtained by using a bucket on a cow."
msgstr ""
"Milch ist ein Lebensmittel, das man erhält, wenn man einen Eimer an einer "
"Kuh benutzt."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Bowl" msgid "Bowl"
msgstr "Schale" msgstr "Schale"
#: 1_items_default.lua
msgid "Bowls are mainly used to hold tasty soups."
msgstr "Schüsseln werden benutzt, um leckere Suppen zu transportieren."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Mushroom Stew" msgid "Mushroom Stew"
msgstr "Pilzsuppe" msgstr "Pilzsuppe"
#: 1_items_default.lua
msgid "Mushroom stew is a healthy soup."
msgstr "Pilzsuppe ist ein leckeres Gericht."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Dragon Egg" msgid "Dragon Egg"
msgstr "Drachenei" msgstr "Drachenei"
@ -92,22 +136,77 @@ msgstr ""
msgid "Saddle" msgid "Saddle"
msgstr "Sattel" msgstr "Sattel"
#: 1_items_default.lua
msgid ""
"Saddles can be put on horses, donkeys, mules and pigs in order to mount them."
msgstr ""
"Sattel können auf Pferden, Eseln, Maultieren und Schweinen platziert werden, "
"um sich aufzusatteln."
#: 1_items_default.lua
msgid ""
"Rightclick an animal while holding a saddle to put on the saddle. You can "
"now mount the animal by rightclicking it again."
msgstr ""
"Rechtsklick auf ein Tier mit einem Sattel in der Hand, um den Sattel zu "
"platzieren. Sie können sich nun mit Rechtsklick auf das Tier setzen."
#: 1_items_default.lua
msgid ""
"Rightclick a horse to put on the horse armor. Donkeys and mules can't wear "
"horse armor."
msgstr ""
"Rechts auf ein Pferd klicken, um die Pferderüstung zu benutzen. Das "
"funktioniert nicht mit Eseln und Maultieren."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Iron Horse Armor" msgid "Iron Horse Armor"
msgstr "Eiserne Pferderüstung" msgstr "Eiserne Pferderüstung"
#: 1_items_default.lua
msgid ""
"Iron horse armor can be worn by horses to increase their protection from "
"harm a bit."
msgstr ""
"Die Eisenpferderüstung kann von Pferden getragen werden, um sie etwas vor "
"Schaden zu schützen."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Golden Horse Armor" msgid "Golden Horse Armor"
msgstr "Goldene Pferderüstung" msgstr "Goldene Pferderüstung"
#: 1_items_default.lua
msgid ""
"Golden horse armor can be worn by horses to increase their protection from "
"harm."
msgstr ""
"Die Goldpferderüstung kann von Pferden getragen werden, um sie vor Schaden "
"zu schützen."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Diamond Horse Armor" msgid "Diamond Horse Armor"
msgstr "Diamantene Pferderüstung" msgstr "Diamantene Pferderüstung"
#: 1_items_default.lua
msgid ""
"Diamond horse armor can be worn by horses to greatly increase their "
"protection from harm."
msgstr ""
"Die Diamantpferderüstung kann von Pferden getragen werden, um ihre "
"Schadenstoleranz stark zu erhöhen."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Raw Porkchop" msgid "Raw Porkchop"
msgstr "Rohes Schweinefleisch" msgstr "Rohes Schweinefleisch"
#: 1_items_default.lua
msgid ""
"A raw porkchop is the flesh from a pig and can be eaten safely. Cooking it "
"will greatly increase its nutritional value."
msgstr ""
"Ein rohes Stück Schweinefleisch kann bedenkenlos gegessen werden. Man kann "
"es braten, um seinen Nährwert stark zu erhöhen."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Cooked Porkchop" msgid "Cooked Porkchop"
msgstr "Gebratenes Schweinefleisch" msgstr "Gebratenes Schweinefleisch"
@ -116,34 +215,92 @@ msgstr "Gebratenes Schweinefleisch"
msgid "Carrot on a Stick" msgid "Carrot on a Stick"
msgstr "Karottenrute" msgstr "Karottenrute"
#: 1_items_default.lua
msgid ""
"A carrot on a stick can be used on saddled pigs to ride them. Pigs will also "
"follow anyone who holds a carrot on a stick near them."
msgstr ""
"Eine Karottenrute kann auf gesattelten Schweinen angewendet werden, um sie "
"zu reiten. Schweine folgen auch jeden, der eine Karottenrüte trägt."
#: 1_items_default.lua
msgid ""
"Rightclick a saddled pig with the carrot on a stick to mount it. You can now "
"ride it like a horse."
msgstr ""
"Rechts auf ein gesatteltes Schwein klicken, um sich draufzusetzen. Jetzt "
"kann das Schwein wie ein Pferd geritten werden."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Raw Rabbit" msgid "Raw Rabbit"
msgstr "Rohes Kaninchen" msgstr "Rohes Kaninchen"
#: 1_items_default.lua
msgid ""
"Raw rabbit is a food item from a dead rabbit. It can be eaten safely. "
"Cooking it will increase its nutritional value."
msgstr ""
"Rohes Kaninchenfleisch ist ein Lebensmittel, welches bedenkenlos verzehrt "
"werden kann. Es kann gebraten werden, um seinen Nährwert zu erhöhen."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Cooked Rabbit" msgid "Cooked Rabbit"
msgstr "Gebratenes Kaninchen" msgstr "Gebratenes Kaninchen"
#: 1_items_default.lua
msgid "This is a food item which can be eaten."
msgstr "Dies ist ein Lebensmittel."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Rabbit Hide" msgid "Rabbit Hide"
msgstr "Kaninchenfell" msgstr "Kaninchenfell"
#: 1_items_default.lua
msgid "Rabbit hide is used to create leather."
msgstr "Aus Kaninchenfellen wird Leder gefertigt."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Rabbit's Foot" msgid "Rabbit's Foot"
msgstr "Hasenpfote" msgstr "Hasenpfote"
#: 1_items_default.lua
msgid "This item is used in brewing."
msgstr "Dieser Gegenstand wird zum Brauen benutzt."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Raw Mutton" msgid "Raw Mutton"
msgstr "Rohes Hammelfleisch" msgstr "Rohes Hammelfleisch"
#: 1_items_default.lua
msgid ""
"Raw mutton is the flesh from a sheep and can be eaten safely. Cooking it "
"will greatly increase its nutritional value."
msgstr ""
"Rohes Hammelfleisch ist das Fleisch eines Schafes und ein Lebensmittel, "
"welches bedenkenlos verzehrt werden kann. Es kann gebraten werden, um seinen "
"Nährwert deutlich zu erhöhen."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Cooked Mutton" msgid "Cooked Mutton"
msgstr "Gebratenes Hammelfleisch" msgstr "Gebratenes Hammelfleisch"
#: 1_items_default.lua
msgid "Cooked mutton is the cooked flesh from a sheep and is used as food."
msgstr ""
"Gebratenes Hammelfleisch ist das gebratene Fleisch eines Schafs und dient "
"als Lebensmittel."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Shulker Shell" msgid "Shulker Shell"
msgstr "Shulkerschale" msgstr "Shulkerschale"
#: 1_items_default.lua
msgid ""
"Shulker shells are used in crafting. They are dropped from dead shulkers."
msgstr ""
"Shulkerschalen werden für die Fertigung verwendet. Sie werden von toten "
"Shulkern fallen gelassen."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Magma Cream" msgid "Magma Cream"
msgstr "Magmacreme" msgstr "Magmacreme"
@ -152,6 +309,16 @@ msgstr "Magmacreme"
msgid "Magma cream is a crafting component." msgid "Magma cream is a crafting component."
msgstr "Magmacreme wird zum Fertigen benutzt." msgstr "Magmacreme wird zum Fertigen benutzt."
#: 1_items_default.lua
msgid "Slimeball"
msgstr "Schleimkugel"
#: 1_items_default.lua
msgid "Slimeballs are used in crafting. They are dropped from slimes."
msgstr ""
"Schleimkugeln werden in der Fertigung benutzt. Sie werden von Schleimen "
"fallen gelassen."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Spider Eye" msgid "Spider Eye"
msgstr "Spinnenauge" msgstr "Spinnenauge"
@ -169,26 +336,110 @@ msgstr ""
msgid "Totem of Undying" msgid "Totem of Undying"
msgstr "Totem der Unsterblichkeit" msgstr "Totem der Unsterblichkeit"
#: 1_items_default.lua
msgid ""
"A totem of undying is a rare artifact which may safe you from certain death."
msgstr ""
"Ein Totem der Unsterblichkeit ist ein seltenes Artefakt, welches Sie vor dem "
"sicheren Tod bewahren kann."
#: 1_items_default.lua
msgid ""
"Hold it in your hand and punch once to instantly get back to full health. "
"The totem gets destroyed in the process."
msgstr ""
"Halten Sie es in der Hand und schlagen Sie zu, um sofort auf die volle "
"Gesundheit zu kommen. Das zerstört das Totem."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Rotten Flesh" msgid "Rotten Flesh"
msgstr "Verrottetes Fleisch" msgstr "Verrottetes Fleisch"
#: 1_items_default.lua
msgid ""
"Yuck! This piece of flesh clearly has seen better days. Eating it will only "
"poison you and reduces your health by 4 hit points. But tamed wolves can eat "
"it just fine."
msgstr ""
"Igitt! Dieses Stück Fleisch hat wohl bessere Tage gesehen. Wenn Sie es "
"essen, werden Sie sofort vergiftet und erleiden einen Schaden von 4 "
"Trefferpunkten. Aber gezähmte Wölfe können es problemlos fressen."
#: 1_items_default.lua #: 1_items_default.lua
msgid "Nether Star" msgid "Nether Star"
msgstr "Netherstern" msgstr "Netherstern"
#: 1_items_default.lua
msgid "A nether star is a crafting component. It is dropped from the Wither."
msgstr ""
"Ein Netherstern ist eine Fertigungskomponente. Er wird vom Wither abgeworfen."
#: 1_items_default.lua
msgid "Bone"
msgstr "Knochen"
#: 1_items_default.lua
msgid ""
"Bones can be used to tame wolves so they will protect you. They are also "
"useful as a crafting ingredient."
msgstr ""
"Knochen können benutzt werden, um Wölfe zu zähmen, damit sie einen "
"beschützen. Sie außerdem nützlich in der Fertigung."
#: 1_items_default.lua
msgid ""
"Hold the bone in your hand near wolves to attract them. Rightclick the wolf "
"to give it a bone and tame it."
msgstr ""
"Halten Sie einen Knochen in der Nähe eines Wolfes, um ihn anzulocken. "
"Rechtsklick auf den Wolf, um ihn den Knochen zu geben un zu zähmen."
#: 2_throwing.lua #: 2_throwing.lua
msgid "Arrow" msgid "Arrow"
msgstr "Pfeil" msgstr "Pfeil"
#: 2_throwing.lua
msgid "Arrows are ammunition for bows."
msgstr "Pfeile sind Munition für Bögen."
#: 2_throwing.lua
msgid ""
"To use arrows as ammunition for a bow, put them in the inventory slot "
"following the bow. Slots are counted left to right, top to bottom."
msgstr ""
"Um Pfeile als Munition für einen Bogen zu benutzen, legen Sie sie in das "
"Inventarfeld, das dem des Bogens folgt. Inventarfelder werden von links nach "
"rechts, dann von oben nach unten gezählt."
#: 2_throwing.lua #: 2_throwing.lua
msgid "Bow" msgid "Bow"
msgstr "Bogen" msgstr "Bogen"
#: 2_throwing.lua
msgid "Bows are ranged weapons to shoot arrows at your foes."
msgstr "Bögen sind Fernwaffen, um Pfeile auf Ihre Gegner zu schießen."
#: 2_throwing.lua
msgid ""
"To use the bow, you first need to have at least one arrow in slot following "
"the bow. Leftclick to shoot. Each hit deals 3 damage."
msgstr ""
"Um den Bogen zu benutzen, brauchen Sie zuerest mindestens einen Pfeil in dem "
"Inventarfeld nach dem des Bogens. Linksklick zum Schießen. Jeder Treffer "
"richtet 3 Schaden an."
#: 2_throwing.lua #: 2_throwing.lua
msgid "Egg" msgid "Egg"
msgstr "Ei" msgstr "Ei"
#: 2_throwing.lua
msgid ""
"Eggs can be thrown and break on impact. There is a small chance that 1 or "
"even 4 chicks will pop out"
msgstr ""
"Eier können geworfen werden und zerbrechen bei einem Treffer. Es gibt eine "
"kleine Chance, dass 1 oder sogar 4 Küken auftauchen"
#: 2_throwing.lua #: 2_throwing.lua
msgid "Snowball" msgid "Snowball"
msgstr "Schneeball" msgstr "Schneeball"
@ -201,6 +452,54 @@ msgstr ""
"Werfen Sie Schnebälle auf Ihre Feinde. Ein Schneeball richtet gegenüber " "Werfen Sie Schnebälle auf Ihre Feinde. Ein Schneeball richtet gegenüber "
"Lohen 3 Schaden an, ist aber harmlos für alles andere." "Lohen 3 Schaden an, ist aber harmlos für alles andere."
#: 4_heads.lua
msgid "Zombie Head"
msgstr "Zombiekopf"
#: 4_heads.lua
msgid ""
"A zombie head is a small decorative block which resembles the head of a "
"zombie."
msgstr ""
"Ein Zombiekopf ist ein kleiner dekorativer Block, der wie der Kopf eines "
"Zombies aussieht."
#: 4_heads.lua
msgid "Creeper Head"
msgstr "Creeperkopf"
#: 4_heads.lua
msgid ""
"A creeper head is a small decorative block which resembles the head of a "
"creeper."
msgstr ""
"Ein Creeperkopf ist ein kleiner dekorativer Block, der wie der Kopf eines "
"Creeper aussieht."
#: 4_heads.lua
msgid "Skeleton Skull"
msgstr "Skelettschädel"
#: 4_heads.lua
msgid ""
"A skeleton skull is a small decorative block which resembles the skull of a "
"skeleton."
msgstr ""
"Ein Skelettschädel ist ein kleiner dekorativer Block, der wie der Schädel "
"eines Skeletts aussieht."
#: 4_heads.lua
msgid "Wither Skeleton Skull"
msgstr "Witherskelettschädel"
#: 4_heads.lua
msgid ""
"A wither skeleton skull is a small decorative block which resembles the "
"skull of a wither skeleton."
msgstr ""
"Ein Witherskelettschädel ist ein kleiner dekorativer Block, der wie der "
"Schädel eines Witherskeletts aussieht."
#: bat.lua #: bat.lua
msgid "Bat" msgid "Bat"
msgstr "Fledermaus" msgstr "Fledermaus"
@ -249,38 +548,6 @@ msgstr "Großer Wächter"
msgid "Guardian" msgid "Guardian"
msgstr "Wächter" msgstr "Wächter"
#: heads.lua
msgid "Creeper Head (WIP)"
msgstr "Creeperkopf (unfertig)"
#: heads.lua
msgid "Enderman Head (WIP)"
msgstr "Endermankopf (unfertig)"
#: heads.lua
msgid "Ghast Head (WIP)"
msgstr "Ghastkopf (unfertig)"
#: heads.lua
msgid "Skeleton Skull (WIP)"
msgstr "Skelettschädel (unfertig)"
#: heads.lua
msgid "Wither Skeleton Skull (WIP)"
msgstr "Witherskelettschädel (unfertig)"
#: heads.lua
msgid "Spider Head (WIP)"
msgstr "Spinnenkopf (unfertig)"
#: heads.lua
msgid "Zombie Head (WIP)"
msgstr "Zombiekopf (unfertig)"
#: heads.lua
msgid "Zombie Pigman Head (WIP)"
msgstr "Schweinezombiekopf (unfertig)"
#: horse.lua #: horse.lua
msgid "Horse" msgid "Horse"
msgstr "Pferd" msgstr "Pferd"
@ -365,11 +632,11 @@ msgstr "Silberfischchen-Steinziegel"
msgid "Stone Block Monster Egg" msgid "Stone Block Monster Egg"
msgstr "Silberfischchen-Steinblock" msgstr "Silberfischchen-Steinblock"
#: skeleton.lua #: skeleton+stray.lua
msgid "Skeleton" msgid "Skeleton"
msgstr "Skelett" msgstr "Skelett"
#: skeleton_stray.lua #: skeleton+stray.lua
msgid "Stray" msgid "Stray"
msgstr "Eiswanderer" msgstr "Eiswanderer"
@ -448,3 +715,15 @@ msgstr "Zombie"
#: zombiepig.lua #: zombiepig.lua
msgid "Zombie Pigman" msgid "Zombie Pigman"
msgstr "Schweinezombie" msgstr "Schweinezombie"
#~ msgid "Enderman Head (WIP)"
#~ msgstr "Endermankopf (unfertig)"
#~ msgid "Ghast Head (WIP)"
#~ msgstr "Ghastkopf (unfertig)"
#~ msgid "Spider Head (WIP)"
#~ msgstr "Spinnenkopf (unfertig)"
#~ msgid "Zombie Pigman Head (WIP)"
#~ msgstr "Schweinezombiekopf (unfertig)"

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-02 20:52+0200\n" "POT-Creation-Date: 2017-07-20 14:43+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -37,34 +37,70 @@ msgstr ""
msgid "Raw Chicken" msgid "Raw Chicken"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid ""
"Raw chicken is a food item and can be eaten safely. Cooking it will increase "
"its nutritional value."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Cooked Chicken" msgid "Cooked Chicken"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid "A cooked chicken is a healthy food item which can be eaten."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Feather" msgid "Feather"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid "Feathers are used in crafting and are dropped from chickens."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Raw Beef" msgid "Raw Beef"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid ""
"Raw beef is the flesh from cows and can be eaten safely. Cooking it will "
"greatly increase its nutritional value."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Steak" msgid "Steak"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid "Steak is cooked beef from cows and can be eaten."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Milk" msgid "Milk"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid "Milk is a food item obtained by using a bucket on a cow."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Bowl" msgid "Bowl"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid "Bowls are mainly used to hold tasty soups."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Mushroom Stew" msgid "Mushroom Stew"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid "Mushroom stew is a healthy soup."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Dragon Egg" msgid "Dragon Egg"
msgstr "" msgstr ""
@ -87,22 +123,63 @@ msgstr ""
msgid "Saddle" msgid "Saddle"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid ""
"Saddles can be put on horses, donkeys, mules and pigs in order to mount them."
msgstr ""
#: 1_items_default.lua
msgid ""
"Rightclick an animal while holding a saddle to put on the saddle. You can "
"now mount the animal by rightclicking it again."
msgstr ""
#: 1_items_default.lua
msgid ""
"Rightclick a horse to put on the horse armor. Donkeys and mules can't wear "
"horse armor."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Iron Horse Armor" msgid "Iron Horse Armor"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid ""
"Iron horse armor can be worn by horses to increase their protection from "
"harm a bit."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Golden Horse Armor" msgid "Golden Horse Armor"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid ""
"Golden horse armor can be worn by horses to increase their protection from "
"harm."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Diamond Horse Armor" msgid "Diamond Horse Armor"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid ""
"Diamond horse armor can be worn by horses to greatly increase their "
"protection from harm."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Raw Porkchop" msgid "Raw Porkchop"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid ""
"A raw porkchop is the flesh from a pig and can be eaten safely. Cooking it "
"will greatly increase its nutritional value."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Cooked Porkchop" msgid "Cooked Porkchop"
msgstr "" msgstr ""
@ -111,34 +188,79 @@ msgstr ""
msgid "Carrot on a Stick" msgid "Carrot on a Stick"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid ""
"A carrot on a stick can be used on saddled pigs to ride them. Pigs will also "
"follow anyone who holds a carrot on a stick near them."
msgstr ""
#: 1_items_default.lua
msgid ""
"Rightclick a saddled pig with the carrot on a stick to mount it. You can now "
"ride it like a horse."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Raw Rabbit" msgid "Raw Rabbit"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid ""
"Raw rabbit is a food item from a dead rabbit. It can be eaten safely. "
"Cooking it will increase its nutritional value."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Cooked Rabbit" msgid "Cooked Rabbit"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid "This is a food item which can be eaten."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Rabbit Hide" msgid "Rabbit Hide"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid "Rabbit hide is used to create leather."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Rabbit's Foot" msgid "Rabbit's Foot"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid "This item is used in brewing."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Raw Mutton" msgid "Raw Mutton"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid ""
"Raw mutton is the flesh from a sheep and can be eaten safely. Cooking it "
"will greatly increase its nutritional value."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Cooked Mutton" msgid "Cooked Mutton"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid "Cooked mutton is the cooked flesh from a sheep and is used as food."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Shulker Shell" msgid "Shulker Shell"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid ""
"Shulker shells are used in crafting. They are dropped from dead shulkers."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Magma Cream" msgid "Magma Cream"
msgstr "" msgstr ""
@ -147,6 +269,14 @@ msgstr ""
msgid "Magma cream is a crafting component." msgid "Magma cream is a crafting component."
msgstr "" msgstr ""
#: 1_items_default.lua
msgid "Slimeball"
msgstr ""
#: 1_items_default.lua
msgid "Slimeballs are used in crafting. They are dropped from slimes."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Spider Eye" msgid "Spider Eye"
msgstr "" msgstr ""
@ -161,26 +291,90 @@ msgstr ""
msgid "Totem of Undying" msgid "Totem of Undying"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid ""
"A totem of undying is a rare artifact which may safe you from certain death."
msgstr ""
#: 1_items_default.lua
msgid ""
"Hold it in your hand and punch once to instantly get back to full health. "
"The totem gets destroyed in the process."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Rotten Flesh" msgid "Rotten Flesh"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid ""
"Yuck! This piece of flesh clearly has seen better days. Eating it will only "
"poison you and reduces your health by 4 hit points. But tamed wolves can eat "
"it just fine."
msgstr ""
#: 1_items_default.lua #: 1_items_default.lua
msgid "Nether Star" msgid "Nether Star"
msgstr "" msgstr ""
#: 1_items_default.lua
msgid "A nether star is a crafting component. It is dropped from the Wither."
msgstr ""
#: 1_items_default.lua
msgid "Bone"
msgstr ""
#: 1_items_default.lua
msgid ""
"Bones can be used to tame wolves so they will protect you. They are also "
"useful as a crafting ingredient."
msgstr ""
#: 1_items_default.lua
msgid ""
"Hold the bone in your hand near wolves to attract them. Rightclick the wolf "
"to give it a bone and tame it."
msgstr ""
#: 2_throwing.lua #: 2_throwing.lua
msgid "Arrow" msgid "Arrow"
msgstr "" msgstr ""
#: 2_throwing.lua
msgid "Arrows are ammunition for bows."
msgstr ""
#: 2_throwing.lua
msgid ""
"To use arrows as ammunition for a bow, put them in the inventory slot "
"following the bow. Slots are counted left to right, top to bottom."
msgstr ""
#: 2_throwing.lua #: 2_throwing.lua
msgid "Bow" msgid "Bow"
msgstr "" msgstr ""
#: 2_throwing.lua
msgid "Bows are ranged weapons to shoot arrows at your foes."
msgstr ""
#: 2_throwing.lua
msgid ""
"To use the bow, you first need to have at least one arrow in slot following "
"the bow. Leftclick to shoot. Each hit deals 3 damage."
msgstr ""
#: 2_throwing.lua #: 2_throwing.lua
msgid "Egg" msgid "Egg"
msgstr "" msgstr ""
#: 2_throwing.lua
msgid ""
"Eggs can be thrown and break on impact. There is a small chance that 1 or "
"even 4 chicks will pop out"
msgstr ""
#: 2_throwing.lua #: 2_throwing.lua
msgid "Snowball" msgid "Snowball"
msgstr "" msgstr ""
@ -191,6 +385,46 @@ msgid ""
"blazes, but is harmless to anything else." "blazes, but is harmless to anything else."
msgstr "" msgstr ""
#: 4_heads.lua
msgid "Zombie Head"
msgstr ""
#: 4_heads.lua
msgid ""
"A zombie head is a small decorative block which resembles the head of a "
"zombie."
msgstr ""
#: 4_heads.lua
msgid "Creeper Head"
msgstr ""
#: 4_heads.lua
msgid ""
"A creeper head is a small decorative block which resembles the head of a "
"creeper."
msgstr ""
#: 4_heads.lua
msgid "Skeleton Skull"
msgstr ""
#: 4_heads.lua
msgid ""
"A skeleton skull is a small decorative block which resembles the skull of a "
"skeleton."
msgstr ""
#: 4_heads.lua
msgid "Wither Skeleton Skull"
msgstr ""
#: 4_heads.lua
msgid ""
"A wither skeleton skull is a small decorative block which resembles the "
"skull of a wither skeleton."
msgstr ""
#: bat.lua #: bat.lua
msgid "Bat" msgid "Bat"
msgstr "" msgstr ""
@ -239,38 +473,6 @@ msgstr ""
msgid "Guardian" msgid "Guardian"
msgstr "" msgstr ""
#: heads.lua
msgid "Creeper Head (WIP)"
msgstr ""
#: heads.lua
msgid "Enderman Head (WIP)"
msgstr ""
#: heads.lua
msgid "Ghast Head (WIP)"
msgstr ""
#: heads.lua
msgid "Skeleton Skull (WIP)"
msgstr ""
#: heads.lua
msgid "Wither Skeleton Skull (WIP)"
msgstr ""
#: heads.lua
msgid "Spider Head (WIP)"
msgstr ""
#: heads.lua
msgid "Zombie Head (WIP)"
msgstr ""
#: heads.lua
msgid "Zombie Pigman Head (WIP)"
msgstr ""
#: horse.lua #: horse.lua
msgid "Horse" msgid "Horse"
msgstr "" msgstr ""
@ -355,11 +557,11 @@ msgstr ""
msgid "Stone Block Monster Egg" msgid "Stone Block Monster Egg"
msgstr "" msgstr ""
#: skeleton.lua #: skeleton+stray.lua
msgid "Skeleton" msgid "Skeleton"
msgstr "" msgstr ""
#: skeleton_stray.lua #: skeleton+stray.lua
msgid "Stray" msgid "Stray"
msgstr "" msgstr ""

@ -89,7 +89,7 @@ mobs:register_mob("mobs_mc:parrot", {
--spawn --spawn
-- TODO: Increase spawn chance if polished -- TODO: Increase spawn chance if polished
--mobs:spawn_specific("mobs_mc:parrot", mobs_mc.spawn.jungle, {"air"}, 0, minetest.LIGHT_MAX+1, 30, 30000, 1, mobs_mc.spawn_height.water+1, mobs_mc.spawn_height.overworld_max) mobs:spawn_specific("mobs_mc:parrot", mobs_mc.spawn.jungle, {"air"}, 0, minetest.LIGHT_MAX+1, 30, 30000, 1, mobs_mc.spawn_height.water+1, mobs_mc.spawn_height.overworld_max)
-- spawn eggs -- spawn eggs
mobs:register_egg("mobs_mc:parrot", S("Parrot"), "mobs_mc_spawn_icon_parrot.png", 0) mobs:register_egg("mobs_mc:parrot", S("Parrot"), "mobs_mc_spawn_icon_parrot.png", 0)

@ -12,9 +12,11 @@ mobs:register_mob("mobs_mc:pig", {
collisionbox = {-0.45, -0.01, -0.45, 0.45, 0.865, 0.45}, collisionbox = {-0.45, -0.01, -0.45, 0.45, 0.865, 0.45},
visual = "mesh", visual = "mesh",
mesh = "mobs_mc_pig.b3d", mesh = "mobs_mc_pig.b3d",
textures = { textures = {{
{"mobs_mc_pig.png"}, "blank.png", -- baby
}, "mobs_mc_pig.png", -- base
"blank.png", -- saddle
}},
visual_size = {x=2.5, y=2.5}, visual_size = {x=2.5, y=2.5},
makes_footstep_sound = true, makes_footstep_sound = true,
walk_velocity = 1, walk_velocity = 1,
@ -36,19 +38,15 @@ mobs:register_mob("mobs_mc:pig", {
distance = 16, distance = 16,
}, },
animation = { animation = {
speed_normal = 40, stand_speed = 40,
walk_speed = 40,
run_speed = 50,
stand_start = 0, stand_start = 0,
stand_end = 0, stand_end = 0,
walk_start = 0, walk_start = 0,
walk_end = 40, walk_end = 40,
hurt_start = 118, run_start = 0,
hurt_end = 154, run_end = 40,
death_start = 154,
death_end = 179,
eat_start = 49,
eat_end = 78,
look_start = 78,
look_end = 108,
}, },
follow = mobs_mc.follow.pig, follow = mobs_mc.follow.pig,
view_range = 5, view_range = 5,
@ -106,7 +104,11 @@ mobs:register_mob("mobs_mc:pig", {
-- Put saddle on pig -- Put saddle on pig
local item = clicker:get_wielded_item() local item = clicker:get_wielded_item()
if item:get_name() == mobs_mc.items.saddle and self.saddle ~= "yes" then if item:get_name() == mobs_mc.items.saddle and self.saddle ~= "yes" then
self.base_texture = {"mobs_mc_pig.png^mobs_mc_pig_saddle.png"} self.base_texture = {
"blank.png", -- baby
"mobs_mc_pig.png", -- base
"mobs_mc_pig_saddle.png", -- saddle
}
self.object:set_properties({ self.object:set_properties({
textures = self.base_texture textures = self.base_texture
}) })

@ -115,18 +115,16 @@ local spawn = {
local spawn_desert = table.copy(spawn) local spawn_desert = table.copy(spawn)
spawn_desert.nodes = mobs_mc.spawn.desert spawn_desert.nodes = mobs_mc.spawn.desert
local on_spawn = function(self, pos) spawn_desert.on_spawn = function(self, pos)
local ent = self:get_luaentity()
local texture = "mobs_mc_rabbit_gold.png" local texture = "mobs_mc_rabbit_gold.png"
ent.base_texture = { "mobs_mc_rabbit_gold.png" } self.base_texture = { "mobs_mc_rabbit_gold.png" }
self:set_properties({textures = ent.base_texture}) self.object:set_properties({textures = self.base_texture})
end end
mobs:spawn(spawn_desert) mobs:spawn(spawn_desert)
local spawn_snow = table.copy(spawn) local spawn_snow = table.copy(spawn)
spawn_snow.nodes = mobs_mc.spawn.snow spawn_snow.nodes = mobs_mc.spawn.snow
spawn_snow.on_spawn = function(self, pos) spawn_snow.on_spawn = function(self, pos)
local ent = self:get_luaentity()
local texture local texture
local r = math.random(1, 100) local r = math.random(1, 100)
-- 80% white fur -- 80% white fur
@ -136,15 +134,14 @@ spawn_snow.on_spawn = function(self, pos)
else else
texture = "mobs_mc_rabbit_white_splotched.png" texture = "mobs_mc_rabbit_white_splotched.png"
end end
ent.base_texture = { texture } self.base_texture = { texture }
self:set_properties({textures = ent.base_texture}) self.object:set_properties({textures = self.base_texture})
end end
mobs:spawn(spawn_snow) mobs:spawn(spawn_snow)
local spawn_grass = table.copy(spawn) local spawn_grass = table.copy(spawn)
spawn_grass.nodes = mobs_mc.spawn.grassland spawn_grass.nodes = mobs_mc.spawn.grassland
spawn_grass.on_spawn = function(self, pos) spawn_grass.on_spawn = function(self, pos)
local ent = self:get_luaentity()
local texture local texture
local r = math.random(1, 100) local r = math.random(1, 100)
-- 50% brown fur -- 50% brown fur
@ -157,8 +154,8 @@ spawn_grass.on_spawn = function(self, pos)
else else
texture = "mobs_mc_rabbit_black.png" texture = "mobs_mc_rabbit_black.png"
end end
ent.base_texture = { texture } self.base_texture = { texture }
self:set_properties({textures = ent.base_texture}) self.object:set_properties({textures = self.base_texture})
end end
mobs:spawn(spawn_grass) mobs:spawn(spawn_grass)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 B

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 B

After

Width:  |  Height:  |  Size: 469 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 345 B

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 682 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 537 B

After

Width:  |  Height:  |  Size: 764 B

@ -1,219 +0,0 @@
--MCmobs v0.2
--maikerumine
--made for MC like Survival game
--License for code WTFPL and otherwise stated in readmes
--dofile(minetest.get_modpath("mobs").."/api.lua")
--###################
--################### AGENT
--###################
mobs:register_mob("mobs_mc:63agent", {
type = "animal",
passive = true,
runaway = true,
stepheight = 1.2,
hp_min = 30,
hp_max = 60,
armor = 150,
collisionbox = {-0.35, -0.01, -0.35, 0.35, 2, 0.35},
visual = "mesh",
mesh = "mobs_mc_agent.b3d",
textures = {
{"mobs_mc_agent.png"},
},
visual_size = {x=3, y=3},
walk_velocity = 0.6,
run_velocity = 2,
jump = true,
animation = {
speed_normal = 25, speed_run = 50,
stand_start = 20, stand_end = 60,
walk_start = 0, walk_end = 20,
run_start = 0, run_end = 20,
},
})
mobs:register_egg("mobs_mc:63agent", "Agent", "mobs_mc_spawn_icon_agent.png", 0)
mobs:register_mob("mobs_mc:villager", {
type = "npc",
hp_min = 35,
hp_max = 75,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.95, 0.4},
textures = {
{"mobs_farmer.png"}
},
visual = "mesh",
mesh = "mobs_villager.x",
makes_footstep_sound = true,
damage = 2,
walk_velocity = 1.2,
run_velocity = 2.4,
damage = 1,
group_attack = true,
attack_type = "dogfight",
drops = {
{name = "default:apple",
chance = 10,
min = 1,
max = 2,},
},
armor = 90,
sounds = {
random = "Villager1",
death = "Villagerdead",
damage = "Villagerhurt1",
},
animation = {
speed_normal = 30,
speed_run = 60,
stand_start = 0,
stand_end = 23,
walk_start = 24,
walk_end = 49,
run_start = 24,
run_end = 49,
hurt_start = 85,
hurt_end = 115,
death_start = 117,
death_end = 145,
shoot_start = 50,
shoot_end = 82,
},
water_damage = 1,
lava_damage = 5,
light_damage = 0,
view_range = 16,
fear_height = 5,
--[[
on_rightclick = function(self, clicker)
local inv
inv = minetest.get_inventory({type="detached", name="trading_inv"})
if not inv then
inv = minetest.create_detached_inventory("trading_inv", {
allow_take = function(inv, listname, index, stack, player)
if listname == "output" then
inv:remove_item("input", inv:get_stack("wanted", 1))
minetest.sound_play("Villageraccept", {to_player = player:get_player_name()})
end
if listname == "input" or listname == "output" then
--return 1000
return 0
else
return 0
end
end,
allow_put = function(inv, listname, index, stack, player)
if listname == "input" then
return 1000
else
return 0
end
end,
on_put = function(inv, listname, index, stack, player)
if inv:contains_item("input", inv:get_stack("wanted", 1)) then
inv:set_stack("output", 1, inv:get_stack("offered", 1))
minetest.sound_play("Villageraccept", {to_player = player:get_player_name()})
else
inv:set_stack("output", 1, ItemStack(""))
minetest.sound_play("Villagerdeny", {to_player = player:get_player_name()})
end
end,
on_move = function(inv, from_list, from_index, to_list, to_index, count, player)
if inv:contains_item("input", inv:get_stack("wanted", 1)) then
inv:set_stack("output", 1, inv:get_stack("offered", 1))
minetest.sound_play("Villageraccept", {to_player = player:get_player_name()})
else
inv:set_stack("output", 1, ItemStack(""))
minetest.sound_play("Villagerdeny", {to_player = player:get_player_name()})
end
end,
on_take = function(inv, listname, index, stack, player)
if inv:contains_item("input", inv:get_stack("wanted", 1)) then
inv:set_stack("output", 1, inv:get_stack("offered", 1))
minetest.sound_play("Villageraccept", {to_player = player:get_player_name()})
else
inv:set_stack("output", 1, ItemStack(""))
minetest.sound_play("Villagerdeny", {to_player = player:get_player_name()})
end
end,
})
end
inv:set_size("input", 1)
inv:set_size("output", 1)
inv:set_size("wanted", 1)
inv:set_size("offered", 1)
local trades = {
{"default:apple 12", "default:clay_lump 1"},
{"default:coal_lump 20", "default:clay_lump 1"},
{"default:paper 30", "default:clay_lump 1"},
{"mobs:leather 10", "default:clay_lump 1"},
{"default:book 2", "default:clay_lump 1"},
{"default:clay_lump 3", "default:clay_lump 1"},
{"farming:potato 15", "default:clay_lump 1"},
{"farming:wheat 20", "default:clay_lump 1"},
{"farming:carrot 15", "default:clay_lump 1"},
{"farming:melon_8 8", "default:clay_lump 1"},
{"mobs:rotten_flesh 40", "default:clay_lump 1"},
{"default:gold_ingot 10", "default:clay_lump 1"},
{"farming:cotton 10", "default:clay_lump 1"},
{"wool:white 15", "default:clay_lump 1"},
{"farming:pumpkin 8", "default:clay_lump 1"},
{"default:clay_lump 1", "mobs:beef_cooked 5"},
{"default:clay_lump 1", "mobs:chicken_cooked 7"},
{"default:clay_lump 1", "farming:cookie 6"},
{"default:clay_lump 1", "farming:pumpkin_bread 3"},
{"default:clay_lump 1", "mobs:arrow 10"},
{"default:clay_lump 3", "mobs:bow_wood 1"},
{"default:clay_lump 8", "fishing:pole_wood 1"},
--{"default:clay_lump 4", "potionspack:healthii 1"},
{"default:clay_lump 1", "cake:cake 1"},
{"default:clay_lump 10", "mobs:saddle 1"},
{"default:clay_lump 10", "clock:1 1"},
{"default:clay_lumpd 10", "compass:0 1"},
{"default:clay_lump 1", "default:glass 5"},
{"default:clay_lump 1", "nether:glowstone 3"},
{"default:clay_lump 3", "mobs:shears 1"},
{"default:clay_lump 10", "default:sword_diamond 1"},
{"default:clay_lump 20", "3d_armor:chestplate_diamond 1"},
}
local tradenum = math.random(#trades)
inv:set_stack("wanted", 1, ItemStack(trades[tradenum][1]))
inv:set_stack("offered", 1, ItemStack(trades[tradenum][2]))
local formspec =
"size[9,8.75]"..
"background[-0.19,-0.25;9.41,9.49;trading_formspec_bg.png]"..
"bgcolor[#080808BB;true]"..
"listcolors[#9990;#FFF7;#FFF0;#160816;#D4D2FF]"..
"list[current_player;main;0,4.5;9,3;9]"..
"list[current_player;main;0,7.74;9,1;]"
.."list[detached:trading_inv;wanted;2,1;1,1;]"
.."list[detached:trading_inv;offered;5.75,1;1,1;]"
.."list[detached:trading_inv;input;2,2.5;1,1;]"
.."list[detached:trading_inv;output;5.75,2.5;1,1;]"
minetest.sound_play("Villagertrade", {to_player = clicker:get_player_name()})
minetest.show_formspec(clicker:get_player_name(), "tradespec", formspec)
end,
]]
})
-- compatibility
mobs:alias_mob("mobs:villager", "mobs_mc:villager")
-- spawn eggs
mobs:register_egg("mobs_mc:villager", "Villager", "spawn_egg_villager.png")
if minetest.settings:get_bool("log_mods") then
minetest.log("action", "MC mobs loaded")
end