This commit is contained in:
duckgo 2023-01-27 16:07:50 -03:00
parent 660949ff43
commit efa1947ce5
19 changed files with 203 additions and 97 deletions

View File

@ -23,7 +23,7 @@ local zombienods = {
---- SKULL SWORD ------------------------------------------------------------------------------------------------------
mobs:register_mob("crawlerzombie:crawlerzombie", {
nametag = "Crawler Zombie" ,
--nametag = "Crawler Zombie" ,
type = "monster",
passive = false,
attack_type = "dogfight",
@ -54,7 +54,7 @@ mobs:register_mob("crawlerzombie:crawlerzombie", {
walk_velocity = 1,
run_velocity = 2,
jump_height = 2,
stepheight = 1.1,
stepheight = 1.2,
floats = 0,
view_range = 35,
drops = {
@ -89,7 +89,7 @@ mobs:spawn({
min_light = 0,
max_light = 7,
chance = 7000,
min_height = 0,
min_height = -20000,
max_height = 200,
--max_height = 200,
active_object_count = 3,

View File

@ -29,6 +29,16 @@ minetest.register_node("deco:stopsign", {
})
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "deco:stopsign",
recipe = {
{"","wool:red",""},
{"","default:steel_ingot",""},
{"","default:steel_ingot",""}
}
})
---- trashcan :
@ -65,6 +75,17 @@ minetest.register_node("deco:trashcan", {
})
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "deco:trashcan",
recipe = {
{"","",""},
{"","default:steel_ingot",""},
{"","bucket:bucket_empty",""}
}
})
---- VENDING MACHINE :
minetest.register_node("deco:vendingmachine", {
description = "Vending machine",
@ -99,6 +120,18 @@ minetest.register_node("deco:vendingmachine", {
})
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "deco:vendingmachine",
recipe = {
{"default:steel_ingot","default:steel_ingot","default:steel_ingot"},
{"default:steel_ingot","wool:red","default:steel_ingot"},
{"default:steel_ingot","default:steel_ingot","default:steel_ingot"}
}
})
---- RADIO :
minetest.register_node("deco:radio", {
description = "Radio",
@ -131,6 +164,17 @@ minetest.register_node("deco:radio", {
})
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "deco:radio",
recipe = {
{"","",""},
{"","default:steel_ingot",""},
{"","wool:black",""}
}
})
---- TABLE :
minetest.register_node("deco:table", {
@ -164,6 +208,17 @@ minetest.register_node("deco:table", {
})
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "deco:table",
recipe = {
{"group:wood","group:wood","group:wood"},
{"default:stick","","default:stick"},
{"default:stick","","default:stick"}
}
})
---- COMPUTER :
minetest.register_node("deco:computer", {
@ -197,6 +252,18 @@ minetest.register_node("deco:computer", {
})
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "deco:computer",
recipe = {
{"default:steel_ingot","default:steel_ingot","default:steel_ingot"},
{"default:steel_ingot","default:glass","default:steel_ingot"},
{"","default:steel_ingot",""}
}
})
---- ARMCHAIR :
minetest.register_node("deco:armchair", {
description = "Armchair",
@ -229,7 +296,15 @@ minetest.register_node("deco:armchair", {
})
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "deco:armchair",
recipe = {
{"","","wool:red"},
{"wool:red","wool:red","wool:red"},
{"wool:red","","wool:red"}
}
})
---- SHELVING :
@ -264,6 +339,16 @@ minetest.register_node("deco:shelving", {
})
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "deco:shelving",
recipe = {
{"default:steel_ingot","","default:steel_ingot"},
{"default:steel_ingot","default:steel_ingot","default:steel_ingot"},
{"default:steel_ingot","","default:steel_ingot"}
}
})
---- MEDICINE BOX : ( Não tem craft
@ -350,6 +435,17 @@ minetest.register_node("deco:trafficcone", {
})
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "deco:trafficcone 5",
recipe = {
{"","wool:orange",""},
{"","wool:white",""},
{"wool:orange","wool:orange","wool:orange"}
}
})
---- TRAFFIC POLE:
minetest.register_node("deco:trafficpole", {
description = "Traffic Pole",
@ -382,12 +478,21 @@ minetest.register_node("deco:trafficpole", {
})
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "deco:trafficpole 3",
recipe = {
{"","wool:orange",""},
{"","wool:white",""},
{"","wool:orange",""}
}
})
---- ROAD BLOCK:
minetest.register_node("deco:roadblock", {
description = "Traffic Pole",
minetest.register_node("deco:trafficblock", {
description = "Traffic Block",
drawtype = "mesh",
mesh = "road_block.obj",
--visual_size = {x=1, y=1},
@ -417,6 +522,16 @@ minetest.register_node("deco:roadblock", {
})
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "deco:trafficblock 8",
recipe = {
{"wool:red","wool:white","wool:red"},
{"wool:red","wool:white","wool:red"},
{"default:steel_ingot","","default:steel_ingot"}
}
})
---- Cardboard box:
@ -466,22 +581,22 @@ minetest.register_node("deco:cardboardbox", {
-- Bullets :
{
items = {'rangedweapons:45acp 3'},
items = {'rangedweapons:45acp 6'},
rarity = 3,
},
{
items = {'rangedweapons:357 3'},
items = {'rangedweapons:357 6'},
rarity = 4,
},
{
items = {'rangedweapons:9mm 3'},
items = {'rangedweapons:9mm 6'},
rarity = 5,
},
{
items = {'rangedweapons:762mm 3'},
items = {'rangedweapons:762mm 6'},
rarity = 6,
},

BIN
deco/textures/oil_shale.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

BIN
deco/textures/rubber.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 583 B

View File

@ -22,7 +22,7 @@ local zombienods = {
---- SKULL SWORD ------------------------------------------------------------------------------------------------------
mobs:register_mob("doctorzombie:doctorzombie", {
nametag = "Doctor Zombie" ,
--nametag = "Doctor Zombie" ,
type = "monster",
passive = false,
attack_type = "dogfight",
@ -53,7 +53,7 @@ mobs:register_mob("doctorzombie:doctorzombie", {
walk_velocity = 1,
run_velocity = 4,
jump_height = 2,
stepheight = 1.1,
stepheight = 1.5,
floats = 0,
view_range = 35,
drops = {

View File

@ -22,7 +22,7 @@ local zombienods = {
---- SKULL SWORD ------------------------------------------------------------------------------------------------------
mobs:register_mob("fatzombie:fatzombie", {
nametag = "Fat Zombie" ,
--nametag = "Fat Zombie" ,
type = "monster",
passive = false,
attack_type = "dogfight",
@ -55,7 +55,7 @@ mobs:register_mob("fatzombie:fatzombie", {
walk_velocity = 1,
run_velocity = 3,
jump_height = 2,
stepheight = 1.1,
stepheight = 1.5,
floats = 0,
view_range = 35,
drops = {

View File

@ -34,10 +34,10 @@ minetest.register_node("fortification:wirefence", {
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "fortification:grid",
output = "fortification:grid 6",
recipe = {
{"default:steel_ingot","","default:steel_ingot"},
{"","default:steel_ingot",""},
{"fortification:barbed_wire","fortification:barbed_wire","fortification:barbed_wire"},
{"fortification:barbed_wire","fortification:barbed_wire","fortification:barbed_wire"},
{"default:steel_ingot","","default:steel_ingot"}
}
})
@ -73,7 +73,7 @@ minetest.register_node("fortification:barbed_wire", {
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "fortification:barbed_wire",
output = "fortification:barbed_wire 4",
recipe = {
{"","default:steel_ingot",""},
{"default:steel_ingot","","default:steel_ingot"},
@ -99,11 +99,11 @@ minetest.register_node("fortification:sandbag", {
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "fortification:barbedwire2",
output = "fortification:sandbag",
recipe = {
{"group:sand","","group:sand"},
{"","group:sand",""},
{"group:sand","","group:sand"}
{"farming:string","farming:string","farming:string"},
{"farming:string","group:sand","farming:string"},
{"farming:string","farming:string","farming:string"}
}
})
@ -121,7 +121,7 @@ minetest.register_node("fortification:metal_wall", {
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "fortification:barbedwire2",
output = "fortification:metal_wall 8",
recipe = {
{"default:steelblock","default:steelblock",""},
{"default:steelblock","default:steelblock",""},

View File

@ -31,12 +31,12 @@ minetest.register_craftitem("items:bandaid", {
minetest.register_craftitem("items:medicalkit", {
description = "Medical Kit\n".. core.colorize("#ff0000", "+ 10 of blood"),
description = "Medical Kit\n".. core.colorize("#ff0000", "+ 20 of blood"),
inventory_image = "medic_kit.png",
on_use = function(itemstack, user, pointed_thing)
local hp = user:get_hp()
if hp ~= 20 then
user:set_hp(hp + 10)
user:set_hp(hp + 20)
itemstack:take_item()
end
return itemstack

View File

@ -23,7 +23,7 @@ local zombienods = {
---- SKULL SWORD ------------------------------------------------------------------------------------------------------
mobs:register_mob("lumberjackzombie:lumberjackzombie", {
nametag = "Lumberjack Zombie" ,
--nametag = "Lumberjack Zombie" ,
type = "monster",
passive = false,
attack_type = "dogfight",
@ -54,7 +54,7 @@ mobs:register_mob("lumberjackzombie:lumberjackzombie", {
walk_velocity = 1,
run_velocity = 5,
jump_height = 2,
stepheight = 1.1,
stepheight = 1.5,
floats = 0,
view_range = 35,
drops = {
@ -101,30 +101,6 @@ mobs:register_egg("lumberjackzombie:lumberjackzombie", "Lumberjack Zombie", "zom
--------------------------------------------------------------------------------
-------------------------------- AXE -------------------------------------------
--------------------------------------------------------------------------------
--[[
minetest.register_tool("huntersaxe:hunter_axe", {
description = core.colorize("#16c21e", "Hunter Axe"),
inventory_image = "hunter_axe.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
choppy={times={[1]=2.50, [2]=1.40, [3]=1.00}, uses=20, maxlevel=2},
},
damage_groups = {fleshy=5},
},
sound = {breaks = "default_tool_breaks"},
groups = {axe = 1}
})
]]

View File

@ -25,7 +25,7 @@ local zombienods = {
---- SKULL SWORD ------------------------------------------------------------------------------------------------------
mobs:register_mob("minerzombie:minerzombie", {
nametag = "Miner Zombie" ,
--nametag = "Miner Zombie" ,
type = "monster",
passive = false,
attack_type = "dogfight",
@ -55,7 +55,7 @@ mobs:register_mob("minerzombie:minerzombie", {
walk_velocity = 1,
run_velocity = 5,
jump_height = 2,
stepheight = 1.1,
stepheight = 1.5,
floats = 0,
view_range = 35,
drops = {

View File

@ -1,3 +1,3 @@
name = minerzombie
depends = default, mobs ,
depends = default, mobs , 3d_armor

View File

@ -43,6 +43,41 @@ minetest.register_craft({ ------ CRaFT
]]
---- white block :
minetest.register_node("nodes:whiteblock", {
description = "White Block",
tiles = {"white_block.png"},
paramtype2 = "facedir",
groups = {cracky = 3},
drop = "nodes:road",
sounds = default.node_sound_stone_defaults()
})
---- COAL STAIR :
minetest.register_node("nodes:stair_coal", {
description = "Stair Coal",
tiles = {"default_coal_block.png"},
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
groups = {cracky = 3},
drop = "default:coal_lump",
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0, 0.5},
{-0.5, 0, 0, 0.5, 0.5, 0.5},
},
}
})
---- ROAD :
minetest.register_node("nodes:road", {
@ -103,7 +138,7 @@ minetest.register_node("nodes:road3", {
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "nodes:road2 12",
output = "nodes:road3 12",
recipe = {
{"nodes:road","dye:yellow","nodes:road"},
{"nodes:road","dye:yellow","dye:yellow"},
@ -127,7 +162,7 @@ minetest.register_node("nodes:roadstopline", {
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "nodes:road2 12",
output = "nodes:roadstopline 12",
recipe = {
{"nodes:road","dye:white","nodes:road"},
{"nodes:road","dye:white","nodes:road"},
@ -151,11 +186,11 @@ minetest.register_node("nodes:sidewalk", {
minetest.register_craft({ ------ CRaFT
type = "shaped",
output = "nodes:road2 12",
output = "nodes:sidewalk 6",
recipe = {
{"farming:string","farming:string","farming:string"},
{"farming:string","group:sand","farming:string"},
{"farming:string","farming:string","farming:string"}
{"default:stone_block","default:stone_block","default:stone_block"},
{"default:stone_block","default:stone_block","default:stone_block"},
{"","",""}
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

View File

@ -9,10 +9,10 @@ minetest.register_decoration({
"default:dirt_with_grass",
"default:dirt_with_snow"
},
sidelen = 16,
sidelen = 80, -- 16
fill_ratio = 0.00008,
flags = "place_center_x,place_center_z,force_placement,all_floors",
y_max = 200,
y_max = 50,
y_min = 0,
schematic = minetest.get_modpath("structures").."/schematics/home1.mts",
rotation = "random",

Binary file not shown.

View File

@ -25,7 +25,7 @@ local zombienods = {
--------------------------------------------------------------------------------
mobs:register_mob("survivorzombie:survivorzombie", {
nametag = "Survivor Zombie" ,
--nametag = "Survivor Zombie" ,
type = "monster",
passive = false,
attack_type = "dogfight",
@ -56,7 +56,7 @@ mobs:register_mob("survivorzombie:survivorzombie", {
walk_velocity = 2,
run_velocity = 5,
jump_height = 2,
stepheight = 1.1,
stepheight = 1.5,
floats = 0,
view_range = 35,
drops = {
@ -108,11 +108,12 @@ mobs:register_egg("survivorzombie:survivorzombie", "Survivor Zombie", "zombies_e
--------------------------------------------------------------------------------
mobs:register_mob("survivorzombie:survivorzombie2", {
nametag = "Survivor Zombie 2" ,
--nametag = "Survivor Zombie 2" ,
type = "monster",
passive = false,
attack_type = "dogfight",
--attack_animals = true,
attack_npcs = false,
group_attack = true,
pathfinding = true,
reach = 3,
@ -138,7 +139,7 @@ mobs:register_mob("survivorzombie:survivorzombie2", {
walk_velocity = 2,
run_velocity = 7,
jump_height = 5,
stepheight = 1.1,
stepheight = 1.5,
floats = 0,
view_range = 35,
drops = {

View File

@ -22,16 +22,16 @@ local zombienods = {
---- SKULL SWORD ------------------------------------------------------------------------------------------------------
mobs:register_mob("tankzombie:tankzombie", {
nametag = "Tank Zombie" ,
--nametag = "Tank Zombie" ,
type = "monster",
passive = false,
attack_type = "dogfight",
--attack_animals = true,
pathfinding = true,
reach = 5,
damage = 10,
hp_min = 200,
hp_max = 200,
damage = 12,
hp_min = 250,
hp_max = 250,
armor = 80,
collisionbox = {-0.4, 0, -0.4, 0.4, 3.0, 0.4},
visual = "mesh",
@ -53,11 +53,12 @@ mobs:register_mob("tankzombie:tankzombie", {
walk_velocity = 1,
run_velocity = 3,
jump_height = 5,
stepheight = 1.1,
stepheight = 1.7,
floats = 0,
view_range = 35,
drops = {
--{name = "huntersaxe:hunter_axe", chance = 2, min = 1, max = 1},
{name = "default:diamondblock", chance = 2, min = 1, max = 1},
},
water_damage = 0,
@ -90,7 +91,7 @@ mobs:spawn({
nodes = hunternods,
min_light = 0,
max_light = 7, -- 14
chance = 8000,
chance = 16000,
min_height = 0,
max_height = 200,
--max_height = 200,
@ -102,28 +103,6 @@ mobs:register_egg("tankzombie:tankzombie", "Tank Zombie", "zombies_egg.png", 0)
--------------------------------------------------------------------------------
-------------------------------- AXE -------------------------------------------
--------------------------------------------------------------------------------
--[[
minetest.register_tool("huntersaxe:hunter_axe", {
description = core.colorize("#16c21e", "Hunter Axe"),
inventory_image = "hunter_axe.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
choppy={times={[1]=2.50, [2]=1.40, [3]=1.00}, uses=20, maxlevel=2},
},
damage_groups = {fleshy=5},
},
sound = {breaks = "default_tool_breaks"},
groups = {axe = 1}
})
]]

Binary file not shown.

View File

@ -22,7 +22,7 @@ local zombienods = {
---- SKULL SWORD ------------------------------------------------------------------------------------------------------
mobs:register_mob("walkingzombie:walkingzombie", {
nametag = "Walking Zombie" ,
--nametag = "Walking Zombie" ,
type = "monster",
passive = false,
attack_type = "dogfight",
@ -55,7 +55,7 @@ mobs:register_mob("walkingzombie:walkingzombie", {
walk_velocity = 1,
run_velocity = 5,
jump_height = 2,
stepheight = 1.1,
stepheight = 1.5,
floats = 0,
view_range = 35,
drops = {