This commit is contained in:
duckgo 2023-02-02 10:48:14 -03:00
parent e756344d6f
commit 3e7027f34d
56 changed files with 56 additions and 57 deletions

View File

@ -1,5 +1,3 @@
Nada ainda
A simple modpack that adds some zombies to your world and a few other things... A simple modpack that adds some zombies to your world and a few other things...
- BY : DUCKGO - BY : DUCKGO

View File

@ -372,11 +372,11 @@ minetest.register_node("deco:medicinebox", {
--max_items = 5, --max_items = 5,
items = { items = {
{ {
items = {'items:bandaid 1'}, items = {'itemx:bandaid 1'},
rarity = 1, rarity = 1,
}, },
{ {
items = {'items:medicalkit 1'}, items = {'itemx:medicalkit 1'},
rarity = 7, rarity = 7,
}, },
@ -568,7 +568,7 @@ minetest.register_node("deco:cardboardbox", {
-- Foods: -- Foods:
{ {
items = {'foods:canned_beans'}, items = {'foodx:canned_beans'},
rarity = 2, rarity = 2,
}, },

View File

@ -58,9 +58,9 @@ mobs:register_mob("doctorzombie:doctorzombie", {
view_range = 35, view_range = 35,
drops = { drops = {
{name = "foods:candy", chance = 2, min = 1, max = 1}, {name = "foodx:candy", chance = 2, min = 1, max = 1},
{name = "items:bandaid", chance = 4, min = 1, max = 1}, {name = "itemx:bandaid", chance = 4, min = 1, max = 1},
{name = "items:medicalkit", chance = 6, min = 1, max = 1}, {name = "itemx:medicalkit", chance = 6, min = 1, max = 1},
}, },

View File

@ -1,3 +1,3 @@
name = doctorzombie name = doctorzombie
depends = default, mobs ,items depends = default, mobs ,itemx

View File

@ -2,14 +2,14 @@
--- CANNED : --- CANNED :
minetest.register_craftitem("foods:canned_tomato", { minetest.register_craftitem("foodx:canned_tomato", {
description = " Canned Tomato", description = " Canned Tomato",
inventory_image = "beans_canned.png", inventory_image = "beans_canned.png",
on_use = minetest.item_eat(5) on_use = minetest.item_eat(5)
}) })
minetest.register_craftitem("foods:canned_beans", { minetest.register_craftitem("foodx:canned_beans", {
description = "Canned Beans", description = "Canned Beans",
inventory_image = "canned_tomato.png", inventory_image = "canned_tomato.png",
on_use = minetest.item_eat(7) on_use = minetest.item_eat(7)
@ -18,7 +18,7 @@ minetest.register_craftitem("foods:canned_beans", {
--- CHIPS : --- CHIPS :
minetest.register_craftitem("foods:chips", { minetest.register_craftitem("foodx:chips", {
description = "Chips", description = "Chips",
inventory_image = "chips.png", inventory_image = "chips.png",
on_use = minetest.item_eat(7) on_use = minetest.item_eat(7)
@ -27,14 +27,14 @@ minetest.register_craftitem("foods:chips", {
--- CANDY : --- CANDY :
minetest.register_craftitem("foods:candy", { minetest.register_craftitem("foodx:candy", {
description = "Candy", description = "Candy",
inventory_image = "candy.png", inventory_image = "candy.png",
on_use = minetest.item_eat(3) on_use = minetest.item_eat(3)
}) })
minetest.register_craftitem("foods:chocolate_bar", { minetest.register_craftitem("foodx:chocolate_bar", {
description = "Chocolate Bar", description = "Chocolate Bar",
inventory_image = "chocolate_bar.png", inventory_image = "chocolate_bar.png",
on_use = minetest.item_eat(3) on_use = minetest.item_eat(3)

View File

@ -1,2 +1,2 @@
name = items name = foodx
depends = default depends = default

View File

Before

Width:  |  Height:  |  Size: 834 B

After

Width:  |  Height:  |  Size: 834 B

View File

Before

Width:  |  Height:  |  Size: 857 B

After

Width:  |  Height:  |  Size: 857 B

View File

Before

Width:  |  Height:  |  Size: 687 B

After

Width:  |  Height:  |  Size: 687 B

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 879 B

After

Width:  |  Height:  |  Size: 879 B

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 944 B

After

Width:  |  Height:  |  Size: 944 B

View File

Before

Width:  |  Height:  |  Size: 889 B

After

Width:  |  Height:  |  Size: 889 B

View File

Before

Width:  |  Height:  |  Size: 918 B

After

Width:  |  Height:  |  Size: 918 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 514 B

After

Width:  |  Height:  |  Size: 514 B

View File

Before

Width:  |  Height:  |  Size: 918 B

After

Width:  |  Height:  |  Size: 918 B

View File

Before

Width:  |  Height:  |  Size: 611 B

After

Width:  |  Height:  |  Size: 611 B

View File

Before

Width:  |  Height:  |  Size: 909 B

After

Width:  |  Height:  |  Size: 909 B

View File

Before

Width:  |  Height:  |  Size: 775 B

After

Width:  |  Height:  |  Size: 775 B

View File

Before

Width:  |  Height:  |  Size: 908 B

After

Width:  |  Height:  |  Size: 908 B

View File

@ -1,2 +0,0 @@
name = give_initial_stuff
depends = default

View File

@ -1,4 +1,4 @@
minetest.register_craftitem("items:walkietalkie", { minetest.register_craftitem("itemx:walkietalkie", {
description = " Walkie Talkie", description = " Walkie Talkie",
inventory_image = "walkietalkie.png", inventory_image = "walkietalkie.png",
on_use = function() -- msg (player) on_use = function() -- msg (player)
@ -16,7 +16,7 @@ minetest.register_craftitem("items:walkietalkie", {
---- MEDIC : ( Não tem craft ) ---- MEDIC : ( Não tem craft )
minetest.register_craftitem("items:bandaid", { minetest.register_craftitem("itemx:bandaid", {
description = "Band aid\n".. core.colorize("#ff0000", "+ 2 of blood"), description = "Band aid\n".. core.colorize("#ff0000", "+ 2 of blood"),
inventory_image = "band_aid.png", inventory_image = "band_aid.png",
on_use = function(itemstack, user, pointed_thing) on_use = function(itemstack, user, pointed_thing)
@ -30,7 +30,7 @@ minetest.register_craftitem("items:bandaid", {
}) })
minetest.register_craftitem("items:medicalkit", { minetest.register_craftitem("itemx:medicalkit", {
description = "Medical Kit\n".. core.colorize("#ff0000", "+ 20 of blood"), description = "Medical Kit\n".. core.colorize("#ff0000", "+ 20 of blood"),
inventory_image = "medic_kit.png", inventory_image = "medic_kit.png",
on_use = function(itemstack, user, pointed_thing) on_use = function(itemstack, user, pointed_thing)

View File

@ -1,2 +1,2 @@
name = foods name = itemx
depends = default depends = default

View File

Before

Width:  |  Height:  |  Size: 687 B

After

Width:  |  Height:  |  Size: 687 B

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 879 B

After

Width:  |  Height:  |  Size: 879 B

View File

Before

Width:  |  Height:  |  Size: 889 B

After

Width:  |  Height:  |  Size: 889 B

View File

Before

Width:  |  Height:  |  Size: 514 B

After

Width:  |  Height:  |  Size: 514 B

View File

Before

Width:  |  Height:  |  Size: 918 B

After

Width:  |  Height:  |  Size: 918 B

View File

Before

Width:  |  Height:  |  Size: 611 B

After

Width:  |  Height:  |  Size: 611 B

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 639 B

After

Width:  |  Height:  |  Size: 639 B

View File

Before

Width:  |  Height:  |  Size: 908 B

After

Width:  |  Height:  |  Size: 908 B

View File

@ -46,12 +46,12 @@ minetest.register_craft({ ------ CRaFT
---- white block : ---- white block :
minetest.register_node("nodes:whiteblock", { minetest.register_node("nodex:whiteblock", {
description = "White Block", description = "White Block",
tiles = {"white_block.png"}, tiles = {"white_block.png"},
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {cracky = 3}, groups = {cracky = 3},
drop = "nodes:road", drop = "nodex:road",
sounds = default.node_sound_stone_defaults() sounds = default.node_sound_stone_defaults()
}) })
@ -59,7 +59,7 @@ minetest.register_node("nodes:whiteblock", {
---- COAL STAIR : ---- COAL STAIR :
minetest.register_node("nodes:stair_coal", { minetest.register_node("nodex:stair_coal", {
description = "Stair Coal", description = "Stair Coal",
tiles = {"default_coal_block.png"}, tiles = {"default_coal_block.png"},
drawtype = "nodebox", drawtype = "nodebox",
@ -80,12 +80,12 @@ minetest.register_node("nodes:stair_coal", {
---- ROAD : ---- ROAD :
minetest.register_node("nodes:road", { minetest.register_node("nodex:road", {
description = "Road", description = "Road",
tiles = {"road.png"}, tiles = {"road.png"},
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {cracky = 3}, groups = {cracky = 3},
drop = "nodes:road", drop = "nodex:road",
sounds = default.node_sound_stone_defaults() sounds = default.node_sound_stone_defaults()
}) })
@ -93,7 +93,7 @@ minetest.register_node("nodes:road", {
minetest.register_craft({ ------ CRaFT minetest.register_craft({ ------ CRaFT
type = "shaped", type = "shaped",
output = "nodes:road 9", output = "nodex:road 9",
recipe = { recipe = {
{"default:coal_lump","default:coal_lump","default:coal_lump"}, {"default:coal_lump","default:coal_lump","default:coal_lump"},
{"default:coal_lump","default:stone","default:coal_lump"}, {"default:coal_lump","default:stone","default:coal_lump"},
@ -104,57 +104,57 @@ minetest.register_craft({ ------ CRaFT
---- ROAD 2 : ---- ROAD 2 :
minetest.register_node("nodes:road2", { minetest.register_node("nodex:road2", {
description = "Road 2", description = "Road 2",
tiles = {"road_y.png"}, tiles = {"road_y.png"},
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {cracky = 3}, groups = {cracky = 3},
drop = "nodes:road2", drop = "nodex:road2",
sounds = default.node_sound_stone_defaults() sounds = default.node_sound_stone_defaults()
}) })
minetest.register_craft({ ------ CRaFT minetest.register_craft({ ------ CRaFT
type = "shaped", type = "shaped",
output = "nodes:road2 12", output = "nodex:road2 12",
recipe = { recipe = {
{"nodes:road","dye:yellow","nodes:road"}, {"nodex:road","dye:yellow","nodex:road"},
{"nodes:road","dye:yellow","nodes:road"}, {"nodex:road","dye:yellow","nodex:road"},
{"nodes:road","dye:yellow","nodes:road"} {"nodex:road","dye:yellow","nodex:road"}
} }
}) })
---- ROAD 2 : ---- ROAD 2 :
minetest.register_node("nodes:road3", { minetest.register_node("nodex:road3", {
description = "Road 3", description = "Road 3",
tiles = {"curvedroad.png"}, tiles = {"curvedroad.png"},
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {cracky = 3}, groups = {cracky = 3},
drop = "nodes:road3", drop = "nodex:road3",
sounds = default.node_sound_stone_defaults() sounds = default.node_sound_stone_defaults()
}) })
minetest.register_craft({ ------ CRaFT minetest.register_craft({ ------ CRaFT
type = "shaped", type = "shaped",
output = "nodes:road3 12", output = "nodex:road3 12",
recipe = { recipe = {
{"nodes:road","dye:yellow","nodes:road"}, {"nodex:road","dye:yellow","nodex:road"},
{"nodes:road","dye:yellow","dye:yellow"}, {"nodex:road","dye:yellow","dye:yellow"},
{"nodes:road","nodes:road","nodes:road"} {"nodex:road","nodex:road","nodex:road"}
} }
}) })
---- Road Stop Line: ---- Road Stop Line:
minetest.register_node("nodes:roadstopline", { minetest.register_node("nodex:roadstopline", {
description = "Road Stop Line", description = "Road Stop Line",
tiles = {"road_stop_line.png"}, tiles = {"road_stop_line.png"},
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {cracky = 3}, groups = {cracky = 3},
drop = "nodes:roadstopline", drop = "nodex:roadstopline",
sounds = default.node_sound_stone_defaults() sounds = default.node_sound_stone_defaults()
}) })
@ -162,23 +162,23 @@ minetest.register_node("nodes:roadstopline", {
minetest.register_craft({ ------ CRaFT minetest.register_craft({ ------ CRaFT
type = "shaped", type = "shaped",
output = "nodes:roadstopline 12", output = "nodex:roadstopline 12",
recipe = { recipe = {
{"nodes:road","dye:white","nodes:road"}, {"nodex:road","dye:white","nodex:road"},
{"nodes:road","dye:white","nodes:road"}, {"nodex:road","dye:white","nodex:road"},
{"nodes:road","dye:white","nodes:road"} {"nodex:road","dye:white","nodex:road"}
} }
}) })
---- SIDEWALK : ---- SIDEWALK :
minetest.register_node("nodes:sidewalk", { minetest.register_node("nodex:sidewalk", {
description = "Sidewalk", description = "Sidewalk",
tiles = {"sidewalk.png"}, tiles = {"sidewalk.png"},
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {cracky = 3}, groups = {cracky = 3},
drop = "nodes:sidewalk", drop = "nodex:sidewalk",
sounds = default.node_sound_stone_defaults() sounds = default.node_sound_stone_defaults()
}) })
@ -186,7 +186,7 @@ minetest.register_node("nodes:sidewalk", {
minetest.register_craft({ ------ CRaFT minetest.register_craft({ ------ CRaFT
type = "shaped", type = "shaped",
output = "nodes:sidewalk 6", output = "nodex:sidewalk 6",
recipe = { recipe = {
{"default:stone_block","default:stone_block","default:stone_block"}, {"default:stone_block","default:stone_block","default:stone_block"},
{"default:stone_block","default:stone_block","default:stone_block"}, {"default:stone_block","default:stone_block","default:stone_block"},

View File

@ -1,2 +1,2 @@
name = nodes name = nodex
depends = default depends = default

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 965 B

After

Width:  |  Height:  |  Size: 965 B

View File

Before

Width:  |  Height:  |  Size: 958 B

After

Width:  |  Height:  |  Size: 958 B

View File

Before

Width:  |  Height:  |  Size: 922 B

After

Width:  |  Height:  |  Size: 922 B

View File

Before

Width:  |  Height:  |  Size: 980 B

After

Width:  |  Height:  |  Size: 980 B

View File

Before

Width:  |  Height:  |  Size: 960 B

After

Width:  |  Height:  |  Size: 960 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 489 B

After

Width:  |  Height:  |  Size: 489 B

View File

@ -61,7 +61,7 @@ mobs:register_mob("runner:runner", {
drops = { drops = {
{name = "default:coal_lump", chance = 2, min = 1, max = 1}, {name = "default:coal_lump", chance = 2, min = 1, max = 1},
{name = "farming:bread 3", 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}, {name = "foodx:canned_tomato", chance = 4, min = 1, max = 1},
}, },
water_damage = 0, water_damage = 0,

View File

@ -123,9 +123,10 @@ mobs:register_mob("spitterzombie:spitterzombie", {
floats = 0, floats = 0,
view_range = 35, view_range = 35,
drops = { drops = {
{name = "default:coal_lump", chance = 2, min = 1, max = 1}, --{name = "", chance = 2, min = 1, max = 1},
{name = "farming:bread 3", chance = 2, min = 1, max = 1}, {name = "foodx:canned_tomato", chance = 2, min = 1, max = 1},
{name = "foods:canned_tomato", chance = 4, min = 1, max = 1}, {name = "foodx:chocolate_bar", chance = 4, min = 1, max = 1},
}, },
water_damage = 0, water_damage = 0,

View File

@ -1,8 +1,8 @@
minetest.register_on_newplayer(function(player) minetest.register_on_newplayer(function(player)
print("[minimal] giving initial stuff to player") print("[minimal] giving initial stuff to player")
player:get_inventory():add_item('main','toolx:baseball_bat') player:get_inventory():add_item('main','toolx:baseball_bat')
player:get_inventory():add_item('main','foods:canned_tomato 8') player:get_inventory():add_item('main','foodx:canned_tomato 8')
player:get_inventory():add_item('main','items:walkietalkie') player:get_inventory():add_item('main','itemx:walkietalkie')
--player:get_inventory():add_item('main','') --player:get_inventory():add_item('main','')
--player:get_inventory():add_item('main','') --player:get_inventory():add_item('main','')
--player:get_inventory():add_item('main','') --player:get_inventory():add_item('main','')

2
stuffx/mod.conf Normal file
View File

@ -0,0 +1,2 @@
name = stuffx
depends = default

View File

@ -60,7 +60,7 @@ mobs:register_mob("survivorzombie:survivorzombie", {
floats = 0, floats = 0,
view_range = 35, view_range = 35,
drops = { drops = {
{name = "foods:canned_beans", chance = 4, min = 1, max = 1}, {name = "foodx:canned_beans", chance = 4, min = 1, max = 1},
{name = "toolx:cudgel_stone", chance = 6, min = 1, max = 1}, {name = "toolx:cudgel_stone", chance = 6, min = 1, max = 1},
--{name = "", chance = 2, min = 1, max = 1}, --{name = "", chance = 2, min = 1, max = 1},

View File

@ -61,7 +61,7 @@ mobs:register_mob("walkingzombie:walkingzombie", {
drops = { drops = {
{name = "default:coal_lump", chance = 2, min = 1, max = 1}, {name = "default:coal_lump", chance = 2, min = 1, max = 1},
{name = "farming:bread 3", 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}, {name = "foodx:canned_tomato", chance = 4, min = 1, max = 1},
}, },
water_damage = 0, water_damage = 0,