hand item added

This commit is contained in:
Kacper Kostka
2023-01-09 02:35:45 +01:00
parent c8420db675
commit 5df788b47e
10 changed files with 93 additions and 14 deletions

View File

@@ -1,6 +1,3 @@
minetest.register_on_joinplayer(function(player)
player:set_sky({r=0, g=0, b=0}, "plain", {})
end)
minetest.register_node("amogus_blocks:ladder_steel", {
description = "Ladder",
@@ -76,13 +73,6 @@ minetest.register_node("amogus_blocks:redblock", {
drop = 'amogus_blocks:redblock', groups = {cracky=3, stone=1},
})
minetest.register_node("amogus_blocks:glass", {
description = "Glass",
tiles = {"glass.png"},
drop = 'amogus_blocks:glass', groups = {cracky=3, stone=1},
})
minetest.register_node("amogus_blocks:glowing_block", {
description = "Glowing Block",
tiles = {"glowing_block.png"},
@@ -122,5 +112,76 @@ minetest.register_node("amogus_blocks:wood", {
drop = 'amogus:wood', groups = {cracky=3, stone=1},
})
minetest.register_alias("mapgen_dirt", "amogus_blocks:floor")
minetest.register_node("amogus_blocks:water", {
description = "Water",
drawtype = "liquid",
tiles = {
{
name = "water.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0,
},
},
{
name = "water.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0,
},
},
},
special_tiles = {
-- New-style water source material (mostly unused)
{
name = "water.png",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0,
},
},
-- New-style flowing water material (mostly unused)
{
name = "water.png",
backface_culling = true,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8,
},
},
},
alpha = 160,
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
drowning = 1,
liquidtype = "source",
liquid_alternative_flowing = "amogus_blocks:water_flowing",
liquid_alternative_source = "amogus_blocks:water_source",
liquid_viscosity = 1,
post_effect_color = {a = 103, r = 30, g = 60, b = 90},
groups = {water = 3, liquid = 3, puts_out_fire = 1},
})
minetest.register_node("amogus_blocks:dirt", {
description = "Dirt",
tiles = {"d.png"},
groups = {crumbly = 3, soil = 1},
--sounds = default.node_sound_dirt_defaults({
-- footstep = {name = "default_grass_footstep", gain = 0.4},
--}),
})
minetest.register_alias("mapgen_water_source", "amogus_blocks:water")
minetest.register_alias("mapgen_stone", "amogus_blocks:grass")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 B

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 B