Compare commits

...

5 Commits

Author SHA1 Message Date
migdyn 07d056c87e Create textures + register new stones 2019-02-02 15:45:14 +00:00
migdyn 68a8d9e78f Changed stone texture 2019-02-02 14:52:02 +00:00
migdyn cc7e92d982 Removed the grid from hotbar_selected 2019-02-02 14:51:27 +00:00
migdyn 529023a634 Some wield_scale changes to the longstick + create minerals 2019-02-02 14:46:19 +00:00
migdyn 7d22ddb0fe Add longsticks 2019-01-24 22:22:56 +00:00
13 changed files with 69 additions and 3 deletions

8
mods/main/recipes.lua Normal file
View File

@ -0,0 +1,8 @@
minetest.register_craft({
output = "main:pickaxe_steel"
recipe = {
{"main:steel_ingot", "main:steel_ingot", "main:steel_ingot"},
{"main:steel_ingot", "main:stick", "main:steel_ingot"},
{"", "main:stick", ""}
}
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 B

After

Width:  |  Height:  |  Size: 367 B

View File

@ -18,6 +18,7 @@ minetest.register_item(":", {
minetest.register_item("main:pickaxe_steel", {
type = "none",
wield_image = "main_pickaxe_steel.png",
inventory_image = "main_pickaxe_steel.png",
tool_capabilities = {
max_drop_level = 1,
full_punch_interval = 0.8,

1
mods/minerals/README.txt Normal file
View File

@ -0,0 +1 @@
Hello, this a new mod for adsurv! Probably won't work with MTG! It's a mod that adds more kinds of stones and some odd ores like limestone, chalk, silstone, and shale

23
mods/minerals/init.lua Normal file
View File

@ -0,0 +1,23 @@
minetest.register_node("minerals:limestone", {
description = "Limestone",
tiles = {"minerals_limestone.png"},
groups = {cracky = 3},
})
minetest.register_node("minerals:obsidian", {
description = "Obsidian",
tiles = {"minerals_obsidian.png"},
groups = {cracky = 2},
})
minetest.register_node("minerals:concrete_solid", {
description = "Solid Concrete",
tiles = {"minerals_concrete_solid.png"},
groups = {cracky = 1},
})
minetest.register_node("minerals:chalk", {
description = "Chalk",
tiles = {"minerals_chalk.png"},
groups = {cracky = 3},
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

View File

@ -210,20 +210,53 @@ minetest.register_node("quicksand:quicksand", {
groups = {crumbly = 1, quicksandy = 2},
})
------------
--Weak quicksand
----------
minetest.register_node("quicksand:quicksand_weak", {
description = "Weak Quicksand",
drawtype = "liquid",
paramtype = "light",
tiles = {name = "quicksand_quicksand_weak.png"},
post_effect_color = {r = 80, g = 50, b = 10},
--Behavior
walkable = false,
pointable = true,
buildable_to = false,
diggable = true,
is_ground_content = false,
--Properties
liquid_range = 0,
liquid_viscosity = 10,
liquid_renewable = false,
drowning = 1,
damage_per_second = 3,
liquidtype = "source",
liquid_alternative_flowing = "quicksand:quicksand_weak",
liquid_alternative_source = "quicksand:quicksand_weak",
groups = {crumbly = 1, quicksandy = 3},
})
-----------
--Longstick
-----------
minetest.register_item("quicksand:longstick", {
type = "none",
wield_image = "main_pickaxe_steel.png",
inventory_image = "main_pickaxe_steel.png",
wield_scale = {x=1, y=4, z=1},
wield_image = "quicksand_stick.png",
inventory_image = "quicksand_stick.png",
wield_scale = {x=1, y=6, z=1},
range = 2,
on_use = function(itemstack, player, pointed_thing)
local rand = math.random(1)
if rand == 0 then
local newpos = pointed_thing.above
if newpos ~= nil then
player:set_pos(newpos)
end
end
end
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 B

After

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 724 B