NekoGloop:probably_broken(true, 2, false)
This commit is contained in:
parent
d0895a5c5e
commit
84417594a0
@ -8,15 +8,13 @@ More (or possibly (most likely) less) imformation can be found here: http://mine
|
||||
|
||||
--==--==--
|
||||
|
||||
Biome Module: Adds a selection of biomes. This module NEEDS mapgen v7.
|
||||
|
||||
Ore Module: Adds a variety of ores into minetest, for use here and possibly in other mods.
|
||||
|
||||
OtherGen Module: Adds generation aside from ores.
|
||||
|
||||
Parts Module: Adds some bits and bobs for machinery and some minor blocks.
|
||||
|
||||
Table Module: Adds tables. Yay?
|
||||
Tech Module: Adds the "tech" of glooptest.
|
||||
|
||||
Tools Module: Adds extra kinds of tools.
|
||||
|
||||
|
@ -1,8 +0,0 @@
|
||||
-- GloopTest biome module configurations file.
|
||||
-- Control what biomes are added.
|
||||
|
||||
-- Default-style biomes. Credit for these go to hmmmm.
|
||||
DEFAULTISH_BIOMES = true
|
||||
|
||||
-- Enables or disables the generation of trees.
|
||||
GENERATE_TREES = true
|
@ -1,223 +0,0 @@
|
||||
glooptest.biome_module = {}
|
||||
glooptest.debug("MESSAGE","Loading Biome Module Now!")
|
||||
|
||||
local stone_sounds = default.node_sound_stone_defaults()
|
||||
|
||||
dofile(minetest.get_modpath("glooptest").."/biome_module/biomes.cfg")
|
||||
|
||||
minetest.register_node("glooptest:gray_dirt", {
|
||||
description = "Hardened Dirt",
|
||||
tiles = {"glooptest_slate.png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=3},
|
||||
sounds = stone_sounds,
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "Flatlands",
|
||||
height_min = 1,
|
||||
height_max = 3,
|
||||
heat_point = 40.0,
|
||||
humidity_point = 40.0,
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "Wetlands",
|
||||
height_min = -20,
|
||||
height_max = 5,
|
||||
heat_point = 40.0,
|
||||
humidity_point = 70.0,
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "Wasteland",
|
||||
height_min = 1,
|
||||
height_max = 20,
|
||||
node_top = "glooptest:gray_dirt",
|
||||
depth_top = 3,
|
||||
node_filler = "default:desert_stone",
|
||||
depth_filler = 15,
|
||||
heat_point = 40.0,
|
||||
humidity_point = 10.0,
|
||||
})
|
||||
|
||||
if DEFAULTISH_BIOMES == true then
|
||||
minetest.register_biome({
|
||||
name = "Ocean",
|
||||
node_top = "default:sand",
|
||||
depth_top = 3,
|
||||
node_filler = "default:stone",
|
||||
depth_filler = 0,
|
||||
height_min = -31000,
|
||||
height_max = 0,
|
||||
heat_point = 40.0,
|
||||
humidity_point = 40.0
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "Gravel Ocean",
|
||||
node_top = "default:gravel",
|
||||
depth_top = 3,
|
||||
node_filler = "default:stone",
|
||||
depth_filler = 0,
|
||||
node_dust_water = "default:ice",
|
||||
height_min = -31000,
|
||||
height_max = 0,
|
||||
heat_point = -10.0,
|
||||
humidity_point = 60.0
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "Beach",
|
||||
node_top = "default:sand",
|
||||
depth_top = 3,
|
||||
node_filler = "default:sandstone",
|
||||
depth_filler = 3,
|
||||
height_min = 1,
|
||||
height_max = 3,
|
||||
heat_point = 50.0,
|
||||
humidity_point = 10.0
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "Gravel Beach",
|
||||
node_top = "default:gravel",
|
||||
depth_top = 2,
|
||||
node_filler = "default:stone",
|
||||
depth_filler = 0,
|
||||
node_dust = "default:snow",
|
||||
node_dust_water = "default:ice",
|
||||
height_min = 1,
|
||||
height_max = 3,
|
||||
heat_point = -10.0,
|
||||
humidity_point = 60.0
|
||||
})
|
||||
|
||||
|
||||
minetest.register_biome({
|
||||
name = "Snow Plains",
|
||||
node_dust = "default:snow",
|
||||
node_dust_water = "default:ice",
|
||||
height_min = 1,
|
||||
height_max = 20,
|
||||
heat_point = -10.0,
|
||||
humidity_point = 50.0
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "Plains",
|
||||
height_min = 1,
|
||||
height_max = 20,
|
||||
heat_point = 40.0,
|
||||
humidity_point = 50.0
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "Hills",
|
||||
height_min = 21,
|
||||
height_max = 40,
|
||||
heat_point = 40.0,
|
||||
humidity_point = 50.0
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "Snow Hills",
|
||||
node_dust = "default:snow",
|
||||
node_dust_water = "default:ice",
|
||||
height_min = 21,
|
||||
height_max = 300,
|
||||
heat_point = -10.0,
|
||||
humidity_point = 50.0
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "Extreme Hills",
|
||||
height_min = 41,
|
||||
height_max = 300,
|
||||
heat_point = 40.0,
|
||||
humidity_point = 50.0
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "Desert",
|
||||
node_top = "default:desert_sand",
|
||||
depth_top = 3,
|
||||
node_filler = "default:desert_stone",
|
||||
depth_filler = 10,
|
||||
height_min = 3,
|
||||
height_max = 15,
|
||||
heat_point = 90.0,
|
||||
humidity_point = 0.0
|
||||
})
|
||||
end
|
||||
|
||||
if GENERATE_TREES == true then
|
||||
-- All biomes registered here rely on the existance of trees to make sense.
|
||||
|
||||
minetest.register_biome({
|
||||
name = "Swamp",
|
||||
height_min = -20,
|
||||
height_max = 5,
|
||||
heat_point = 55.0,
|
||||
humidity_point = 80.0,
|
||||
})
|
||||
|
||||
if DEFAULTISH_BIOMES == true then
|
||||
minetest.register_biome({
|
||||
name = "Forest",
|
||||
height_min = 1,
|
||||
height_max = 20,
|
||||
heat_point = 45.0,
|
||||
humidity_point = 50.0
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "Snow Forest",
|
||||
node_dust = "default:snow",
|
||||
node_dust_water = "default:ice",
|
||||
height_min = 1,
|
||||
height_max = 20,
|
||||
heat_point = -10.0,
|
||||
humidity_point = 55.0
|
||||
})
|
||||
end
|
||||
|
||||
-- Credit to PilzAdam for this schematic.
|
||||
--trees
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = "default:dirt_with_grass",
|
||||
sidelen = 8,
|
||||
schematic = minetest.get_modpath("glooptest").."/schematics/treeschem.mts",
|
||||
replacements = {{"base:leaves", "default:leaves"}, {"base:tree", "default:tree"}, {"base:dirt", "default:dirt"}},
|
||||
flags = "place_center_x, place_center_z",
|
||||
rotation = "random",
|
||||
noise_params = {
|
||||
offset = 1/120,
|
||||
scale = 0.04,
|
||||
spread = {x=125, y=125, z=125},
|
||||
seed = 2,
|
||||
octaves = 4,
|
||||
persist = 0.66
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = "default:dirt_with_grass",
|
||||
sidelen = 8,
|
||||
schematic = minetest.get_modpath("glooptest").."/schematics/treeschem.mts",
|
||||
replacements = {{"base:leaves", "default:leaves"}, {"base:tree", "default:tree"}, {"base:dirt", "default:dirt"}},
|
||||
flags = "place_center_x, place_center_z",
|
||||
rotation = "random",
|
||||
biomes = {"Forest", "Snow Forest", "Swamp"},
|
||||
noise_params = {
|
||||
offset = 1/100,
|
||||
scale = 0.08,
|
||||
spread = {x=90, y=90, z=90},
|
||||
seed = 2,
|
||||
octaves = 4,
|
||||
persist = 0.66
|
||||
}
|
||||
})
|
||||
end
|
@ -3,7 +3,7 @@
|
||||
--
|
||||
-- GloopTest random data:
|
||||
-- Version : 0.0.4a
|
||||
-- Current module amount : 7
|
||||
-- Current module amount : 6
|
||||
-- Current compatible minetest version : 0.4.7
|
||||
-- License : CC-BY-SA
|
||||
-- Totals: lol I don't know
|
||||
@ -40,8 +40,8 @@ if LOAD_PARTS_MODULE == true then
|
||||
modules_loaded = modulecount+1
|
||||
end
|
||||
|
||||
if LOAD_TABLE_MODULE == true then
|
||||
dofile(minetest.get_modpath("glooptest").."/table_module/init.lua")
|
||||
if LOAD_TECH_MODULE == true then
|
||||
dofile(minetest.get_modpath("glooptest").."/tech_module/init.lua")
|
||||
local modulecount = modules_loaded
|
||||
modules_loaded = modulecount+1
|
||||
end
|
||||
@ -52,12 +52,6 @@ if LOAD_OTHERGEN_MODULE == true then
|
||||
modules_loaded = modulecount+1
|
||||
end
|
||||
|
||||
if LOAD_BIOME_MODULE == true then
|
||||
dofile(minetest.get_modpath("glooptest").."/biome_module/init.lua")
|
||||
local modulecount = modules_loaded
|
||||
modules_loaded = modulecount+1
|
||||
end
|
||||
|
||||
if LOAD_COMPAT_MODULE == true then
|
||||
dofile(minetest.get_modpath("glooptest").."/compat_module/init.lua")
|
||||
local modulecount = modules_loaded
|
||||
|
@ -14,15 +14,8 @@ LOAD_TOOLS_MODULE = true
|
||||
-- Allow parts module to load. (Recommended with: Ore Module)
|
||||
LOAD_PARTS_MODULE = true
|
||||
|
||||
-- Allow table module to load. (Recommended with: Ore Module)
|
||||
LOAD_TABLE_MODULE = true
|
||||
|
||||
-- Allow biome module to load. (Requires: Mapgen v7)
|
||||
-- Disabled by default until mapgen v7 is standard
|
||||
LOAD_BIOME_MODULE = true
|
||||
-- Allow tech module to load. (Recommended with: Ore Module and Parts Module)
|
||||
LOAD_TECH_MODULE = true
|
||||
|
||||
-- Allow othergen module to load. (Recommended with: Ore Module and Tools Module)
|
||||
LOAD_OTHERGEN_MODULE = true
|
||||
|
||||
-- Allow biome module to load. (Requires: Mapgen v7) (Disabled by default until mapgen v7 is standard)
|
||||
LOAD_BIOME_MODULE = false
|
||||
|
@ -7,6 +7,7 @@ dofile(minetest.get_modpath("glooptest").."/ore_module/api.lua")
|
||||
|
||||
-- HUGE NOTE HERE:
|
||||
-- I did not make the textures. celeron55/erlehmann made the textures which were licensed under CC-BY-SA, and then edited by me.
|
||||
-- The textures for non-gem ores are thus CC-BY-SA, with respect to celeron55/erlehmann
|
||||
-- Suck it, minetest community.
|
||||
|
||||
glooptest.ore_module.register_ore("glooptest", "kalite", "Kalite", {
|
||||
@ -87,7 +88,7 @@ minetest.register_craft({
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "gloopores:kalite_lump",
|
||||
recipe = "glooptest:kalite_lump",
|
||||
burntime = 30,
|
||||
})
|
||||
|
||||
|
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
glooptest.table_module = {}
|
||||
glooptest.debug("MESSAGE","Loading Table Module Now!")
|
||||
glooptest.tech_module = {}
|
||||
glooptest.debug("MESSAGE","Loading Tech Module Now!")
|
||||
|
||||
--dofile(minetest.get_modpath("glooptest").."/table_module/api.lua")
|
||||
--dofile(minetest.get_modpath("glooptest").."/tech_module/api.lua")
|
||||
|
||||
local fixed = {
|
||||
{ -8/16, -8/16, -8/16, 8/16, -4/16, 8/16 }, -- base
|
||||
@ -13,13 +13,13 @@ local fixed = {
|
||||
}
|
||||
|
||||
-- {used item, produced node}
|
||||
glooptest.table_module.table_changers = {
|
||||
glooptest.tech_module.table_changers = {
|
||||
{},
|
||||
}
|
||||
|
||||
function glooptest.table_module.register_table(used_item, produced_node)
|
||||
function glooptest.tech_module.register_table(used_item, produced_node)
|
||||
if minetest.registered_items[used_item] ~= nil and minetest.registered_items[produced_node] ~= nil then
|
||||
table.insert(glooptest.table_module.table_changers, {used_item, produced_node})
|
||||
table.insert(glooptest.tech_module.table_changers, {item = used_item, node = produced_node})
|
||||
end
|
||||
end
|
||||
|
||||
@ -34,6 +34,17 @@ minetest.register_node("glooptest:wooden_table", {
|
||||
type = "fixed",
|
||||
fixed = fixed,
|
||||
},
|
||||
--[[
|
||||
on_rightclick = function(pos, node, clicker, itemstack)
|
||||
local clicking_item = itemstack
|
||||
for ind,content in glooptest.tech_module.table_changers do
|
||||
if content.item == clicking_item:get_name() then
|
||||
minetest.place_node(pos, {name=content.node})
|
||||
return ItemStack(clicking_item:get_name().." "..tostring(clicking_item:get_count()-1))
|
||||
end
|
||||
end
|
||||
end,
|
||||
--]]
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
@ -53,9 +64,9 @@ minetest.register_craftitem("glooptest:upgrade_core", {
|
||||
minetest.register_craft({
|
||||
output = "glooptest:upgrade_core",
|
||||
recipe = {
|
||||
{"", "glooptest:akalin_ingot", ""},
|
||||
{"glooptest:akalin_ingot", "default:mese_crystal_fragment", "glooptest:akalin_ingot"},
|
||||
{"", "glooptest:akalin_ingot", ""},
|
||||
{"glooptest:akalin_ingot", "glooptest:crystal_glass", "glooptest:akalin_ingot"},
|
||||
{"glooptest:crystal_glass", "default:mese_crystal_fragment", "glooptest:crystal_glass"},
|
||||
{"glooptest:akalin_ingot", "glooptest:crystal_glass", "glooptest:akalin_ingot"},
|
||||
},
|
||||
})
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 732 B |
@ -3,7 +3,7 @@ glooptest.debug("MESSAGE","Loading Tools Module Now!")
|
||||
|
||||
dofile(minetest.get_modpath("glooptest").."/tools_module/api.lua")
|
||||
|
||||
glooptest.tools_module.register_tools("glooptest", "wood", "Wooden", "default:wood", {
|
||||
glooptest.tools_module.register_tools("glooptest", "wood", "Wooden", "group:wood", {
|
||||
handsaw = {
|
||||
makes = true,
|
||||
texture = "glooptest_tool_woodhandsaw.png",
|
||||
|
Loading…
x
Reference in New Issue
Block a user