@ -1,13 +0,0 @@ |
|||
DO WHAT THE F*CK YOU WANT TO PUBLIC LICENSE |
|||
Version 2, December 2004 |
|||
|
|||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> |
|||
|
|||
Everyone is permitted to copy and distribute verbatim or modified |
|||
copies of this license document, and changing it is allowed as long |
|||
as the name is changed. |
|||
|
|||
DO WHAT THE F*CK YOU WANT TO PUBLIC LICENSE |
|||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
|||
|
|||
0. You just DO WHAT THE F*CK YOU WANT TO. |
@ -1 +0,0 @@ |
|||
default |
@ -1,332 +0,0 @@ |
|||
-- =================================================================== |
|||
-- Light. |
|||
|
|||
minetest.register_node ("nftools:light", { |
|||
drawtype = "glasslike" , |
|||
tiles = { "nftools_debug.png" } , |
|||
is_ground_content = true , |
|||
paramtype = "light" , |
|||
light_source = default.LIGHT_MAX - 1 , |
|||
|
|||
groups = { |
|||
cracky = 3, oddly_breakable_by_hand=2, |
|||
} , |
|||
|
|||
sounds = default.node_sound_stone_defaults() , |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- Mese Pickaxe. |
|||
|
|||
minetest.register_tool ("nftools:pick_mese", { |
|||
description = "Mese Pickaxe with light", |
|||
inventory_image = "nftools_mesepick.png", |
|||
wield_image = "nftools_mesepick_wield.png", |
|||
tool_capabilities = { |
|||
full_punch_interval = 1.0, |
|||
max_drop_level=3, |
|||
groupcaps={ |
|||
cracky={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=20, maxlevel=3}, |
|||
crumbly={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=20, maxlevel=3}, |
|||
snappy={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=20, maxlevel=3} |
|||
} |
|||
}, |
|||
}) |
|||
|
|||
minetest.register_craft ({ |
|||
output = 'nftools:pick_mese', |
|||
recipe = { |
|||
{'default:torch'}, |
|||
{'default:pick_mese'}, |
|||
} |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- Stool. |
|||
|
|||
minetest.register_node ("nftools:stool",{ |
|||
description = "Wooden Stool", |
|||
tiles = {"nftools_stool.png"}, |
|||
drop = 'nftools:stool', |
|||
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, |
|||
sounds = default.node_sound_wood_defaults(), |
|||
drawtype="nodebox", |
|||
paramtype = "light", |
|||
node_box = { |
|||
type = "fixed", |
|||
fixed = { |
|||
{0.412500,-0.500000,-0.500000,0.500000,0.000000,-0.437500}, --NodeBox 1 |
|||
{-0.500000,-0.500000,-0.500000,-0.437500,0.000000,-0.437500}, --NodeBox 2 |
|||
{0.412500,-0.500000,0.437504,0.500000,0.000000,0.500000}, --NodeBox 3 |
|||
{-0.500000,-0.500000,0.462500,-0.437500,0.000000,0.500000}, --NodeBox 4 |
|||
{-0.500000,0.000000,-0.500000,0.500000,0.062500,0.500000}, --NodeBox 5 |
|||
} |
|||
} |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- Quartz crystals. |
|||
|
|||
minetest.register_node ("nftools:quartz_crystals", { |
|||
description = "Quartz Crystals", |
|||
tiles = {"nftools_quartz_crystal.png"}, |
|||
is_ground_content = true, |
|||
groups = {cracky=1,level=2}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
drawtype="nodebox", |
|||
paramtype = "light", |
|||
paramtype2="facedir", |
|||
sunlight_propagates = true, |
|||
node_box = { |
|||
type = "fixed", |
|||
fixed = { |
|||
{-0.437500,-0.500000,-0.437500,0.425000,-0.250000,0.425004}, |
|||
{-0.375000,-0.250000,0.187500,-0.250000,0.500000,0.312500}, |
|||
{0.062500,-0.250000,-0.187500,0.312500,0.375000,0.125000}, |
|||
{-0.312500,-0.500000,-0.250000,-0.125000,0.125000,0.000000}, |
|||
{-0.187500,-0.250000,-0.437500,0.125000,0.500000,-0.250000}, |
|||
{0.000000,-0.312500,0.187500,0.250000,0.312500,0.375000}, |
|||
{-0.125000,-0.187500,-0.250000,0.062500,0.312500,0.000000}, |
|||
{0.125000,-0.250000,-0.375000,0.375000,0.375000,-0.187500}, |
|||
{-0.250000,-0.250000,0.062500,0.000000,0.125000,0.375000}, |
|||
} |
|||
} |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- Ore. |
|||
|
|||
minetest.register_ore ({ |
|||
ore_type = "scatter", |
|||
ore = "nftools:alexandrite_ore", |
|||
wherein = "default:stone", |
|||
clust_scarcity = 24*24*24, |
|||
clust_num_ores = 27, |
|||
clust_size = 6, |
|||
y_max = -64, |
|||
y_min = -31000, |
|||
flags = "absheight", |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
|
|||
minetest.register_ore ({ |
|||
ore_type = "scatter", |
|||
ore = "nftools:amber", |
|||
wherein = "default:stone", |
|||
clust_scarcity = 24*24*24, |
|||
clust_num_ores = 27, |
|||
clust_size = 6, |
|||
y_max = -64, |
|||
y_min = -31000, |
|||
flags = "absheight", |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
|
|||
minetest.register_ore ({ |
|||
ore_type = "scatter", |
|||
ore = "nftools:amethyst_ore", |
|||
wherein = "default:stone", |
|||
clust_scarcity = 24*24*24, |
|||
clust_num_ores = 27, |
|||
clust_size = 6, |
|||
y_max = -64, |
|||
y_min = -31000, |
|||
flags = "absheight", |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
|
|||
minetest.register_ore ({ |
|||
ore_type = "scatter", |
|||
ore = "nftools:aquamarine_ore", |
|||
wherein = "default:stone", |
|||
clust_scarcity = 13*13*13, |
|||
clust_num_ores = 5, |
|||
clust_size = 3, |
|||
y_max = -5, |
|||
y_min = -40, |
|||
flags = "absheight", |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- Alexandrite |
|||
|
|||
minetest.register_node ("nftools:alexandrite_ore", { |
|||
description = "Alexandrite Ore", |
|||
tiles = {"nftools_alexandriteore.png"}, |
|||
is_ground_content = true, |
|||
groups = {cracky=1}, |
|||
drop = "nftools:alexandrite", |
|||
}) |
|||
|
|||
minetest.register_craftitem ("nftools:alexandrite", { |
|||
description = "Alexandrite", |
|||
inventory_image = "nftools_alexandrite.png", |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- Amber |
|||
|
|||
minetest.register_node ("nftools:amber", { |
|||
description = "Amber", |
|||
tiles = {"nftools_amber.png"}, |
|||
is_ground_content = true, |
|||
groups = {cracky=1}, |
|||
drop = "nftools:amber_chip", |
|||
}) |
|||
|
|||
minetest.register_craftitem ("nftools:amber_chip", { |
|||
description = "Amber Chip", |
|||
inventory_image = "nftools_amberchip.png", |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- Aquamarine |
|||
|
|||
minetest.register_node ("nftools:aquamarine_ore", { |
|||
description = "Aquamarine Ore", |
|||
tiles = {"nftools_aquamarineore.png"}, |
|||
is_ground_content = true, |
|||
groups = {cracky=1}, |
|||
drop = "nftools:aquamarine_ore", |
|||
}) |
|||
|
|||
minetest.register_craftitem ("nftools:aquamarine", { |
|||
description = "Aquamarine", |
|||
inventory_image = "nftools_aquamarine.png", |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- Smelting |
|||
|
|||
minetest.register_craft ({ |
|||
type = "cooking", |
|||
output = "nftools:aquamarine", |
|||
recipe = "nftools:aquamarine_ore", |
|||
}) |
|||
|
|||
minetest.register_craft ({ |
|||
type = "cooking", |
|||
output = "nftools:alexandrite", |
|||
recipe = "nftools:alexandrite_ore", |
|||
}) |
|||
|
|||
minetest.register_craft ({ |
|||
type = "cooking", |
|||
output = "nftools:amethyst", |
|||
recipe = "nftools:amethyst_ore", |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- Amethyst |
|||
|
|||
minetest.register_node ("nftools:amethyst_ore", { |
|||
description = "Amethyst Ore", |
|||
tiles = {"nftools_amethystore.png"}, |
|||
is_ground_content = true, |
|||
groups = {cracky=1}, |
|||
drop = "nftools:amethyst", |
|||
}) |
|||
|
|||
minetest.register_craftitem ("nftools:amethyst", { |
|||
description = "Amethyst", |
|||
inventory_image = "nftools_amethyst.png", |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- Sunflower. |
|||
|
|||
minetest.register_node ("nftools:sunflower", { |
|||
description = "Sunflower", |
|||
drawtype = "plantlike", |
|||
visual_scale = 1.5, |
|||
tiles = {"nftools_sunflower.png"}, |
|||
inventory_image = "nftools_sunflower.png", |
|||
wield_image = "nftools_sunflower.png", |
|||
paramtype = "light", |
|||
walkable = false, |
|||
buildable_to = true, |
|||
is_ground_content = true, |
|||
groups = {snappy=3,flammable=2,flora=1,attached_node=1}, |
|||
selection_box = { |
|||
type = "fixed", |
|||
fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, |
|||
}, |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- Scythe |
|||
|
|||
minetest.register_tool ("nftools:scythe", { |
|||
description = "Scythe", |
|||
inventory_image = "nftools_tool_scythe.png", |
|||
tool_capabilities = { |
|||
full_punch_interval = 0.8, |
|||
max_drop_level=1, |
|||
groupcaps={ |
|||
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=100, maxlevel=2}, |
|||
}, |
|||
damage_groups = {fleshy=6}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft ({ |
|||
output = 'nftools:scythe', |
|||
recipe = { |
|||
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, |
|||
{'', '', 'default:stick'}, |
|||
{'', '', 'default:stick'}, |
|||
} |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- Mace |
|||
|
|||
minetest.register_tool ("nftools:mace", { |
|||
description = "Mace", |
|||
inventory_image = "nftools_tool_mace.png", |
|||
tool_capabilities = { |
|||
full_punch_interval = 1.5, |
|||
max_drop_level=1, |
|||
groupcaps={ |
|||
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=70, maxlevel=2}, |
|||
}, |
|||
damage_groups = {fleshy=5}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft ({ |
|||
output = 'nftools:mace', |
|||
recipe = { |
|||
{'default:obsidian_shard', 'default:steel_ingot', 'default:obsidian_shard'}, |
|||
{'', 'default:stick', ''}, |
|||
{'', 'default:stick', ''}, |
|||
} |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- Battle-axe |
|||
|
|||
minetest.register_tool ("nftools:battleaxe", { |
|||
description = "Battle Axe", |
|||
inventory_image = "nftools_tool_battleaxe.png", |
|||
tool_capabilities = { |
|||
full_punch_interval = 0.8, |
|||
max_drop_level=1, |
|||
groupcaps={ |
|||
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=40, maxlevel=2}, |
|||
}, |
|||
damage_groups = {fleshy=4}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft ({ |
|||
output = 'nftools:battleaxe', |
|||
recipe = { |
|||
{'default:cobble', 'default:cobble', 'default:cobble'}, |
|||
{'', 'default:cobble', ''}, |
|||
{'', 'default:stick', ''}, |
|||
} |
|||
}) |
@ -1,7 +0,0 @@ |
|||
Name: nftools |
|||
Source: Fork of upstream mod - Do not replace |
|||
License: WTFPL |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
To be documented. |
Before Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 561 B |
Before Width: | Height: | Size: 791 B |
Before Width: | Height: | Size: 244 B |
Before Width: | Height: | Size: 556 B |
Before Width: | Height: | Size: 588 B |
Before Width: | Height: | Size: 458 B |
Before Width: | Height: | Size: 279 B |
@ -1,365 +0,0 @@ |
|||
-- =================================================================== |
|||
-- Mob Framework Mod by Sapier |
|||
-- |
|||
-- You may copy, use, modify or do nearly anything but remove this |
|||
-- copyright notice. Of course, you are NOT allow to pretend you have |
|||
-- created or written the Sapier-specific pieces. |
|||
-- |
|||
-- CC-BY-SA 3.0. Attribution: sapier. |
|||
-- |
|||
--! @file init.lua |
|||
--! @brief animal_materials |
|||
--! @copyright Sapier |
|||
--! @author Sapier |
|||
--! @date 2013-01-27 |
|||
-- |
|||
|
|||
-- Boilerplate to support localized strings if intllib mod is installed. |
|||
local S |
|||
if (minetest.get_modpath("intllib")) then |
|||
dofile(minetest.get_modpath("intllib").."/intllib.lua") |
|||
S = intllib.Getter(minetest.get_current_modname()) |
|||
else |
|||
S = function ( s ) return s end |
|||
end |
|||
|
|||
core.log("action","MOD: animal_materials loading ...") |
|||
local version = "0.1.3" |
|||
|
|||
|
|||
animal_materialsdata = {} |
|||
|
|||
-- =================================================================== |
|||
-- Node definitions |
|||
|
|||
-- =================================================================== |
|||
-- Item definitions |
|||
|
|||
-- =================================================================== |
|||
-- deamondeath sword |
|||
-- |
|||
|
|||
minetest.register_tool(":animal_materials:sword_deamondeath", { |
|||
description = S("Sword (Deamondeath)"), |
|||
inventory_image = "default_tool_steelsword.png", |
|||
tool_capabilities = { |
|||
full_punch_interval = 0.50, |
|||
max_drop_level=1, |
|||
groupcaps={ |
|||
fleshy={times={[1]=2.00, [2]=0.80, [3]=0.40}, uses=10, maxlevel=1}, |
|||
snappy={times={[2]=0.70, [3]=0.30}, uses=40, maxlevel=1}, |
|||
choppy={times={[3]=0.70}, uses=40, maxlevel=0}, |
|||
deamon={times={[1]=0.25, [2]=0.10, [3]=0.05}, uses=20, maxlevel=3}, |
|||
} |
|||
} |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- scissors |
|||
-- |
|||
|
|||
minetest.register_tool(":animal_materials:scissors", { |
|||
description = S("Scissors"), |
|||
inventory_image = "animal_materials_scissors.png", |
|||
tool_capabilities = { |
|||
max_drop_level=0, |
|||
groupcaps={ |
|||
wool = {uses=40,maxlevel=1} |
|||
} |
|||
}, |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- lasso |
|||
-- |
|||
|
|||
minetest.register_craftitem(":animal_materials:lasso", { |
|||
description = S("Lasso"), |
|||
image = "animal_materials_lasso.png", |
|||
stack_max=10, |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- net |
|||
-- |
|||
|
|||
minetest.register_craftitem(":animal_materials:net", { |
|||
description = S("Net"), |
|||
image = "animal_materials_net.png", |
|||
stack_max=10, |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- saddle |
|||
-- |
|||
|
|||
minetest.register_craftitem(":animal_materials:saddle", { |
|||
description = S("Saddle"), |
|||
image = "animal_materials_saddle.png", |
|||
stack_max=1 |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- contract |
|||
-- |
|||
|
|||
minetest.register_craftitem(":animal_materials:contract", { |
|||
description = S("Contract"), |
|||
image = "animal_materials_contract.png", |
|||
stack_max=10, |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- meat |
|||
-- |
|||
|
|||
minetest.register_craftitem(":animal_materials:meat_raw", { |
|||
description = S("Raw meat"), |
|||
image = "animal_materials_meat_raw.png", |
|||
on_use = minetest.item_eat(1), |
|||
groups = { meat=1, eatable=1 }, |
|||
stack_max=25 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:meat_pork", { |
|||
description = S("Pork (raw)"), |
|||
image = "animal_materials_meat_raw.png", |
|||
on_use = minetest.item_eat(1), |
|||
groups = { meat=1, eatable=1 }, |
|||
stack_max=25 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:meat_beef", { |
|||
description = S("Beef (raw)"), |
|||
image = "animal_materials_meat_raw.png", |
|||
on_use = minetest.item_eat(1), |
|||
groups = { meat=1, eatable=1 }, |
|||
stack_max=25 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:meat_chicken", { |
|||
description = S("Chicken (raw)"), |
|||
image = "animal_materials_meat_raw.png", |
|||
on_use = minetest.item_eat(1), |
|||
groups = { meat=1, eatable=1 }, |
|||
stack_max=25 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:meat_lamb", { |
|||
description = S("Lamb (raw)"), |
|||
image = "animal_materials_meat_raw.png", |
|||
on_use = minetest.item_eat(1), |
|||
groups = { meat=1, eatable=1 }, |
|||
stack_max=25 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:meat_venison", { |
|||
description = S("Venison (raw)"), |
|||
image = "animal_materials_meat_raw.png", |
|||
on_use = minetest.item_eat(1), |
|||
groups = { meat=1, eatable=1 }, |
|||
stack_max=25 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:meat_undead", { |
|||
description = S("Meat (not quite dead)"), |
|||
image = "animal_materials_meat_undead_raw.png", |
|||
on_use = minetest.item_eat(-2), |
|||
groups = { meat=1, eatable=1 }, |
|||
stack_max=5 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:meat_toxic", { |
|||
description = S("Toxic Meat"), |
|||
image = "animal_materials_meat_toxic_raw.png", |
|||
on_use = minetest.item_eat(-5), |
|||
groups = { meat=1, eatable=1 }, |
|||
stack_max=5 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:meat_ostrich", { |
|||
description = S("Ostrich Meat"), |
|||
image = "animal_materials_meat_raw.png", |
|||
on_use = minetest.item_eat(3), |
|||
groups = { meat=1, eatable=1 }, |
|||
stack_max=5 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:pork_raw", { |
|||
description = S("Pork"), |
|||
image = "animal_materials_pork_raw.png", |
|||
on_use = minetest.item_eat(4), |
|||
groups = { meat=1, eatable=1 }, |
|||
stack_max=5 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:fish_bluewhite", { |
|||
description = S("Fish (bluewhite)"), |
|||
image = "animal_materials_meat_raw.png", |
|||
on_use = minetest.item_eat(1), |
|||
groups = { meat=1, eatable=1 }, |
|||
stack_max=25 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:fish_clownfish", { |
|||
description = S("Fish (clownfish)"), |
|||
image = "animal_materials_meat_raw.png", |
|||
on_use = minetest.item_eat(1), |
|||
groups = { meat=1, eatable=1 }, |
|||
stack_max=25 |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- feather |
|||
-- |
|||
|
|||
minetest.register_craftitem(":animal_materials:feather", { |
|||
description = S("Feather"), |
|||
image = "animal_materials_feather.png", |
|||
stack_max=25 |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- milk |
|||
-- |
|||
|
|||
minetest.register_craftitem(":animal_materials:milk", { |
|||
description = S("Milk"), |
|||
image = "animal_materials_milk.png", |
|||
on_use = minetest.item_eat(1), |
|||
groups = { eatable=1 }, |
|||
stack_max=10 |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- egg |
|||
-- |
|||
|
|||
minetest.register_craftitem(":animal_materials:egg", { |
|||
description = S("Egg"), |
|||
image = "animal_materials_egg.png", |
|||
stack_max=10 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:egg_big", { |
|||
description = S("Egg (big)"), |
|||
image = "animal_materials_egg_big.png", |
|||
stack_max=5 |
|||
}) |
|||
|
|||
animal_materialsdata["animal_materials_egg"] = { |
|||
graphics_3d = { |
|||
visual = "mesh", |
|||
mesh = "animal_materials_egg_ent.b3d", |
|||
textures = { "animal_materials_egg_ent_mesh.png" }, |
|||
collisionbox = { -0.12,-0.125,-0.12,0.12,0.125,0.12 }, |
|||
visual_size = {x=1,y=1,z=1}, |
|||
} |
|||
} |
|||
|
|||
animal_materialsdata["animal_materials_egg_big"] = { |
|||
graphics_3d = { |
|||
visual = "mesh", |
|||
mesh = "animal_materials_egg_ent.b3d", |
|||
textures = { "animal_materials_egg_ent_mesh.png" }, |
|||
collisionbox = { -0.24,-0.25,-0.24,0.24,0.25,0.24 }, |
|||
visual_size = {x=2,y=2,z=2}, |
|||
} |
|||
} |
|||
|
|||
-- =================================================================== |
|||
-- bone |
|||
-- |
|||
|
|||
minetest.register_craftitem(":animal_materials:bone", { |
|||
description = S("Bone"), |
|||
image = "animal_materials_bone.png", |
|||
stack_max=25 |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- furs |
|||
-- |
|||
|
|||
-- =================================================================== |
|||
|
|||
minetest.register_craftitem(":animal_materials:fur", { |
|||
description = S("Fur"), |
|||
image = "animal_materials_fur.png", |
|||
stack_max=25 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:fur_deer", { |
|||
description = S("Deer fur"), |
|||
image = "animal_materials_deer_fur.png", |
|||
stack_max=10 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:coat_cattle", { |
|||
description = S("Cattle coat"), |
|||
image = "animal_materials_cattle_coat.png", |
|||
stack_max=10 |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- horns |
|||
-- |
|||
|
|||
minetest.register_craftitem(":animal_materials:deer_horns", { |
|||
description = S("Deer horns"), |
|||
image = "animal_materials_deer_horns.png", |
|||
stack_max=20 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:ivory", { |
|||
description = S("Ivory"), |
|||
image = "animal_materials_ivory.png", |
|||
stack_max=20 |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- scale |
|||
|
|||
minetest.register_craftitem(":animal_materials:scale_golden", { |
|||
description = S("Scale (golden)"), |
|||
image = "animal_materials_scale_golden.png", |
|||
stack_max=25 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:scale_white", { |
|||
description = S("Scale (white)"), |
|||
image = "animal_materials_scale_white.png", |
|||
stack_max=25 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:scale_grey", { |
|||
description = S("Scale (grey)"), |
|||
image = "animal_materials_scale_grey.png", |
|||
stack_max=25 |
|||
}) |
|||
|
|||
minetest.register_craftitem(":animal_materials:scale_blue", { |
|||
description = S("Scale (blue)"), |
|||
image = "animal_materials_scale_blue.png", |
|||
stack_max=25 |
|||
}) |
|||
|
|||
-- =================================================================== |
|||
-- recipes |
|||
|
|||
minetest.register_craft({ |
|||
output = "wool:white", |
|||
recipe = { |
|||
{"animal_materials:feather","animal_materials:feather","animal_materials:feather"}, |
|||
{"animal_materials:feather", "animal_materials:feather","animal_materials:feather"}, |
|||
{"animal_materials:feather","animal_materials:feather","animal_materials:feather"}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = "animal_materials:contract", |
|||
recipe = { |
|||
{"default:paper"}, |
|||
{"default:paper"}, |
|||
} |
|||
}) |
@ -1,146 +0,0 @@ |
|||
-- Deer. Descended from Sapier version. |
|||
|
|||
-- =================================================================== |
|||
-- Mob Framework Mod by Sapier |
|||
-- |
|||
-- You may copy, use, modify or do nearly anything except removing this |
|||
-- copyright notice. Of course, you are NOT allow to pretend you have |
|||
-- written it. |
|||
-- CC-BY-SA 3.0. Attribution: sapier. |
|||
-- |
|||
--! @file init.lua |
|||
--! @brief deer implementation |
|||
--! @copyright Sapier |
|||
--! @author Sapier |
|||
--! @date 2013-01-27 |
|||
|
|||
-- =================================================================== |
|||
|
|||
local lcname = "deer" |
|||
local ucname = "Deer" |
|||
local msname = "codermobs_" .. lcname |
|||
local obj_name = "codermobs:" .. lcname |
|||
|
|||
-- =================================================================== |
|||
|
|||
mobs_param = { |
|||
lcname = lcname , |
|||
ucname = ucname , |
|||
obj_name = obj_name , |
|||
|
|||
aoc = 2 , |
|||
obr = 1 , |
|||
day_mode = true , |
|||
min_light = 14 , |
|||
max_light = 20 , |
|||
min_height = 0 , |
|||
max_height = 200 , |
|||
spawn_chance = 8000 , |
|||
spawn_type = "animal" , |
|||
|
|||
spawn_nodes = { |
|||
"default:dirt_with_grass" , |
|||
"ethereal:green_dirt" , |
|||
"ethereal:green_dirt_top" , |
|||
"ethereal:grove_dirt" , |
|||
"mg:dirt_with_dry_grass" , |
|||
} , |
|||
|
|||
spawn_by = { |
|||
"group:grass" , |
|||
"flowers:mushroom_brown" , |
|||
} , |
|||
|
|||
add_egg = true , |
|||
egg_image = "wool_pink.png" , |
|||
} |
|||
|
|||
-- =================================================================== |
|||
|
|||
codermobs.adjust_param() |
|||
|
|||
-- =================================================================== |
|||
|
|||
mobs_param.core_param = { |
|||
type = mobs_param.spawn_type , |
|||
makes_footstep_sound = true , |
|||
|
|||
armor = 200 , |
|||
attack_npcs = false , |
|||
attack_type = "dogfight" , |
|||
damage = 2 , |
|||
fear_height = 3 , |
|||
group_attack = true , |
|||
hp_max = 15 , |
|||
hp_min = 5 , |
|||
jump_height = 6 , |
|||
jump = true , |
|||
owner_loyal = true , |
|||
passive = false , |
|||
pushable = true , |
|||
reach = 2 , |
|||
rotate = 270 , |
|||
run_velocity = 3 , |
|||
stepheight = 0.6 , |
|||
type = "animal" , |
|||
view_range = 10 , |
|||
walk_velocity = 2 , |
|||
|
|||
lava_damage = 5 , |
|||
light_damage = 0 , |
|||
water_damage = 0 , |
|||
|
|||
collisionbox = { -0.70, -1.10, -0.70, 0.70, 0.80, 0.70 } , |
|||
mesh = msname .. ".b3d" , |
|||
textures = {{ msname .. "_mesh.png" }} , |
|||
visual = "mesh" , |
|||
|
|||
sounds = { |
|||
}, |
|||
|
|||
follow = { "default:apple", "farming:potato" } , |
|||
|
|||
drops = { |
|||
{ |
|||
name = "animal_materials:meat_venison" , |
|||
chance = 1, min = 1, max = 1 , |
|||
} , |
|||
{ |
|||
name = "animal_materials:deer_horns" , |
|||
chance = 1, min = 1, max = 1 , |
|||
} , |
|||
{ |
|||
name = "animal_materials:fur_deer" , |
|||
chance = 4, min = 1, max = 1 , |
|||
} , |
|||
{ |
|||
name = "animal_materials:bone" , |
|||
chance = 4, min = 1, max = 1 , |
|||
} , |
|||
} , |
|||
|
|||
animation = { |
|||
walk_start = 0 , |
|||
walk_end = 60 , |
|||
stand_start = 61 , |
|||
stand_end = 120 , |
|||
speed_normal = 15 , |
|||
} , |
|||
|
|||
on_rightclick = function (self, clicker) |
|||
if mobs:feed_tame(self, clicker, 8, true, true) then return end |
|||
if mobs:protect(self, clicker) then return end |
|||
|
|||
if mobs:capture_mob(self, clicker, 0, 5, 50, false, nil) then |
|||
return |
|||
end |
|||
end, |
|||
} |
|||
|
|||
-- =================================================================== |
|||
|
|||
codermobs.setup_mob() |
|||
codermobs.log_done() |
|||
|
|||
-- =================================================================== |
|||
-- End of file. |
@ -1,81 +0,0 @@ |
|||
codermobs = {} |
|||
mobs_param = {} |
|||
|
|||
codermobs.modname = minetest.get_current_modname() |
|||
codermobs.modpath = minetest.get_modpath (codermobs.modname) |
|||
local mp = codermobs.modpath |
|||
|
|||
local enable_moontest = |
|||
minetest.setting_getbool ("enable_moon" ) or |
|||
minetest.setting_getbool ("enable_moontest" ) |
|||
|
|||
-- =================================================================== |
|||
|
|||
dofile (mp .. "/globals.lua" ) |
|||
dofile (mp .. "/util.lua" ) |
|||
dofile (mp .. "/animal_materials.lua" ) |
|||
|
|||
dofile (mp .. "/badger.lua" ) |
|||
dofile (mp .. "/bat.lua" ) |
|||
dofile (mp .. "/bear.lua" ) |
|||
dofile (mp .. "/bee.lua" ) |
|||
dofile (mp .. "/beetle.lua" ) |
|||
|
|||
dofile (mp .. "/bird.lua" ) |
|||
dofile (mp .. "/bug.lua" ) |
|||
dofile (mp .. "/bunny.lua" ) |
|||
dofile (mp .. "/butterfly.lua" ) |
|||
dofile (mp .. "/cacodemon.lua" ) |
|||
|
|||
dofile (mp .. "/chicken.lua" ) |
|||
dofile (mp .. "/cow.lua" ) |
|||
dofile (mp .. "/cyberdemon.lua" ) |
|||
dofile (mp .. "/deer.lua" ) |
|||
dofile (mp .. "/dirt_monster.lua" ) |
|||
|
|||
dofile (mp .. "/dog.lua" ) |
|||
dofile (mp .. "/elephant.lua" ) |
|||
dofile (mp .. "/farhorse.lua" ) |
|||
dofile (mp .. "/flying_pig.lua" ) |
|||
dofile (mp .. "/ghost.lua" ) |
|||
|
|||
dofile (mp .. "/goat.lua" ) |
|||
dofile (mp .. "/hedgehog.lua" ) |
|||
dofile (mp .. "/jeraf.lua" ) |
|||
dofile (mp .. "/kitten.lua" ) |
|||
dofile (mp .. "/lava_flan.lua" ) |
|||
|
|||
dofile (mp .. "/lostsoul.lua" ) |
|||
dofile (mp .. "/lott_spider.lua" ) |
|||
dofile (mp .. "/mammoth.lua" ) |
|||
dofile (mp .. "/oerkki.lua" ) |
|||
dofile (mp .. "/ostrich.lua" ) |
|||
|
|||
dofile (mp .. "/owl.lua" ) |
|||
dofile (mp .. "/panda.lua" ) |
|||
dofile (mp .. "/penguin.lua" ) |
|||
dofile (mp .. "/polar_bear.lua" ) |
|||
dofile (mp .. "/rat.lua" ) |
|||
|
|||
dofile (mp .. "/rat_better.lua" ) |
|||
dofile (mp .. "/santa.lua" ) |
|||
dofile (mp .. "/sheep.lua" ) |
|||
dofile (mp .. "/silverfish.lua" ) |
|||
dofile (mp .. "/snake_garter.lua" ) |
|||
|
|||
dofile (mp .. "/snake_ice.lua" ) |
|||
dofile (mp .. "/snowman.lua" ) |
|||
dofile (mp .. "/tree_monster.lua" ) |
|||
dofile (mp .. "/warthog.lua" ) |
|||
dofile (mp .. "/wolf.lua" ) |
|||
|
|||
dofile (mp .. "/zebra.lua" ) |
|||
|
|||
-- Moon Cow must be defined after regular cow. |
|||
|
|||
if enable_moontest then |
|||
dofile (mp .. "/mooncow.lua") |
|||
end |
|||
|
|||
-- =================================================================== |
|||
-- End of file. |
Before Width: | Height: | Size: 1.9 KiB |
@ -1,3 +0,0 @@ |
|||
This is a copy of Bucket Game. For more information, visit: |
|||
|
|||
https://minetest.org/ |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 475 KiB After Width: | Height: | Size: 475 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 141 KiB After Width: | Height: | Size: 141 KiB |
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 219 B |
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 402 B |
Before Width: | Height: | Size: 758 B After Width: | Height: | Size: 758 B |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
0
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/Elk.webm.360p.vp9 (CC BY 2.0 Generic Stephen Baker of BLM Oregon [blm.gov slash yg5c]).jpg → patches/deprecated/merged-upstream/Bucket_Game/mods/codermobs/codermobs/src/Elk.webm.360p.vp9 (CC BY 2.0 Generic Stephen Baker of BLM Oregon [blm.gov slash yg5c]).jpg
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 603 KiB After Width: | Height: | Size: 603 KiB |
Before Width: | Height: | Size: 237 KiB After Width: | Height: | Size: 237 KiB |
Before Width: | Height: | Size: 603 KiB After Width: | Height: | Size: 603 KiB |
Before Width: | Height: | Size: 238 KiB After Width: | Height: | Size: 238 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |