bunch o stuff
parent
77ae482ad4
commit
a8603787d1
75
alchemy.lua
75
alchemy.lua
|
@ -602,7 +602,7 @@ minetest.register_node("potions:ammonia_flask", {
|
|||
minetest.register_node("potions:muriatic_acid_flask", {
|
||||
description = "Flask of Muriatic Acid",
|
||||
inventory_image = "potions_eflask_clear.png",
|
||||
tiles = {"potions_eflask_ammonia.png"},
|
||||
tiles = {"potions_eflask_clear.png"},
|
||||
drawtype = "plantlike",
|
||||
visual_scale = .5,
|
||||
waving = false,
|
||||
|
@ -615,7 +615,7 @@ minetest.register_node("potions:muriatic_acid_flask", {
|
|||
minetest.register_node("potions:muriatic_acid_flask", {
|
||||
description = "Flask of Muriatic Acid",
|
||||
inventory_image = "potions_eflask_clear.png",
|
||||
tiles = {"potions_eflask_ammonia.png"},
|
||||
tiles = {"potions_eflask_clear.png"},
|
||||
drawtype = "plantlike",
|
||||
visual_scale = .5,
|
||||
waving = false,
|
||||
|
@ -628,7 +628,7 @@ minetest.register_node("potions:muriatic_acid_flask", {
|
|||
minetest.register_node("potions:vitriol_flask", {
|
||||
description = "Flask of Vitriol",
|
||||
inventory_image = "potions_eflask_clear.png",
|
||||
tiles = {"potions_eflask_ammonia.png"},
|
||||
tiles = {"potions_eflask_clear.png"},
|
||||
drawtype = "plantlike",
|
||||
visual_scale = .5,
|
||||
waving = false,
|
||||
|
@ -641,7 +641,7 @@ minetest.register_node("potions:vitriol_flask", {
|
|||
minetest.register_node("potions:aqua_fortis_flask", {
|
||||
description = "Flask of Vitriol",
|
||||
inventory_image = "potions_eflask_clear.png",
|
||||
tiles = {"potions_eflask_ammonia.png"},
|
||||
tiles = {"potions_eflask_clear.png"},
|
||||
drawtype = "plantlike",
|
||||
visual_scale = .5,
|
||||
waving = false,
|
||||
|
@ -664,3 +664,70 @@ minetest.register_node("potions:iodine_flask", {
|
|||
})
|
||||
|
||||
|
||||
minetest.register_node("potions:aqua_regia_flask", {
|
||||
description = "Flask of Aqua Regia",
|
||||
inventory_image = "potions_eflask_clear.png",
|
||||
tiles = {"potions_eflask_clear.png"},
|
||||
drawtype = "plantlike",
|
||||
visual_scale = .5,
|
||||
waving = false,
|
||||
buildable_to = false,
|
||||
walkable = false,
|
||||
groups = {vessel=1, oddly_breakable_by_hand=3, cracky=3, choppy=3, snappy=3, crumbly=3},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "potions:aqua_regia_flask 2",
|
||||
type = "shapeless",
|
||||
recipe = {"potions:aqua_fortis_flask", "potions:muriatic_acid_flask"},
|
||||
})
|
||||
|
||||
minetest.register_node("potions:aqua_regia_with_gold", {
|
||||
description = "Orange Flask of Aqua Regia",
|
||||
inventory_image = "potions_eflask_aregia_with_gold.png",
|
||||
tiles = {"potions_eflask_aregia_with_gold.png"},
|
||||
drawtype = "plantlike",
|
||||
visual_scale = .5,
|
||||
waving = false,
|
||||
buildable_to = false,
|
||||
walkable = false,
|
||||
groups = {vessel=1, oddly_breakable_by_hand=3, cracky=3, choppy=3, snappy=3, crumbly=3},
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = "potions:aqua_regia_with_gold",
|
||||
type = "shapeless",
|
||||
recipe = {"potions:aqua_regia_flask", "default:gold_ingot"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "potions:aqua_regia_with_gold",
|
||||
type = "shapeless",
|
||||
recipe = {"potions:aqua_regia_flask", "default:gold_lump"},
|
||||
})
|
||||
|
||||
|
||||
-- nitric acid
|
||||
minetest.register_node("potions:aqua_fortis_with_silver", {
|
||||
description = "Blue Flask of Aqua Fortis",
|
||||
inventory_image = "potions_eflask_afortis_with_silver.png",
|
||||
tiles = {"potions_eflask_afortis_with_silver.png"},
|
||||
drawtype = "plantlike",
|
||||
visual_scale = .5,
|
||||
waving = false,
|
||||
buildable_to = false,
|
||||
walkable = false,
|
||||
groups = {vessel=1, oddly_breakable_by_hand=3, cracky=3, choppy=3, snappy=3, crumbly=3},
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = "potions:aqua_fortis_with_silver",
|
||||
type = "shapeless",
|
||||
recipe = {"potions:aqua_fortis_flask", "potions:silver_ingot"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "potions:aqua_fortis_with_silver",
|
||||
type = "shapeless",
|
||||
recipe = {"potions:aqua_fortis_flask", "potions:silver_lump"},
|
||||
})
|
||||
|
|
|
@ -0,0 +1,74 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
local function check_gate(pos)
|
||||
|
||||
local function is_gate_node(p)
|
||||
local n = minetest.get_node(p)
|
||||
return n.name == "potions:gateblock"
|
||||
end
|
||||
|
||||
|
||||
if not is_gate_node({x=pos.x, y=pos.y, z=pos.z}) then return false end
|
||||
if not is_gate_node({x=pos.x+1, y=pos.y, z=pos.z}) then return false end
|
||||
if not is_gate_node({x=pos.x-1, y=pos.y, z=pos.z}) then return false end
|
||||
if not is_gate_node({x=pos.x, y=pos.y+4, z=pos.z}) then return false end
|
||||
if not is_gate_node({x=pos.x+1, y=pos.y+4, z=pos.z}) then return false end
|
||||
if not is_gate_node({x=pos.x-1, y=pos.y+4, z=pos.z}) then return false end
|
||||
if not is_gate_node({x=pos.x-2, y=pos.y+1, z=pos.z}) then return false end
|
||||
if not is_gate_node({x=pos.x-2, y=pos.y+2, z=pos.z}) then return false end
|
||||
if not is_gate_node({x=pos.x-2, y=pos.y+3, z=pos.z}) then return false end
|
||||
if not is_gate_node({x=pos.x+2, y=pos.y+1, z=pos.z}) then return false end
|
||||
if not is_gate_node({x=pos.x+2, y=pos.y+2, z=pos.z}) then return false end
|
||||
if not is_gate_node({x=pos.x+2, y=pos.y+3, z=pos.z}) then return false end
|
||||
|
||||
|
||||
minetest.add_particlespawner({
|
||||
amount = 200,
|
||||
time = 2,
|
||||
minpos = pos,
|
||||
maxpos = pos,
|
||||
minvel = {x=-0.1, y=2.6, z=-0.1},
|
||||
maxvel = {x=0.1, y=3.6, z=0.1},
|
||||
minacc = {x=-0.1, y=.1, z=-0.1},
|
||||
maxacc = {x=0.1, y=.1, z=0.1},
|
||||
minexptime = 2.5,
|
||||
maxexptime = 4.5,
|
||||
minsize = 4.2,
|
||||
maxsize = 5.2,
|
||||
texture = "tnt_smoke.png",
|
||||
})
|
||||
|
||||
return true
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
minetest.register_node("potions:gateblock", {
|
||||
description = "Gate Block",
|
||||
drawtype = "node",
|
||||
tiles = {"default_obsidian.png^[colorize:white:30"},
|
||||
groups = {cracky=3,},
|
||||
on_construct = check_gate,
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -478,7 +478,7 @@ minetest.register_decoration({
|
|||
minetest.register_abm({
|
||||
nodenames = {"default:river_water_source"},
|
||||
neighbors = {"potions:hotspring_water_source", "potions:hotspring_water_flowing"},
|
||||
chance = 5,
|
||||
chance = 15,
|
||||
interval = 5,
|
||||
action = function(pos, node)
|
||||
|
||||
|
|
13
init.lua
13
init.lua
|
@ -27,6 +27,7 @@ dofile(modpath.."/util/spiral.lua")
|
|||
dofile(modpath.."/util/spawn.lua")
|
||||
|
||||
-- core
|
||||
dofile(modpath.."/gates.lua")
|
||||
dofile(modpath.."/minetunnels.lua")
|
||||
dofile(modpath.."/beanstalk.lua")
|
||||
dofile(modpath.."/enchanting.lua")
|
||||
|
@ -78,6 +79,8 @@ potions/magic
|
|||
grow a big hollow bubble from the ground
|
||||
create a space of air
|
||||
emergent jungle tree with ladder inthe core up to a treehouse
|
||||
install stairs on a random slope
|
||||
|
||||
|
||||
|
||||
[engine]
|
||||
|
@ -119,7 +122,7 @@ lapis lazuli, opal, citrine, aquamarine
|
|||
cyclopian masonry
|
||||
ancient sunken cities
|
||||
|
||||
fumaroles spwaning, textures and features
|
||||
fumaroles spawning, textures and features
|
||||
|
||||
joshua trees (connected node)
|
||||
bogs
|
||||
|
@ -234,8 +237,8 @@ minetest.register_node("potions:prickly_pear_plus", {
|
|||
|
||||
minetest.register_abm({
|
||||
nodenames = "potions:prickly_pear",
|
||||
chance = 3,
|
||||
interval = 1,
|
||||
chance = 20,
|
||||
interval = 10,
|
||||
action = function(pos, node)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local h = meta:get_int("height") + 1
|
||||
|
@ -270,8 +273,8 @@ minetest.register_abm({
|
|||
|
||||
minetest.register_abm({
|
||||
nodenames = "potions:prickly_pear_plus",
|
||||
chance = 3,
|
||||
interval = 1,
|
||||
chance = 40,
|
||||
interval = 15,
|
||||
action = function(pos, node)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local h = meta:get_int("height") + 1
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 419 B |
Binary file not shown.
After Width: | Height: | Size: 427 B |
Binary file not shown.
After Width: | Height: | Size: 415 B |
Loading…
Reference in New Issue