MANY Changes, License, textures, code

master
maikerumine 2015-10-26 19:42:09 -04:00
parent 95898a708a
commit 69fd64b359
65 changed files with 10320 additions and 0 deletions

27
LICENSE.txt Normal file
View File

@ -0,0 +1,27 @@
1 Copyright (c) 2015 maikerumine <maikerurorenja@gmail.com>
2
3
4 This software is provided 'as-is', without any express or implied warranty. In no
5 event will the authors be held liable for any damages arising from the use of
6 this software.
7
8 Permission is granted to anyone to use this software for any purpose, including
9 commercial applications, and to alter it and redistribute it freely, subject to the
10 following restrictions:
11
12
13 1. The origin of this software must not be misrepresented; you must not
14 claim that you wrote the original software. If you use this software in a
15 product, an acknowledgment in the product documentation is required.
16
17 2. Altered source versions must be plainly marked as such, and must not
18 be misrepresented as being the original software.
19
20 3. This notice may not be removed or altered from any source distribution.

74
README.txt Normal file
View File

@ -0,0 +1,74 @@
--Extreme Survival created by maikerumine
-- Minetest 0.4.13 mod: "Extreme Survival"
-- namespace: es
-- (c) 2014-2015 by: maikerumine
--https://github.com/maikerumine
--WTFPL
Minetest 0.2 mod: es ore generation and special crafting
=======================
___________ __ _________ .__ .__
\_ _____/__ ____/ |________ ____ _____ ____ / _____/__ ____________ _|__|__ _______ | |
| __)_\ \/ /\ __\_ __ \_/ __ \ / \_/ __ \ \_____ \| | \_ __ \ \/ / \ \/ /\__ \ | |
| \> < | | | | \/\ ___/| Y Y \ ___/ / \ | /| | \/\ /| |\ / / __ \| |__
/_______ /__/\_ \ |__| |__| \___ >__|_| /\___ > /_______ /____/ |__| \_/ |__| \_/ (____ /____/
\/ \/ \/ \/ \/ \/ \/
License of source code:
-----------------------
Copyright (C) 2015 maikerumine
WTFPL
License of textures:
-----------------------
Punkin: From TenPlus1's Farming mod: Added Pumpkin, Jack 'O Lantern, Pumpkin Slice and Sugar
(a huge thanks to painterly.net for allowing me to use their textures)
All es tools by maikerumine, based off of default tools.
ores based off of default
Blocks based off of diamond except infinium.
es-- Maikerumine's Extreme Survival mod, has extra crafting recipies for tools and ores.
Craft dirt from 9 papyrus..
Craft Mese Crystal from 9 Mese Shards... (soft dependancy to mese_crystals mod)
Craft 3 Desert Cobble from one brick and two cobble, brick on top of craft...
Emeralds: Below -1000
Rubys: Below -3000
Aikerum: Below -4000
Infinium: Below -4300
These can craft into very strong tools and weapons. As of current the Infinuim ingots can be made into infinium armour. (soft dependancy to esarmor mod) You can consider finding Infinium winning the game.
To craft these tools you will replace the stick with an iron ingot.
To craft an Infinium ingot you must craft first a vessel with Infinium goo to get Infinium container and water flowing. then cook the Infinium container in oven to get ingot.
Water flowing comes from cooking ice in furnace.
soft dependancies:
esarmor
mese_crystals
technic
These are heavily modded to suit the Extreme Survival game.

141
armor.lua Normal file
View File

@ -0,0 +1,141 @@
--Extreme Survival created by maikerumine
-- Minetest 0.4.13 mod: "Extreme Survival"
-- namespace: es
--https://github.com/maikerumine
--License:
--~~~~~~~~
--Code:
--(c) Copyright 2015 maikerumine; modified zlib-License
--see "LICENSE.txt" for details.
--Media(if not stated differently):
--(c) Copyright (2014-2015) maikerumine; CC-BY-SA 3.0
--Alias "old"--->"new" This is to fix the old interaction with my modified 3d_armor mod.
minetest.register_alias("3d_armor:helmet_emerald", "es:helmet_emerald")
minetest.register_alias("3d_armor:helmet_infinium", "es:helmet_infinium")
minetest.register_alias("3d_armor:chestplate_emerald", "es:chestplate_emerald")
minetest.register_alias("3d_armor:chestplate_infinium", "es:chestplate_infinium")
minetest.register_alias("3d_armor:leggings_emerald", "es:leggings_emerald")
minetest.register_alias("3d_armor:leggings_infinium", "es:leggings_infinium")
minetest.register_alias("3d_armor:boots_emerald", "es:boots_emerald")
minetest.register_alias("3d_armor:boots_infinium", "es:boots_infinium")
--Armor code borrowed from:
--stu
--
--License Textures: 2013 Ryan Jones - CC-BY-SA
--License Source Code: 2013 Stuart Jones - LGPL
--Modified color by maikerumine.
minetest.register_tool("es:helmet_emerald", {
description = "Emerald Helmet",
inventory_image = "es_inv_helmet_emerald.png",
groups = {armor_head = 15, armor_heal = 12, armor_use = 100},
wear = 0,
})
minetest.register_tool("es:helmet_infinium", {
description = "Infinium Helmet",
inventory_image = "es_inv_helmet_infinium.png",
groups = {armor_head = 20, armor_heal = 15, armor_use = 150},
wear = 0,
})
minetest.register_tool("es:chestplate_emerald", {
description = "Emerald Chestplate",
inventory_image = "es_inv_chestplate_emerald.png",
groups = {armor_torso = 20, armor_heal = 12, armor_use = 100},
wear = 0,
})
minetest.register_tool("es:chestplate_infinium", {
description = "Infinium Chestplate",
inventory_image = "es_inv_chestplate_infinium.png",
groups = {armor_torso = 50, armor_heal = 15, armor_use = 150},
wear = 0,
})
minetest.register_tool("es:leggings_emerald", {
description = "Emerald Leggings",
inventory_image = "es_inv_leggings_emerald.png",
groups = {armor_legs = 20, armor_heal = 12, armor_use = 100},
wear = 0,
})
minetest.register_tool("es:leggings_infinium", {
description = "Infinium Leggings",
inventory_image = "es_inv_leggings_infinium.png",
groups = {armor_legs = 50, armor_heal = 15, armor_use = 150},
wear = 0,
})
minetest.register_tool("es:boots_emerald", {
description = "Emerald Boots",
inventory_image = "es_inv_boots_emerald.png",
groups = {armor_feet = 15, armor_heal = 12, armor_use = 100},
wear = 0,
})
minetest.register_tool("es:boots_infinium", {
description = "Infinium Boots",
inventory_image = "es_inv_boots_infinium.png",
groups = {armor_feet = 30, armor_heal = 15, armor_use = 150},
wear = 0,
})
-- Register crafting recipes:
local craft_ingreds = {
infinium = "es:infinium_ingot",
emerald = "es:emerald_crystal",
}
for k, v in pairs(craft_ingreds) do
minetest.register_craft({
output = "3d_armor:helmet_"..k,
recipe = {
{v, v, v},
{v, "", v},
{"", "", ""},
},
})
minetest.register_craft({
output = "3d_armor:chestplate_"..k,
recipe = {
{v, "", v},
{v, v, v},
{v, v, v},
},
})
minetest.register_craft({
output = "3d_armor:leggings_"..k,
recipe = {
{v, v, v},
{v, "", v},
{v, "", v},
},
})
minetest.register_craft({
output = "3d_armor:boots_"..k,
recipe = {
{v, "", v},
{v, "", v},
},
})
end
if minetest.setting_getbool("log_mods") then
minetest.log("action", "ES: [3d_armor] loaded.")
end

364
crafting.lua Normal file
View File

@ -0,0 +1,364 @@
--Extreme Survival created by maikerumine
-- Minetest 0.4.13 mod: "Extreme Survival"
-- namespace: es
--https://github.com/maikerumine
--License:
--~~~~~~~~
--Code:
--(c) Copyright 2015 maikerumine; modified zlib-License
--see "LICENSE.txt" for details.
--Media(if not stated differently):
--(c) Copyright (2014-2015) maikerumine; CC-BY-SA 3.0
--Default override crafting
minetest.register_alias("glass:hgglass", "es:hgglass")
minetest.register_alias("mese_cook:mesecook_crystal", "es:mesecook_crystal")
minetest.register_alias("protector_mese:protect", "protector:protect")
minetest.register_alias("carts:rail_brake","carts:brakerail")
minetest.register_alias("carts:rail_power","carts:powerrail")
-- Minetest 0.4 mod: bone_collector
-- Bones can be crafted to clay, sand or coal to motivate players clear the playground.
--
-- See README.txt for licensing and other information.
minetest.register_craft({
output = 'default:clay_lump',
recipe = {
{"bones:bones", "", ""},
{"", "", ""},
{"", "", ""},
},
})
minetest.register_craft({
output = 'default:gravel',
recipe = {
{"", "", ""},
{"", "", ""},
{"bones:bones", "bones:bones", "bones:bones"},
},
})
minetest.register_craft({
output = 'default:sand',
recipe = {
{"bones:bones", "", "bones:bones"},
{"", "bones:bones", ""},
{"bones:bones", "", "bones:bones"},
},
})
minetest.register_craft({
output = 'default:coal_lump',
recipe = {
{"", "bones:bones", ""},
{"bones:bones", "bones:bones", "bones:bones"},
{"", "bones:bones", ""},
},
})
minetest.register_craft({
output = 'default:dirt',
recipe = {
{"bones:bones", "bones:bones", "bones:bones"},
{"bones:bones", "bones:bones", "bones:bones"},
{"bones:bones", "bones:bones", "bones:bones"},
},
})
minetest.register_craft({
output = 'es:messymese',
recipe = {
{"es:mesecook_crystal", "es:mesecook_crystal", "es:mesecook_crystal"},
{"es:mesecook_crystal", "es:mesecook_crystal", "es:mesecook_crystal"},
{"es:mesecook_crystal", "es:mesecook_crystal", "es:mesecook_crystal"},
},
})
minetest.register_craft({
output = 'es:mesecook_crystal 9',
recipe = {
{'es:messymese'},
}
})
--TECHNIC DEPENDANT
minetest.register_craft({
type = 'cooking',
recipe = "es:depleted_uranium_ingot",
cooktime = 60,
output = "technic:uranium",
})
minetest.register_craft({
output = "es:depleted_uranium_ingot",
recipe = {
{"technic:chernobylite_block","technic:chernobylite_block","technic:chernobylite_block"},
{"technic:chernobylite_block","technic:chernobylite_block","technic:chernobylite_block"},
{"technic:chernobylite_block","technic:chernobylite_block","technic:chernobylite_block"},
}
})
minetest.register_craftitem("es:depleted_uranium_ingot", {
description = "Depleted uranium",
inventory_image = "technic_uranium_ingot.png",
})
minetest.register_craft({
output = "es:punkin",
recipe = {
{"es:depleted_uranium_ingot","es:depleted_uranium_ingot","es:depleted_uranium_ingot"},
{"es:depleted_uranium_ingot","es:depleted_uranium_ingot","es:depleted_uranium_ingot"},
{"es:depleted_uranium_ingot","es:depleted_uranium_ingot","es:depleted_uranium_ingot"},
}
})
minetest.register_craftitem("es:punkin_slice", {
description = "Punkin Slice",
inventory_image = "farming_pumpkin_slice.png",
on_use = minetest.item_eat(20),
})
minetest.register_craft({
output = "es:punkin",
recipe = {
{"es:punkin_slice", "es:punkin_slice", "es:punkin_slice"},
{"es:punkin_slice", "es:punkin_slice", "es:punkin_slice"},
{"es:punkin_slice", "es:punkin_slice", "es:punkin_slice"},
}
})
minetest.register_craft({
output = "es:punkin_slice 9",
recipe = {
{"", "es:punkin", ""},
}
})
--ES HELPFUL CRAFTS
--[[minetest.register_craft({
output = 'default:ice',
recipe = {
{"default:snowblock", "default:snowblock", "default:snowblock"},
{"default:snowblock", "default:snowblock", "default:snowblock"},
{"default:snowblock", "default:snowblock", "default:snowblock"},
},
})]]
minetest.register_craft({
output = 'default:dirt',
recipe = {
{"default:papyrus", "default:papyrus", "default:papyrus"},
{"default:papyrus", "default:papyrus", "default:papyrus"},
{"default:papyrus", "default:papyrus", "default:papyrus"},
},
})
minetest.register_craft({
output = 'default:desert_cobble 3',
recipe = {
{'default:clay_brick',},
{'default:cobble', },
{'default:cobble', },
}
})
minetest.register_craft({
output = 'default:mese_crystal',
recipe = {
{'default:mese_crystal_fragment', 'default:mese_crystal_fragment', 'default:mese_crystal_fragment'},
{'default:mese_crystal_fragment', 'default:mese_crystal_fragment', 'default:mese_crystal_fragment'},
{'default:mese_crystal_fragment', 'default:mese_crystal_fragment', 'default:mese_crystal_fragment'},
}
})
minetest.register_craft({
output = 'es:emeraldblock',
recipe = {
{'es:emerald_crystal', 'es:emerald_crystal', 'es:emerald_crystal'},
{'es:emerald_crystal', 'es:emerald_crystal', 'es:emerald_crystal'},
{'es:emerald_crystal', 'es:emerald_crystal', 'es:emerald_crystal'},
}
})
minetest.register_craft({
output = 'es:aikerumblock',
recipe = {
{'es:aikerum_crystal', 'es:aikerum_crystal', 'es:aikerum_crystal'},
{'es:aikerum_crystal', 'es:aikerum_crystal', 'es:aikerum_crystal'},
{'es:aikerum_crystal', 'es:aikerum_crystal', 'es:aikerum_crystal'},
}
})
minetest.register_craft({
output = 'es:rubyblock',
recipe = {
{'es:ruby_crystal', 'es:ruby_crystal', 'es:ruby_crystal'},
{'es:ruby_crystal', 'es:ruby_crystal', 'es:ruby_crystal'},
{'es:ruby_crystal', 'es:ruby_crystal', 'es:ruby_crystal'},
}
})
minetest.register_craft({
output = 'es:infiniumblock',
recipe = {
{'es:infinium_ingot', 'es:infinium_ingot', 'es:infinium_ingot'},
{'es:infinium_ingot', 'es:infinium_ingot', 'es:infinium_ingot'},
{'es:infinium_ingot', 'es:infinium_ingot', 'es:infinium_ingot'},
}
})
minetest.register_craft({
output = 'es:emerald_crystal 9',
recipe = {
{'es:emeraldblock'},
}
})
minetest.register_craft({
output = 'es:ruby_crystal 9',
recipe = {
{'es:rubyblock'},
}
})
minetest.register_craft({
output = 'es:aikerum_crystal 9',
recipe = {
{'es:aikerumblock'},
}
})
minetest.register_craft({
output = 'es:infinium_ingot 9',
recipe = {
{'es:infiniumblock'},
}
})
--crafting
minetest.register_craft({
type = "shapeless",
output = "es:infinium_container",
recipe = {"vessels:glass_bottle", "es:infinium_goo","default:water_flowing"},
})
--Weapon &Tool Crafting:
minetest.register_craft({
output = 'es:sword_emerald',
recipe = {
{'es:emerald_crystal'},
{'es:emerald_crystal'},
{'default:steel_ingot'},
}
})
minetest.register_craft({
output = 'es:sword_ruby',
recipe = {
{'es:ruby_crystal'},
{'es:ruby_crystal'},
{'default:steel_ingot'},
}
})
minetest.register_craft({
output = 'es:sword_aikerum',
recipe = {
{'es:aikerum_crystal'},
{'es:aikerum_crystal'},
{'default:steel_ingot'},
}
})
minetest.register_craft({
output = 'es:pick_emerald',
recipe = {
{'es:emerald_crystal', 'es:emerald_crystal', 'es:emerald_crystal'},
{'', 'default:steel_ingot', ''},
{'', 'default:steel_ingot', ''},
}
})
minetest.register_craft({
output = 'es:pick_ruby',
recipe = {
{'es:ruby_crystal', 'es:ruby_crystal', 'es:ruby_crystal'},
{'', 'default:steel_ingot', ''},
{'', 'default:steel_ingot', ''},
}
})
minetest.register_craft({
output = 'es:pick_aikerum',
recipe = {
{'es:aikerum_crystal', 'es:aikerum_crystal', 'es:aikerum_crystal'},
{'', 'default:steel_ingot', ''},
{'', 'default:steel_ingot', ''},
}
})
minetest.register_craft({
output = 'es:pick_aikerum',
recipe = {
{'es:aikerum_crystal', 'es:aikerum_crystal', 'es:aikerum_crystal'},
{'', 'default:steel_ingot', ''},
{'', 'default:steel_ingot', ''},
}
})
--Default override Cooking
minetest.register_craft({
type = "cooking",
output = "default:water_flowing",
recipe = "default:ice",
})
--rnd code
-- 7*24*60*60 = 604800 real time 1 week burn time
minetest.register_craft({
type = "fuel",
recipe = "technic:uranium_block",
burntime = 604800,
})
--cooking
minetest.register_craft({
type = "cooking",
output = "es:infinium_ingot 1",
recipe = "es:infinium_container",
})
minetest.register_craft({
type = "cooking",
cooktime = 90,
output = "default:mese_crystal",
recipe = "es:mesecook_crystal",
})
minetest.register_craftitem("es:mesecook_crystal", {
description = "Cookable Raw MESE",
inventory_image = "mese_cook_mese_crystal.png",
})

2
depends.txt Normal file
View File

@ -0,0 +1,2 @@
default
,3d_armor?,technic?,mese_crystals?

37
init.lua Normal file
View File

@ -0,0 +1,37 @@
--Extreme Survival created by maikerumine
-- Minetest 0.4.13 mod: "Extreme Survival"
-- namespace: es
--https://github.com/maikerumine
--License:
--~~~~~~~~
--Code:
--(c) Copyright 2015 maikerumine; modified zlib-License
--see "LICENSE.txt" for details.
--Media(if not stated differently):
--(c) Copyright (2014-2015) maikerumine; CC-BY-SA 3.0
es = {}
local load_start = os.clock()
local modpath = minetest.get_modpath("es")
es.modpath = modpath
-- nodes
dofile(modpath.."/nodes.lua")
-- Craft recipes for items
dofile(modpath.."/crafting.lua")
-- Tools
dofile(modpath.."/tools.lua")
-- Ore Generation
dofile(modpath.."/oregen.lua")
-- Armor [abort migration]
dofile(modpath.."/armor.lua")
-- Map Generation (CURRENTLY YOU NEED TO REPLACE THE DEFAULT WITH the one that says stone IF YOU WANT AN ALL STONE WORLD.)

Binary file not shown.

9156
models/3d_armor_character.x Normal file

File diff suppressed because it is too large Load Diff

258
nodes.lua Normal file
View File

@ -0,0 +1,258 @@
--Extreme Survival created by maikerumine
-- Minetest 0.4.13 mod: "Extreme Survival"
-- namespace: es
--https://github.com/maikerumine
--License:
--~~~~~~~~
--Code:
--(c) Copyright 2015 maikerumine; modified zlib-License
--see "LICENSE.txt" for details.
--Media(if not stated differently):
--(c) Copyright (2014-2015) maikerumine; CC-BY-SA 3.0
--Node Definition
minetest.register_node("es:stone_with_emerald", {
description = "Emerald Ore",
tiles = {"default_stone.png^emerald_ore.png"},
is_ground_content = true,
groups = {cracky=1},
drop = "es:emerald_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("es:stone_with_ruby", {
description = "Ruby Ore",
tiles = {"default_stone.png^ruby_ore.png"},
is_ground_content = true,
groups = {cracky=1},
drop = "es:ruby_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("es:stone_with_aikerum", {
description = "Ruby Ore",
tiles = {"default_stone.png^aikerum_ore.png"},
is_ground_content = true,
groups = {cracky=1,level = 2},
drop = "es:aikerum_crystal",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("es:stone_with_infinium", {
description = "Infinium Ore",
tiles = {"default_stone.png^infinium_ore.png"},
is_ground_content = true,
groups = {cracky=1,level = 2},
drop = "es:infinium_goo",
sounds = default.node_sound_stone_defaults(),
})
--Emerald located at -1000
minetest.register_node("es:emeraldblock", {
description = "Emerald Block",
tiles = {"emerald_block.png"},
is_ground_content = true,
groups = {cracky=1,level=2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craftitem("es:emerald_crystal", {
description = "Emerald Crystal",
inventory_image = "emerald.png",
})
--Ruby located at -3000
minetest.register_node("es:rubyblock", {
description = "Ruby Block",
tiles = {"ruby_block.png"},
is_ground_content = true,
groups = {cracky=1,level=2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craftitem("es:ruby_crystal", {
description = "Ruby Crystal",
inventory_image = "ruby.png",
})
--Aikerum located at -4000
minetest.register_node("es:aikerumblock", {
description = "Aikerum Block",
tiles = {"aikerum_block.png"},
is_ground_content = true,
groups = {cracky=1,level=2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craftitem("es:aikerum_crystal", {
description = "Aikerum Crystal",
inventory_image = "aikerum.png",
})
--Infinium located at -4300
minetest.register_node("es:infiniumblock", {
description = "infinium Block",
tiles = {"infinium_block.png"},
is_ground_content = true,
groups = {cracky=1,level=2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craftitem("es:infinium_goo", {
description = "Infinium Goo--Need to craft with vessel to contain.",
inventory_image = "infinium.png",
})
minetest.register_craftitem("es:infinium_ingot", {
description = "Infinium Ingot--TBD CRAFTING Special Armour and Lab Equipment",
inventory_image = "infinium_ingot.png",
})
minetest.register_craftitem("es:infinium_container", {
description = "Infinium Container--Cook to get Infinium Ingot",
inventory_image = "infinium_container.png",
})
--Random craft ATM
-- Jack 'O Lantern
--Borrowed from TenPlus1's Farming Plus Might change to original
minetest.register_node("es:punkin", {
description = "Punk 'O Lantern",
tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_face_off.png"},
paramtype2 = "facedir",
groups = {choppy=1,oddly_breakable_by_hand=1,flammable=2},
sounds = default.node_sound_wood_defaults(),
on_punch = function(pos, node, puncher)
node.name = "es:punkin_on"
minetest.set_node(pos, node)
end,
})
minetest.register_node("es:punkin_on", {
description = "Punk 'O Lantern",
tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_face_on.png"},
light_source = 14,
paramtype2 = "facedir",
groups = {choppy=1,oddly_breakable_by_hand=1,flammable=2},
sounds = default.node_sound_wood_defaults(),
drop = "es:punkin",
on_punch = function(pos, node, puncher)
node.name = "es:punkin"
minetest.set_node(pos, node)
end,
})
minetest.register_node("es:hgglass", {
description = "High Density Glass",
drawtype = "glasslike_framed_optional",
tiles = {"default_glass.png", "default_glass_detail.png"},
inventory_image = minetest.inventorycube("default_glass.png"),
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
groups = {immortal=1,cracky=0,},
sounds = default.node_sound_defaults(),
})
minetest.register_node("es:messymese", {
description = "Messy MESE Block",
tiles = {"default_clay.png^bubble.png^mese_cook_mese_crystal.png"},
light_source = 14,
is_ground_content = true,
groups = {cracky=1,level=2},
sounds = default.node_sound_stone_defaults(),
})
--Stairs
stairs.register_stair_and_slab("granite", "technic:granite",
{cracky = 1},
{"technic_granite.png"},
"Granite Block Stair",
"Granite Block Slab",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("marble", "technic:marble",
{cracky = 1},
{"technic_marble.png"},
"Marble Block Stair",
"Marble Block Slab",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("marble bricks", "technic:marble_bricks",
{cracky = 1},
{"technic_marble_bricks.png"},
"Marble Brick Block Stair",
"Marble Brick Block Slab",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("Brass Block", "technic:brass_block",
{cracky = 1},
{"technic_brass_block.png"},
"Brass Block Stair",
"Brass Block Slab",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("Chromium Block", "technic:chromium_block",
{cracky = 1},
{"technic_chromium_block.png"},
"Chromuim Block Stair",
"Chromium Block Slab",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("Ruby", "es:rubyblock",
{cracky = 1},
{"ruby_block.png"},
"Ruby Block Stair",
"Ruby Block Slab",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("Emerald", "es:emeraldblock",
{cracky = 1},
{"emerald_block.png"},
"Emerald Block Stair",
"Emerald Block Slab",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("Aikerum", "es:aikerumblock",
{cracky = 1},
{"aikerum_block.png"},
"Aikerum Block Stair",
"Aikerum Block Slab",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("Infinium", "es:infiniumblock",
{cracky = 1},
{"infinium_block.png"},
"Infinium Block Stair",
"Infinium Block Slab",
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("Dirt", "default:dirt",
{cracky = 1},
{"default_dirt.png"},
"Dirt Block Stair",
"Dirt Block Slab",
default.node_sound_stone_defaults())
--tweaks and overrides
--rnd code
--cactus tweaks
local function hurt_cactus() -- cactus tweak
local name = "default:cactus"
local table = minetest.registered_nodes[name];
local table2 = {};
for i,v in pairs(table) do table2[i] = v end
table2.groups.disable_jump = 1
table2.damage_per_second = 5
minetest.register_node(":"..name, table2)
end
hurt_cactus();

59
oregen.lua Normal file
View File

@ -0,0 +1,59 @@
--Extreme Survival created by maikerumine
-- Minetest 0.4.13 mod: "Extreme Survival"
-- namespace: es
--https://github.com/maikerumine
--License:
--~~~~~~~~
--Code:
--(c) Copyright 2015 maikerumine; modified zlib-License
--see "LICENSE.txt" for details.
--Media(if not stated differently):
--(c) Copyright (2014-2015) maikerumine; CC-BY-SA 3.0
--Node Registration and location
minetest.register_ore({
ore_type = "scatter",
ore = "es:stone_with_emerald",
wherein = "default:stone",
clust_scarcity = 24*24*24,
clust_num_ores = 2,
clust_size = 5,
height_min = -31000,
height_max = -1000,
})
minetest.register_ore({
ore_type = "scatter",
ore = "es:stone_with_ruby",
wherein = "default:stone",
clust_scarcity = 20*20*20,
clust_num_ores = 2,
clust_size = 5,
height_min = -31000,
height_max = -3000,
})
minetest.register_ore({
ore_type = "scatter",
ore = "es:stone_with_aikerum",
wherein = "default:stone",
clust_scarcity = 10*10*10,
clust_num_ores = 2,
clust_size = 5,
height_min = -31000,
height_max = -4000,
})
minetest.register_ore({
ore_type = "scatter",
ore = "es:stone_with_infinium",
wherein = "default:stone",
clust_scarcity = 20*20*20,
clust_num_ores = 1,
clust_size = 2,
height_min = -31000,
height_max = -4300,
})

BIN
textures/3d_armor_trans.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 B

BIN
textures/aikerum.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
textures/aikerum_block.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 B

BIN
textures/aikerum_ore.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

BIN
textures/bubble.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

BIN
textures/default_clay.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

BIN
textures/emerald.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

BIN
textures/emerald_block.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

BIN
textures/emerald_ore.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 880 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 939 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 897 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 662 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 649 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 657 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 641 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 563 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

BIN
textures/infinium.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
textures/infinium_block.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

BIN
textures/infinium_ingot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 B

BIN
textures/infinium_ore.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

BIN
textures/ruby.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 B

BIN
textures/ruby_block.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

BIN
textures/ruby_ore.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

202
tools.lua Normal file
View File

@ -0,0 +1,202 @@
--Extreme Survival created by maikerumine
-- Minetest 0.4.13 mod: "Extreme Survival"
-- namespace: es
--https://github.com/maikerumine
--License:
--~~~~~~~~
--Code:
--(c) Copyright 2015 maikerumine; modified zlib-License
--see "LICENSE.txt" for details.
--Media(if not stated differently):
--(c) Copyright (2014-2015) maikerumine; CC-BY-SA 3.0
--SWORDS
minetest.register_tool("es:sword_emerald", {
description = "Extreme Survival Emerald Sword",
inventory_image = "es_tool_emeraldsword.png",
tool_capabilities = {
full_punch_interval = 0.5,
max_drop_level=1,
groupcaps={
snappy={times={[1]=1.10, [2]=0.30, [3]=0.10}, uses=50, maxlevel=3},
},
damage_groups = {fleshy=14},
}
})
minetest.register_tool("es:sword_ruby", {
description = "Extreme Survival Ruby Sword",
inventory_image = "es_tool_rubysword.png",
tool_capabilities = {
full_punch_interval = 0.4,
max_drop_level=3,
groupcaps={
snappy={times={[1]=0.90, [2]=0.30, [3]=0.10}, uses=60, maxlevel=3},
},
damage_groups = {fleshy=20},
}
})
minetest.register_tool("es:sword_aikerum", {
description = "Extreme Survival Aikerum Sword",
inventory_image = "es_tool_aikerumsword.png",
tool_capabilities = {
full_punch_interval = 0.3,
max_drop_level=4,
groupcaps={
snappy={times={[1]=0.50, [2]=0.30, [3]=0.10}, uses=80, maxlevel=3},
},
damage_groups = {fleshy=30},
}
})
--PICKS
minetest.register_tool("es:pick_emerald", {
description = "Extreme Survival Emerald Pickaxe",
inventory_image = "es_tool_emeraldpick.png",
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level=3,
groupcaps={
cracky = {times={[1]=2.10, [2]=1.30, [3]=0.70}, uses=50, maxlevel=3},
},
damage_groups = {fleshy=11},
},
})
minetest.register_tool("es:pick_ruby", {
description = "Extreme Survival Ruby Pickaxe",
inventory_image = "es_tool_rubypick.png",
tool_capabilities = {
full_punch_interval = 0.7,
max_drop_level=3,
groupcaps={
cracky = {times={[1]=2.00, [2]=1.00, [3]=0.50}, uses=60, maxlevel=3},
},
damage_groups = {fleshy=17},
},
})
minetest.register_tool("es:pick_aikerum", {
description = "Extreme Survival Aikerum Pickaxe",
inventory_image = "es_tool_aikerumpick.png",
tool_capabilities = {
full_punch_interval = 0.25,
max_drop_level=4,
groupcaps={
cracky = {times={[1]=1.4, [2]=1.10, [3]=0.30}, uses=80, maxlevel=3},
},
damage_groups = {fleshy=27},
},
})
--[[
--ARMOR_MOD_NAME = minetest.get_current_modname()
--dofile(minetest.get_modpath(ARMOR_MOD_NAME).."/armor.lua")
local use_3d_armor = minetest.get_modpath("3d_armor")
--if use_3d_armor then
--ARMOR
minetest.register_tool("es:helmet_emerald", {
description = "Emerald Helmet",
inventory_image = "3d_armor_inv_helmet_emerald.png",
groups = {armor_head = 15, armor_heal = 12, armor_use = 100},
wear = 0,
})
minetest.register_tool("es:helmet_infinium", {
description = "Infinium Helmet",
inventory_image = "3d_armor_inv_helmet_infinium.png",
groups = {armor_head = 20, armor_heal = 15, armor_use = 150},
wear = 0,
})
minetest.register_tool("es:chestplate_emerald", {
description = "Emerald Chestplate",
inventory_image = "3d_armor_inv_chestplate_emerald.png",
groups = {armor_torso = 20, armor_heal = 12, armor_use = 100},
wear = 0,
})
minetest.register_tool("es:chestplate_infinium", {
description = "Infinium Chestplate",
inventory_image = "3d_armor_inv_chestplate_infinium.png",
groups = {armor_torso = 50, armor_heal = 15, armor_use = 150},
wear = 0,
})
minetest.register_tool("es:leggings_emerald", {
description = "Emerald Leggings",
inventory_image = "3d_armor_inv_leggings_emerald.png",
groups = {armor_legs = 20, armor_heal = 12, armor_use = 100},
wear = 0,
})
minetest.register_tool("es:leggings_infinium", {
description = "Infinium Leggings",
inventory_image = "3d_armor_inv_leggings_infinium.png",
groups = {armor_legs = 50, armor_heal = 15, armor_use = 150},
wear = 0,
})
minetest.register_tool("es:boots_emerald", {
description = "Emerald Boots",
inventory_image = "3d_armor_inv_boots_emerald.png",
groups = {armor_feet = 15, armor_heal = 12, armor_use = 100},
wear = 0,
})
minetest.register_tool("es:boots_infinium", {
description = "Infinium Boots",
inventory_image = "3d_armor_inv_boots_infinium.png",
groups = {armor_feet = 30, armor_heal = 15, armor_use = 150},
wear = 0,
})
-- Register crafting recipes:
local craft_ingreds = {
infinium = "es:infinium_ingot",
emerald = "es:emerald_crystal",
}
--end
for k, v in pairs(craft_ingreds) do
minetest.register_craft({
output = "es:helmet_"..k,
recipe = {
{v, v, v},
{v, "", v},
{"", "", ""},
},
})
minetest.register_craft({
output = "es:chestplate_"..k,
recipe = {
{v, "", v},
{v, v, v},
{v, v, v},
},
})
minetest.register_craft({
output = "es:leggings_"..k,
recipe = {
{v, v, v},
{v, "", v},
{v, "", v},
},
})
minetest.register_craft({
output = "es:boots_"..k,
recipe = {
{v, "", v},
{v, "", v},
},
})
--end
end]]