kfodskfos
@ -167,8 +167,8 @@ minetest.register_node("amogus_blocks:water", {
|
||||
buildable_to = true,
|
||||
drowning = 1,
|
||||
liquidtype = "source",
|
||||
liquid_alternative_flowing = "amogus_blocks:water_flowing",
|
||||
liquid_alternative_source = "amogus_blocks:water_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},
|
||||
@ -183,9 +183,16 @@ minetest.register_node("amogus_blocks:dirt", {
|
||||
--}),
|
||||
})
|
||||
|
||||
--minetest.register_alias("mapgen_water_source", "amogus_blocks:water")
|
||||
minetest.register_node("amogus_blocks:stone", {
|
||||
description = "Stone",
|
||||
tiles = {"s.png"},
|
||||
groups = {cracky = 3, stone = 1},
|
||||
--sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
--add gold block and sussium ore
|
||||
|
||||
|
||||
-- add lucky block with array of loot that can be easly edited
|
||||
local loot = {
|
||||
"amogus_items:amogus",
|
||||
"amogus_items:sprite",
|
||||
@ -208,4 +215,6 @@ minetest.register_node("amogus_blocks:lucky_block", {
|
||||
|
||||
end
|
||||
})
|
||||
minetest.register_alias("mapgen_stone", "amogus_blocks:grass")
|
||||
minetest.register_alias("mapgen_stone", "amogus_blocks:grass")
|
||||
|
||||
--minetest.register_alias("mapgen_water_source", "amogus_blocks:water")
|
||||
|
@ -1,2 +1,2 @@
|
||||
-- add amogus_blocks:tv to the world generator on the survace at random places
|
||||
|
||||
minetest.register_alias("mapgen_stone", "amogus_blocks:grass")
|
||||
--minetest.register_alias("mapgen_water_source", "amogus_blocks:water")
|
@ -101,26 +101,31 @@ minetest.register_tool("amogus_items:lightsaber_green", {
|
||||
sound = {breaks = "amogus_sound"},
|
||||
})
|
||||
|
||||
-- add lucky block with array of loot that can be easly edited
|
||||
local loot = {
|
||||
"amogus_items:amogus",
|
||||
"amogus_items:sprite",
|
||||
"amogus_items:coke",
|
||||
"amogus_items:fanta",
|
||||
"amogus_items:tomato",
|
||||
"amogus_items:lightsaber_blue",
|
||||
"amogus_items:lightsaber_red",
|
||||
"amogus_items:lightsaber_green",
|
||||
}
|
||||
-- add theese items : goldenpickaxe, wooden plank, gold_ingot, sussium_ingot
|
||||
minetest.register_craftitem("amogus_items:wooden_plank", {
|
||||
description = "Wooden Plank",
|
||||
inventory_image = "wooden_plank.png",
|
||||
})
|
||||
minetest.register_craftitem("amogus_items:gold_ingot", {
|
||||
description = "Gold Ingot",
|
||||
inventory_image = "gold_ingot.png",
|
||||
})
|
||||
minetest.register_craftitem("amogus_items:sussium_ingot", {
|
||||
description = "Sussium Ingot",
|
||||
inventory_image = "sussium_ingot.png",
|
||||
})
|
||||
|
||||
minetest.register_node("amogus_items:lucky_block", {
|
||||
description = "Lucky Block",
|
||||
tiles = {"luckyblock.png"},
|
||||
groups = {cracky = 3},
|
||||
on_punch = function(pos, node, puncher, pointed_thing)
|
||||
local item = loot[math.random(#loot)]
|
||||
minetest.add_item(pos, item)
|
||||
minetest.remove_node(pos)
|
||||
|
||||
end
|
||||
})
|
||||
minetest.register_tool("amogus_items:goldenpickaxe", {
|
||||
description = "Golden Pickaxe",
|
||||
inventory_image = "goldenpickaxe.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.1,
|
||||
max_drop_level=3,
|
||||
groupcaps={
|
||||
cracky={times={[1]=0.1, [2]=0.1, [3]=0.1}, uses=0, maxlevel=3},
|
||||
},
|
||||
damage_groups = {fleshy=10},
|
||||
},
|
||||
sound = {breaks = "amogus_sound"},
|
||||
})
|
||||
|
BIN
mods/amogus_items/textures/gold_ingot.png
Normal file
After Width: | Height: | Size: 204 B |
BIN
mods/amogus_items/textures/goldenpick.png
Normal file
After Width: | Height: | Size: 149 B |
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 142 B |
BIN
mods/amogus_items/textures/sussium_ingot.png
Normal file
After Width: | Height: | Size: 160 B |