alpha5
64
conquist/init.lua
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
if minetest.get_modpath("awards") then
|
||||||
|
|
||||||
|
|
||||||
|
--- LADRÃO DE TUMULO
|
||||||
|
awards.register_award("graverobber", {
|
||||||
|
title = "grave robber",
|
||||||
|
description = "dig 20 tombstones",
|
||||||
|
icon = "ladraodetumulo.png",
|
||||||
|
background = "awards_bg_mining.png",
|
||||||
|
-- prizes = {"default:stone_with_diamond"} ,
|
||||||
|
trigger = {
|
||||||
|
type = "dig",
|
||||||
|
node = "group:tree",
|
||||||
|
target = 20
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-- MUITO DOCE...
|
||||||
|
awards.register_award("verysweet", {
|
||||||
|
title = "Very sweet",
|
||||||
|
description = "Eat 50 chocolate bars",
|
||||||
|
icon = "muitodoce.png",
|
||||||
|
background = "awards_bg_mining.png",
|
||||||
|
--requires = {"},
|
||||||
|
--prizes = {""} ,
|
||||||
|
trigger = {
|
||||||
|
type = "eat",
|
||||||
|
item = "foods:chocolate_bar",
|
||||||
|
target = 50
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-- CURA TOTAL...
|
||||||
|
awards.register_award("totalcure", {
|
||||||
|
title = "Total Cure",
|
||||||
|
description = "Use 20 medical kits",
|
||||||
|
icon = "curatotal.png",
|
||||||
|
background = "awards_bg_mining.png",
|
||||||
|
--requires = {"},
|
||||||
|
--prizes = {""} ,
|
||||||
|
trigger = {
|
||||||
|
type = "eat",
|
||||||
|
item = "items:medicalkit",
|
||||||
|
target = 20
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
-- MAIS TANK QUE UM TANK ...
|
||||||
|
awards.register_award("tank", {
|
||||||
|
title = "More tank than a tank",
|
||||||
|
description = "Kill a zombie tank..",
|
||||||
|
icon = "tank.png",
|
||||||
|
--secret = true
|
||||||
|
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
end
|
3
conquist/mod.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
name = conquist
|
||||||
|
depends = default
|
||||||
|
optional_depends = awards
|
BIN
conquist/textures/awards_z4t.png
Normal file
After Width: | Height: | Size: 510 B |
BIN
conquist/textures/curatotal.png
Normal file
After Width: | Height: | Size: 579 B |
BIN
conquist/textures/ladraodetumulo.png
Normal file
After Width: | Height: | Size: 555 B |
BIN
conquist/textures/muitodoce.png
Normal file
After Width: | Height: | Size: 579 B |
BIN
conquist/textures/tank.png
Normal file
After Width: | Height: | Size: 574 B |
@ -41,7 +41,7 @@ mobs:register_mob("crawlerzombie:crawlerzombie", {
|
|||||||
mesh = "crawlerzombie.b3d",
|
mesh = "crawlerzombie.b3d",
|
||||||
--rotate = 180,
|
--rotate = 180,
|
||||||
textures = {
|
textures = {
|
||||||
{"walkingzombie.png"},
|
{"crawlerzombie.png"},
|
||||||
},
|
},
|
||||||
--glow = 4,
|
--glow = 4,
|
||||||
--blood_texture = " ",
|
--blood_texture = " ",
|
||||||
|
BIN
crawlerzombie/textures/crawlerzombie.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB |
@ -656,6 +656,97 @@ minetest.register_node("deco:cardboardbox", {
|
|||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
---- Cardboard box:
|
||||||
|
minetest.register_node("deco:gravestone", {
|
||||||
|
description = "Gravestone",
|
||||||
|
drawtype = "mesh",
|
||||||
|
mesh = "gravestone.obj",
|
||||||
|
tiles = {
|
||||||
|
|
||||||
|
"gravestone_dirt.png",
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
--on_place = minetest.rotate_node,
|
||||||
|
sunlight_propagates = true,
|
||||||
|
walkable = true,
|
||||||
|
floodable = false,
|
||||||
|
groups = {oddly_breakable_by_hand = 3},
|
||||||
|
|
||||||
|
|
||||||
|
drop = {
|
||||||
|
--max_items = 5,
|
||||||
|
items = {
|
||||||
|
|
||||||
|
-- Bullets :
|
||||||
|
|
||||||
|
{
|
||||||
|
items = {'rangedweapons:45acp 6'},
|
||||||
|
rarity = 3,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
items = {'rangedweapons:357 6'},
|
||||||
|
rarity = 4,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
items = {'rangedweapons:9mm 6'},
|
||||||
|
rarity = 5,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
items = {'rangedweapons:762mm 6'},
|
||||||
|
rarity = 6,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
-- esqueda,altura,tras..,direita ,negativo aumenta para baixo, positivo aumenta para cima
|
||||||
|
fixed = {-0.2, -0.5, -0.1, 0.2, 0.4, 0.1},
|
||||||
|
},
|
||||||
|
|
||||||
|
node_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-0.2, -0.5, -0.1, 0.2, 0.4, 0.1},
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
--- GRAVESTONE DECO MAP :
|
||||||
|
minetest.register_decoration({
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {
|
||||||
|
"default:dirt_with_coniferous",
|
||||||
|
"default:dirt_with_coniferous_litter",
|
||||||
|
"default:dirt_with_grass",
|
||||||
|
"default:dirt_with_snow"
|
||||||
|
},
|
||||||
|
sidelen = 80,
|
||||||
|
place_offset_y = 0,
|
||||||
|
biomes = {"underground"},
|
||||||
|
flags = "force_placement,all_floors",
|
||||||
|
fill_ratio = 0.0002,
|
||||||
|
y_max = 50,
|
||||||
|
y_min = 0,
|
||||||
|
decoration ="deco:gravestone",
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
minetest.register_craft({ ------ CRaFT
|
minetest.register_craft({ ------ CRaFT
|
||||||
type = "shaped",
|
type = "shaped",
|
||||||
|
4
deco/models/gravestone.mtl
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Made in Blockbench 4.6.1
|
||||||
|
newmtl m_09e62cdc-c4c3-8798-c5b0-448313532aa6
|
||||||
|
map_Kd gravestone_dirt.png
|
||||||
|
newmtl none
|
141
deco/models/gravestone.obj
Normal file
@ -0,0 +1,141 @@
|
|||||||
|
# Made in Blockbench 4.6.1
|
||||||
|
mtllib gravestone.mtl
|
||||||
|
|
||||||
|
o cube
|
||||||
|
v 0.25 0.3125 0.0625
|
||||||
|
v 0.25 0.3125 0
|
||||||
|
v 0.25 -0.4375 0.0625
|
||||||
|
v 0.25 -0.4375 0
|
||||||
|
v -0.25 0.3125 0
|
||||||
|
v -0.25 0.3125 0.0625
|
||||||
|
v -0.25 -0.4375 0
|
||||||
|
v -0.25 -0.4375 0.0625
|
||||||
|
vt 0 1
|
||||||
|
vt 0.25 1
|
||||||
|
vt 0.25 0.625
|
||||||
|
vt 0 0.625
|
||||||
|
vt 0 0.46875
|
||||||
|
vt 0.03125 0.46875
|
||||||
|
vt 0.03125 0.09375
|
||||||
|
vt 0 0.09375
|
||||||
|
vt 0.25 1
|
||||||
|
vt 0.5 1
|
||||||
|
vt 0.5 0.625
|
||||||
|
vt 0.25 0.625
|
||||||
|
vt 0.03125 0.46875
|
||||||
|
vt 0.0625 0.46875
|
||||||
|
vt 0.0625 0.09375
|
||||||
|
vt 0.03125 0.09375
|
||||||
|
vt 0.75 0.65625
|
||||||
|
vt 0.5 0.65625
|
||||||
|
vt 0.5 0.6875
|
||||||
|
vt 0.75 0.6875
|
||||||
|
vt 0.75 0.65625
|
||||||
|
vt 0.5 0.65625
|
||||||
|
vt 0.5 0.625
|
||||||
|
vt 0.75 0.625
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 1 0 0
|
||||||
|
vn 0 0 1
|
||||||
|
vn -1 0 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
usemtl m_09e62cdc-c4c3-8798-c5b0-448313532aa6
|
||||||
|
f 4/4/1 7/3/1 5/2/1 2/1/1
|
||||||
|
f 3/8/2 4/7/2 2/6/2 1/5/2
|
||||||
|
f 8/12/3 3/11/3 1/10/3 6/9/3
|
||||||
|
f 7/16/4 8/15/4 6/14/4 5/13/4
|
||||||
|
f 6/20/5 1/19/5 2/18/5 5/17/5
|
||||||
|
f 7/24/6 4/23/6 3/22/6 8/21/6
|
||||||
|
o cube
|
||||||
|
v 0.375 -0.4375 0.1875
|
||||||
|
v 0.375 -0.4375 -0.125
|
||||||
|
v 0.375 -0.5 0.1875
|
||||||
|
v 0.375 -0.5 -0.125
|
||||||
|
v -0.375 -0.4375 -0.125
|
||||||
|
v -0.375 -0.4375 0.1875
|
||||||
|
v -0.375 -0.5 -0.125
|
||||||
|
v -0.375 -0.5 0.1875
|
||||||
|
vt 0.5 0.8125
|
||||||
|
vt 0.875 0.8125
|
||||||
|
vt 0.875 0.78125
|
||||||
|
vt 0.5 0.78125
|
||||||
|
vt 0.0625 0.46875
|
||||||
|
vt 0.21875 0.46875
|
||||||
|
vt 0.21875 0.4375
|
||||||
|
vt 0.0625 0.4375
|
||||||
|
vt 0.5 0.78125
|
||||||
|
vt 0.875 0.78125
|
||||||
|
vt 0.875 0.75
|
||||||
|
vt 0.5 0.75
|
||||||
|
vt 0.21875 0.46875
|
||||||
|
vt 0.375 0.46875
|
||||||
|
vt 0.375 0.4375
|
||||||
|
vt 0.21875 0.4375
|
||||||
|
vt 0.375 0.46875
|
||||||
|
vt 0 0.46875
|
||||||
|
vt 0 0.625
|
||||||
|
vt 0.375 0.625
|
||||||
|
vt 0.75 0.625
|
||||||
|
vt 0.375 0.625
|
||||||
|
vt 0.375 0.46875
|
||||||
|
vt 0.75 0.46875
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 1 0 0
|
||||||
|
vn 0 0 1
|
||||||
|
vn -1 0 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
usemtl m_09e62cdc-c4c3-8798-c5b0-448313532aa6
|
||||||
|
f 12/28/7 15/27/7 13/26/7 10/25/7
|
||||||
|
f 11/32/8 12/31/8 10/30/8 9/29/8
|
||||||
|
f 16/36/9 11/35/9 9/34/9 14/33/9
|
||||||
|
f 15/40/10 16/39/10 14/38/10 13/37/10
|
||||||
|
f 14/44/11 9/43/11 10/42/11 13/41/11
|
||||||
|
f 15/48/12 12/47/12 11/46/12 16/45/12
|
||||||
|
o cube
|
||||||
|
v 0.3125 -0.375 0.125
|
||||||
|
v 0.3125 -0.375 -0.0625
|
||||||
|
v 0.3125 -0.4375 0.125
|
||||||
|
v 0.3125 -0.4375 -0.0625
|
||||||
|
v -0.3125 -0.375 -0.0625
|
||||||
|
v -0.3125 -0.375 0.125
|
||||||
|
v -0.3125 -0.4375 -0.0625
|
||||||
|
v -0.3125 -0.4375 0.125
|
||||||
|
vt 0.5 0.75
|
||||||
|
vt 0.8125 0.75
|
||||||
|
vt 0.8125 0.71875
|
||||||
|
vt 0.5 0.71875
|
||||||
|
vt 0.375 0.46875
|
||||||
|
vt 0.46875 0.46875
|
||||||
|
vt 0.46875 0.4375
|
||||||
|
vt 0.375 0.4375
|
||||||
|
vt 0.5 0.71875
|
||||||
|
vt 0.8125 0.71875
|
||||||
|
vt 0.8125 0.6875
|
||||||
|
vt 0.5 0.6875
|
||||||
|
vt 0.46875 0.46875
|
||||||
|
vt 0.5625 0.46875
|
||||||
|
vt 0.5625 0.4375
|
||||||
|
vt 0.46875 0.4375
|
||||||
|
vt 0.8125 0.90625
|
||||||
|
vt 0.5 0.90625
|
||||||
|
vt 0.5 1
|
||||||
|
vt 0.8125 1
|
||||||
|
vt 0.8125 0.90625
|
||||||
|
vt 0.5 0.90625
|
||||||
|
vt 0.5 0.8125
|
||||||
|
vt 0.8125 0.8125
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 1 0 0
|
||||||
|
vn 0 0 1
|
||||||
|
vn -1 0 0
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0 -1 0
|
||||||
|
usemtl m_09e62cdc-c4c3-8798-c5b0-448313532aa6
|
||||||
|
f 20/52/13 23/51/13 21/50/13 18/49/13
|
||||||
|
f 19/56/14 20/55/14 18/54/14 17/53/14
|
||||||
|
f 24/60/15 19/59/15 17/58/15 22/57/15
|
||||||
|
f 23/64/16 24/63/16 22/62/16 21/61/16
|
||||||
|
f 22/68/17 17/67/17 18/66/17 21/65/17
|
||||||
|
f 23/72/18 20/71/18 19/70/18 24/69/18
|
BIN
deco/textures/gravestone_dirt.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
-- GRID :
|
-- GRID :
|
||||||
|
|
||||||
minetest.register_node("fortification:wirefence", {
|
minetest.register_node("fortification:grid", {
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
description = "Wire Fence",
|
description = "Grid",
|
||||||
tiles = {"grid.png"},
|
tiles = {"grid.png"},
|
||||||
-- light_source = 4, -- somente para identificar o bloco
|
-- light_source = 4, -- somente para identificar o bloco
|
||||||
groups = {cracky = 3},
|
groups = {cracky = 3},
|
||||||
@ -53,7 +53,7 @@ minetest.register_node("fortification:barbed_wire", {
|
|||||||
groups = {cracky = 3},
|
groups = {cracky = 3},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
-- damage_per_second = 1,
|
damage_per_second = 3,
|
||||||
drop = "fortification:barbed_wire",
|
drop = "fortification:barbed_wire",
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
|
|
||||||
@ -131,8 +131,8 @@ minetest.register_craft({ ------ CRaFT
|
|||||||
|
|
||||||
|
|
||||||
-- BADED WIRE : ---------------------------------------------------------------
|
-- BADED WIRE : ---------------------------------------------------------------
|
||||||
minetest.register_node("fortification:barbedwire2", {
|
minetest.register_node("fortification:wirefence", {
|
||||||
description = "Barbed wire",
|
description = "Wire fence",
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "wire.obj",
|
mesh = "wire.obj",
|
||||||
--inventory_image = "",
|
--inventory_image = "",
|
||||||
@ -146,7 +146,7 @@ minetest.register_node("fortification:barbedwire2", {
|
|||||||
floodable = false,
|
floodable = false,
|
||||||
damage_per_second =2,
|
damage_per_second =2,
|
||||||
groups = {cracky = 3, oddly_breakable_by_hand = 3},
|
groups = {cracky = 3, oddly_breakable_by_hand = 3},
|
||||||
drop = "fortification:barbedwire2",
|
drop = "fortification:wirefence",
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
|
|
||||||
selection_box = {
|
selection_box = {
|
||||||
@ -168,10 +168,10 @@ minetest.register_node("fortification:barbedwire2", {
|
|||||||
|
|
||||||
minetest.register_craft({ ------ CRaFT
|
minetest.register_craft({ ------ CRaFT
|
||||||
type = "shaped",
|
type = "shaped",
|
||||||
output = "fortification:barbedwire2",
|
output = "fortification:wirefence 8",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"default:steel_ingot","","default:steel_ingot"},
|
{"default:steel_ingot","fortification:barbed_wire ","default:steel_ingot"},
|
||||||
{"","default:steel_ingot",""},
|
{"default:steel_ingot","fortification:barbed_wire ","default:steel_ingot"},
|
||||||
{"default:steel_ingot","","default:steel_ingot"}
|
{"default:steel_ingot","","default:steel_ingot"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name = zombies4test
|
name = zombies4test
|
||||||
description =
|
description = This modpack adds several zombies to your world, some can be very strong and fast, so be careful...
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
8
runner/LICENSE
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
MIT License
|
||||||
|
Copyright (c) <year> <copyright holders>
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
3
runner/depends.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
default
|
||||||
|
mobs
|
||||||
|
|
109
runner/init.lua
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
local zombienods = {
|
||||||
|
"default:dirt",
|
||||||
|
"default:dirt_with_rainforest",
|
||||||
|
"default:dirt_with_grass",
|
||||||
|
"default:dirt_with_dry_grass",
|
||||||
|
"default:dry_dirt_with_dry_grass",
|
||||||
|
"default:dirt_with_coniferous_litter",
|
||||||
|
"default:stone",
|
||||||
|
"default:ice",
|
||||||
|
"default:snowblock",
|
||||||
|
"default:dirt_with_snow",
|
||||||
|
"default:sand",
|
||||||
|
"default:desert_sand",
|
||||||
|
"default:desert_stone",
|
||||||
|
"default:stone",
|
||||||
|
"default:desert_stone",
|
||||||
|
--"default:cobble",
|
||||||
|
"default:ice",
|
||||||
|
"default:gravel",
|
||||||
|
}
|
||||||
|
|
||||||
|
---- SKULL SWORD ------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
mobs:register_mob("runner:runner", {
|
||||||
|
--nametag = "Runner Zombie" ,
|
||||||
|
type = "monster",
|
||||||
|
passive = false,
|
||||||
|
attack_type = "dogfight",
|
||||||
|
--attack_animals = true,
|
||||||
|
attack_npcs = false,
|
||||||
|
group_attack = true,
|
||||||
|
pathfinding = true,
|
||||||
|
reach = 3,
|
||||||
|
damage = 3,
|
||||||
|
hp_min = 20,
|
||||||
|
hp_max = 20,
|
||||||
|
armor = 100,
|
||||||
|
collisionbox = {-0.4, 0, -0.4, 0.4, 1.8, 0.4},
|
||||||
|
visual = "mesh",
|
||||||
|
mesh = "runner.b3d",
|
||||||
|
--rotate = 180,
|
||||||
|
textures = {
|
||||||
|
{"runner.png"},
|
||||||
|
--{""},
|
||||||
|
|
||||||
|
},
|
||||||
|
--glow = 4,
|
||||||
|
--blood_texture = " ",
|
||||||
|
makes_footstep_sound = true,
|
||||||
|
sounds = {
|
||||||
|
random ="zombie_angry",
|
||||||
|
--attack = "zombie_hit",
|
||||||
|
death = "zombie_death ",
|
||||||
|
},
|
||||||
|
walk_velocity = 2,
|
||||||
|
run_velocity = 8,
|
||||||
|
jump_height = 2,
|
||||||
|
stepheight = 1.7,
|
||||||
|
floats = 0,
|
||||||
|
view_range = 35,
|
||||||
|
drops = {
|
||||||
|
{name = "default:coal_lump", chance = 2, min = 1, max = 1},
|
||||||
|
{name = "farming:bread 3", chance = 2, min = 1, max = 1},
|
||||||
|
{name = "foods:canned_tomato", chance = 4, min = 1, max = 1},
|
||||||
|
|
||||||
|
},
|
||||||
|
water_damage = 0,
|
||||||
|
lava_damage = 1,
|
||||||
|
light_damage = 0,
|
||||||
|
animation = {
|
||||||
|
speed_normal = 15,
|
||||||
|
speed_run = 15,
|
||||||
|
stand_start = 0,
|
||||||
|
stand_end = 80,
|
||||||
|
walk_start = 100,
|
||||||
|
walk_end = 180,
|
||||||
|
run_start = 200,
|
||||||
|
run_end = 240,
|
||||||
|
punch_start = 200,
|
||||||
|
punch_end = 240,
|
||||||
|
die_start = 280,
|
||||||
|
die_end = 300,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
mobs:spawn({
|
||||||
|
name = "runner:runner",
|
||||||
|
nodes = hunternods,
|
||||||
|
min_light = 0,
|
||||||
|
max_light = 7, -- 14
|
||||||
|
chance = 30000,
|
||||||
|
min_height = -20000,
|
||||||
|
max_height = 200,
|
||||||
|
--max_height = 200,
|
||||||
|
active_object_count = 1,
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
mobs:register_egg("runner:runner", "Runner Zombie", "zombies_egg.png", 0)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
3
runner/mod.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
name = runner
|
||||||
|
depends = default, mobs
|
||||||
|
|
BIN
runner/models/runner.b3d
Normal file
BIN
runner/sounds/zombie_hit.ogg
Normal file
BIN
runner/textures/runner.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
runner/textures/zombies_egg.png
Normal file
After Width: | Height: | Size: 853 B |
@ -12,7 +12,7 @@ minetest.register_decoration({
|
|||||||
sidelen = 80, -- 16
|
sidelen = 80, -- 16
|
||||||
fill_ratio = 0.00008,
|
fill_ratio = 0.00008,
|
||||||
flags = "place_center_x,place_center_z,force_placement,all_floors",
|
flags = "place_center_x,place_center_z,force_placement,all_floors",
|
||||||
y_max = 50,
|
y_max = 10,
|
||||||
y_min = 0,
|
y_min = 0,
|
||||||
schematic = minetest.get_modpath("structures").."/schematics/home1.mts",
|
schematic = minetest.get_modpath("structures").."/schematics/home1.mts",
|
||||||
rotation = "random",
|
rotation = "random",
|
||||||
|
@ -137,7 +137,7 @@ mobs:register_mob("survivorzombie:survivorzombie2", {
|
|||||||
death = "zombie_death ",
|
death = "zombie_death ",
|
||||||
},
|
},
|
||||||
walk_velocity = 2,
|
walk_velocity = 2,
|
||||||
run_velocity = 7,
|
run_velocity = 5,
|
||||||
jump_height = 5,
|
jump_height = 5,
|
||||||
stepheight = 1.5,
|
stepheight = 1.5,
|
||||||
floats = 0,
|
floats = 0,
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
|
||||||
|
-- Sound :
|
||||||
|
-- https://freesound.org/people/missozzy/sounds/169985/
|
||||||
|
-- https://freesound.org/people/zglar/sounds/232289/
|
||||||
|
|
||||||
local zombienods = {
|
local zombienods = {
|
||||||
"default:dirt",
|
"default:dirt",
|
||||||
"default:dirt_with_rainforest",
|
"default:dirt_with_rainforest",
|
||||||
@ -46,13 +51,13 @@ mobs:register_mob("tankzombie:tankzombie", {
|
|||||||
--blood_texture = " ",
|
--blood_texture = " ",
|
||||||
makes_footstep_sound = true,
|
makes_footstep_sound = true,
|
||||||
sounds = {
|
sounds = {
|
||||||
random ="zombie_angry",
|
random ="missozzy",
|
||||||
--attack = "zombie_hit",
|
--attack = "zombie_hit",
|
||||||
death = "zombie_death ",
|
death = "roar ",
|
||||||
},
|
},
|
||||||
walk_velocity = 1,
|
walk_velocity = 1,
|
||||||
run_velocity = 3,
|
run_velocity = 3,
|
||||||
jump_height = 5,
|
jump_height = 15,
|
||||||
stepheight = 1.7,
|
stepheight = 1.7,
|
||||||
floats = 0,
|
floats = 0,
|
||||||
view_range = 35,
|
view_range = 35,
|
||||||
@ -62,8 +67,15 @@ mobs:register_mob("tankzombie:tankzombie", {
|
|||||||
|
|
||||||
},
|
},
|
||||||
water_damage = 0,
|
water_damage = 0,
|
||||||
lava_damage = 1,
|
lava_damage = 0,
|
||||||
light_damage = 0,
|
light_damage = 0,
|
||||||
|
immune_to = {
|
||||||
|
|
||||||
|
{"fortification:wirefence", -10} ,
|
||||||
|
{"fortification:barbed_wire", -10} ,
|
||||||
|
{"fortification:punji_sticks", -10} ,
|
||||||
|
|
||||||
|
},
|
||||||
animation = {
|
animation = {
|
||||||
speed_normal = 15,
|
speed_normal = 15,
|
||||||
stand_start = 0,
|
stand_start = 0,
|
||||||
@ -80,6 +92,14 @@ mobs:register_mob("tankzombie:tankzombie", {
|
|||||||
die_end = 380,
|
die_end = 380,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
on_die = function(self, pos) -- POSIÇÃO
|
||||||
|
for _,players in pairs(minetest.get_objects_inside_radius(pos,64)) do -- CONSEGUIR RADIUS ( POSIÇÃO ,64 NODES?)
|
||||||
|
if players:is_player() then -- SE PLAYER
|
||||||
|
awards.unlock(players:get_player_name(), "tank") -- DESBLOQUEAR CONQUISTAS?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
--custom_attack = function()
|
--custom_attack = function()
|
||||||
--end,
|
--end,
|
||||||
})
|
})
|
||||||
|