diff --git a/crawlerzombie/init.lua b/crawlerzombie/init.lua index 382a048..c218071 100644 --- a/crawlerzombie/init.lua +++ b/crawlerzombie/init.lua @@ -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, diff --git a/deco/init.lua b/deco/init.lua index 7d7d585..98ef264 100644 --- a/deco/init.lua +++ b/deco/init.lua @@ -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, }, diff --git a/deco/textures/oil_shale.png b/deco/textures/oil_shale.png new file mode 100644 index 0000000..ba85381 Binary files /dev/null and b/deco/textures/oil_shale.png differ diff --git a/deco/textures/rubber.png b/deco/textures/rubber.png new file mode 100644 index 0000000..56e6baf Binary files /dev/null and b/deco/textures/rubber.png differ diff --git a/doctorzombie/init.lua b/doctorzombie/init.lua index e4db05c..e9c2cb0 100644 --- a/doctorzombie/init.lua +++ b/doctorzombie/init.lua @@ -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 = { diff --git a/fatzombie/init.lua b/fatzombie/init.lua index 1006bfe..c94fb16 100644 --- a/fatzombie/init.lua +++ b/fatzombie/init.lua @@ -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 = { diff --git a/fortification/init.lua b/fortification/init.lua index 7291cc6..573cb49 100644 --- a/fortification/init.lua +++ b/fortification/init.lua @@ -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",""}, diff --git a/items/init.lua b/items/init.lua index b93d611..1278216 100644 --- a/items/init.lua +++ b/items/init.lua @@ -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 diff --git a/lumberjackzombie/init.lua b/lumberjackzombie/init.lua index 201d504..54348a2 100644 --- a/lumberjackzombie/init.lua +++ b/lumberjackzombie/init.lua @@ -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} -}) - - -]] - - diff --git a/minerzombie/init.lua b/minerzombie/init.lua index 8cc62ac..f4abf08 100644 --- a/minerzombie/init.lua +++ b/minerzombie/init.lua @@ -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 = { diff --git a/minerzombie/mod.conf b/minerzombie/mod.conf index 3379dbc..16c899e 100644 --- a/minerzombie/mod.conf +++ b/minerzombie/mod.conf @@ -1,3 +1,3 @@ name = minerzombie -depends = default, mobs , +depends = default, mobs , 3d_armor diff --git a/nodes/init.lua b/nodes/init.lua index a74d399..758056c 100644 --- a/nodes/init.lua +++ b/nodes/init.lua @@ -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"}, + {"","",""} } }) diff --git a/nodes/textures/white_block.png b/nodes/textures/white_block.png new file mode 100644 index 0000000..9d78174 Binary files /dev/null and b/nodes/textures/white_block.png differ diff --git a/structures/init.lua b/structures/init.lua index b31d9f3..fa79196 100644 --- a/structures/init.lua +++ b/structures/init.lua @@ -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", diff --git a/structures/schematics/home1.mts b/structures/schematics/home1.mts index a429975..dba99bd 100644 Binary files a/structures/schematics/home1.mts and b/structures/schematics/home1.mts differ diff --git a/survivorzombie/init.lua b/survivorzombie/init.lua index c333fba..bfbbee3 100644 --- a/survivorzombie/init.lua +++ b/survivorzombie/init.lua @@ -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 = { diff --git a/tankzombie/init.lua b/tankzombie/init.lua index c95566d..aaf340b 100644 --- a/tankzombie/init.lua +++ b/tankzombie/init.lua @@ -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} -}) - - -]] diff --git a/tankzombie/models/zombietank.b3d b/tankzombie/models/zombietank.b3d index decd151..f933a39 100644 Binary files a/tankzombie/models/zombietank.b3d and b/tankzombie/models/zombietank.b3d differ diff --git a/walkingzombie/init.lua b/walkingzombie/init.lua index e4bd91e..0a1e20b 100644 --- a/walkingzombie/init.lua +++ b/walkingzombie/init.lua @@ -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 = {