This commit is contained in:
duckgo 2023-01-25 09:47:20 -03:00
parent a7b59ef859
commit 660949ff43
24 changed files with 144 additions and 17 deletions

View File

@ -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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

View File

@ -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},
},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 548 B

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 B

View File

@ -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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

View File

@ -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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

View File

@ -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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

View File

@ -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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

36
structures/init.lua Normal file
View File

@ -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",
})

2
structures/mod.conf Normal file
View File

@ -0,0 +1,2 @@
name = structures
depends = default , deco

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 922 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

View File

@ -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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

View File

@ -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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B