@ -1,412 +0,0 @@ |
|||
screwdriver = screwdriver or {} |
|||
|
|||
--dofile(minetest.get_modpath("lapis").."/columns.lua") |
|||
|
|||
---------- |
|||
--Nodes |
|||
---------- |
|||
|
|||
minetest.register_node( "lapis:lapis_block", { |
|||
description = "Lapis with Calcite", |
|||
tiles = {"lapis_block.png"}, |
|||
paramtype = "light", |
|||
is_ground_content = true, |
|||
groups = {cracky = 3}, |
|||
drop = { |
|||
max_items = 1, |
|||
items = { |
|||
{items = {'lapis:lapis_stone'}, rarity = 10}, |
|||
{items = {'lapis:lapis_cobble'}}, |
|||
}, |
|||
}, |
|||
sounds = default.node_sound_stone_defaults() |
|||
}) |
|||
|
|||
minetest.register_node( "lapis:lapis_brick", { |
|||
description = "Lapis Brick", |
|||
tiles = { |
|||
"lapis_brick_top.png", |
|||
"lapis_brick_top.png^[transformFXR90", |
|||
"lapis_brick_side.png", |
|||
"lapis_brick_side.png^[transformFX", |
|||
"lapis_brick.png^[transformFX", |
|||
"lapis_brick.png" |
|||
}, |
|||
paramtype = "light", |
|||
paramtype2 = "facedir", |
|||
place_param2 = 0, |
|||
on_rotate = screwdriver.rotate_simple, |
|||
is_ground_content = false, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults() |
|||
}) |
|||
|
|||
minetest.register_node( "lapis:lapis_cobble", { |
|||
description = "Cobbled Lapis", |
|||
tiles = { |
|||
"lapis_cobble.png", |
|||
"lapis_cobble.png^[transformFY", |
|||
"lapis_cobble.png^[transformFX", |
|||
"lapis_cobble.png", |
|||
"lapis_cobble.png^[transformFX", |
|||
"lapis_cobble.png" |
|||
}, |
|||
paramtype = "light", |
|||
is_ground_content = false, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults() |
|||
}) |
|||
|
|||
minetest.register_node( "lapis:lazurite_block", { |
|||
description = "Lazurite", |
|||
tiles = {"lapis_lazurite_block.png"}, |
|||
paramtype = "light", |
|||
is_ground_content = true, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults() |
|||
}) |
|||
|
|||
minetest.register_node( "lapis:lazurite_brick", { |
|||
description = "Lazurite Brick", |
|||
tiles = { |
|||
"lapis_lazurite_brick_top.png", |
|||
"lapis_lazurite_brick_top.png^[transformFXR90", |
|||
"lapis_lazurite_brick_side.png", |
|||
"lapis_lazurite_brick_side.png^[transformFX", |
|||
"lapis_lazurite_brick.png^[transformFX", |
|||
"lapis_lazurite_brick.png" |
|||
}, |
|||
paramtype = "light", |
|||
paramtype2 = "facedir", |
|||
place_param2 = 0, |
|||
on_rotate = screwdriver.rotate_simple, |
|||
is_ground_content = false, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults() |
|||
}) |
|||
|
|||
minetest.register_node( "lapis:lapis_tile", { |
|||
description = "Lapis Floor Tile", |
|||
tiles = {"lapis_tile.png" }, |
|||
is_ground_content = false, |
|||
paramtype = 'light', |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults() |
|||
}) |
|||
|
|||
minetest.register_node( "lapis:pyrite_ore", { |
|||
description = "Pyrite Ore", |
|||
tiles = {"default_stone.png^lapis_mineral_pyrite.png" }, |
|||
paramtype = "light", |
|||
is_ground_content = true, |
|||
drop= 'lapis:pyrite_lump 2', |
|||
groups = {cracky = 2}, |
|||
sounds = default.node_sound_stone_defaults() , |
|||
}) |
|||
|
|||
minetest.register_node( "lapis:pyrite_block", { |
|||
description = "Pyrite Block", |
|||
tiles = { |
|||
"lapis_pyrite_sacred.png", |
|||
"lapis_pyrite_sacred.png", |
|||
"lapis_pyrite_block.png" |
|||
}, |
|||
paramtype = "light", |
|||
paramtype2 = "facedir", |
|||
place_param2 = 0, |
|||
is_ground_content = false, |
|||
groups = {cracky = 2}, |
|||
sounds = default.node_sound_metal_defaults({ |
|||
footstep = {name = "default_hard_footstep", gain = 0.5}, |
|||
place = {name = "default_place_node_hard", gain = 1.0}, |
|||
}), |
|||
}) |
|||
--Unused Rosace Stone from Darkage mod |
|||
minetest.register_node("lapis:rosace", { |
|||
description = "Rose Stone", |
|||
tiles = {"lapis_rosace_front.png", |
|||
"lapis_rosace_front.png", |
|||
"lapis_rosace_side.png^[transformFX", |
|||
"lapis_rosace_side.png^[transformFYR90", |
|||
"lapis_rosace_side.png^[transformFY", |
|||
"lapis_rosace_side.png"}, |
|||
paramtype2 = "facedir", |
|||
place_param2 = 0, |
|||
is_ground_content = false, |
|||
groups = {cracky = 3, stone = 2}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
}) |
|||
|
|||
------------------- |
|||
--Stairs & Slabs |
|||
------------------- |
|||
-- Add support for Stairs Plus (in More Blocks), by Worldblender |
|||
if minetest.get_modpath("moreblocks") then |
|||
|
|||
stairsplus:register_all("lapis", "lapis_block", "lapis:lapis_block", { |
|||
description = ("Lapis with Calcite"), |
|||
tiles = {"lapis_block.png"}, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
}) |
|||
|
|||
stairsplus:register_all("lapis", "lapis_brick", "lapis:lapis_brick", { |
|||
description = ("Lapis Brick"), |
|||
tiles = {"lapis_brick_top.png", |
|||
"lapis_brick_top.png^[transformFXR90", |
|||
"lapis_brick_side.png", |
|||
"lapis_brick_side.png^[transformFX", |
|||
"lapis_brick.png^[transformFX", |
|||
"lapis_brick.png"}, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
}) |
|||
|
|||
stairsplus:register_all("lapis", "lapis_cobble", "lapis:lapis_cobble", { |
|||
description = ("Cobbled Lapis"), |
|||
tiles = {"lapis_cobble.png", |
|||
"lapis_cobble.png^[transformFY", |
|||
"lapis_cobble.png^[transformFX", |
|||
"lapis_cobble.png", |
|||
"lapis_cobble.png^[transformFX", |
|||
"lapis_cobble.png"}, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
}) |
|||
|
|||
stairsplus:register_all("lapis", "lapis_lazurite_block", "lapis:lazurite_block", { |
|||
description = ("Lazurite"), |
|||
tiles = {"lapis_lazurite_block.png"}, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
}) |
|||
|
|||
stairsplus:register_all("lapis", "lapis_lazurite_brick", "lapis:lazurite_brick", { |
|||
description = ("Lazurite Brick"), |
|||
tiles = {"lapis_lazurite_brick_top.png", |
|||
"lapis_lazurite_brick_top.png^[transformFXR90", |
|||
"lapis_lazurite_brick_side.png", |
|||
"lapis_lazurite_brick_side.png^[transformFX", |
|||
"lapis_lazurite_brick.png^[transformFX", |
|||
"lapis_lazurite_brick.png"}, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
}) |
|||
|
|||
stairsplus:register_all("lapis", "lapis_tile", "lapis:lapis_tile", { |
|||
description = ("Lapis Floor Tile"), |
|||
tiles = {"lapis_tile.png"}, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
}) |
|||
|
|||
stairsplus:register_all("lapis", "pyrite_block", "lapis:pyrite_block", { |
|||
description = ("Pyrite Block"), |
|||
tiles = {"lapis_pyrite_block.png"}, |
|||
groups = {cracky = 2}, |
|||
sounds = default.node_sound_metal_defaults({ |
|||
footstep = {name = "default_hard_footstep", gain = 0.5}, |
|||
place = {name = "default_place_node_hard", gain = 1.0}}), |
|||
}) |
|||
|
|||
-- Fall back to default stairs if moreblocks is not installed or enabled |
|||
elseif minetest.get_modpath("stairs") then |
|||
|
|||
stairs.register_stair_and_slab("lapis_block", "lapis:lapis_block", |
|||
{cracky = 3}, |
|||
{"lapis_block.png"}, |
|||
"Lapis Stair", |
|||
"Lapis Slab", |
|||
default.node_sound_stone_defaults()) |
|||
|
|||
stairs.register_stair_and_slab("lapis_brick", "lapis:lapis_brick", |
|||
{cracky = 3}, |
|||
{"lapis_brick.png"}, |
|||
"Lapis Brick Stair", |
|||
"Lapis Brick Slab", |
|||
default.node_sound_stone_defaults()) |
|||
|
|||
stairs.register_stair_and_slab("lapis_cobble", "lapis:lapis_cobble", |
|||
{cracky = 3}, |
|||
{"lapis_cobble.png"}, |
|||
"Lapis Cobble Stair", |
|||
"Lapis Cobble Slab", |
|||
default.node_sound_stone_defaults()) |
|||
|
|||
stairs.register_stair_and_slab("lazurite", "lapis:lazurite_block", |
|||
{cracky = 3}, |
|||
{"lapis_lazurite_block.png"}, |
|||
"Lazurite Stair", |
|||
"Lazurite Slab", |
|||
default.node_sound_stone_defaults()) |
|||
|
|||
stairs.register_stair_and_slab("lazurite_brick", "lapis:lazurite_brick", |
|||
{cracky = 3}, |
|||
{"lapis_lazurite_brick.png"}, |
|||
"Lazurite Brick Stair", |
|||
"Lazurite Brick Slab", |
|||
default.node_sound_stone_defaults()) |
|||
end |
|||
|
|||
--------------- |
|||
-- Crafts Items |
|||
--------------- |
|||
|
|||
minetest.register_craftitem("lapis:lapis_stone", { |
|||
description = "Lapis Gemstone", |
|||
inventory_image = "lapis_stone.png", |
|||
}) |
|||
|
|||
minetest.register_craftitem("lapis:pyrite_ingot", { |
|||
description = "Pyrite Ingot", |
|||
inventory_image = "lapis_pyrite_ingot.png", |
|||
}) |
|||
|
|||
minetest.register_craftitem("lapis:pyrite_lump", { |
|||
description = "Fool's Gold", |
|||
inventory_image = "lapis_pyrite_nugget.png", |
|||
}) |
|||
|
|||
---------- |
|||
-- Crafts |
|||
---------- |
|||
|
|||
minetest.register_craft({ |
|||
output = 'lapis:lazurite_block', |
|||
recipe = { |
|||
{'lapis:lapis_stone', 'lapis:lapis_stone', 'lapis:lapis_stone'}, |
|||
{'lapis:lapis_stone', 'lapis:pyrite_lump', 'lapis:lapis_stone'}, |
|||
{'lapis:lapis_stone', 'lapis:lapis_stone', 'lapis:lapis_stone'}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = 'lapis:lapis_stone 9', |
|||
recipe = { |
|||
{'lapis:lapis_block'}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = 'lapis:lapis_brick 4', |
|||
recipe = { |
|||
{ 'lapis:lapis_block', 'lapis:lapis_block'}, |
|||
{ 'lapis:lapis_block', 'lapis:lapis_block'}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = 'lapis:lazurite_brick 4', |
|||
recipe = { |
|||
{ '', 'lapis:lapis_brick', ''}, |
|||
{ 'lapis:lapis_brick', 'lapis:pyrite_lump', 'lapis:lapis_brick'}, |
|||
{ '', 'lapis:lapis_brick', ''}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = 'lapis:lapis_tile 2', |
|||
recipe = { |
|||
{ 'lapis:lazurite_brick'}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = 'lapis:pyrite_block', |
|||
recipe = { |
|||
{'lapis:pyrite_ingot', 'lapis:pyrite_ingot', 'lapis:pyrite_ingot'}, |
|||
{'lapis:pyrite_ingot', 'lapis:pyrite_ingot', 'lapis:pyrite_ingot'}, |
|||
{'lapis:pyrite_ingot', 'lapis:pyrite_ingot', 'lapis:pyrite_ingot'}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = 'lapis:pyrite_ingot 6', |
|||
recipe = { |
|||
{'lapis:pyrite_block'}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = "lapis:rosace_stone 4", |
|||
recipe = { |
|||
{ "lapis:pyrite_ingot", "lapis:lapis_stone", "lapis:pyrite_ingot" }, |
|||
{ "lapis:lapis_stone", "lapis:pyrite_ingot", "lapis:lapis_stone" }, |
|||
{ "lapis:pyrite_ingot", "lapis:lapis_stone", "lapis:pyrite_ingot" }, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = 'dye:blue 2', |
|||
recipe = { |
|||
{'lapis:lapis_stone'}, |
|||
} |
|||
}) |
|||
|
|||
------------ |
|||
-- Cooking |
|||
------------ |
|||
|
|||
minetest.register_craft({ |
|||
type = 'cooking', |
|||
output = 'lapis:lapis_block', |
|||
recipe = 'lapis:lapis_cobble', |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
type = "cooking", |
|||
output = "lapis:pyrite_ingot", |
|||
recipe = "lapis:pyrite_lump", |
|||
}) |
|||
|
|||
-------------------- |
|||
-- Ore Generation |
|||
-------------------- |
|||
|
|||
--lapis |
|||
--Sheet ore registration |
|||
minetest.register_ore({ |
|||
ore_type = "sheet", |
|||
ore = "lapis:lapis_block", |
|||
wherein = "default:stone", |
|||
column_height_min = 1, |
|||
column_height_max = 3, |
|||
column_midpoint_factor = 0.5, |
|||
y_min = -500, |
|||
y_max = 200, |
|||
noise_threshold = 1.25, |
|||
noise_params = {offset=0, scale=2, spread={x=20, y=20, z=10}, seed= 10 , octaves=2, persist=0.8} |
|||
}) |
|||
|
|||
-- pyrite |
|||
minetest.register_ore({ |
|||
ore_type = "scatter", |
|||
ore = "lapis:pyrite_ore", |
|||
wherein = "default:stone", |
|||
clust_scarcity = 24 * 24 * 24, |
|||
clust_num_ores = 4, |
|||
clust_size = 3, |
|||
y_min = -50, |
|||
y_max = -10, |
|||
}) |
|||
|
|||
minetest.register_ore({ |
|||
ore_type = "scatter", |
|||
ore = "lapis:pyrite_ore", |
|||
wherein = "default:stone", |
|||
clust_scarcity = 18 * 18 * 18, |
|||
clust_num_ores = 4, |
|||
clust_size = 3, |
|||
y_min = -150, |
|||
y_max = -51, |
|||
}) |
|||
|
|||
---------- |
|||
--Aliases |
|||
---------- |
|||
|
|||
minetest.register_alias("lapis:lapis_paver", "lapis:lapis_cobble") |
|||
minetest.register_alias("lapis:lazurite", "lapis:lapis_block") |
|||
minetest.register_alias("lapis:pyrite_sacred","lapis:pyrite_block") |
|||
minetest.register_alias("lapis:pyrite_coin","lapis:pyrite_ingot") |
|||
minetest.register_alias("lapis:sacred_ore", "lapis:lazurite_block") |
@ -1,33 +0,0 @@ |
|||
Name: lapis |
|||
Source: Modified upstream mod - Do not replace |
|||
License: WTFPL (see "README.md" for more information) |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
1. This is a modified version of an upstream mod. The starting point |
|||
was obtained originally as follows: |
|||
|
|||
rm -fr lapis |
|||
git clone \ |
|||
https://github.com/Napiophelios/LapisLazuli.git lapis |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
2. Changes include: |
|||
|
|||
2a. Replaced contents of "depends.txt" with: |
|||
|
|||
default |
|||
moreblocks? |
|||
stairs? |
|||
|
|||
2b. Fixed an incorrect element name: |
|||
|
|||
sed 's/noise_threshhold/noise_threshold/' -i init.lua |
|||
|
|||
2c. Added the files "00README" and "oldcoder.txt" (this file). |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
3. This mod shouldn't be replaced with an upstream version unless cha- |
|||
nges (2a) and (2b) are duplicated in the new copy. |
@ -1,130 +0,0 @@ |
|||
The MIT License (MIT) |
|||
|
|||
Copyright (c) 2016 TenPlus1 |
|||
|
|||
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. |
|||
|
|||
|
|||
License of media (textures): |
|||
---------------------------- |
|||
Created by PilzAdam (License: WTFPL): |
|||
farming_bread.png |
|||
farming_soil.png |
|||
farming_soil_wet.png |
|||
farming_soil_wet_side.png |
|||
farming_string.png |
|||
|
|||
Created by Napiophelios (CC BY-SA 3.0): |
|||
farming_cotton.png |
|||
|
|||
Created by Calinou (License: CC BY-SA): |
|||
farming_tool_bronzehoe.png |
|||
farming_tool_steelhoe.png |
|||
farming_tool_stonehoe.png |
|||
farming_tool_woodhoe.png |
|||
farming_tool_mesehoe.png |
|||
farming_tool_diamondhoe.png |
|||
|
|||
Created by VanessaE (License: WTFPL): |
|||
farming_cotton_seed.png |
|||
farming_wheat_seed.png |
|||
farming_flour.png |
|||
farming_wheat.png |
|||
farming_wheat_1.png |
|||
farming_wheat_2.png |
|||
farming_wheat_3.png |
|||
farming_wheat_4.png |
|||
farming_wheat_5.png |
|||
farming_wheat_5.png |
|||
farming_wheat_7.png |
|||
farming_wheat_8.png |
|||
farming_cotton_1.png |
|||
farming_cotton_2.png |
|||
farming_cotton_3.png |
|||
farming_cotton_4.png |
|||
farming_cotton_5.png |
|||
farming_cotton_6.png |
|||
farming_cotton_7.png |
|||
farming_cotton_8.png |
|||
|
|||
Created by Doc (License: WTFPL): |
|||
farming_cucumber.png |
|||
farming_cucumber_1.png |
|||
farming_cucumber_2.png |
|||
farming_cucumber_3.png |
|||
farming_cucumber_4.png |
|||
farming_potato.png |
|||
farming_potato_1.png |
|||
farming_potato_2.png |
|||
farming_potato_3.png |
|||
farming_potato_4.png |
|||
farming_raspberries.png |
|||
farming_raspberry_1.png |
|||
farming_raspberry_2.png |
|||
farming_raspberry_3.png |
|||
farming_raspberry_4.png |
|||
|
|||
Created by Gambit: |
|||
default_junglegrass.png |
|||
farming_carrot.png |
|||
farming_carrot_1.png |
|||
farming_carrot_2.png |
|||
farming_carrot_3.png |
|||
farming_carrot_4.png |
|||
farming_carrot_5.png |
|||
farming_carrot_6.png |
|||
farming_carrot_7.png |
|||
farming_carrot_8.png |
|||
|
|||
Created by JoseTheCrafter and edited by TenPlus1: |
|||
farming_tomato.png |
|||
farming_tomato_1.png |
|||
farming_tomato_2.png |
|||
farming_tomato_3.png |
|||
farming_tomato_4.png |
|||
farming_tomato_5.png |
|||
farming_tomato_6.png |
|||
farming_tomato_7.png |
|||
farming_tomato_8.png |
|||
|
|||
Created by GeMinecraft and edited by TenPlus1: |
|||
farming_corn.png |
|||
farming_corn_cob.png |
|||
farming_corn_1.png |
|||
farming_corn_2.png |
|||
farming_corn_3.png |
|||
farming_corn_4.png |
|||
farming_corn_5.png |
|||
farming_corn_6.png |
|||
farming_corn_7.png |
|||
farming_corn_8.png |
|||
|
|||
Created by TenPlus1 |
|||
farming_cocoa_1.png |
|||
farming_cocoa_2.png |
|||
farming_cocoa_3.png |
|||
farming_cocoa_beans.png |
|||
farming_cookie.png |
|||
farming_raspberry_smoothie.png |
|||
farming_rhubarb_1.png |
|||
farming_rhubarb_2.png |
|||
farming_rhubarb_3.png |
|||
farming_rhubarb.png |
|||
farming_rhubarb_pie.png |
|||
farming_hemp*.png |
@ -1,23 +0,0 @@ |
|||
Name: coderfood |
|||
Source: New modpack based on various mods and/or modpacks |
|||
License: See "license-modpack.txt" |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
1. The "food" and "food_basic" mods were extracted from the following |
|||
modpack: |
|||
|
|||
https://github.com/rubenwardy/food.git |
|||
|
|||
modpack-level documentation files were moved into a new subdirectory |
|||
of the "food" mod named "rwfooddoc". |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
2. Additions to that starting point: |
|||
|
|||
2a. Added the OldCoder mod "coderfruit". |
|||
|
|||
2b. Added Milan's forks of the mods "hbhunger" and "hudbars". |
|||
|
|||
2c. Added the files "00README" and "oldcoder.txt" (this file). |
@ -1,414 +0,0 @@ |
|||
screwdriver = screwdriver or {} |
|||
|
|||
if minetest.setting_getbool("enable_lapis_mod_columns") then |
|||
dofile(minetest.get_modpath("lapis").."/columns.lua") |
|||
end |
|||
|
|||
---------- |
|||
--Nodes |
|||
---------- |
|||
|
|||
minetest.register_node( "lapis:lapis_block", { |
|||
description = "Lapis with Calcite", |
|||
tiles = {"lapis_block.png"}, |
|||
paramtype = "light", |
|||
is_ground_content = true, |
|||
groups = {cracky = 3}, |
|||
drop = { |
|||
max_items = 1, |
|||
items = { |
|||
{items = {'lapis:lapis_stone'}, rarity = 10}, |
|||
{items = {'lapis:lapis_cobble'}}, |
|||
}, |
|||
}, |
|||
sounds = default.node_sound_stone_defaults() |
|||
}) |
|||
|
|||
minetest.register_node( "lapis:lapis_brick", { |
|||
description = "Lapis Brick", |
|||
tiles = { |
|||
"lapis_brick_top.png", |
|||
"lapis_brick_top.png^[transformFXR90", |
|||
"lapis_brick_side.png", |
|||
"lapis_brick_side.png^[transformFX", |
|||
"lapis_brick.png^[transformFX", |
|||
"lapis_brick.png" |
|||
}, |
|||
paramtype = "light", |
|||
paramtype2 = "facedir", |
|||
place_param2 = 0, |
|||
on_rotate = screwdriver.rotate_simple, |
|||
is_ground_content = false, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults() |
|||
}) |
|||
|
|||
minetest.register_node( "lapis:lapis_cobble", { |
|||
description = "Cobbled Lapis", |
|||
tiles = { |
|||
"lapis_cobble.png", |
|||
"lapis_cobble.png^[transformFY", |
|||
"lapis_cobble.png^[transformFX", |
|||
"lapis_cobble.png", |
|||
"lapis_cobble.png^[transformFX", |
|||
"lapis_cobble.png" |
|||
}, |
|||
paramtype = "light", |
|||
is_ground_content = false, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults() |
|||
}) |
|||
|
|||
minetest.register_node( "lapis:lazurite_block", { |
|||
description = "Lazurite", |
|||
tiles = {"lapis_lazurite_block.png"}, |
|||
paramtype = "light", |
|||
is_ground_content = true, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults() |
|||
}) |
|||
|
|||
minetest.register_node( "lapis:lazurite_brick", { |
|||
description = "Lazurite Brick", |
|||
tiles = { |
|||
"lapis_lazurite_brick_top.png", |
|||
"lapis_lazurite_brick_top.png^[transformFXR90", |
|||
"lapis_lazurite_brick_side.png", |
|||
"lapis_lazurite_brick_side.png^[transformFX", |
|||
"lapis_lazurite_brick.png^[transformFX", |
|||
"lapis_lazurite_brick.png" |
|||
}, |
|||
paramtype = "light", |
|||
paramtype2 = "facedir", |
|||
place_param2 = 0, |
|||
on_rotate = screwdriver.rotate_simple, |
|||
is_ground_content = false, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults() |
|||
}) |
|||
|
|||
minetest.register_node( "lapis:lapis_tile", { |
|||
description = "Lapis Floor Tile", |
|||
tiles = {"lapis_tile.png" }, |
|||
is_ground_content = false, |
|||
paramtype = 'light', |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults() |
|||
}) |
|||
|
|||
minetest.register_node( "lapis:pyrite_ore", { |
|||
description = "Pyrite Ore", |
|||
tiles = {"default_stone.png^lapis_mineral_pyrite.png" }, |
|||
paramtype = "light", |
|||
is_ground_content = true, |
|||
drop= 'lapis:pyrite_lump 2', |
|||
groups = {cracky = 2}, |
|||
sounds = default.node_sound_stone_defaults() , |
|||
}) |
|||
|
|||
minetest.register_node( "lapis:pyrite_block", { |
|||
description = "Pyrite Block", |
|||
tiles = { |
|||
"lapis_pyrite_sacred.png", |
|||
"lapis_pyrite_sacred.png", |
|||
"lapis_pyrite_block.png" |
|||
}, |
|||
paramtype = "light", |
|||
paramtype2 = "facedir", |
|||
place_param2 = 0, |
|||
is_ground_content = false, |
|||
groups = {cracky = 2}, |
|||
sounds = default.node_sound_metal_defaults({ |
|||
footstep = {name = "default_hard_footstep", gain = 0.5}, |
|||
place = {name = "default_place_node_hard", gain = 1.0}, |
|||
}), |
|||
}) |
|||
--Unused Rosace Stone from Darkage mod |
|||
minetest.register_node("lapis:rosace", { |
|||
description = "Rose Stone", |
|||
tiles = {"lapis_rosace_front.png", |
|||
"lapis_rosace_front.png", |
|||
"lapis_rosace_side.png^[transformFX", |
|||
"lapis_rosace_side.png^[transformFYR90", |
|||
"lapis_rosace_side.png^[transformFY", |
|||
"lapis_rosace_side.png"}, |
|||
paramtype2 = "facedir", |
|||
place_param2 = 0, |
|||
is_ground_content = false, |
|||
groups = {cracky = 3, stone = 2}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
}) |
|||
|
|||
------------------- |
|||
--Stairs & Slabs |
|||
------------------- |
|||
-- Add support for Stairs Plus (in More Blocks), by Worldblender |
|||
if minetest.get_modpath("moreblocks") then |
|||
|
|||
stairsplus:register_all("lapis", "lapis_block", "lapis:lapis_block", { |
|||
description = ("Lapis with Calcite"), |
|||
tiles = {"lapis_block.png"}, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
}) |
|||
|
|||
stairsplus:register_all("lapis", "lapis_brick", "lapis:lapis_brick", { |
|||
description = ("Lapis Brick"), |
|||
tiles = {"lapis_brick_top.png", |
|||
"lapis_brick_top.png^[transformFXR90", |
|||
"lapis_brick_side.png", |
|||
"lapis_brick_side.png^[transformFX", |
|||
"lapis_brick.png^[transformFX", |
|||
"lapis_brick.png"}, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
}) |
|||
|
|||
stairsplus:register_all("lapis", "lapis_cobble", "lapis:lapis_cobble", { |
|||
description = ("Cobbled Lapis"), |
|||
tiles = {"lapis_cobble.png", |
|||
"lapis_cobble.png^[transformFY", |
|||
"lapis_cobble.png^[transformFX", |
|||
"lapis_cobble.png", |
|||
"lapis_cobble.png^[transformFX", |
|||
"lapis_cobble.png"}, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
}) |
|||
|
|||
stairsplus:register_all("lapis", "lapis_lazurite_block", "lapis:lazurite_block", { |
|||
description = ("Lazurite"), |
|||
tiles = {"lapis_lazurite_block.png"}, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
}) |
|||
|
|||
stairsplus:register_all("lapis", "lapis_lazurite_brick", "lapis:lazurite_brick", { |
|||
description = ("Lazurite Brick"), |
|||
tiles = {"lapis_lazurite_brick_top.png", |
|||
"lapis_lazurite_brick_top.png^[transformFXR90", |
|||
"lapis_lazurite_brick_side.png", |
|||
"lapis_lazurite_brick_side.png^[transformFX", |
|||
"lapis_lazurite_brick.png^[transformFX", |
|||
"lapis_lazurite_brick.png"}, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
}) |
|||
|
|||
stairsplus:register_all("lapis", "lapis_tile", "lapis:lapis_tile", { |
|||
description = ("Lapis Floor Tile"), |
|||
tiles = {"lapis_tile.png"}, |
|||
groups = {cracky = 3}, |
|||
sounds = default.node_sound_stone_defaults(), |
|||
}) |
|||
|
|||
stairsplus:register_all("lapis", "pyrite_block", "lapis:pyrite_block", { |
|||
description = ("Pyrite Block"), |
|||
tiles = {"lapis_pyrite_block.png"}, |
|||
groups = {cracky = 2}, |
|||
sounds = default.node_sound_metal_defaults({ |
|||
footstep = {name = "default_hard_footstep", gain = 0.5}, |
|||
place = {name = "default_place_node_hard", gain = 1.0}}), |
|||
}) |
|||
|
|||
-- Fall back to default stairs if moreblocks is not installed or enabled |
|||
elseif minetest.get_modpath("stairs") then |
|||
|
|||
stairs.register_stair_and_slab("lapis_block", "lapis:lapis_block", |
|||
{cracky = 3}, |
|||
{"lapis_block.png"}, |
|||
"Lapis Stair", |
|||
"Lapis Slab", |
|||
default.node_sound_stone_defaults()) |
|||
|
|||
stairs.register_stair_and_slab("lapis_brick", "lapis:lapis_brick", |
|||
{cracky = 3}, |
|||
{"lapis_brick.png"}, |
|||
"Lapis Brick Stair", |
|||
"Lapis Brick Slab", |
|||
default.node_sound_stone_defaults()) |
|||
|
|||
stairs.register_stair_and_slab("lapis_cobble", "lapis:lapis_cobble", |
|||
{cracky = 3}, |
|||
{"lapis_cobble.png"}, |
|||
"Lapis Cobble Stair", |
|||
"Lapis Cobble Slab", |
|||
default.node_sound_stone_defaults()) |
|||
|
|||
stairs.register_stair_and_slab("lazurite", "lapis:lazurite_block", |
|||
{cracky = 3}, |
|||
{"lapis_lazurite_block.png"}, |
|||
"Lazurite Stair", |
|||
"Lazurite Slab", |
|||
default.node_sound_stone_defaults()) |
|||
|
|||
stairs.register_stair_and_slab("lazurite_brick", "lapis:lazurite_brick", |
|||
{cracky = 3}, |
|||
{"lapis_lazurite_brick.png"}, |
|||
"Lazurite Brick Stair", |
|||
"Lazurite Brick Slab", |
|||
default.node_sound_stone_defaults()) |
|||
end |
|||
|
|||
--------------- |
|||
-- Crafts Items |
|||
--------------- |
|||
|
|||
minetest.register_craftitem("lapis:lapis_stone", { |
|||
description = "Lapis Gemstone", |
|||
inventory_image = "lapis_stone.png", |
|||
}) |
|||
|
|||
minetest.register_craftitem("lapis:pyrite_ingot", { |
|||
description = "Pyrite Ingot", |
|||
inventory_image = "lapis_pyrite_ingot.png", |
|||
}) |
|||
|
|||
minetest.register_craftitem("lapis:pyrite_lump", { |
|||
description = "Fool's Gold", |
|||
inventory_image = "lapis_pyrite_nugget.png", |
|||
}) |
|||
|
|||
---------- |
|||
-- Crafts |
|||
---------- |
|||
|
|||
minetest.register_craft({ |
|||
output = 'lapis:lazurite_block', |
|||
recipe = { |
|||
{'lapis:lapis_stone', 'lapis:lapis_stone', 'lapis:lapis_stone'}, |
|||
{'lapis:lapis_stone', 'lapis:pyrite_lump', 'lapis:lapis_stone'}, |
|||
{'lapis:lapis_stone', 'lapis:lapis_stone', 'lapis:lapis_stone'}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = 'lapis:lapis_stone 9', |
|||
recipe = { |
|||
{'lapis:lapis_block'}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = 'lapis:lapis_brick 4', |
|||
recipe = { |
|||
{ 'lapis:lapis_block', 'lapis:lapis_block'}, |
|||
{ 'lapis:lapis_block', 'lapis:lapis_block'}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = 'lapis:lazurite_brick 4', |
|||
recipe = { |
|||
{ '', 'lapis:lapis_brick', ''}, |
|||
{ 'lapis:lapis_brick', 'lapis:pyrite_lump', 'lapis:lapis_brick'}, |
|||
{ '', 'lapis:lapis_brick', ''}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = 'lapis:lapis_tile 2', |
|||
recipe = { |
|||
{ 'lapis:lazurite_brick'}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = 'lapis:pyrite_block', |
|||
recipe = { |
|||
{'lapis:pyrite_ingot', 'lapis:pyrite_ingot', 'lapis:pyrite_ingot'}, |
|||
{'lapis:pyrite_ingot', 'lapis:pyrite_ingot', 'lapis:pyrite_ingot'}, |
|||
{'lapis:pyrite_ingot', 'lapis:pyrite_ingot', 'lapis:pyrite_ingot'}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = 'lapis:pyrite_ingot 6', |
|||
recipe = { |
|||
{'lapis:pyrite_block'}, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = "lapis:rosace_stone 4", |
|||
recipe = { |
|||
{ "lapis:pyrite_ingot", "lapis:lapis_stone", "lapis:pyrite_ingot" }, |
|||
{ "lapis:lapis_stone", "lapis:pyrite_ingot", "lapis:lapis_stone" }, |
|||
{ "lapis:pyrite_ingot", "lapis:lapis_stone", "lapis:pyrite_ingot" }, |
|||
} |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
output = 'dye:blue 2', |
|||
recipe = { |
|||
{'lapis:lapis_stone'}, |
|||
} |
|||
}) |
|||
|
|||
------------ |
|||
-- Cooking |
|||
------------ |
|||
|
|||
minetest.register_craft({ |
|||
type = 'cooking', |
|||
output = 'lapis:lapis_block', |
|||
recipe = 'lapis:lapis_cobble', |
|||
}) |
|||
|
|||
minetest.register_craft({ |
|||
type = "cooking", |
|||
output = "lapis:pyrite_ingot", |
|||
recipe = "lapis:pyrite_lump", |
|||
}) |
|||
|
|||
-------------------- |
|||
-- Ore Generation |
|||
-------------------- |
|||
|
|||
--lapis |
|||
--Sheet ore registration |
|||
minetest.register_ore({ |
|||
ore_type = "sheet", |
|||
ore = "lapis:lapis_block", |
|||
wherein = "default:stone", |
|||
column_height_min = 1, |
|||
column_height_max = 3, |
|||
column_midpoint_factor = 0.5, |
|||
y_min = -500, |
|||
y_max = 200, |
|||
noise_threshold = 1.25, |
|||
noise_params = {offset=0, scale=2, spread={x=20, y=20, z=10}, seed= 10 , octaves=2, persist=0.8} |
|||
}) |
|||
|
|||
-- pyrite |
|||
minetest.register_ore({ |
|||
ore_type = "scatter", |
|||
ore = "lapis:pyrite_ore", |
|||
wherein = "default:stone", |
|||
clust_scarcity = 24 * 24 * 24, |
|||
clust_num_ores = 4, |
|||
clust_size = 3, |
|||
y_min = -50, |
|||
y_max = -10, |
|||
}) |
|||
|
|||
minetest.register_ore({ |
|||
ore_type = "scatter", |
|||
ore = "lapis:pyrite_ore", |
|||
wherein = "default:stone", |
|||
clust_scarcity = 18 * 18 * 18, |
|||
clust_num_ores = 4, |
|||
clust_size = 3, |
|||
y_min = -150, |
|||
y_max = -51, |
|||
}) |
|||
|
|||
---------- |
|||
--Aliases |
|||
---------- |
|||
|
|||
minetest.register_alias("lapis:lapis_paver", "lapis:lapis_cobble") |
|||
minetest.register_alias("lapis:lazurite", "lapis:lapis_block") |
|||
minetest.register_alias("lapis:pyrite_sacred","lapis:pyrite_block") |
|||
minetest.register_alias("lapis:pyrite_coin","lapis:pyrite_ingot") |
|||
minetest.register_alias("lapis:sacred_ore", "lapis:lazurite_block") |
@ -1,33 +0,0 @@ |
|||
Name: lapis |
|||
Source: Modified upstream mod - Do not replace |
|||
License: WTFPL (see "README.md" for more information) |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
1. This is a modified version of an upstream mod. The starting point |
|||
was obtained originally as follows: |
|||
|
|||
rm -fr lapis |
|||
git clone \ |
|||
https://github.com/Napiophelios/LapisLazuli.git lapis |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
2. Changes include: |
|||
|
|||
2a. Replaced contents of "depends.txt" with: |
|||
|
|||
default |
|||
moreblocks? |
|||
stairs? |
|||
|
|||
2b. Fixed an incorrect element name: |
|||
|
|||
sed 's/noise_threshhold/noise_threshold/' -i init.lua |
|||
|
|||
2c. Added the files "00README" and "oldcoder.txt" (this file). |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
3. This mod shouldn't be replaced with an upstream version unless cha- |
|||
nges (2a) and (2b) are duplicated in the new copy. |
@ -1,4 +0,0 @@ |
|||
#When true, lapis mod's builtin round column nodes and their crafting |
|||
#recipes are available (castle_masonry comes with its own square |
|||
#columns which are always enabled). |
|||
enable_lapis_mod_columns (Lapis Mod's Round Columns) bool false |
@ -1,133 +0,0 @@ |
|||
The MIT License (MIT) |
|||
|
|||
Copyright (c) 2016 TenPlus1 |
|||
|
|||
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. |
|||
|
|||
|
|||
License of media (textures): |
|||
---------------------------- |
|||
Created by mDiyo (Natura), modified by TenPlus1 (License: CC BY-SA 3.0): |
|||
farming_barley.png |
|||
|
|||
Created by PilzAdam (License: WTFPL): |
|||
farming_bread.png |
|||
farming_soil.png |
|||
farming_soil_wet.png |
|||
farming_soil_wet_side.png |
|||
farming_string.png |
|||
|
|||
Created by Napiophelios (CC BY-SA 3.0): |
|||
farming_cotton.png |
|||
|
|||
Created by Calinou (License: CC BY-SA): |
|||
farming_tool_bronzehoe.png |
|||
farming_tool_steelhoe.png |
|||
farming_tool_stonehoe.png |
|||
farming_tool_woodhoe.png |
|||
farming_tool_mesehoe.png |
|||
farming_tool_diamondhoe.png |
|||
|
|||
Created by VanessaE (License: WTFPL): |
|||
farming_cotton_seed.png |
|||
farming_wheat_seed.png |
|||
farming_flour.png |
|||
farming_wheat.png |
|||
farming_wheat_1.png |
|||
farming_wheat_2.png |
|||
farming_wheat_3.png |
|||
farming_wheat_4.png |
|||
farming_wheat_5.png |
|||
farming_wheat_5.png |
|||
farming_wheat_7.png |
|||
farming_wheat_8.png |
|||
farming_cotton_1.png |
|||
farming_cotton_2.png |
|||
farming_cotton_3.png |
|||
farming_cotton_4.png |
|||
farming_cotton_5.png |
|||
farming_cotton_6.png |
|||
farming_cotton_7.png |
|||
farming_cotton_8.png |
|||
|
|||
Created by Doc (License: WTFPL): |
|||
farming_cucumber.png |
|||
farming_cucumber_1.png |
|||
farming_cucumber_2.png |
|||
farming_cucumber_3.png |
|||
farming_cucumber_4.png |
|||
farming_potato.png |
|||
farming_potato_1.png |
|||
farming_potato_2.png |
|||
farming_potato_3.png |
|||
farming_potato_4.png |
|||
farming_raspberries.png |
|||
farming_raspberry_1.png |
|||
farming_raspberry_2.png |
|||
farming_raspberry_3.png |
|||
farming_raspberry_4.png |
|||
|
|||
Created by Gambit: |
|||
default_junglegrass.png |
|||
farming_carrot.png |
|||
farming_carrot_1.png |
|||
farming_carrot_2.png |
|||
farming_carrot_3.png |
|||
farming_carrot_4.png |
|||
farming_carrot_5.png |
|||
farming_carrot_6.png |
|||
farming_carrot_7.png |
|||
farming_carrot_8.png |
|||
|
|||
Created by JoseTheCrafter and edited by TenPlus1: |
|||
farming_tomato.png |
|||
farming_tomato_1.png |
|||
farming_tomato_2.png |
|||
farming_tomato_3.png |
|||
farming_tomato_4.png |
|||
farming_tomato_5.png |
|||
farming_tomato_6.png |
|||
farming_tomato_7.png |
|||
farming_tomato_8.png |
|||
|
|||
Created by GeMinecraft and edited by TenPlus1: |
|||
farming_corn.png |
|||
farming_corn_cob.png |
|||
farming_corn_1.png |
|||
farming_corn_2.png |
|||
farming_corn_3.png |
|||
farming_corn_4.png |
|||
farming_corn_5.png |
|||
farming_corn_6.png |
|||
farming_corn_7.png |
|||
farming_corn_8.png |
|||
|
|||
Created by TenPlus1 |
|||
farming_cocoa_1.png |
|||
farming_cocoa_2.png |
|||
farming_cocoa_3.png |
|||
farming_cocoa_beans.png |
|||
farming_cookie.png |
|||
farming_raspberry_smoothie.png |
|||
farming_rhubarb_1.png |
|||
farming_rhubarb_2.png |
|||
farming_rhubarb_3.png |
|||
farming_rhubarb.png |
|||
farming_rhubarb_pie.png |
|||
farming_hemp*.png |
@ -1,23 +0,0 @@ |
|||
Name: coderfood |
|||
Source: New modpack based on various mods and/or modpacks |
|||
License: See "license-modpack.txt" |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
1. The "food" and "food_basic" mods were extracted from the following |
|||
modpack: |
|||
|
|||
https://github.com/rubenwardy/food.git |
|||
|
|||
modpack-level documentation files were moved into a new subdirectory |
|||
of the "food" mod named "rwfooddoc". |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
2. Additions to that starting point: |
|||
|
|||
2a. Added the OldCoder mod "coderfruit". |
|||
|
|||
2b. Added Milan's forks of the mods "hbhunger" and "hudbars". |
|||
|
|||
2c. Added the files "00README" and "oldcoder.txt" (this file). |
@ -1,175 +0,0 @@ |
|||
All of the files involved are used and distributed under FOSS licens- |
|||
es. |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
Original components which not covered under other licenses are licens- |
|||
ed as follows: |
|||
|
|||
License: CC BY-SA 4.0 International. Attribution: OldCoder (Robert |
|||
Kiraly). |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
Media for "animal_materials", "deer", "elk", "ostrich", and "sacreep- |
|||
er": |
|||
|
|||
See the 5 associated Lua source files. In general, the media is: |
|||
CC-BY-SA 3.0 attribution: Sapier and Poikilos except for "sacreeper" |
|||
which is just attribution: Sapier. |
|||
|
|||
The "ostrich" texture is also attribution: OldCoder. |
|||
|
|||
Code for "animal_materials": Same as media. The other 4 mobs listed |
|||
here use new code. |
|||
|
|||
More about the Elk: |
|||
|
|||
Pixel Art Elk texture: |
|||
CC BY SA 3.0 Attribution: Sapier, Polikilos (skinned by) |
|||
|
|||
HD (video-based) and Lo-fi (16-color video-based) Elk Textures: |
|||
based on Elk video "Elk.webm.360p.vp9" (CC BY 2.0 Generic) |
|||
Stephen Baker [BLM/Oregon](blm.gov/yg5c).jpg, Poikilos (skinned by) |
|||
|
|||
Additionally, "chicken.lua" uses Sapier's 3D egg. See that Lua source |
|||
file as well. |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
Car model: |
|||
CC-BY-NC-SA 3.0. Attribution: Melkor. |
|||
http://creativecommons.org/licenses/by-nc-sa/3.0/ |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
mdoege code and/or media |
|||
----------------------------- |
|||
WTFPL |
|||
|
|||
PilzAdam code and/or media |
|||
----------------------------- |
|||
WTFPL |
|||
|
|||
Bat |
|||
----------------------------- |
|||
Code: GPL |
|||
Model and texture: CC BY-SA 3.0. Attribution: Defense Subgame. |
|||
Sound file: WTFPL |
|||
|
|||
Birds |
|||
----------------------------- |
|||
CC BY-SA 3.0. Attribution: models by poikilos (based on sapier's anim- |
|||
al_gull.b3d from animals modpack), textures by poikilos. |
|||
|
|||
Butterfly |
|||
----------------------------- |
|||
CC BY-SA 3.0. Attribution: AspireMint. |
|||
|
|||
Realistic Milk Bucket |
|||
----------------------------- |
|||
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) |
|||
Attribution: Copyright (C) 2015-2016 ElementW, Poikilos (modified by) |
|||
|
|||
|
|||
D00Med code |
|||
----------------------------- |
|||
GNU Lesser General Public License 2.1 |
|||
|
|||
D00Med models and/or textures |
|||
----------------------------- |
|||
CC BY-SA 3.0 Unported. Attribution: D00Med. |
|||
|
|||
Mr. Goat |
|||
----------------------------- |
|||
CC BY-SA 3.0. Attribution: Don Batman. |
|||
|
|||
NSSM components |
|||
----------------------------- |
|||
No NSSM are believed presently to be used. If they're used in the |
|||
future, the applicable license will be GPL3. |
|||
|
|||
Sapier components |
|||
----------------------------- |
|||
CC-BY-SA 3.0. Attribution: Sapier. |
|||
|
|||
"mobs_mc" components |
|||
----------------------------- |
|||
Code and models: GNU GPL V3 |
|||
|
|||
Other "mobs_mc" Polar Bear media: CC BY-SA 4.0. Attribution: "mobs_mc" |
|||
team. |
|||
|
|||
Improved Spider/Bug Sounds |
|||
-------------------------- |
|||
codermobs_damage_giant_exoskeleton, codermobs_death_giant_bug, |
|||
codermobs_use_giant_exoskeleton |
|||
CC BY-SA 4.0. Attribution: Poikilos |
|||
https://creativecommons.org/licenses/by-sa/4.0/ |
|||
|
|||
Improved Particles |
|||
------------------ |
|||
codermobs_blood, codermobs_damage_stone, codermobs_lott_spider_blood |
|||
CC BY-SA 4.0. Attribution: Poikilos |
|||
https://creativecommons.org/licenses/by-sa/4.0/ |
|||
|
|||
codermobs_fireball |
|||
CC-BY-SA 3.0. Attribution: Sapier, OldCoder, Poikilos |
|||
https://creativecommons.org/licenses/by-sa/4.0/ |
|||
github.com/AntumMT/mp-animals_modpack/raw/master/animal_dm/License.txt |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
Krupnov Pavel and TenPlus1 components: |
|||
|
|||
The MIT License (MIT) |
|||
|
|||
Copyright (c) 2014 Krupnov Pavel -- bugs, kpgmobs, pmobs |
|||
Copyright (c) 2014 Krupnov Pavel and 2016 TenPlus1 -- mobs_animal |
|||
Copyright (c) 2016 TenPlus1 -- mobs_monster and mobs_npc |
|||
|
|||
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. |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
Blockmen components: |
|||
|
|||
Copyright (c) 2015-2016 BlockMen <blockmen2015@gmail.com> |
|||
|
|||
This software is provided 'as-is', without any express or implied |
|||
warranty. In no event will the authors be held liable for any damages |
|||
arising from the use of this software. |
|||
|
|||
Permission is granted to anyone to use this software for any purpose, |
|||
including commercial applications, and to alter it and redistribute it |
|||
freely, subject to the following restrictions: |
|||
|
|||
1. The origin of this software must not be misrepresented; you must |
|||
not claim that you wrote the original software. If you use this |
|||
software in a product, an acknowledgment in the product documentation |
|||
is required. |
|||
|
|||
2. Altered source versions must be plainly marked as such, and must |
|||
not be misrepresented as being the original software. |
|||
|
|||
3. This notice may not be removed or altered from any source |
|||
distribution. |
|||
|
|||
(end of document) |
@ -1,131 +0,0 @@ |
|||
-- Giant Spider. Descended from LOTT version. |
|||
|
|||
-- =================================================================== |
|||
|
|||
local lcname = "lott_spider" |
|||
local ucname = "LOTT Spider" |
|||
local msname = "codermobs_" .. lcname |
|||
local obj_name = "codermobs:" .. lcname |
|||
|
|||
-- =================================================================== |
|||
|
|||
mobs_param = { |
|||
lcname = lcname , |
|||
ucname = ucname , |
|||
obj_name = obj_name , |
|||
|
|||
aoc = 1 , |
|||
obr = 1 , |
|||
day_mode = true , |
|||
min_light = 0 , |
|||
max_light = 30 , |
|||
min_height = -31000 , |
|||
max_height = 31000 , |
|||
spawn_chance = 12000 , |
|||
spawn_type = "npc" , |
|||
|
|||
spawn_nodes = { |
|||
"default:junglegrass" , |
|||
"default:jungleleaves" , |
|||
"default:jungletree" , |
|||
} , |
|||
|
|||
add_egg = true , |
|||
egg_image = "default_stone.png" , |
|||
} |
|||
|
|||
-- =================================================================== |
|||
|
|||
codermobs.adjust_param() |
|||
|
|||
-- =================================================================== |
|||
|
|||
minetest.register_craftitem (obj_name .. "_meat", { |
|||
description = "Cooked Meat", |
|||
inventory_image = msname .. "_meat.png", |
|||
on_use = minetest.item_eat (4), |
|||
}) |
|||
|
|||
minetest.register_craftitem (obj_name .. "_meat_raw", { |
|||
description = "Raw Meat", |
|||
inventory_image = msname .. "_meat_raw.png", |
|||
}) |
|||
|
|||
minetest.register_craft ({ |
|||
type = "cooking", |
|||
output = obj_name .. "_meat", |
|||
recipe = obj_name .. "_meat_raw", |
|||
}) |
|||
|
|||
mobs_param.core_param = { |
|||
type = mobs_param.spawn_type , |
|||
passive = false, |
|||
attacks_monsters = true, |
|||
hp_min = 15, |
|||
hp_max = 30, |
|||
collisionbox = {-0.9, -0.01, -0.7, 0.7, 0.6, 0.7}, |
|||
textures = { msname .. ".png"} , |
|||
visual_size = {x=7,y=7}, |
|||
visual = "mesh", |
|||
mesh = msname .. ".x", |
|||
makes_footstep_sound = true, |
|||
view_range = 15, |
|||
walk_velocity = 1, |
|||
run_velocity = 3, |
|||
armor = 200, |
|||
damage = 3, |
|||
|
|||
drops = { |
|||
{name = "farming:string", |
|||
chance = 2, |
|||
min = 1, |
|||
max = 3,}, |
|||
{name = obj_name .. "_meat_raw", |
|||
chance = 4, |
|||
min = 1, |
|||
max = 2,}, |
|||
|
|||
}, |
|||
|
|||
light_resistant = true, |
|||
drawtype = "front", |
|||
water_damage = 5, |
|||
lava_damage = 5, |
|||
light_damage = 0, |
|||
on_rightclick = nil, |
|||
attack_type = "dogfight", |
|||
|
|||
animation = { |
|||
speed_normal = 15, |
|||
speed_run = 15, |
|||
stand_start = 1, |
|||
stand_end = 1, |
|||
walk_start = 20, |
|||
walk_end = 40, |
|||
run_start = 20, |
|||
run_end = 40, |
|||
punch_start = 50, |
|||
punch_end = 90, |
|||
}, |
|||
jump = true, |
|||
step = 1, |
|||
blood_texture = msname .. "_blood.png", |
|||
|
|||
sounds = { |
|||
war_cry = "codermobs_eerie", |
|||
damage = "codermobs_damage_giant_exoskeleton", |
|||
death = "codermobs_death_giant_bug", |
|||
attack = "codermobs_use_giant_exoskeleton", |
|||
}, |
|||
} |
|||
|
|||
-- =================================================================== |
|||
|
|||
codermobs.setup_mob() |
|||
|
|||
mobs:alias_mob ("mobs_monster:spider" , obj_name) |
|||
|
|||
codermobs.log_done() |
|||
|
|||
-- =================================================================== |
|||
-- End of file. |
@ -1,19 +0,0 @@ |
|||
Name: codermobs |
|||
Source: New mod using existing media files |
|||
License: See "LICENSE" |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
1. This is a new mod which implements a number of Final Minetest 3D |
|||
mobs. |
|||
|
|||
For general information, see the "_game" documentation, which covers |
|||
this mod and the associated modpack in detail. |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
2. The code is largely new, but it includes elements from existing |
|||
mods. The media files, in most cases, have been extracted from the |
|||
same or similar mods. |
|||
|
|||
For license information, see "LICENSE". |
Before Width: | Height: | Size: 530 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 373 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 1.7 KiB |
@ -1,28 +0,0 @@ |
|||
License for new code not covered below: CC BY-SA 4.0 International. |
|||
Copyright (c) 2019 and attribution for the new code: OldCoder (Robert |
|||
Kiraly). |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
The MIT License (MIT) |
|||
|
|||
Copyright (c) 2016 TenPlus1 |
|||
|
|||
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. |
@ -1,41 +0,0 @@ |
|||
Name: mods |
|||
Source: For of upstream mod - Do not replace |
|||
License: See "license.txt" |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
1. This is a fork of an upstream mod. Don't attempt to update or re- |
|||
place it. |
|||
|
|||
To be documented. |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
2. Partial list of changes: |
|||
|
|||
* Multiple bug fixes related to old models that are rotated relative |
|||
to today's standard. |
|||
|
|||
* Bug fix related to behavior of mobs at the edge of cliffs. |
|||
|
|||
* Mobs that are sensitive to light can now optionally be configured to |
|||
burst into flames when light damage occurs. |
|||
|
|||
* Fix failure of API code to pass riding/driving parameters specified |
|||
by higher levels to riding/driving code. |
|||
|
|||
* Add support for more sophisticated approach to assessing mob densi- |
|||
ty. |
|||
|
|||
* Improve support for amphibious mobs. |
|||
|
|||
* Better TNT smoke texture. |
|||
|
|||
* Fix failure in riding/driving code to handle missing parameters. |
|||
|
|||
* Add support for steering both ground vehicles and aircraft using |
|||
the keyboard as well as the mouse. Note: These are separate features. |
|||
|
|||
* Talking mobs. Multiple languages are supported. |
|||
|
|||
* Add section to "license.txt" to cover new code. |
Before Width: | Height: | Size: 1.3 KiB |
@ -1,13 +0,0 @@ |
|||
Name: codermobs |
|||
Source: New modpack mixing original and forked mods |
|||
License: See notes below |
|||
|
|||
---------------------------------------------------------------------- |
|||
|
|||
The full documentation for "codermobs" is presently merged into the |
|||
"_game" documentation. |
|||
|
|||
Media files are derived, in general, from older mods. The code mixes |
|||
old and new pieces. |
|||
|
|||
License files are present in the individual mod directories. |