Add files via upload

This commit is contained in:
Skandarella 2023-01-21 16:53:31 +01:00 committed by GitHub
parent 8806174aa8
commit ef6b1a657f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 725 additions and 240 deletions

View File

@ -1,5 +1,7 @@
local S = minetest.get_translator("nativevillages")
minetest.register_node("nativevillages:sledge", {
description = "Sledge",
description = S"Sledge",
visual_scale = 1,
mesh = "Sledge.b3d",
tiles = {"texturesledge.png"},
@ -32,7 +34,7 @@ minetest.register_craft({
})
minetest.register_node("nativevillages:blanket", {
description = "Blanket",
description = S"Blanket",
visual_scale = 1,
mesh = "Blanket.b3d",
tiles = {"textureblanket.png"},

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
mobs:register_mob("nativevillages:icedog", {
stepheight = 1,
type = "animal",
@ -31,6 +33,7 @@ mobs:register_mob("nativevillages:icedog", {
jump = true,
jump_height = 3,
pushable = true,
stay_near = {{"people:dogfoodsack", "mobs:meatblock"}, 5},
follow = {"mobs:meat_raw", "people:dogfood", "people:dogfood_cooked"},
view_range = 6,
drops = {
@ -50,10 +53,9 @@ mobs:register_mob("nativevillages:icedog", {
walk_end = 300,
punch_start = 300,
punch_end = 400,
die_start = 1, -- we dont have a specific death animation so we will
die_end = 2, -- re-use 2 standing frames at a speed of 1 fps and
die_speed = 1, -- have mob rotate when dying.
die_start = 300,
die_end = 400,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
@ -61,7 +63,7 @@ mobs:register_mob("nativevillages:icedog", {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 0, 5, 50, false, nil) then return end
if mobs:capture_mob(self, clicker, 15, 25, 0, false, nil) then return end
end,
})
@ -80,7 +82,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:icedog", ("Ice Dog"), "aicedog.png")
mobs:register_egg("nativevillages:icedog", S("Ice Dog"), "aicedog.png")
mobs:alias_mob("nativevillages:icedog", "nativevillages:icedog") -- compatibility
@ -127,7 +129,7 @@ sounds = {
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:sledge",
stay_near = {{"nativevillages:sledge"}, 4},
view_range = 15,
owner = "",
order = "follow",
@ -141,6 +143,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -149,7 +156,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 25, 0, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -175,7 +182,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Trader dropped you an item for steel!"))
minetest.chat_send_player(name, S("Trader dropped you an item for steel!"))
return
end
@ -191,11 +198,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("NPC stands still."))
minetest.chat_send_player(name, S("NPC stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("NPC will follow you."))
minetest.chat_send_player(name, S("NPC will follow you."))
end
end
end,
@ -215,7 +222,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:icesledgetrader", ("Sledge Trader"), "aicesledgetrader.png")
mobs:register_egg("nativevillages:icesledgetrader", S("Sledge Trader"), "aicesledgetrader.png")
mobs.icevillagerfemale_drops = {
"mobs:meat", "mobs:leather", "wool:brown", "wool:white"
@ -262,7 +269,7 @@ sounds = {
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:blanket",
stay_near = {{"nativevillages:blanket"}, 5},
view_range = 15,
owner = "",
order = "follow",
@ -276,6 +283,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -284,7 +296,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -310,7 +322,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Icelander dropped you an item for iron!"))
minetest.chat_send_player(name, S("Icelander dropped you an item for iron!"))
return
end
@ -326,7 +338,7 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Icelander stands still."))
minetest.chat_send_player(name, S("Icelander stands still."))
else
self.order = "follow"
@ -350,7 +362,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:icevillagerfemale", ("Female Icelander"), "aicevillagerfemale.png")
mobs:register_egg("nativevillages:icevillagerfemale", S("Female Icelander"), "aicevillagerfemale.png")
mobs.icevillagermale_drops = {
"mobs:meat", "mobs:leather", "wool:brown", "wool:white"
@ -397,7 +409,7 @@ sounds = {
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:blanket",
stay_near = {{"nativevillages:blanket"}, 5},
view_range = 15,
owner = "",
order = "follow",
@ -411,6 +423,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -419,7 +436,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -445,7 +462,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Icelander dropped you an item for iron!"))
minetest.chat_send_player(name, S("Icelander dropped you an item for iron!"))
return
end
@ -461,11 +478,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Icelander stands still."))
minetest.chat_send_player(name, S("Icelander stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Icelander will follow you."))
minetest.chat_send_player(name, S("Icelander will follow you."))
end
end
end,
@ -485,7 +502,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:icevillagermale", ("Male Icelander"), "aicevillagermale.png")
mobs:register_egg("nativevillages:icevillagermale", S("Male Icelander"), "aicevillagermale.png")
-- Load support for intllib.
@ -526,6 +543,11 @@ mobs:register_mob("nativevillages:sledgewithdog", {
walk_end = 200,
run_start = 100,
run_end = 200,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
textures = {
{"texturesledgewithdog.png"},
@ -705,7 +727,7 @@ mobs:register_mob("nativevillages:sledgewithdog", {
end
-- used to capture horse with magic lasso
mobs:capture_mob(self, clicker, 0, 0, 80, false, nil)
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
end,
})

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
mobs:register_mob("nativevillages:tamecatfish", {
stepheight = 1,
type = "animal",
@ -33,9 +35,10 @@ mobs:register_mob("nativevillages:tamecatfish", {
jump = true,
jump_height = 0,
pushable = true,
stay_near = {{"marinara:sand_with_alage", "marinara:sand_with_seagrass", "default:sand_with_kelp", "marinara:sand_with_kelp", "marinara:reed_root", "flowers:waterlily_waving", "naturalbiomes:waterlily", "default:clay"}, 5},
follow = {
"ethereal:worm", "seaweed", "fishing:bait_worm",
"default:grass", "farming:cucumber", "farming:cabbage", "animalworld:ant", "animalworld:termite", "animalworld:fishfood"
"default:grass", "farming:cucumber", "farming:cabbage", "animalworld:ant", "animalworld:termite", "animalworld:fishfood", "animalworld:cockroach", "bees:frame_full", "animalworld:fishfood", "animalworld:ant", "animalworld:termite", "animalworld:bugice", "animalworld:termitequeen", "animalworld:notoptera", "animalworld:anteggs_raw", "group:grass", "group:normal_grass"
},
view_range = 6,
drops = {
@ -54,11 +57,9 @@ mobs:register_mob("nativevillages:tamecatfish", {
fly_end = 100,
fly2_start = 100,
fly2_end = 200,
die_start = 1, -- we dont have a specific death animation so we will
die_end = 2, -- re-use 2 standing frames at a speed of 1 fps and
die_speed = 1, -- have mob rotate when dying.
die_start = 0,
die_end = 100,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
@ -66,13 +67,13 @@ mobs:register_mob("nativevillages:tamecatfish", {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 0, 5, 50, false, nil) then return end
if mobs:capture_mob(self, clicker, 15, 25, 0, false, nil) then return end
end,
})
mobs:register_egg("nativevillages:tamecatfish", ("Domesticated Catfish"), "alakecatfish.png")
mobs:register_egg("nativevillages:tamecatfish", S("Domesticated Catfish"), "alakecatfish.png")
mobs:alias_mob("nativevillages:tamecatfish", "nativevillages:tamecatfish") -- compatibility
@ -80,7 +81,7 @@ mobs:alias_mob("nativevillages:tamecatfish", "nativevillages:tamecatfish") -- co
-- raw catfish
minetest.register_craftitem(":nativevillages:catfish_raw", {
description = ("Raw Catfish"),
description = S("Raw Catfish"),
inventory_image = "nativevillages_catfish_raw.png",
on_use = minetest.item_eat(4),
groups = {food_meat_raw = 1, flammable = 2},
@ -88,7 +89,7 @@ minetest.register_craftitem(":nativevillages:catfish_raw", {
-- cooked catfish
minetest.register_craftitem(":nativevillages:catfish_cooked", {
description = ("Cooked Catfish"),
description = S("Cooked Catfish"),
inventory_image = "nativevillages_catfish_cooked.png",
on_use = minetest.item_eat(8),
groups = {food_meat = 1, flammable = 2},
@ -137,6 +138,7 @@ mobs:register_mob("nativevillages:zombietame", {
jump = true,
drops = {
},
stay_near = {{"nativevillages:cannibalshrine", "nativevillages:driedpeople"}, 5},
water_damage = 0,
lava_damage = 2,
light_damage = 0,
@ -156,6 +158,11 @@ mobs:register_mob("nativevillages:zombietame", {
walk2_end = 300,
punch_start = 0,
punch_end = 100,
die_start = 0,
die_end = 100,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -164,7 +171,7 @@ mobs:register_mob("nativevillages:zombietame", {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 15, 25, 0, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -216,6 +223,10 @@ mobs:register_mob("nativevillages:domesticcow", {
{"texturegrasslandcow.png"},
{"texturegrasslandcow2.png"},
{"texturegrasslandcow3.png"},
{"texturegrasslandcow4.png"},
{"texturegrasslandcow5.png"},
{"texturegrasslandcow6.png"},
{"texturegrasslandcow7.png"},
},
makes_footstep_sound = true,
sounds = {
@ -225,9 +236,13 @@ mobs:register_mob("nativevillages:domesticcow", {
},
walk_velocity = 1,
run_velocity = 2,
jump = true,
jump = false,
jump_height = 6,
stay_near = {{"people:feeder", "marinara:reed_bundle", "naturalbiomes:reed_bundle", "farming:straw"}, 5},
stepheight = 1,
fear_height = 2,
pushable = true,
knock_back = false,
drops = {
{name = "mobs:meat_raw", chance = 1, min = 1, max = 3},
{name = "mobs:leather", chance = 1, min = 0, max = 2},
@ -245,17 +260,15 @@ mobs:register_mob("nativevillages:domesticcow", {
walk_end = 300,
punch_start = 300,
punch_end = 400,
die_start = 1, -- we dont have a specific death animation so we will
die_end = 2, -- re-use 2 standing frames at a speed of 1 fps and
die_speed = 1, -- have mob rotate when dying.
die_start = 300,
die_end = 400,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
follow = {
"farming:wheat", "default:grass_1", "farming:barley",
"farming:oat", "farming:rye", "farming:carrot", "farming:beans", "farming:lettuce"
"farming:oat", "farming:rye", "farming:carrot", "farming:beans", "farming:lettuce", "default:dry_grass_1", "default:dry_grass_2", "default:dry_grass_3", "default:grass_1", "default:grass_2", "default:grass_3", "default:grass_4", "default:grass_5", "default:marram_grass_1", "default:marram_grass_2", "default:marram_grass_3", "default:coldsteppe_grass_1", "default:coldsteppe_grass_2", "default:coldsteppe_grass_3", "default:coldsteppe_grass_4", "default:coldsteppe_grass_5", "default:coldsteppe_grass_6", "naturalbiomes:savanna_grass1", "naturalbiomes:savanna_grass2", "naturalbiomes:savanna_grass3", "naturalbiomes:outback_grass1", "naturalbiomes:outback_grass2", "naturalbiomes:outback_grass3", "naturalbiomes:outback_grass4", "naturalbiomes:outback_grass5", "naturalbiomes:outback_grass6", "naturalbiomes:med_grass1", "naturalbiomes:med_grass2", "naturalbiomes:heath_grass1", "naturalbiomes:heath_grass2", "naturalbiomes:heath_grass3", "naturalbiomes:alpine_grass1", "naturalbiomes:alpine_grass2", "naturalbiomes:heath_grass2", "naturalbiomes:heath_grass3", "naturalbiomes:", "naturalbiomes:", "naturalbiomes:bushland_grass", "naturalbiomes:bushland_grass2", "naturalbiomes:bushland_grass3", "naturalbiomes:bushland_grass4", "naturalbiomes:bushland_grass5", "naturalbiomes:bushland_grass6", "naturalbiomes:bushland_grass7", "group:grass", "group:normal_grass"
},
view_range = 8,
replace_rate = 10,
@ -279,7 +292,7 @@ mobs:register_mob("nativevillages:domesticcow", {
end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 0, 5, 60, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 0, 25, false, nil) then return end
local tool = clicker:get_wielded_item()
local name = clicker:get_player_name()
@ -294,7 +307,7 @@ mobs:register_mob("nativevillages:domesticcow", {
if self.gotten == true then
minetest.chat_send_player(name,
("Cow already milked!"))
S("Cow already milked!"))
return
end
@ -331,7 +344,7 @@ mobs:register_mob("nativevillages:domesticcow", {
mobs:register_egg("nativevillages:domesticcow", ("Domesticated Cow"), "agrasslandcow.png")
mobs:register_egg("nativevillages:domesticcow", S("Domesticated Cow"), "agrasslandcow.png")
mobs:alias_mob("nativevillages:domesticcow", "nativevillages:domesticcow") -- compatibility
@ -339,7 +352,7 @@ mobs:alias_mob("nativevillages:domesticcow", "nativevillages:domesticcow") -- co
-- bucket of milk
minetest.register_craftitem(":nativevillages:bucket_milk", {
description = ("Bucket of Milk"),
description = S("Bucket of Milk"),
inventory_image = "nativevillages_bucket_milk.png",
stack_max = 1,
on_use = minetest.item_eat(8, "bucket:bucket_empty"),
@ -348,7 +361,7 @@ minetest.register_craftitem(":nativevillages:bucket_milk", {
-- glass of milk
minetest.register_craftitem(":mobs:glass_milk", {
description = ("Glass of Milk"),
description = S("Glass of Milk"),
inventory_image = "mobs_glass_milk.png",
on_use = minetest.item_eat(2, "vessels:drinking_glass"),
groups = {food_milk_glass = 1, flammable = 3, vessel = 1, drink = 1},
@ -381,7 +394,7 @@ minetest.register_craft({
-- butter
minetest.register_craftitem(":nativevillages:butter", {
description = ("Butter"),
description = S("Butter"),
inventory_image = "nativevillages_butter.png",
on_use = minetest.item_eat(1),
groups = {food_butter = 1, flammable = 2},
@ -405,7 +418,7 @@ end
-- cheese wedge
minetest.register_craftitem(":nativevillages:cheese", {
description = ("Mozzarella Cheese"),
description = S("Mozzarella Cheese"),
inventory_image = "nativevillages_cheese.png",
on_use = minetest.item_eat(4),
groups = {food_cheese = 1, flammable = 2},
@ -421,7 +434,7 @@ minetest.register_craft({
-- cheese block
minetest.register_node(":nativevillages:cheeseblock", {
description = ("Mozzarella Cheese Block"),
description = S("Mozzarella Cheese Block"),
tiles = {"nativevillages_cheeseblock.png"},
is_ground_content = false,
groups = {crumbly = 3},
@ -483,6 +496,7 @@ stepheight = 1,
drops = {
{name = "nativevillages:chicken_raw", chance = 1, min = 1, max = 1},
},
stay_near = {{"people:feeder", "marinara:reed_bundle", "naturalbiomes:reed_bundle", "farming:straw"}, 5},
water_damage = 1,
lava_damage = 5,
light_damage = 0,
@ -495,11 +509,15 @@ stepheight = 1,
stand2_end = 200,
walk_start = 200,
walk_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
follow = {
"farming:seed_wheat", "farming:seed_cotton", "farming:seed_barley",
"farming:seed_oat", "farming:seed_rye"
"farming:seed_oat", "farming:seed_rye", "animalworld:cockroach", "bees:frame_full", "animalworld:fishfood", "animalworld:ant", "animalworld:termite", "animalworld:bugice", "animalworld:termitequeen", "animalworld:notoptera", "animalworld:anteggs_raw", "farming:corn_cob", "farming:seed_hemp", "farming:seed_barley", "farming:seed_oat", "farming:seed_cotton", "farming:seed_sunflower", "farming:seed_wheat", "farming:seed_rye", "naturalbiomes:coconut_slice", "naturalbiomes:hazelnut_cracked", "farming:sunflower_seeds_toasted", "livingfloatlands:roasted_pine_nuts", "livingfloatlands:coldsteppe_pine3_pinecone", "livingfloatlands:coldsteppe_pine_pinecone", "livingfloatlands:coldsteppe_pine2_pinecone"
},
view_range = 10,
@ -507,7 +525,7 @@ stepheight = 1,
if mobs:feed_tame(self, clicker, 8, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 30, 50, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 15, 25, 0, false, nil) then return end
end,
do_custom = function(self, dtime)
@ -536,7 +554,7 @@ stepheight = 1,
})
mobs:register_egg("nativevillages:desertchickentame", ("Domesticated Desert Chicken"), "adesertchicken.png", 0)
mobs:register_egg("nativevillages:desertchickentame", S("Domesticated Desert Chicken"), "adesertchicken.png", 0)
local S = mobs.intllib
@ -571,6 +589,9 @@ mobs:register_mob("nativevillages:maleliontame", {
walk_velocity = 2,
run_velocity = 3,
jump = true,
stepheight = 2,
fear_height = 3,
stay_near = {{"nativevillages:savannacorpse", "mobs:meatblock"}, 5},
drops = {
},
water_damage = 0,
@ -578,7 +599,7 @@ mobs:register_mob("nativevillages:maleliontame", {
light_damage = 0,
follow = {
"ethereal:fish_raw", "animalworld:rawfish", "mobs_fish:tropical",
"mobs:meat_raw", "animalworld:rabbit_raw", "animalworld:pork_raw", "water_life:meat_raw", "animalworld:chicken_raw", "nativevillages:chicken_raw"
"mobs:meat_raw", "animalworld:rabbit_raw", "animalworld:pork_raw", "water_life:meat_raw", "animalworld:chicken_raw", "nativevillages:chicken_raw", "mobs:meatblock_raw", "animalworld:chicken_raw", "livingfloatlands:ornithischiaraw", "livingfloatlands:largemammalraw", "livingfloatlands:theropodraw", "livingfloatlands:sauropodraw", "animalworld:raw_athropod", "animalworld:whalemeat_raw", "animalworld:rabbit_raw", "nativevillages:chicken_raw", "mobs:meat_raw", "animalworld:pork_raw", "people:mutton:raw"
},
view_range = 15,
owner = "",
@ -595,15 +616,19 @@ speed_normal = 75,
punch_speed = 100,
punch_start = 300,
punch_end = 400,
die_start = 300,
die_end = 400,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
-- feed to heal npc
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -672,12 +697,15 @@ mobs:register_mob("nativevillages:femaleliontame", {
jump = true,
drops = {
},
stay_near = {{"nativevillages:savannacorpse", "mobs:meatblock"}, 5},
water_damage = 0,
lava_damage = 2,
light_damage = 0,
stepheight = 2,
fear_height = 3,
follow = {
"ethereal:fish_raw", "animalworld:rawfish", "mobs_fish:tropical",
"mobs:meat_raw", "animalworld:rabbit_raw", "animalworld:pork_raw", "water_life:meat_raw", "animalworld:chicken_raw", "nativevillages:chicken_raw"
"mobs:meat_raw", "animalworld:rabbit_raw", "animalworld:pork_raw", "water_life:meat_raw", "animalworld:chicken_raw", "nativevillages:chicken_raw", "mobs:meatblock_raw", "animalworld:chicken_raw", "livingfloatlands:ornithischiaraw", "livingfloatlands:largemammalraw", "livingfloatlands:theropodraw", "livingfloatlands:sauropodraw", "animalworld:raw_athropod", "animalworld:whalemeat_raw", "animalworld:rabbit_raw", "nativevillages:chicken_raw", "mobs:meat_raw", "animalworld:pork_raw", "people:mutton:raw"
},
view_range = 15,
owner = "",
@ -694,6 +722,11 @@ speed_normal = 75,
punch_speed = 100,
punch_start = 300,
punch_end = 400,
die_start = 300,
die_end = 400,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -702,7 +735,7 @@ speed_normal = 75,
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -763,11 +796,9 @@ mobs:register_mob("nativevillages:grasslandcat", {
walk_end = 400,
punch_start = 400,
punch_end = 500,
die_start = 1, -- we dont have a specific death animation so we will
die_end = 2, -- re-use 2 standing frames at a speed of 1 fps and
die_speed = 1, -- have mob rotate when dying.
die_start = 400,
die_end = 500,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
@ -783,6 +814,7 @@ mobs:register_mob("nativevillages:grasslandcat", {
runaway = false,
jump = true,
jump_height = 8,
stay_near = {{"people:villagerbed", "mobs:meatblock", "animalworld:blackbirdpillow", "animalworld:hyenapillow", "animalworld:monitorstool", "animalworld:owltrophy", "animalworld:vulturepillow", "animalworld:snowleopardpillow", "animalworld:tigerpillow", "animalworld:tigerstool", "chair"}, 5},
fly = false,
walk_velocity = 2,
walk_chance = 15,
@ -813,11 +845,11 @@ mobs:register_mob("nativevillages:grasslandcat", {
distance = 10,
},
follow = {"ethereal:fish_raw", "animalworld:rawfish", "mobs_fish:tropical",
"mobs:meat_raw", "animalworld:rabbit_raw", "xocean:fish_edible", "fishing:fish_raw", "water_life:meat_raw", "fishing:carp_raw", "animalworld:chicken_raw", "nativevillages:chicken_raw", "nativevillages:chicken_cooked", "nativevillages:catfish_raw", "nativevillages:catfish_cooked"},
"mobs:meat_raw", "animalworld:rabbit_raw", "xocean:fish_edible", "fishing:fish_raw", "water_life:meat_raw", "fishing:carp_raw", "animalworld:chicken_raw", "nativevillages:chicken_raw", "nativevillages:chicken_cooked", "nativevillages:catfish_raw", "nativevillages:catfish_cooked", "fishing:fish_cooked", "marinaramobs:cooked_exotic_fish", "animalworld:cookedfish", "marinara:mussels", "nativevillages:catfish_cooked", "fishing:pike_cooked", "animalworld:cooked_athropod", "livingfloatlands:theropodcooked", "mobs:meatblock", "animalworld:whelaemeat_cooked", "animalworld:rat_cooked", "mobs:meat", "animalworld:chicken_cooked", "livingfloatlands:sauropodcooked", "livingfloatlands:ornithischiacooked", "nativevillages:driedhumanmeat", "livingfloatlands:largemammalcooked", "pie:meat"},
on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 6, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 30, 50, 100, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 25, 0, false, nil) then return end
if clicker:get_wielded_item():is_empty() and clicker:get_player_name() == self.owner then
if clicker:get_player_control().sneak then
@ -843,5 +875,5 @@ mobs:register_mob("nativevillages:grasslandcat", {
end
})
mobs:register_egg("nativevillages:grasslandcat", "Cat", "agrasslandcat.png")
mobs:register_egg("nativevillages:grasslandcat", S"Cat", "agrasslandcat.png")

View File

@ -1,5 +1,7 @@
local S = minetest.get_translator("nativevillages")
minetest.register_node("nativevillages:driedpeople", {
description = "Dried Human Remains",
description = S"Dried Human Remains",
tiles = {
"nativevillages_driedpeople_top.png",
"nativevillages_driedpeople_bottom.png",
@ -24,7 +26,7 @@ minetest.register_craft({
minetest.register_craftitem(":nativevillages:driedhumanmeat", {
description = ("Dried Human Meat"),
description = S("Dried Human Meat"),
inventory_image = "nativevillages_driedhumanmeat.png",
on_use = minetest.item_eat(2),
groups = {mushroom = 1, snappy = 3, attached_node = 1, flammable = 1},
@ -32,7 +34,7 @@ minetest.register_craftitem(":nativevillages:driedhumanmeat", {
minetest.register_node("nativevillages:cannibalshrine", {
description = "Cannibal Shrine",
description = S"Cannibal Shrine",
visual_scale = 1,
mesh = "Cannibalshrine.b3d",
tiles = {"texturecannibalshrine.png"},
@ -40,6 +42,7 @@ minetest.register_node("nativevillages:cannibalshrine", {
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy = 3},
walkable = false,
drawtype = "mesh",
collision_box = {
type = "fixed",

View File

@ -1,5 +1,7 @@
local S = minetest.get_translator("nativevillages")
minetest.register_node("nativevillages:hookah", {
description = "Hookah",
description = S"Hookah",
visual_scale = 1,
mesh = "Hookah.b3d",
tiles = {"texturehookah.png"},
@ -32,7 +34,7 @@ minetest.register_craft({
})
minetest.register_node("nativevillages:desertcrpet", {
description = "Desert Carpet",
description = S"Desert Carpet",
visual_scale = 1,
mesh = "Desertcarpet.b3d",
tiles = {"texturedesertcarpet.png"},
@ -65,7 +67,7 @@ minetest.register_craft({
})
minetest.register_node("nativevillages:desertcage", {
description = "Slave Bracelet",
description = S"Slave Bracelet",
visual_scale = 1,
mesh = "Desertcage.b3d",
tiles = {"texturedesertcage.png"},
@ -73,6 +75,7 @@ minetest.register_node("nativevillages:desertcage", {
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy = 3},
walkable = false,
drawtype = "mesh",
collision_box = {
type = "fixed",
@ -98,7 +101,7 @@ minetest.register_craft({
})
minetest.register_node("nativevillages:desertseeds", {
description = "Desert Seeds",
description = S"Desert Seeds",
visual_scale = 1,
mesh = "Desertseeds.b3d",
tiles = {"texturedesertseeds.png"},

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
minetest.register_decoration({
name = "nativevillages:deserthouse1",
deco_type = "schematic",

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
mobs.desertvillagermale_drops = {
"farming:salt"
}
@ -37,19 +39,19 @@ sounds = {
walk_chance = 15,
run_velocity = 3,
jump = true,
stay_near = {{"nativevillages:hookah", "nativevillages:desertcrpet"}, 5},
drops = {
},
water_damage = 0,
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:desertcrpet",
view_range = 15,
owner = "",
order = "follow",
fear_height = 3,
animation = {
speed_normal = 50,
speed_normal = 75,
stand_start = 0,
stand_end = 100,
walk_start = 100,
@ -57,6 +59,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -65,7 +72,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -91,7 +98,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Desert Villager dropped you an item for a stick!"))
minetest.chat_send_player(name, S("Desert Villager dropped you an item for a stick!"))
return
end
@ -107,11 +114,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Desert Villager stands still."))
minetest.chat_send_player(name, S("Desert Villager stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Desert Villager will follow you."))
minetest.chat_send_player(name, S("Desert Villager will follow you."))
end
end
end,
@ -131,7 +138,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:desertvillagermale", ("Male Desert Villager"), "adesertvillagermale.png")
mobs:register_egg("nativevillages:desertvillagermale", S("Male Desert Villager"), "adesertvillagermale.png")
mobs.desertvillagerfemale_drops = {
"farming:salt"
@ -174,19 +181,19 @@ sounds = {
walk_chance = 15,
run_velocity = 3,
jump = true,
stay_near = {{"nativevillages:hookah", "nativevillages:desertcrpet"}, 5},
drops = {
},
water_damage = 0,
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:desertcrpet",
view_range = 15,
owner = "",
order = "follow",
fear_height = 3,
animation = {
speed_normal = 50,
speed_normal = 75,
stand_start = 0,
stand_end = 100,
walk_start = 100,
@ -194,6 +201,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -202,7 +214,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -228,7 +240,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Desert Villager dropped you an item for a stick!"))
minetest.chat_send_player(name, S("Desert Villager dropped you an item for a stick!"))
return
end
@ -244,11 +256,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Desert Villager stands still."))
minetest.chat_send_player(name, S("Desert Villager stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Desert will follow you."))
minetest.chat_send_player(name, S("Desert will follow you."))
end
end
end,
@ -268,7 +280,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:desertvillagerfemale", ("Female Desert Villager"), "adesertvillagerfemale.png")
mobs:register_egg("nativevillages:desertvillagerfemale", S("Female Desert Villager"), "adesertvillagerfemale.png")
mobs.desertslavetrader_drops = {
"nativevillages:slavechickenbreeder", "nativevillages:slavecowherder", "nativevillages:slaveliontrainer",
@ -313,13 +325,13 @@ sounds = {
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:desertcage",
view_range = 15,
stay_near = {{"nativevillages:desertcage"}, 4},
owner = "",
order = "follow",
fear_height = 3,
animation = {
speed_normal = 50,
speed_normal = 75,
stand_start = 0,
stand_end = 100,
walk_start = 100,
@ -327,6 +339,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -335,7 +352,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -361,7 +378,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Slave delivered!"))
minetest.chat_send_player(name, S("Slave delivered!"))
return
end
@ -377,11 +394,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Slavetrader stands still."))
minetest.chat_send_player(name, S("Slavetrader stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Slavetrader will follow you."))
minetest.chat_send_player(name, S("Slavetrader will follow you."))
end
end
end,
@ -401,7 +418,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:desertslavetrader", ("Slave Trader"), "adesertslavetrader.png")
mobs:register_egg("nativevillages:desertslavetrader", S("Slave Trader"), "adesertslavetrader.png")
mobs:register_mob("nativevillages:desertranger", {
type = "monster",
@ -445,7 +462,6 @@ sounds = {
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:hookah",
view_range = 15,
owner = "",
order = "follow",
@ -459,12 +475,17 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 8, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 0, 5, 50, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
end,
})
@ -482,7 +503,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:desertranger", ("Desert Ranger"), "adesertranger.png")
mobs:register_egg("nativevillages:desertranger", S("Desert Ranger"), "adesertranger.png")
mobs:register_mob("nativevillages:desertraider", {
@ -525,7 +546,6 @@ sounds = {
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:hookah",
view_range = 15,
owner = "",
order = "follow",
@ -539,12 +559,17 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 8, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 0, 5, 50, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
end,
})
@ -562,7 +587,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:desertraider", ("Desert Raider"), "adesertraider.png")
mobs:register_egg("nativevillages:desertraider", S("Desert Raider"), "adesertraider.png")
mobs:register_mob("nativevillages:desertchicken", {
stepheight = 1,
@ -595,6 +620,7 @@ stepheight = 1,
},
walk_velocity = 1,
run_velocity = 3,
stay_near = {{"nativevillages:desertseeds"}, 4},
runaway = true,
runaway_from = {"animalworld:bear", "animalworld:crocodile", "animalworld:tiger", "animalworld:spider", "animalworld:spidermale", "animalworld:shark", "animalworld:hyena", "animalworld:kobra", "animalworld:monitor", "animalworld:snowleopard", "animalworld:volverine", "livingfloatlands:deinotherium", "livingfloatlands:carnotaurus", "livingfloatlands:lycaenops", "livingfloatlands:smilodon", "livingfloatlands:tyrannosaurus", "livingfloatlands:velociraptor", "animalworld:divingbeetle", "animalworld:scorpion"},
drops = {
@ -611,7 +637,11 @@ stepheight = 1,
stand2_end = 200,
walk_start = 200,
walk_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
follow = {},
view_range = 10,
@ -620,7 +650,7 @@ stepheight = 1,
if mobs:feed_tame(self, clicker, 8, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 30, 50, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 15, 25, 0, false, nil) then return end
end,
do_custom = function(self, dtime)
@ -664,7 +694,7 @@ mobs:spawn({
end
mobs:register_egg("nativevillages:desertchicken", ("Desert Chicken"), "adesertchicken.png", 0)
mobs:register_egg("nativevillages:desertchicken", S("Desert Chicken"), "adesertchicken.png", 0)
@ -785,7 +815,7 @@ end
-- egg
minetest.register_node(":nativevillages:egg", {
description = ("Bird Egg"),
description = S("Bird Egg"),
tiles = {"mobs_chicken_egg.png"},
inventory_image = "mobs_chicken_egg.png",
visual_scale = 0.7,
@ -811,7 +841,7 @@ minetest.register_node(":nativevillages:egg", {
-- fried egg
minetest.register_craftitem(":nativevillages:chicken_egg_fried", {
description = ("Fried Desert Chicken Egg"),
description = S("Fried Desert Chicken Egg"),
inventory_image = "nativevillages_chicken_egg_fried.png",
on_use = minetest.item_eat(2),
groups = {food_egg_fried = 1, flammable = 2},
@ -825,7 +855,7 @@ minetest.register_craft({
-- raw chicken
minetest.register_craftitem(":nativevillages:chicken_raw", {
description = ("Raw Desert Chicken meat"),
description = S("Raw Desert Chicken meat"),
inventory_image = "nativevillages_chicken_raw.png",
on_use = minetest.item_eat(2),
groups = {food_meat_raw = 1, food_chicken_raw = 1, flammable = 2},
@ -833,7 +863,7 @@ description = ("Raw Desert Chicken meat"),
-- cooked chicken
minetest.register_craftitem(":nativevillages:chicken_cooked", {
description = ("Cooked Desert Chicken"),
description = S("Cooked Desert Chicken"),
inventory_image = "nativevillages_chicken_cooked.png",
on_use = minetest.item_eat(6),
groups = {food_meat = 1, food_chicken = 1, flammable = 2},

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
mobs:register_mob("nativevillages:toad", {
stepheight = 3,
type = "monster",
@ -62,7 +64,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 0, 5, 50, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 25, 0, false, nil) then return end
end,
})
@ -75,9 +77,10 @@ if not mobs.custom_spawn_nativevillages then
mobs:spawn({
name = "nativevillages:toad",
nodes = {"default:dirt_with_grass"}, {"default:dirt_with_rainforest_litter"}, {"default:dry_dirt_with_dry_grass"},
neighbors = {"group:grass", "group:normal_grass"},
min_light = 0,
interval = 60,
chance = 8000, -- 15000
chance = 2000, -- 15000
active_object_count = 1,
min_height = 1,
max_height = 15,
@ -86,7 +89,7 @@ mobs:spawn({
end
mobs:register_egg("nativevillages:toad", ("Toad"), "atoad.png", 0)
mobs:register_egg("nativevillages:toad", S("Toad"), "atoad.png", 0)
mobs:alias_mob("nativevillages:toad", "nativevillages:toad") -- compatibility
@ -179,11 +182,11 @@ on_rightclick = function(self, clicker)
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Exploding Toad stands still."))
minetest.chat_send_player(name, S("Exploding Toad stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Exploding Toad will follow you."))
minetest.chat_send_player(name, S("Exploding Toad will follow you."))
end
end
end,
@ -191,13 +194,13 @@ on_rightclick = function(self, clicker)
mobs:register_egg("nativevillages:toadtamed", ("Tamed Exploding Toad"), "atoad.png", 0)
mobs:register_egg("nativevillages:toadtamed", S("Tamed Exploding Toad"), "atoad.png", 0)
mobs:alias_mob("nativevillages:toadtamed", "nativevillages:toadtamed") -- compatibility
minetest.register_node("nativevillages:toadbag", {
description = "Bag full of toads!",
description = S"Bag full of toads!",
tiles = {
"nativevillages_toadbag_top.png",
"nativevillages_toadbag_bottom.png",

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
minetest.register_node("nativevillages:grasslandaltar", {
description = "Altar",
visual_scale = 1,
@ -32,7 +34,7 @@ minetest.register_craft({
})
minetest.register_node("nativevillages:grasslandbarrel", {
description = "Barrel",
description = S"Barrel",
visual_scale = 1,
mesh = "Grasslandbarrel.b3d",
tiles = {"texturegrasslandbarrel.png"},
@ -65,7 +67,7 @@ minetest.register_craft({
})
minetest.register_node("nativevillages:cowdropping", {
description = "Cow Dropping",
description = S"Cow Dropping",
visual_scale = 1,
mesh = "Cowdropping.b3d",
tiles = {"texturecowdropping.png"},

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
minetest.register_decoration({
name = "nativevillages:grasslandblot",
deco_type = "schematic",

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
mobs:register_mob("nativevillages:grasslandcow", {
stepheight = 1,
type = "animal",
@ -33,6 +35,7 @@ mobs:register_mob("nativevillages:grasslandcow", {
pushable = true,
follow = {},
view_range = 10,
stay_near = {{"nativevillages:cowdropping"}, 5},
drops = {
},
water_damage = 0,
@ -49,10 +52,9 @@ mobs:register_mob("nativevillages:grasslandcow", {
walk_end = 300,
punch_start = 300,
punch_end = 400,
die_start = 1, -- we dont have a specific death animation so we will
die_end = 2, -- re-use 2 standing frames at a speed of 1 fps and
die_speed = 1, -- have mob rotate when dying.
die_start = 300,
die_end = 400,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
@ -79,7 +81,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:grasslandcow", ("Grassland Cow"), "agrasslandcow.png")
mobs:register_egg("nativevillages:grasslandcow", S("Grassland Cow"), "agrasslandcow.png")
mobs:alias_mob("nativevillages:grasslandcow", "nativevillages:grasslandcow") -- compatibility
@ -137,7 +139,7 @@ sounds = {
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:grasslandbarrel",
stay_near = {{"nativevillages:grasslandbarrel"}, 5},
view_range = 15,
owner = "",
order = "follow",
@ -151,6 +153,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -159,7 +166,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -185,7 +192,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Grasslander dropped you an item for bread!"))
minetest.chat_send_player(name, S("Grasslander dropped you an item for bread!"))
return
end
@ -201,11 +208,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Grasslander stands still."))
minetest.chat_send_player(name, S("Grasslander stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Grasslander will follow you."))
minetest.chat_send_player(name, S("Grasslander will follow you."))
end
end
end,
@ -225,7 +232,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:grasslandfemale", ("Female Grasslander"), "agrasslandfemale.png")
mobs:register_egg("nativevillages:grasslandfemale", S("Female Grasslander"), "agrasslandfemale.png")
-- compatibility
mobs:alias_mob("nativevillages:grasslandfemale", "nativevillages:grasslandfemale")
@ -279,7 +286,7 @@ sounds = {
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:grasslandbarrel",
stay_near = {{"nativevillages:grasslandbarrel"}, 5},
view_range = 15,
owner = "",
order = "follow",
@ -293,6 +300,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -301,7 +313,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -327,7 +339,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Grasslander dropped you an item for bread!"))
minetest.chat_send_player(name, S("Grasslander dropped you an item for bread!"))
return
end
@ -343,11 +355,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Grasslander stands still."))
minetest.chat_send_player(name, S("Grasslander stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Grasslander will follow you."))
minetest.chat_send_player(name, S("Grasslander will follow you."))
end
end
end,
@ -367,7 +379,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:grasslandmale", ("Male Grasslander"), "agrasslandmale.png")
mobs:register_egg("nativevillages:grasslandmale", S("Male Grasslander"), "agrasslandmale.png")
-- compatibility
mobs:alias_mob("nativevillages:grasslandmale", "nativevillages:grasslandmale")
@ -422,7 +434,7 @@ sounds = {
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:grasslandaltar",
stay_near = {{"nativevillages:grasslandalta"}, 4},
view_range = 15,
owner = "",
order = "follow",
@ -436,6 +448,11 @@ sounds = {
shoot_speed = 100,
shoot_start = 200,
shoot_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -444,7 +461,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -470,7 +487,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Witch dropped you an item for diamond!"))
minetest.chat_send_player(name, S("Witch dropped you an item for diamond!"))
return
end
@ -486,11 +503,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Witch stands still."))
minetest.chat_send_player(name, S("Witch stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Witch will follow you."))
minetest.chat_send_player(name, S("Witch will follow you."))
end
end
end,
@ -510,7 +527,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:grasslandwitch", ("Grassland Witch"), "agrasslandwitch.png")
mobs:register_egg("nativevillages:grasslandwitch", S("Grassland Witch"), "agrasslandwitch.png")
-- compatibility
mobs:alias_mob("nativevillages:grasslandwitch", "nativevillages:grasslandwitch")

91
guideDE.txt Normal file
View File

@ -0,0 +1,91 @@
People Mod stellt NPCs zur Verfügung, die in Ihr eigenes Dorf integriert werden können, Ihnen folgen und viele Handelsgegenstände bereitstellen.
Native Villages konzentriert sich auf das Ambiente. Die Dorfbewohner dieser Mod(nativevillages) sind in den spezifischen Biomen zu finden,
werden dir nicht folgen und einige sind sogar von Natur aus aggressiv.
Als zusätzliche Herausforderung, ähnlich wie bei Minecraft Creepers, findet ihr nun nachts explodierende Kröten in der Nähe der Küstenregionen
von Dschungel, Savannen und Waldbiomen.
Dieser Leitfaden wird Sie kurz in die Handelsoptionen jedes spezifischen Stammes einführen, der von der Mod bereitgestellt wird.
Alle Trading-Drops sind zufällig (wie in People Mod)
Arktischer/Eisländer Stamm:
Schlittenhändler
Verkauft Eishunde und Hundeschlitten für Stahlbarren.
Eisländer
Verkauft braune und weiße Wolle, Leder und Fleisch für Eisenklumpen.
Schlitten mit Hund
Kann mit Fleisch (Mod Mobs Redo), Hundefutter oder gekochtem Hundefutter gefüttert werden.
Wüsten-Stamm:
Wüstendorfbewohner, Wüstenplünderer und Wüstenwächter sind aggressiv und handeln nicht gerne mit dir.
Sklavenhändler
Verkauft Hühnerzüchterin, Kuhzüchterin, Löwentrainer, Tänzer und Loyale Kannibalen für Goldbarren.
Graslandbewohner Stamm:
Graslandbewohner
Verkauft Milcheimer, Mozzarella-Käse, Eisenklumpen, Kupferklumpen, Zinnklumpen und Fleisch für Brot, Knoblauchbrot und etheral Bananenbrot.
Wiesenhexe
Verkauft Katzen und Säcke mit explodierenden Kröten für Diamanten.
Seebewohner Stamm:
Seebewohner
Verkauft gekochten Wels, Schnüre, Wassereimer, Salz und Perlen für ethereal Bananen, Zucker, Kakao und Bananen (Farming mod).
Angler
Verkauft domestizierten Wels (kann gezüchtet werden) und Perlen für Goldklumpen.
Savannenbewohner Stamm:
Hexendoktor
Verkauft gezähmte Zombies für alle Gräber, die in People Mod gefunden werden.
Savannenkönigin + Savennenkönig
Verkauft Goldblock für Diamant.
Savannenbewohner
Verkauft Kürbis, Vanille, Kartoffeln, Ananas, Paprika, Zwiebeln, Erbsen, Melonen, Gurken und Kaffeebohnen für Perlen.
Diverse Kreaturen:
Domestizierter Wels
Kann mit Wurm, Algen, Gras, Gurken, Kohl, Ameisen, Termiten, Fischfutter gezüchtet werden.
Gezähmter Zombie
Kann mit getrocknetem Menschenfleisch gezüchtet werden (Kann in Dschungel-/Kannibalensiedlungen gefunden werden).
Kuhzüchterin
Verkauft Domestizierte Kühe für verschiedene bäuerliche Gerichte.
Domestizierte Kuh
Kann mit einem Eimer gemolken werden, kann mit Weizen, Gras, Gerste, Hafer, Roggen, Karotten, Bohnen und Salat gezüchtet werden.
Hühnerzüchterin
Verkauft gezähmte Wüstenhühner für verschiedene landwirtschaftliche Gerichte.
Domestiziertes Wüstenhuhn
Kann mit Weizensamen, Baumwollsamen, Gerstensamen, Hafersamen und Roggensamen gezüchtet werden.
Löwentrainer
Verkauft gezähmte Löwen für Goldklumpen.
Gezähmte Löwen
Kann mit vielen Arten von rohem Fleisch und Fisch gefüttert werden.
Katze
Kann mit vielen Arten von rohem Fleisch und Fisch gefüttert werden.
Tänzer
Kann mit verschiedenen bäuerlichen Gerichten gefüttert werden.
Loyaler Kannibale
Kann mit getrocknetem Menschenfleisch gefüttert werden (Kann in Dschungel-/Kannibalensiedlungen gefunden werden).
Es ist sinnlos, Tiere zu töten, die in den Dörfern zu finden sind, sie lassen nichts fallen(Keine Drops) und werden nicht zahm, um Betrug/Farming zu verhindern.

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
minetest.register_decoration({
name = "nativevillages:icehouse1",
deco_type = "schematic",

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
minetest.register_decoration({
name = "nativevillages:junglehouse1",
deco_type = "schematic",

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
mobs:register_mob("nativevillages:cannibalking", {
type = "monster",
passive = false,
@ -31,6 +33,7 @@ sounds = {
jump_height = 2,
stepheight = 2,
fear_height = 3,
stay_near = {{"nativevillages:cannibalshrine", "nativevillages:driedpeople"}, 5},
drops = {
{name = "default:copper_lump", chance = 1, min = 1, max = 1},
},
@ -47,6 +50,11 @@ sounds = {
shoot_speed = 100,
shoot_start = 200,
shoot_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
view_range = 15,
@ -55,7 +63,7 @@ sounds = {
-- feed or tame
if mobs:feed_tame(self, clicker, 4, false, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 5, 50, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
end,
})
@ -98,7 +106,7 @@ mobs:register_arrow("nativevillages:fireball", {
})
mobs:register_egg("nativevillages:cannibalking", ("Cannibal King"), "acannibalking.png")
mobs:register_egg("nativevillages:cannibalking", S("Cannibal King"), "acannibalking.png")
mobs:register_mob("nativevillages:cannibalarcher", {
type = "monster",
@ -133,6 +141,7 @@ sounds = {
jump_height = 2,
stepheight = 2,
fear_height = 3,
stay_near = {{"nativevillages:cannibalshrine", "nativevillages:driedpeople"}, 5},
drops = {
{name = "default:tin_lump", chance = 1, min = 1, max = 1},
},
@ -149,6 +158,11 @@ sounds = {
shoot_speed = 50,
shoot_start = 200,
shoot_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
view_range = 15,
@ -157,7 +171,7 @@ sounds = {
-- feed or tame
if mobs:feed_tame(self, clicker, 4, false, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 5, 50, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
end,
})
@ -175,7 +189,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:cannibalarcher", ("Cannibal Hunter"), "acannibalarcher.png")
mobs:register_egg("nativevillages:cannibalarcher", S("Cannibal Hunter"), "acannibalarcher.png")
mobs:register_mob("nativevillages:cannibalmurderer", {
type = "monster",
@ -208,6 +222,7 @@ sounds = {
jump_height = 2,
stepheight = 2,
fear_height = 3,
stay_near = {{"nativevillages:cannibalshrine", "nativevillages:driedpeople"}, 5},
drops = {
{name = "default:copper_lump", chance = 1, min = 1, max = 1},
},
@ -224,6 +239,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
view_range = 15,
@ -232,7 +252,7 @@ sounds = {
-- feed or tame
if mobs:feed_tame(self, clicker, 4, false, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 5, 50, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
end,
})
@ -250,7 +270,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:cannibalmurderer", ("Cannibal Murderer"), "acannibalmurderer.png")
mobs:register_egg("nativevillages:cannibalmurderer", S("Cannibal Murderer"), "acannibalmurderer.png")
mobs:register_mob("nativevillages:cannibalchild", {
type = "monster",
@ -284,6 +304,7 @@ sounds = {
jump_height = 4,
stepheight = 2,
fear_height = 5,
stay_near = {{"nativevillages:cannibalshrine", "nativevillages:driedpeople"}, 5},
drops = {
{name = "default:iron_lump", chance = 1, min = 1, max = 1},
},
@ -300,6 +321,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
view_range = 15,
@ -308,7 +334,7 @@ sounds = {
-- feed or tame
if mobs:feed_tame(self, clicker, 4, false, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 5, 50, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
end,
})
@ -326,4 +352,4 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:cannibalchild", ("Cannibal Child"), "acannibalchild.png")
mobs:register_egg("nativevillages:cannibalchild", S("Cannibal Child"), "acannibalchild.png")

View File

@ -1,5 +1,7 @@
local S = minetest.get_translator("nativevillages")
minetest.register_node("nativevillages:fishtrap", {
description = "Fish Trap",
description = S"Fish Trap",
visual_scale = 1,
mesh = "Fishtrap.b3d",
tiles = {"texturefishtrap.png"},
@ -32,7 +34,7 @@ minetest.register_craft({
})
minetest.register_node("nativevillages:hangingfish", {
description = "Hangning Fish",
description = S"Hangning Fish",
visual_scale = 1,
mesh = "Hangingfish.b3d",
tiles = {"texturehangingfish.png"},
@ -65,6 +67,6 @@ minetest.register_craft({
})
minetest.register_craftitem("nativevillages:pearl", {
description = ("Pearl"),
description = S("Pearl"),
inventory_image = "nativevillages_pearl.png",
})

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
minetest.register_decoration({
name = "nativevillages:lakehouse1",
deco_type = "schematic",

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
mobs:register_mob("nativevillages:lakecatfish", {
stepheight = 0.0,
type = "animal",
@ -42,6 +44,11 @@ stepheight = 0.0,
fly_end = 100,
fly2_start = 100,
fly2_end = 200,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
fly_in = {"default:water_source", "default:river_water_source", "default:water_flowing", "default:river_water_flowing"},
floats = 0,
@ -53,7 +60,7 @@ stepheight = 0.0,
-- feed or tame
if mobs:feed_tame(self, clicker, 4, false, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 5, 50, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 15, 25, 0, false, nil) then return end
end,
})
@ -71,7 +78,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:lakecatfish", ("Catfish"), "alakecatfish.png")
mobs:register_egg("nativevillages:lakecatfish", S("Catfish"), "alakecatfish.png")
mobs.lakevillagerfemale_drops = {
"nativevillages:catfish_cooked", "farming:string", "bucket:bucket_water", "farming:salt", "nativevillages:pearl"
@ -113,13 +120,13 @@ sounds = {
jump_height = 1,
stepheight = 0,
fear_height = 1,
stay_near = {{"nativevillages:hangingfish"}, 5},
drops = {
},
water_damage = 200,
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:hangingfish",
view_range = 15,
owner = "",
order = "follow",
@ -132,6 +139,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -140,7 +152,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -166,7 +178,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Lake Villager dropped you an item for fruit!"))
minetest.chat_send_player(name, S("Lake Villager dropped you an item for fruit!"))
return
end
@ -182,11 +194,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Lake Villager stands still."))
minetest.chat_send_player(name, S("Lake Villager stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Lake Villager will follow you."))
minetest.chat_send_player(name, S("Lake Villager will follow you."))
end
end
end,
@ -206,7 +218,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:lakevillagerfemale", ("Female Lake Villager"), "alakevillagerfemale.png")
mobs:register_egg("nativevillages:lakevillagerfemale", S("Female Lake Villager"), "alakevillagerfemale.png")
mobs.lakevillagerfisher_drops = {
"nativevillages:tamecatfish", "nativevillages:pearl"
@ -246,13 +258,13 @@ sounds = {
jump_height = 1,
stepheight = 0,
fear_height = 1,
stay_near = {{"nativevillages:fishtrap"}, 5},
drops = {
},
water_damage = 200,
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:fishtrap",
view_range = 15,
owner = "",
order = "follow",
@ -265,6 +277,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -273,7 +290,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -299,7 +316,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Fisher bred you a catfish for gold!"))
minetest.chat_send_player(name, S("Fisher bred you a catfish for gold!"))
return
end
@ -315,11 +332,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Fisher stands still."))
minetest.chat_send_player(name, S("Fisher stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Fisher will follow you."))
minetest.chat_send_player(name, S("Fisher will follow you."))
end
end
end,
@ -339,7 +356,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:lakevillagerfisher", ("Fisher"), "alakevillagerfisher.png")
mobs:register_egg("nativevillages:lakevillagerfisher", S("Fisher"), "alakevillagerfisher.png")
mobs.lakevillagermale_drops = {
@ -382,13 +399,13 @@ sounds = {
jump_height = 1,
stepheight = 0,
fear_height = 1,
stay_near = {{"nativevillages:hangingfish"}, 5},
drops = {
},
water_damage = 200,
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:fishtrap",
view_range = 15,
owner = "",
order = "follow",
@ -401,6 +418,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -409,7 +431,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -435,7 +457,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Lake Villager dropped you an item for fruit!"))
minetest.chat_send_player(name, S("Lake Villager dropped you an item for fruit!"))
return
end
@ -451,11 +473,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("NPC stands still."))
minetest.chat_send_player(name, S("NPC stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("NPC will follow you."))
minetest.chat_send_player(name, S("NPC will follow you."))
end
end
end,
@ -475,5 +497,5 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:lakevillagermale", ("Male Lake Villager"), "alakevillagermale.png")
mobs:register_egg("nativevillages:lakevillagermale", S("Male Lake Villager"), "alakevillagermale.png")

133
locale/nativevillages.de.tr Normal file
View File

@ -0,0 +1,133 @@
# textdomain: nativevillages
Sledge=Schlitten
Blanket=Decke
Ice Dog=Eishund
Trader dropped you an item for steel!=Händler hat einen Gegenstand für Stahl gegeben!
NPC stands still.=NPC wartet.
NPC will follow you.=NPC folgt dir.
Sledge Trader=Schlittenhändler
Icelander dropped you an item for iron!=Eisländer hat einen Gegenstand für Eisen gegeben!
Icelander stands still.=Eisländer wartet.
Icelander will follow you.=Eisländer folgt dir.
Female Icelander=Eisländerin
Male Icelander=Eisländer
Sledge with Dog=Schlitten mit Hund
Domesticated Catfish=Domestizierter Wels
Raw Catfish=Rohes Welsfleisch
Cooked Catfish=Gekochtes Welsfleisch
Zombie stands still.=Zombie wartet.
Zombie will follow you.=Zombie folgt dir.
Tamed Zombie=Gezähmter Zombie
Cow already milked!=Kuh bereits gemolken!
Domesticated Cow=Domestizierte Kuh
Bucket of Milk=Milcheimer
Glass of Milk=Milchglas
Butter=Butter
Mozzarella Cheese=Mozzarella
Mozzarella Cheese Block=Mozzarella Block
Domesticated Desert Chicken=Domestiziertes Wüstenhuhn
Lion stands still.=Löwe wartet.
Lion will follow you.=Löwe folgt dir.
Tamed Male Lion=Gezähmter Männlicher Löwe
Tamed Female Lion=Gezähmter Weiblicher Löwe
Cat=Katze
Dried Human Remains=Getrocknete Menschliche Überreste
Dried Human Meat=Getrocknetes Menschenfleisch
Cannibal Shrine=Kannibalenschrein
Hookah=Wasserpfeife
Desert Carpet=Wüstenteppich
Slave Bracelet=Sklavenkette
Desert Seeds=Wüstensamen
Desert Villager dropped you an item for a stick!=Wüstendorf Bewohner hat einen Gegenstand für einen Stock gegeben!
Desert Villager stands still.=Wüstendorf Bewohner wartet.
Desert Villager will follow you.=Wüstendorf Bewohner folgt dir.
Male Desert Villager=Wüstendorf Bewohner
Female Desert Villager=Wüstendorf Bewohnerin
Slave delivered!=Sklave ausgeliefert!
Slavetrader stands still.=Sklavenhändler wartet.
Slavetrader will follow you.=Sklavenhändler folgt dir.
Slave Trader=Sklavenhändler
Desert Ranger=Wüstenwächter
Desert Raider=Wüstenplünderer
Desert Chicken=Wüstenhuhn
Bird Egg=Vogelei
Fried Desert Chicken Egg=Gebratenes Wüstenhühnerei
Raw Desert Chicken meat=Rohes Wüstenhuhnfleisch
Cooked Desert Chicken=Gekochtes Wüstenhuhnfleisch
Toad=Kröte
Tamed Exploding Toad=Gezähmte Explodierende Kröte
Barrel=Fass
Cow Dropping=Kuhfladen
Grassland Cow=Graslandkuh
Grasslander dropped you an item for bread!=Graslandbewohner hat einen Gegenstand für Brot fallen lassen!
Grasslander stands still.=Graslandbewohner wartet.
Grasslander will follow you.=Graslandbewohner folgt dir.
Female Grasslander=Graslandbewohnerin
Male Grasslander=Graslandbewohner
Witch dropped you an item for diamond!=Die Hexe hat einen Gegenstand für einen Diamenten fallen lassen!
Witch stands still.=Hexe wartet.
Witch will follow you.=Hexe folgt dir.
Grassland Witch=Graslandhexe
Cannibal King=Kannibalenkönig
Cannibal Hunter=Kannibalenjäger
Cannibal Murderer=Kannibalenmörderin
Cannibal Child=Kannibalenkind
Fish Trap=Fischfalle
Hangning Fish=Hängender Fisch
Pearl=Perle
Catfish=Wels
Lake Villager dropped you an item for fruit!=Seebewohner hat einen Gegenstand für Früchte fallen lassen!
Lake Villager stands still.=Seebewohner wartet.
Lake Villager will follow you.=Seebewohner folgt dir.
Female Lake Villager=Seebewohnerin
Fisher bred you a catfish for gold!=Angler hat dir einen Wels für Gold gezüchtet!
Fisher stands still.=Angler wartet.
Fisher will follow you.=Angler folgt dir.
Fisher=Angler
Male Lake Villager=Seebewohner
Savanna Throne=Savannenthron
Savanna Vessels=Savannen Vasen
Savanna Shrine=Savannenschrein
Savanna Corpse=Savannenleiche
Male Lion=Männlicher Löwe
Female Lion=Weiblicher Löwe
Witch Doctor created a tame Zombie!=Hexendoktor hat einen zahmen Zombie erschaffen!
Witch Doctor stands still.=hexendoktor wartet.
Witch Doctor will follow you.=Hexendoktor folgt dir.
Witch Doctor=Hexendoktor
Royalty dropped you an item for gold!=Der Adel hat einen Gegenstand für Gold gegeben!
Royalty stands still.=Der Adel wartet.
Royalty will follow you.=Der Adel folgt dir.
Savanna Queen=Savannenkönigin
Savanna Villager dropped you an item for a pearl!=Savannenbewohner hat einen Gegenstand für eine Perle gegeben!
Savanna Villager stands still.=Savannenbewohner wartet.
Savanna Villager will follow you.=Savannenbewohner folgt dir.
Male Savanna Villager=Savannenbewohner
Savanna King=Savennenkönig
Female Savanna Villager=Savannenbewohnerin
Chicken hatched!=Huhn geschlüpft!
Chicken Breeder stands still.=Hühnerzüchterin wartet.
Chicken Breeder will follow you.=Hühnerzüchterin folgt dir,
Chicken Breeder=Hühnerzüchterin
Cow has been raised!=Kuh wurde aufgezogen!
Cow Herder=Kuhzüchterin
Cow Herder stands still.=Kuhzüchterin wartet.
Cow Herder will follow you.=Kuhzüchterin folgt dir.
Lion has been raised!=Löwe wurde aufgezogen!
Lion Trainer stands still.=Löwentrainer wartet.
Lion Trainer will follow you.=Löwentrainer folgt dir.
Lion Trainer=Löwentrainer
NPC dropped you an item for gold!=NPC hat einen Gegenstand für Gold gegeben!
Dancer will dance!=Tänzerin wird tanzen!
Dancer will follow you.=Tänzerin wir dir folgen.
Female Dancer=Tänzerin
Cannibal stands still.=Kannibale wartet.
Cannibal will follow you.=Kannibale folgt dir.
Loyal Cannibal=Loyaler Kannibale
Dancer will dance!=Tänzer wird tanzen!
Dancer will follow you.=Tänzer folgt dir.
Male Dancer=Tänzer
Bag full of toads!=Sack voller Kröten!
Exploding Toad stands still.=Explodierende Kröte wartet.
Exploding Toad will follow you.=Explodierende Kröte folgt dir.

View File

@ -1,5 +1,7 @@
local S = minetest.get_translator("nativevillages")
minetest.register_node("nativevillages:savannathrone", {
description = "Savanna Throne",
description = S"Savanna Throne",
visual_scale = 1,
mesh = "Savannathrone.b3d",
tiles = {"texturesavannathrone.png"},
@ -7,6 +9,7 @@ minetest.register_node("nativevillages:savannathrone", {
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy = 3},
walkable = false,
drawtype = "mesh",
collision_box = {
type = "fixed",
@ -32,7 +35,7 @@ minetest.register_craft({
})
minetest.register_node("nativevillages:savannavessels", {
description = "Savanna Vessels",
description = S"Savanna Vessels",
visual_scale = 1,
mesh = "Savannavessels.b3d",
tiles = {"texturesavannavessels.png"},
@ -65,7 +68,7 @@ minetest.register_craft({
})
minetest.register_node("nativevillages:savannavshrine", {
description = "Savanna Shrine",
description = S"Savanna Shrine",
visual_scale = 1,
mesh = "Savannashrine.b3d",
tiles = {"texturesavannashrine.png"},
@ -73,6 +76,7 @@ minetest.register_node("nativevillages:savannavshrine", {
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy = 3},
walkable = false,
drawtype = "mesh",
collision_box = {
type = "fixed",
@ -98,13 +102,14 @@ minetest.register_craft({
})
minetest.register_node("nativevillages:savannacorpse", {
description = "Savanna Corpse",
description = S"Savanna Corpse",
visual_scale = 1,
mesh = "Savannacorpse.b3d",
tiles = {"texturesavannacorpse.png"},
inventory_image = "asavannacorpse.png",
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
groups = {choppy = 3},
drawtype = "mesh",
collision_box = {

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
minetest.register_decoration({
name = "nativevillages:savannahouse1",
deco_type = "schematic",

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
mobs:register_mob("nativevillages:malelion", {
stepheight = 1,
type = "monster",
@ -36,6 +38,7 @@ sounds = {
runaway = false,
jump = false,
jump_height = 2,
stay_near = {{"nativevillages:savannacorpse"}, 4},
drops = {
},
water_damage = 0,
@ -53,6 +56,11 @@ sounds = {
punch_speed = 100,
punch_start = 300,
punch_end = 400,
die_start = 300,
die_end = 400,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
follow = {
@ -64,7 +72,7 @@ sounds = {
-- feed or tame
if mobs:feed_tame(self, clicker, 4, false, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 5, 50, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
end,
})
@ -84,7 +92,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:malelion", ("Male Lion"), "amalelion.png")
mobs:register_egg("nativevillages:malelion", S("Male Lion"), "amalelion.png")
mobs:register_mob("nativevillages:femalelion", {
stepheight = 1,
@ -117,6 +125,7 @@ stepheight = 1,
runaway = false,
jump = false,
jump_height = 2,
stay_near = {{"nativevillages:savannacorpse"}, 4},
drops = {
},
water_damage = 0,
@ -134,6 +143,11 @@ stepheight = 1,
punch_speed = 100,
punch_start = 300,
punch_end = 400,
die_start = 300,
die_end = 400,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
follow = {
@ -145,7 +159,7 @@ stepheight = 1,
-- feed or tame
if mobs:feed_tame(self, clicker, 4, false, true) then return end
if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 5, 50, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
end,
})
@ -165,7 +179,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:femalelion", ("Female Lion"), "afemalelion.png")
mobs:register_egg("nativevillages:femalelion", S("Female Lion"), "afemalelion.png")
mobs.savannadoctor_drops = {
"nativevillages:zombietame"
@ -202,13 +216,13 @@ sounds = {
walk_chance = 15,
run_velocity = 3,
jump = true,
stay_near = {{"nativevillages:savannavshrine"}, 4},
drops = {
},
water_damage = 0,
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:savannavshrine",
view_range = 15,
owner = "",
order = "follow",
@ -222,6 +236,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 300,
die_end = 400,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -230,7 +249,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -256,7 +275,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Witch Doctor created a tame Zombie!"))
minetest.chat_send_player(name, S("Witch Doctor created a tame Zombie!"))
return
end
@ -272,11 +291,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Witch Doctor stands still."))
minetest.chat_send_player(name, S("Witch Doctor stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Witch Doctor will follow you."))
minetest.chat_send_player(name, S("Witch Doctor will follow you."))
end
end
end,
@ -296,7 +315,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:savannadoctor", ("Witch Doctor"), "asavannadoctor.png")
mobs:register_egg("nativevillages:savannadoctor", S("Witch Doctor"), "asavannadoctor.png")
mobs.savannaqueen_drops = {
"default:goldblock"
@ -333,13 +352,13 @@ sounds = {
walk_chance = 15,
run_velocity = 3,
jump = true,
stay_near = {{"nativevillages:savannavshrine", "nativevillages:savannathrone", "nativevillages:savannavessels"}, 5},
drops = {
},
water_damage = 0,
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:savannashrine",
view_range = 15,
owner = "",
order = "follow",
@ -353,6 +372,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -361,7 +385,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -387,7 +411,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Royalty dropped you an item for gold!"))
minetest.chat_send_player(name, S("Royalty dropped you an item for gold!"))
return
end
@ -403,11 +427,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Royalty stands still."))
minetest.chat_send_player(name, S("Royalty stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Royalty will follow you."))
minetest.chat_send_player(name, S("Royalty will follow you."))
end
end
end,
@ -427,7 +451,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:savannaqueen", ("Savanna Queen"), "asavannaqueen.png")
mobs:register_egg("nativevillages:savannaqueen", S("Savanna Queen"), "asavannaqueen.png")
mobs.savannamale_drops = {
"farming:vanilla", "farming:pumpkin", "farming:potato", "farming:pineapple", "farming:pepper", "farming:onion", "farming:peas", "farming:melon", "farming:cucumber", "farming:coffee_beans"
@ -467,13 +491,13 @@ sounds = {
walk_chance = 15,
run_velocity = 3,
jump = true,
stay_near = {{"nativevillages:savannavshrine", "nativevillages:savannathrone", "nativevillages:savannavessels"}, 5},
drops = {
},
water_damage = 0,
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:savannavessels",
view_range = 15,
owner = "",
order = "follow",
@ -487,6 +511,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -495,7 +524,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -521,7 +550,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Savanna Villager dropped you an item for a pearl!"))
minetest.chat_send_player(name, S("Savanna Villager dropped you an item for a pearl!"))
return
end
@ -537,11 +566,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Savanna Villager stands still."))
minetest.chat_send_player(name, S("Savanna Villager stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Savanna Villager will follow you."))
minetest.chat_send_player(name, S("Savanna Villager will follow you."))
end
end
end,
@ -561,7 +590,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:savannamale", ("Male Savanna Villager"), "asavannamale.png")
mobs:register_egg("nativevillages:savannamale", S("Male Savanna Villager"), "asavannamale.png")
mobs.savannaking_drops = {
"default:goldblock"
@ -598,13 +627,13 @@ sounds = {
walk_chance = 15,
run_velocity = 3,
jump = true,
stay_near = {{"nativevillages:savannavshrine", "nativevillages:savannathrone", "nativevillages:savannavessels"}, 5},
drops = {
},
water_damage = 0,
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:savannathrone",
view_range = 15,
owner = "",
order = "follow",
@ -618,6 +647,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -626,7 +660,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -652,7 +686,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Royalty dropped you an item for gold!"))
minetest.chat_send_player(name, S("Royalty dropped you an item for gold!"))
return
end
@ -668,11 +702,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Royalty stands still."))
minetest.chat_send_player(name, S("Royalty stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Royalty will follow you."))
minetest.chat_send_player(name, S("Royalty will follow you."))
end
end
end,
@ -692,7 +726,7 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:savannaking", ("Savanna King"), "asavannaking.png")
mobs:register_egg("nativevillages:savannaking", S("Savanna King"), "asavannaking.png")
mobs.savannafemale_drops = {
"farming:vanilla", "farming:pumpkin", "farming:potato", "farming:pineapple", "farming:pepper", "farming:onion", "farming:peas", "farming:melon", "farming:cucumber", "farming:coffee_beans"
@ -731,13 +765,13 @@ sounds = {
walk_chance = 15,
run_velocity = 3,
jump = true,
stay_near = {{"nativevillages:savannavshrine", "nativevillages:savannathrone", "nativevillages:savannavessels"}, 5},
drops = {
},
water_damage = 0,
lava_damage = 2,
light_damage = 0,
follow = {},
stay_near = "nativevillages:savannavessels",
view_range = 15,
owner = "",
order = "follow",
@ -751,6 +785,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -759,7 +798,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -785,7 +824,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Savanna Villager dropped you an item for a pearl!"))
minetest.chat_send_player(name, S("Savanna Villager dropped you an item for a pearl!"))
return
end
@ -801,11 +840,11 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Savanna Villager stands still."))
minetest.chat_send_player(name, S("Savanna Villager stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Savanna Villager will follow you."))
minetest.chat_send_player(name, S("Savanna Villager will follow you."))
end
end
end,
@ -825,5 +864,5 @@ mobs:spawn({
})
end
mobs:register_egg("nativevillages:savannafemale", ("Female Savanna Villager"), "asavannafemale.png")
mobs:register_egg("nativevillages:savannafemale", S("Female Savanna Villager"), "asavannafemale.png")

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
mobs.slavechickenbreeder_drops = {
"nativevillages:desertchickentame"
}
@ -38,6 +40,7 @@ sounds = {
jump = true,
drops = {
},
stay_near = {{"people:feeder", "people:villagerbed", "marinara:reed_bundle", "naturalbiomes:reed_bundle", "farming:straw", "xdecor:empty_shelf", "xdecor:intemframe", "xdecor:lantern", "xdecor:candle", "xdecor:multishelf", "xdecor:tv", "default:bookshelf", "vessels:shelf", "livingcaves:root_lamp", "default:chest", "default:mese_post_light_pine_wood", "default:meselamp", "default:mese_post_light_pine_wood", "default:mese_post_light", "default:mese_post_light_acacia_wood", "default:mese_post_light_aspen_wood", "default:mese_post_light_junglewood", "animalworld:crocodilestool", "animalworld:elephantstool", "animalworld:bearstool", "animalworld:gnustool", "animalworld:hippostool", "animalworld:monitorstool", "animalworld:ivorychair", "animalworld:sealstool", "animalworld:yakstool", "animalworld:tigerstool", "animalworld:muskoxstool"}, 5},
water_damage = 0,
lava_damage = 2,
light_damage = 0,
@ -55,6 +58,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -63,7 +71,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -89,7 +97,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Chicken hatched!"))
minetest.chat_send_player(name, S("Chicken hatched!"))
return
end
@ -105,18 +113,18 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Chicken Breeder stands still."))
minetest.chat_send_player(name, S("Chicken Breeder stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Chicken Breeder will follow you."))
minetest.chat_send_player(name, S("Chicken Breeder will follow you."))
end
end
end,
})
mobs:register_egg("nativevillages:slavechickenbreeder", ("Chicken Breeder"), "aslavechickenbreeder.png")
mobs:register_egg("nativevillages:slavechickenbreeder", S("Chicken Breeder"), "aslavechickenbreeder.png")
mobs.slavecowherder_drops = {
"nativevillages:domesticcow"
@ -157,6 +165,7 @@ sounds = {
jump = true,
drops = {
},
stay_near = {{"people:feeder", "people:villagerbed", "marinara:reed_bundle", "naturalbiomes:reed_bundle", "farming:straw", "xdecor:empty_shelf", "xdecor:intemframe", "xdecor:lantern", "xdecor:candle", "xdecor:multishelf", "xdecor:tv", "default:bookshelf", "vessels:shelf", "livingcaves:root_lamp", "default:chest", "default:mese_post_light_pine_wood", "default:meselamp", "default:mese_post_light_pine_wood", "default:mese_post_light", "default:mese_post_light_acacia_wood", "default:mese_post_light_aspen_wood", "default:mese_post_light_junglewood", "animalworld:crocodilestool", "animalworld:elephantstool", "animalworld:bearstool", "animalworld:gnustool", "animalworld:hippostool", "animalworld:monitorstool", "animalworld:ivorychair", "animalworld:sealstool", "animalworld:yakstool", "animalworld:tigerstool", "animalworld:muskoxstool"}, 5},
water_damage = 0,
lava_damage = 2,
light_damage = 0,
@ -174,6 +183,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -182,7 +196,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -208,7 +222,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Cow has been raised!"))
minetest.chat_send_player(name, S("Cow has been raised!"))
return
end
@ -224,18 +238,18 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Cow Herder stands still."))
minetest.chat_send_player(name, S("Cow Herder stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Cow Herder will follow you."))
minetest.chat_send_player(name, S("Cow Herder will follow you."))
end
end
end,
})
mobs:register_egg("nativevillages:slavecowherder", ("Cow Herder"), "aslavecowherder.png")
mobs:register_egg("nativevillages:slavecowherder", S("Cow Herder"), "aslavecowherder.png")
mobs.slaveliontrainer_drops = {
"nativevillages:femaleliontame", "nativevillages:maleliontame"
@ -284,6 +298,7 @@ sounds = {
owner = "singleplayer",
order = "follow",
fear_height = 3,
stay_near = {{"nativevillages:savannacorpse", "marinara:reed_bundle", "naturalbiomes:reed_bundle", "farming:straw", "xdecor:empty_shelf", "xdecor:intemframe", "xdecor:lantern", "xdecor:candle", "xdecor:multishelf", "xdecor:tv", "default:bookshelf", "vessels:shelf", "livingcaves:root_lamp", "default:chest", "default:mese_post_light_pine_wood", "default:meselamp", "default:mese_post_light_pine_wood", "default:mese_post_light", "default:mese_post_light_acacia_wood", "default:mese_post_light_aspen_wood", "default:mese_post_light_junglewood", "animalworld:crocodilestool", "animalworld:elephantstool", "animalworld:bearstool", "animalworld:gnustool", "animalworld:hippostool", "animalworld:monitorstool", "animalworld:ivorychair", "animalworld:sealstool", "animalworld:yakstool", "animalworld:tigerstool", "animalworld:muskoxstool"}, 5},
animation = {
speed_normal = 50,
stand_start = 0,
@ -293,6 +308,11 @@ sounds = {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -301,7 +321,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -327,7 +347,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("Lion has been raised!"))
minetest.chat_send_player(name, S("Lion has been raised!"))
return
end
@ -343,18 +363,18 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Lion Trainer stands still."))
minetest.chat_send_player(name, S("Lion Trainer stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Lion Trainer will follow you."))
minetest.chat_send_player(name, S("Lion Trainer will follow you."))
end
end
end,
})
mobs:register_egg("nativevillages:slaveliontrainer", ("Lion Trainer"), "aslaveliontrainer.png")
mobs:register_egg("nativevillages:slaveliontrainer", S("Lion Trainer"), "aslaveliontrainer.png")
@ -403,6 +423,7 @@ sounds = {
owner = "singleplayer",
order = "follow",
fear_height = 3,
stay_near = {{"people:villagerbed", "xdecor:empty_shelf", "xdecor:intemframe", "xdecor:lantern", "xdecor:candle", "xdecor:multishelf", "xdecor:tv", "default:bookshelf", "vessels:shelf", "livingcaves:root_lamp", "default:chest", "default:mese_post_light_pine_wood", "default:meselamp", "default:mese_post_light_pine_wood", "default:mese_post_light", "default:mese_post_light_acacia_wood", "default:mese_post_light_aspen_wood", "default:mese_post_light_junglewood", "animalworld:crocodilestool", "animalworld:elephantstool", "animalworld:bearstool", "animalworld:gnustool", "animalworld:hippostool", "animalworld:monitorstool", "animalworld:ivorychair", "animalworld:sealstool", "animalworld:yakstool", "animalworld:tigerstool", "animalworld:muskoxstool"}, 5},
animation = {
speed_normal = 50,
stand_start = 0,
@ -416,6 +437,11 @@ sounds = {
punch_speed = 100,
punch_start = 400,
punch_end = 500,
die_start = 400,
die_end = 500,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -424,7 +450,7 @@ sounds = {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -450,7 +476,7 @@ sounds = {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("NPC dropped you an item for gold!"))
minetest.chat_send_player(name, S("NPC dropped you an item for gold!"))
return
end
@ -466,18 +492,18 @@ sounds = {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Dancer will dance!."))
minetest.chat_send_player(name, S("Dancer will dance!"))
else
self.order = "follow"
minetest.chat_send_player(name, ("Dancer will follow you."))
minetest.chat_send_player(name, S("Dancer will follow you."))
end
end
end,
})
mobs:register_egg("nativevillages:slavefemaledancer", ("Female Dancer"), "aslavefemaledancer.png")
mobs:register_egg("nativevillages:slavefemaledancer", S("Female Dancer"), "aslavefemaledancer.png")
mobs:register_mob("nativevillages:slaveloyalcannibal", {
@ -485,6 +511,7 @@ mobs:register_mob("nativevillages:slaveloyalcannibal", {
passive = false,
damage = 6,
reach = 4,
group_attack = true,
attack_type = "dogfight",
attacks_monsters = true,
attack_npcs = false,
@ -523,6 +550,7 @@ mobs:register_mob("nativevillages:slaveloyalcannibal", {
owner = "singleplayer",
order = "follow",
fear_height = 3,
stay_near = {{"nativevillages:driedpeople", "people:villagerbed", "xdecor:empty_shelf", "xdecor:intemframe", "xdecor:lantern", "xdecor:candle", "xdecor:multishelf", "xdecor:tv", "default:bookshelf", "vessels:shelf", "livingcaves:root_lamp", "default:chest", "default:mese_post_light_pine_wood", "default:meselamp", "default:mese_post_light_pine_wood", "default:mese_post_light", "default:mese_post_light_acacia_wood", "default:mese_post_light_aspen_wood", "default:mese_post_light_junglewood", "animalworld:crocodilestool", "animalworld:elephantstool", "animalworld:bearstool", "animalworld:gnustool", "animalworld:hippostool", "animalworld:monitorstool", "animalworld:ivorychair", "animalworld:sealstool", "animalworld:yakstool", "animalworld:tigerstool", "animalworld:muskoxstool"}, 5},
animation = {
speed_normal = 100,
stand_start = 0,
@ -532,6 +560,11 @@ mobs:register_mob("nativevillages:slaveloyalcannibal", {
punch_speed = 100,
punch_start = 200,
punch_end = 300,
die_start = 200,
die_end = 300,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -540,7 +573,7 @@ on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -562,18 +595,18 @@ on_rightclick = function(self, clicker)
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Cannibal stands still."))
minetest.chat_send_player(name, S("Cannibal stands still."))
else
self.order = "follow"
minetest.chat_send_player(name, ("Cannibal will follow you."))
minetest.chat_send_player(name, S("Cannibal will follow you."))
end
end
end,
})
mobs:register_egg("nativevillages:slaveloyalcannibal", ("Loyal Cannibal"), "aslaveloyalcannibal.png")
mobs:register_egg("nativevillages:slaveloyalcannibal", S("Loyal Cannibal"), "aslaveloyalcannibal.png")
mobs:register_mob("nativevillages:slavemaledancer", {
@ -612,6 +645,7 @@ mobs:register_mob("nativevillages:slavemaledancer", {
jump = true,
drops = {
},
stay_near = {{"people:villagerbed", "xdecor:empty_shelf", "xdecor:intemframe", "xdecor:lantern", "xdecor:candle", "xdecor:multishelf", "xdecor:tv", "default:bookshelf", "vessels:shelf", "livingcaves:root_lamp", "default:chest", "default:mese_post_light_pine_wood", "default:meselamp", "default:mese_post_light_pine_wood", "default:mese_post_light", "default:mese_post_light_acacia_wood", "default:mese_post_light_aspen_wood", "default:mese_post_light_junglewood", "animalworld:crocodilestool", "animalworld:elephantstool", "animalworld:bearstool", "animalworld:gnustool", "animalworld:hippostool", "animalworld:monitorstool", "animalworld:ivorychair", "animalworld:sealstool", "animalworld:yakstool", "animalworld:tigerstool", "animalworld:muskoxstool"}, 5},
water_damage = 0,
lava_damage = 2,
light_damage = 0,
@ -633,6 +667,11 @@ mobs:register_mob("nativevillages:slavemaledancer", {
punch_speed = 100,
punch_start = 400,
punch_end = 500,
die_start = 400,
die_end = 500,
die_speed = 50,
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)
@ -641,7 +680,7 @@ mobs:register_mob("nativevillages:slavemaledancer", {
if mobs:feed_tame(self, clicker, 8, true, true) then return end
-- capture npc with net or lasso
if mobs:capture_mob(self, clicker, nil, 5, 80, false, nil) then return end
if mobs:capture_mob(self, clicker, 0, 15, 25, false, nil) then return end
-- protect npc with mobs:protector
if mobs:protect(self, clicker) then return end
@ -667,7 +706,7 @@ mobs:register_mob("nativevillages:slavemaledancer", {
name = drops[math.random(1, #drops)]
})
minetest.chat_send_player(name, ("NPC dropped you an item for gold!"))
minetest.chat_send_player(name, S("NPC dropped you an item for gold!"))
return
end
@ -683,15 +722,15 @@ mobs:register_mob("nativevillages:slavemaledancer", {
self:set_animation("stand")
self:set_velocity(0)
minetest.chat_send_player(name, ("Dancer will dance!."))
minetest.chat_send_player(name, S("Dancer will dance!"))
else
self.order = "follow"
minetest.chat_send_player(name, ("Dancer will follow you."))
minetest.chat_send_player(name, S("Dancer will follow you."))
end
end
end,
})
mobs:register_egg("nativevillages:slavemaledancer", ("Male Dancer"), "aslavemaledancer.png")
mobs:register_egg("nativevillages:slavemaledancer", S("Male Dancer"), "aslavemaledancer.png")

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("nativevillages")
minetest.register_decoration({
name = "nativevillages:lakevillage",
deco_type = "schematic",