diff --git a/crawlerzombie/init.lua b/crawlerzombie/init.lua index 52d1deb..382a048 100644 --- a/crawlerzombie/init.lua +++ b/crawlerzombie/init.lua @@ -28,6 +28,7 @@ mobs:register_mob("crawlerzombie:crawlerzombie", { passive = false, attack_type = "dogfight", --attack_animals = true, + attack_npcs = false, group_attack = true, pathfinding = true, reach = 2, @@ -95,7 +96,7 @@ mobs:spawn({ }) -mobs:register_egg("crawlerzombie:crawlerzombie", "Crawler Zombie", "stone.png",1) +mobs:register_egg("crawlerzombie:crawlerzombie", "Crawler Zombie", "zombies_egg.png",0) diff --git a/crawlerzombie/textures/zombies_egg.png b/crawlerzombie/textures/zombies_egg.png new file mode 100644 index 0000000..1408e12 Binary files /dev/null and b/crawlerzombie/textures/zombies_egg.png differ diff --git a/deco/init.lua b/deco/init.lua index 55d5daf..7d7d585 100644 --- a/deco/init.lua +++ b/deco/init.lua @@ -148,6 +148,7 @@ minetest.register_node("deco:table", { floodable = false, groups = {cracky = 3, oddly_breakable_by_hand = 3}, drop = "deco:table", + sounds = default.node_sound_wood_defaults(), selection_box = { type = "fixed", @@ -212,7 +213,7 @@ minetest.register_node("deco:armchair", { floodable = false, groups = {cracky = 3, oddly_breakable_by_hand = 3}, drop = "deco:armchair", - + sounds = default.node_sound_wood_defaults(), selection_box = { type = "fixed", @@ -299,7 +300,7 @@ minetest.register_node("deco:medicinebox", { } }, - sounds = default.node_sound_metal_defaults(), + sounds = default.node_sound_leaves_defaults(), selection_box = { type = "fixed", @@ -443,18 +444,98 @@ minetest.register_node("deco:cardboardbox", { walkable = true, floodable = false, groups = {oddly_breakable_by_hand = 3}, - drop = "deco:roadblock", + + + drop = { + --max_items = 5, + items = { + + -- Foods: + + { + items = {'foods:canned_beans'}, + rarity = 2, + }, + + { + items = {'foods:canned_tomato'}, + rarity = 1, + }, + + + -- Bullets : + + { + items = {'rangedweapons:45acp 3'}, + rarity = 3, + }, + + { + items = {'rangedweapons:357 3'}, + rarity = 4, + }, + + { + items = {'rangedweapons:9mm 3'}, + rarity = 5, + }, + + { + items = {'rangedweapons:762mm 3'}, + rarity = 6, + }, + + + -- Armas : + + { + items = {'toolx:knife'}, + rarity = 3, + }, + + { + items = {'rangedweapons:steel_shuriken'}, + rarity = 6, + }, + + + { + items = {'rangedweapons:m1991'}, + rarity = 8, + }, + + { + items = {'rangedweapons:beretta'}, + rarity = 10, + }, + + { + items = {'rangedweapons:python'}, + rarity = 15, + }, + + + items = {'rangedweapons:ak47'}, + rarity = 25, + }, + + + + + }, + + sounds = default.node_sound_leaves_defaults(), selection_box = { type = "fixed", -- esqueda,altura,tras..,direita ,negativo aumenta para baixo, positivo aumenta para cima - fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + fixed = {-0.3, -0.5, -0.3, 0.3, 0.1, 0.3}, }, node_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + fixed = {-0.3, -0.5, -0.3, 0.3, 0.1, 0.3}, }, diff --git a/deco/textures/cardboardbox_front.png b/deco/textures/cardboardbox_front.png index 4549fce..3247473 100644 Binary files a/deco/textures/cardboardbox_front.png and b/deco/textures/cardboardbox_front.png differ diff --git a/deco/textures/cardboardbox_front.png~ b/deco/textures/cardboardbox_front.png~ new file mode 100644 index 0000000..4549fce Binary files /dev/null and b/deco/textures/cardboardbox_front.png~ differ diff --git a/doctorzombie/init.lua b/doctorzombie/init.lua index 5f6e4c0..e4db05c 100644 --- a/doctorzombie/init.lua +++ b/doctorzombie/init.lua @@ -27,6 +27,7 @@ mobs:register_mob("doctorzombie:doctorzombie", { passive = false, attack_type = "dogfight", --attack_animals = true, + attack_npcs = false, group_attack = true, pathfinding = true, reach = 3, @@ -97,7 +98,7 @@ mobs:spawn({ }) -mobs:register_egg("doctorzombie:doctorzombie", "Doctor Zombie", "hunteraxe_egg.png", 1) +mobs:register_egg("doctorzombie:doctorzombie", "Doctor Zombie", "zombies_egg.png", 0) diff --git a/doctorzombie/textures/zombies_egg.png b/doctorzombie/textures/zombies_egg.png new file mode 100644 index 0000000..1408e12 Binary files /dev/null and b/doctorzombie/textures/zombies_egg.png differ diff --git a/fatzombie/init.lua b/fatzombie/init.lua index 57494c7..1006bfe 100644 --- a/fatzombie/init.lua +++ b/fatzombie/init.lua @@ -27,6 +27,7 @@ mobs:register_mob("fatzombie:fatzombie", { passive = false, attack_type = "dogfight", --attack_animals = true, + attack_npcs = false, group_attack = true, pathfinding = true, reach = 4, @@ -97,7 +98,7 @@ mobs:spawn({ }) -mobs:register_egg("fatzombie:fatzombie", "Fat Zombie", "hunteraxe_egg.png", 1) +mobs:register_egg("fatzombie:fatzombie", "Fat Zombie", "zombies_egg.png", 0) diff --git a/fatzombie/textures/zombies_egg.png b/fatzombie/textures/zombies_egg.png new file mode 100644 index 0000000..1408e12 Binary files /dev/null and b/fatzombie/textures/zombies_egg.png differ diff --git a/lumberjackzombie/init.lua b/lumberjackzombie/init.lua index a1b3871..201d504 100644 --- a/lumberjackzombie/init.lua +++ b/lumberjackzombie/init.lua @@ -1,10 +1,11 @@ local zombienods = { -"default:dirt", +--"default:dirt", "default:dirt_with_rainforest", -"default:dirt_with_grass", -"default:dirt_with_dry_grass", -"default:dry_dirt_with_dry_grass", +--"default:dirt_with_grass", +--"default:dirt_with_dry_grass", +--"default:dry_dirt_with_dry_grass", "default:dirt_with_coniferous_litter", +--"default:dirt_with_coniferous" --"default:stone", --"default:ice", --"default:snowblock", @@ -27,6 +28,7 @@ mobs:register_mob("lumberjackzombie:lumberjackzombie", { passive = false, attack_type = "dogfight", --attack_animals = true, + attack_npcs = false, group_attack = true, pathfinding = true, reach = 3, @@ -95,7 +97,7 @@ mobs:spawn({ }) -mobs:register_egg("lumberjackzombie:lumberjackzombie", "Lumberjack Zombie", "hunteraxe_egg.png", 1) +mobs:register_egg("lumberjackzombie:lumberjackzombie", "Lumberjack Zombie", "zombies_egg.png", 0) diff --git a/lumberjackzombie/textures/zombies_egg.png b/lumberjackzombie/textures/zombies_egg.png new file mode 100644 index 0000000..1408e12 Binary files /dev/null and b/lumberjackzombie/textures/zombies_egg.png differ diff --git a/minerzombie/init.lua b/minerzombie/init.lua index e664505..8cc62ac 100644 --- a/minerzombie/init.lua +++ b/minerzombie/init.lua @@ -31,6 +31,7 @@ mobs:register_mob("minerzombie:minerzombie", { attack_type = "dogfight", group_attack = true, pathfinding = true, + attack_npcs = false, reach = 3, damage = 3, hp_min = 20, @@ -98,7 +99,7 @@ mobs:spawn({ }) -mobs:register_egg("minerzombie:minerzombie", "Miner Zombie", "hunteraxe_egg.png", 1) +mobs:register_egg("minerzombie:minerzombie", "Miner Zombie", "zombies_egg.png", 0) diff --git a/minerzombie/textures/zombies_egg.png b/minerzombie/textures/zombies_egg.png new file mode 100644 index 0000000..1408e12 Binary files /dev/null and b/minerzombie/textures/zombies_egg.png differ diff --git a/structures/init.lua b/structures/init.lua new file mode 100644 index 0000000..b31d9f3 --- /dev/null +++ b/structures/init.lua @@ -0,0 +1,36 @@ + +-- DECO HOME 1 : + +minetest.register_decoration({ + deco_type = "schematic", + place_on = { + "default:dirt_with_coniferous", + "default:dirt_with_coniferous_litter", + "default:dirt_with_grass", + "default:dirt_with_snow" + }, + sidelen = 16, + fill_ratio = 0.00008, + flags = "place_center_x,place_center_z,force_placement,all_floors", + y_max = 200, + y_min = 0, + schematic = minetest.get_modpath("structures").."/schematics/home1.mts", + rotation = "random", +}) + + + + + + + + + + + + + + + + + diff --git a/structures/mod.conf b/structures/mod.conf new file mode 100644 index 0000000..6c9dc68 --- /dev/null +++ b/structures/mod.conf @@ -0,0 +1,2 @@ +name = structures +depends = default , deco diff --git a/structures/schematics/home1.mts b/structures/schematics/home1.mts new file mode 100644 index 0000000..a429975 Binary files /dev/null and b/structures/schematics/home1.mts differ diff --git a/structures/textures/vases_brown.png~ b/structures/textures/vases_brown.png~ new file mode 100644 index 0000000..3788eca Binary files /dev/null and b/structures/textures/vases_brown.png~ differ diff --git a/structures/textures/white_vase.png~ b/structures/textures/white_vase.png~ new file mode 100644 index 0000000..61cf95a Binary files /dev/null and b/structures/textures/white_vase.png~ differ diff --git a/survivorzombie/init.lua b/survivorzombie/init.lua index 127b8f0..c333fba 100644 --- a/survivorzombie/init.lua +++ b/survivorzombie/init.lua @@ -30,6 +30,7 @@ mobs:register_mob("survivorzombie:survivorzombie", { passive = false, attack_type = "dogfight", --attack_animals = true, + attack_npcs = false, group_attack = true, pathfinding = true, reach = 3, @@ -98,7 +99,7 @@ mobs:spawn({ }) -mobs:register_egg("survivorzombie:survivorzombie", "Survivor Zombie", "hunteraxe_egg.png", 1) +mobs:register_egg("survivorzombie:survivorzombie", "Survivor Zombie", "zombies_egg.png", 0) diff --git a/survivorzombie/textures/zombies_egg.png b/survivorzombie/textures/zombies_egg.png new file mode 100644 index 0000000..1408e12 Binary files /dev/null and b/survivorzombie/textures/zombies_egg.png differ diff --git a/tankzombie/init.lua b/tankzombie/init.lua index 886e33f..c95566d 100644 --- a/tankzombie/init.lua +++ b/tankzombie/init.lua @@ -98,7 +98,7 @@ mobs:spawn({ }) -mobs:register_egg("tankzombie:tankzombie", "Tank Zombie", "tankzombie:tankzombie", 1) +mobs:register_egg("tankzombie:tankzombie", "Tank Zombie", "zombies_egg.png", 0) diff --git a/tankzombie/textures/zombies_egg.png b/tankzombie/textures/zombies_egg.png new file mode 100644 index 0000000..1408e12 Binary files /dev/null and b/tankzombie/textures/zombies_egg.png differ diff --git a/walkingzombie/init.lua b/walkingzombie/init.lua index b8d4fe4..e4bd91e 100644 --- a/walkingzombie/init.lua +++ b/walkingzombie/init.lua @@ -27,6 +27,7 @@ mobs:register_mob("walkingzombie:walkingzombie", { passive = false, attack_type = "dogfight", --attack_animals = true, + attack_npcs = false, group_attack = true, pathfinding = true, reach = 3, @@ -97,7 +98,7 @@ mobs:spawn({ }) -mobs:register_egg("walkingzombie:walkingzombie", "Walking Zombie", "hunteraxe_egg.png", 1) +mobs:register_egg("walkingzombie:walkingzombie", "Walking Zombie", "zombies_egg.png", 0) diff --git a/walkingzombie/textures/zombies_egg.png b/walkingzombie/textures/zombies_egg.png new file mode 100644 index 0000000..1408e12 Binary files /dev/null and b/walkingzombie/textures/zombies_egg.png differ