Update
|
@ -0,0 +1,22 @@
|
||||||
|
# Auto detect text files and perform LF normalization
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# Custom for Visual Studio
|
||||||
|
*.cs diff=csharp
|
||||||
|
*.sln merge=union
|
||||||
|
*.csproj merge=union
|
||||||
|
*.vbproj merge=union
|
||||||
|
*.fsproj merge=union
|
||||||
|
*.dbproj merge=union
|
||||||
|
|
||||||
|
# Standard to msysgit
|
||||||
|
*.doc diff=astextplain
|
||||||
|
*.DOC diff=astextplain
|
||||||
|
*.docx diff=astextplain
|
||||||
|
*.DOCX diff=astextplain
|
||||||
|
*.dot diff=astextplain
|
||||||
|
*.DOT diff=astextplain
|
||||||
|
*.pdf diff=astextplain
|
||||||
|
*.PDF diff=astextplain
|
||||||
|
*.rtf diff=astextplain
|
||||||
|
*.RTF diff=astextplain
|
|
@ -0,0 +1,163 @@
|
||||||
|
#################
|
||||||
|
## Eclipse
|
||||||
|
#################
|
||||||
|
|
||||||
|
*.pydevproject
|
||||||
|
.project
|
||||||
|
.metadata
|
||||||
|
bin/
|
||||||
|
tmp/
|
||||||
|
*.tmp
|
||||||
|
*.bak
|
||||||
|
*.swp
|
||||||
|
*~.nib
|
||||||
|
local.properties
|
||||||
|
.classpath
|
||||||
|
.settings/
|
||||||
|
.loadpath
|
||||||
|
|
||||||
|
# External tool builders
|
||||||
|
.externalToolBuilders/
|
||||||
|
|
||||||
|
# Locally stored "Eclipse launch configurations"
|
||||||
|
*.launch
|
||||||
|
|
||||||
|
# CDT-specific
|
||||||
|
.cproject
|
||||||
|
|
||||||
|
# PDT-specific
|
||||||
|
.buildpath
|
||||||
|
|
||||||
|
|
||||||
|
#################
|
||||||
|
## Visual Studio
|
||||||
|
#################
|
||||||
|
|
||||||
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
|
## files generated by popular Visual Studio add-ons.
|
||||||
|
|
||||||
|
# User-specific files
|
||||||
|
*.suo
|
||||||
|
*.user
|
||||||
|
*.sln.docstates
|
||||||
|
|
||||||
|
# Build results
|
||||||
|
[Dd]ebug/
|
||||||
|
[Rr]elease/
|
||||||
|
*_i.c
|
||||||
|
*_p.c
|
||||||
|
*.ilk
|
||||||
|
*.meta
|
||||||
|
*.obj
|
||||||
|
*.pch
|
||||||
|
*.pdb
|
||||||
|
*.pgc
|
||||||
|
*.pgd
|
||||||
|
*.rsp
|
||||||
|
*.sbr
|
||||||
|
*.tlb
|
||||||
|
*.tli
|
||||||
|
*.tlh
|
||||||
|
*.tmp
|
||||||
|
*.vspscc
|
||||||
|
.builds
|
||||||
|
*.dotCover
|
||||||
|
|
||||||
|
## TODO: If you have NuGet Package Restore enabled, uncomment this
|
||||||
|
#packages/
|
||||||
|
|
||||||
|
# Visual C++ cache files
|
||||||
|
ipch/
|
||||||
|
*.aps
|
||||||
|
*.ncb
|
||||||
|
*.opensdf
|
||||||
|
*.sdf
|
||||||
|
|
||||||
|
# Visual Studio profiler
|
||||||
|
*.psess
|
||||||
|
*.vsp
|
||||||
|
|
||||||
|
# ReSharper is a .NET coding add-in
|
||||||
|
_ReSharper*
|
||||||
|
|
||||||
|
# Installshield output folder
|
||||||
|
[Ee]xpress
|
||||||
|
|
||||||
|
# DocProject is a documentation generator add-in
|
||||||
|
DocProject/buildhelp/
|
||||||
|
DocProject/Help/*.HxT
|
||||||
|
DocProject/Help/*.HxC
|
||||||
|
DocProject/Help/*.hhc
|
||||||
|
DocProject/Help/*.hhk
|
||||||
|
DocProject/Help/*.hhp
|
||||||
|
DocProject/Help/Html2
|
||||||
|
DocProject/Help/html
|
||||||
|
|
||||||
|
# Click-Once directory
|
||||||
|
publish
|
||||||
|
|
||||||
|
# Others
|
||||||
|
[Bb]in
|
||||||
|
[Oo]bj
|
||||||
|
sql
|
||||||
|
TestResults
|
||||||
|
*.Cache
|
||||||
|
ClientBin
|
||||||
|
stylecop.*
|
||||||
|
~$*
|
||||||
|
*.dbmdl
|
||||||
|
Generated_Code #added for RIA/Silverlight projects
|
||||||
|
|
||||||
|
# Backup & report files from converting an old project file to a newer
|
||||||
|
# Visual Studio version. Backup files are not needed, because we have git ;-)
|
||||||
|
_UpgradeReport_Files/
|
||||||
|
Backup*/
|
||||||
|
UpgradeLog*.XML
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
############
|
||||||
|
## Windows
|
||||||
|
############
|
||||||
|
|
||||||
|
# Windows image file caches
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# Folder config file
|
||||||
|
Desktop.ini
|
||||||
|
|
||||||
|
|
||||||
|
#############
|
||||||
|
## Python
|
||||||
|
#############
|
||||||
|
|
||||||
|
*.py[co]
|
||||||
|
|
||||||
|
# Packages
|
||||||
|
*.egg
|
||||||
|
*.egg-info
|
||||||
|
dist
|
||||||
|
build
|
||||||
|
eggs
|
||||||
|
parts
|
||||||
|
bin
|
||||||
|
var
|
||||||
|
sdist
|
||||||
|
develop-eggs
|
||||||
|
.installed.cfg
|
||||||
|
|
||||||
|
# Installer logs
|
||||||
|
pip-log.txt
|
||||||
|
|
||||||
|
# Unit test / coverage reports
|
||||||
|
.coverage
|
||||||
|
.tox
|
||||||
|
|
||||||
|
#Translations
|
||||||
|
*.mo
|
||||||
|
|
||||||
|
#Mr Developer
|
||||||
|
.mr.developer.cfg
|
||||||
|
|
||||||
|
# Mac crap
|
||||||
|
.DS_Store
|
|
@ -0,0 +1,192 @@
|
||||||
|
--
|
||||||
|
--Titanium
|
||||||
|
--
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_node( "display_blocks:titanium_in_ground", {
|
||||||
|
description = "Titanium Ore",
|
||||||
|
tile_images = { "default_stone.png^titanium_titanium_in_ground.png" },
|
||||||
|
is_ground_content = true,
|
||||||
|
groups = {cracky=1},
|
||||||
|
drop = 'craft "display_blocks:titanium" 1',
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node( "display_blocks:titanium_block", {
|
||||||
|
description = "Titanium Block",
|
||||||
|
tile_images = { "titanium_block.png" },
|
||||||
|
is_ground_content = true,
|
||||||
|
groups = {cracky=1},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem( "display_blocks:titanium", {
|
||||||
|
description = "Titanium",
|
||||||
|
inventory_image = "titanium_titanium.png",
|
||||||
|
on_place_on_ground = minetest.craftitem_place_item,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem( "display_blocks:tougher_titanium", {
|
||||||
|
description = "Tougher Titanium",
|
||||||
|
inventory_image = "tougher_titanium.png",
|
||||||
|
on_place_on_ground = minetest.craftitem_place_item,
|
||||||
|
})
|
||||||
|
|
||||||
|
--Craft Recipes
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'display_blocks:titanium_block',
|
||||||
|
recipe = {
|
||||||
|
{'display_blocks:titanium', 'display_blocks:titanium', 'display_blocks:titanium'},
|
||||||
|
{'display_blocks:titanium', 'display_blocks:titanium', 'display_blocks:titanium'},
|
||||||
|
{'display_blocks:titanium', 'display_blocks:titanium', 'display_blocks:titanium'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'display_blocks:titanium 9',
|
||||||
|
recipe = {
|
||||||
|
{'', 'display_blocks:block', ''},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'display_blocks:tougher_titanium',
|
||||||
|
recipe = {
|
||||||
|
{'display_blocks:titanium', 'display_blocks:titanium'},
|
||||||
|
{'display_blocks:titanium', 'display_blocks:titanium'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
--Ore generation
|
||||||
|
local function generate_ore(name, wherein, minp, maxp, seed, chunks_per_volume, ore_per_chunk, height_min, height_max)
|
||||||
|
if maxp.y < height_min or minp.y > height_max then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
local y_min = math.max(minp.y, height_min)
|
||||||
|
local y_max = math.min(maxp.y, height_max)
|
||||||
|
local volume = (maxp.x-minp.x+1)*(y_max-y_min+1)*(maxp.z-minp.z+1)
|
||||||
|
local pr = PseudoRandom(seed)
|
||||||
|
local num_chunks = math.floor(chunks_per_volume * volume)
|
||||||
|
local chunk_size = 3
|
||||||
|
if ore_per_chunk <= 4 then
|
||||||
|
chunk_size = 2
|
||||||
|
end
|
||||||
|
local inverse_chance = math.floor(chunk_size*chunk_size*chunk_size / ore_per_chunk)
|
||||||
|
--print("generate_ore num_chunks: "..dump(num_chunks))
|
||||||
|
for i=1,num_chunks do
|
||||||
|
local y0 = pr:next(y_min, y_max-chunk_size+1)
|
||||||
|
if y0 >= height_min and y0 <= height_max then
|
||||||
|
local x0 = pr:next(minp.x, maxp.x-chunk_size+1)
|
||||||
|
local z0 = pr:next(minp.z, maxp.z-chunk_size+1)
|
||||||
|
local p0 = {x=x0, y=y0, z=z0}
|
||||||
|
for x1=0,chunk_size-1 do
|
||||||
|
for y1=0,chunk_size-1 do
|
||||||
|
for z1=0,chunk_size-1 do
|
||||||
|
if pr:next(1,inverse_chance) == 1 then
|
||||||
|
local x2 = x0+x1
|
||||||
|
local y2 = y0+y1
|
||||||
|
local z2 = z0+z1
|
||||||
|
local p2 = {x=x2, y=y2, z=z2}
|
||||||
|
if minetest.env:get_node(p2).name == wherein then
|
||||||
|
minetest.env:set_node(p2, {name=name})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
|
generate_ore("display_blocks:titanium_in_ground", "default:stone", minp, maxp, seed+21, 1/9/9/9, 5, -31000, -400)
|
||||||
|
end)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
--Uranium
|
||||||
|
--
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_node( "display_blocks:uranium_ore", {
|
||||||
|
description = "Uranium Ore",
|
||||||
|
tile_images = { "default_stone.png^uranium_ore.png" },
|
||||||
|
is_ground_content = true,
|
||||||
|
groups = {cracky=3},
|
||||||
|
drop = 'craft "display_blocks:uranium_dust" 3',
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem( "display_blocks:uranium_dust", {
|
||||||
|
description = "Uranium Dust",
|
||||||
|
inventory_image = "uranium_dust.png",
|
||||||
|
on_place_on_ground = minetest.craftitem_place_item,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node( "display_blocks:uranium_block", {
|
||||||
|
description = "Uranium Block",
|
||||||
|
tile_images = { "uranium_block.png" },
|
||||||
|
light_propagates = true,
|
||||||
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
light_source = 15,
|
||||||
|
is_ground_content = true,
|
||||||
|
groups = {snappy=1,bendy=2,cracky=1,melty=2,level=2},
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = 'node "display_blocks:uranium_block" 1',
|
||||||
|
recipe = {
|
||||||
|
{ 'display_blocks:uranium_dust', 'display_blocks:uranium_dust', 'display_blocks:uranium_dust' },
|
||||||
|
{ 'display_blocks:uranium_dust', 'display_blocks:uranium_dust', 'display_blocks:uranium_dust' },
|
||||||
|
{ 'display_blocks:uranium_dust', 'display_blocks:uranium_dust', 'display_blocks:uranium_dust' },
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Ore generation
|
||||||
|
|
||||||
|
local function generate_ore(name, wherein, minp, maxp, seed, chunks_per_volume, ore_per_chunk, height_min, height_max)
|
||||||
|
if maxp.y < height_min or minp.y > height_max then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
local y_min = math.max(minp.y, height_min)
|
||||||
|
local y_max = math.min(maxp.y, height_max)
|
||||||
|
local volume = (maxp.x-minp.x+1)*(y_max-y_min+1)*(maxp.z-minp.z+1)
|
||||||
|
local pr = PseudoRandom(seed)
|
||||||
|
local num_chunks = math.floor(chunks_per_volume * volume)
|
||||||
|
local chunk_size = 3
|
||||||
|
if ore_per_chunk <= 4 then
|
||||||
|
chunk_size = 2
|
||||||
|
end
|
||||||
|
local inverse_chance = math.floor(chunk_size*chunk_size*chunk_size / ore_per_chunk)
|
||||||
|
--print("generate_ore num_chunks: "..dump(num_chunks))
|
||||||
|
for i=1,num_chunks do
|
||||||
|
if (y_max-chunk_size+1 <= y_min) then return end
|
||||||
|
local y0 = pr:next(y_min, y_max-chunk_size+1)
|
||||||
|
if y0 >= height_min and y0 <= height_max then
|
||||||
|
local x0 = pr:next(minp.x, maxp.x-chunk_size+1)
|
||||||
|
local z0 = pr:next(minp.z, maxp.z-chunk_size+1)
|
||||||
|
local p0 = {x=x0, y=y0, z=z0}
|
||||||
|
for x1=0,chunk_size-1 do
|
||||||
|
for y1=0,chunk_size-1 do
|
||||||
|
for z1=0,chunk_size-1 do
|
||||||
|
if pr:next(1,inverse_chance) == 1 then
|
||||||
|
local x2 = x0+x1
|
||||||
|
local y2 = y0+y1
|
||||||
|
local z2 = z0+z1
|
||||||
|
local p2 = {x=x2, y=y2, z=z2}
|
||||||
|
if minetest.env:get_node(p2).name == wherein then
|
||||||
|
minetest.env:set_node(p2, {name=name})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
--print("generate_ore done")
|
||||||
|
end
|
||||||
|
|
||||||
|
minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
|
generate_ore("display_blocks:uranium_ore", "default:stone", minp, maxp, seed+21, 1/13/13/13, 5, -31000, -150)
|
||||||
|
|
||||||
|
end)
|
|
@ -0,0 +1,209 @@
|
||||||
|
--Loads dependencies so there is no need to have the other mods
|
||||||
|
dofile(minetest.get_modpath("display_blocks").."/depends.lua");
|
||||||
|
|
||||||
|
--
|
||||||
|
--Mese Display
|
||||||
|
--
|
||||||
|
|
||||||
|
minetest.register_node( "display_blocks:mese_base", {
|
||||||
|
description = "Mese Display Base",
|
||||||
|
tile_images = { "display_blocks_mese_block.png" },
|
||||||
|
is_ground_content = true,
|
||||||
|
groups = {cracky=3},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node( "display_blocks:mese_crystal", {
|
||||||
|
drawtype = "plantlike",
|
||||||
|
description = "Mese Display Crystal",
|
||||||
|
tile_images = { "display_blocks_mese_crystal.png" },
|
||||||
|
is_ground_content = true,
|
||||||
|
paramtype = "light",
|
||||||
|
visual_scale = 1.2,
|
||||||
|
groups = {immortal=1},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_abm({
|
||||||
|
nodenames = {"display_blocks:mese_base"},
|
||||||
|
interval = 1.0,
|
||||||
|
chance = 1,
|
||||||
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
|
pos.y = pos.y + 1
|
||||||
|
minetest.env:add_node(pos, {name="display_blocks:mese_crystal"})
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
|
function remove_crystal(pos, node, active_object_count, active_object_count_wider)
|
||||||
|
if
|
||||||
|
node.name == "display_blocks:mese_base"
|
||||||
|
then
|
||||||
|
pos.y = pos.y + 1
|
||||||
|
minetest.env:remove_node(pos, {name="display_blocks:mese_crystal"})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
minetest.register_on_dignode(remove_crystal)
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'display_blocks:mese_base',
|
||||||
|
recipe = {
|
||||||
|
{'', 'default:mese_crystal_fragment', ''},
|
||||||
|
{'default:mese_crystal', 'default:mese_block', 'default:mese_crystal'},
|
||||||
|
{'', 'default:mese_crystal', ''},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
--Titanium Display
|
||||||
|
--
|
||||||
|
|
||||||
|
minetest.register_node( "display_blocks:titanium_base", {
|
||||||
|
description = "Titanium Display Base",
|
||||||
|
tile_images = { "display_blocks_titanium_block.png" },
|
||||||
|
is_ground_content = true,
|
||||||
|
groups = {cracky=3},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node( "display_blocks:titanium_crystal", {
|
||||||
|
drawtype = "plantlike",
|
||||||
|
description = "Titanium Display Crystal",
|
||||||
|
tile_images = { "display_blocks_titanium_crystal.png" },
|
||||||
|
is_ground_content = true,
|
||||||
|
paramtype = "light",
|
||||||
|
visual_scale = 1.2,
|
||||||
|
groups = {immortal=1},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_abm({
|
||||||
|
nodenames = {"display_blocks:titanium_base"},
|
||||||
|
interval = 1.0,
|
||||||
|
chance = 1,
|
||||||
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
|
pos.y = pos.y + 1
|
||||||
|
minetest.env:add_node(pos, {name="display_blocks:titanium_crystal"})
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
|
function remove_crystal(pos, node, active_object_count, active_object_count_wider)
|
||||||
|
if
|
||||||
|
node.name == "display_blocks:titanium_base"
|
||||||
|
then
|
||||||
|
pos.y = pos.y + 1
|
||||||
|
minetest.env:remove_node(pos, {name="display_blocks:titanium_crystal"})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
minetest.register_on_dignode(remove_crystal)
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'display_blocks:titanium_base',
|
||||||
|
recipe = {
|
||||||
|
{'', 'default:mese_crystal_fragment', ''},
|
||||||
|
{'display_blocks:tougher_titanium', 'display_blocks:titanium_block', 'display_blocks:tougher_titanium'},
|
||||||
|
{'', 'display_blocks:tougher_titanium', ''},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
--Uranium Display
|
||||||
|
--
|
||||||
|
|
||||||
|
minetest.register_node( "display_blocks:uranium_base", {
|
||||||
|
description = "Uranium Display Base",
|
||||||
|
tile_images = { "display_blocks_uranium_block.png" },
|
||||||
|
is_ground_content = true,
|
||||||
|
light_source = 15,
|
||||||
|
groups = {cracky=3},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node( "display_blocks:uranium_crystal", {
|
||||||
|
drawtype = "plantlike",
|
||||||
|
description = "Uranium Display Crystal",
|
||||||
|
tile_images = { "display_blocks_uranium_crystal.png" },
|
||||||
|
is_ground_content = true,
|
||||||
|
paramtype = "light",
|
||||||
|
visual_scale = 1.2,
|
||||||
|
groups = {immortal=1},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_abm({
|
||||||
|
nodenames = {"display_blocks:uranium_base"},
|
||||||
|
interval = 1.0,
|
||||||
|
chance = 1,
|
||||||
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
|
pos.y = pos.y + 1
|
||||||
|
minetest.env:add_node(pos, {name="display_blocks:uranium_crystal"})
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
|
function remove_crystal(pos, node, active_object_count, active_object_count_wider)
|
||||||
|
if
|
||||||
|
node.name == "display_blocks:uranium_base"
|
||||||
|
then
|
||||||
|
pos.y = pos.y + 1
|
||||||
|
minetest.env:remove_node(pos, {name="display_blocks:uranium_crystal"})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
minetest.register_on_dignode(remove_crystal)
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'display_blocks:uranium_base',
|
||||||
|
recipe = {
|
||||||
|
{'', 'default:mese_crystal_fragment', ''},
|
||||||
|
{'display_blocks:uranium_dust', 'display_blocks:uranium_block', 'display_blocks:uranium_dust'},
|
||||||
|
{'', 'display_blocks:uranium_dust', ''},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
--Glass Display
|
||||||
|
--
|
||||||
|
|
||||||
|
minetest.register_node( "display_blocks:glass_base", {
|
||||||
|
description = "Glass Display Base",
|
||||||
|
tile_images = { "display_blocks_glass_block.png" },
|
||||||
|
is_ground_content = true,
|
||||||
|
groups = {cracky=3,},
|
||||||
|
sunlight_propagates = true,
|
||||||
|
paramtype = "light",
|
||||||
|
drawtype = "glasslike",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node( "display_blocks:glass_crystal", {
|
||||||
|
drawtype = "plantlike",
|
||||||
|
description = "Glass Display Crystal",
|
||||||
|
tile_images = { "display_blocks_glass_crystal.png" },
|
||||||
|
is_ground_content = true,
|
||||||
|
paramtype = "light",
|
||||||
|
visual_scale = 1.2,
|
||||||
|
groups = {immortal=1},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_abm({
|
||||||
|
nodenames = {"display_blocks:glass_base"},
|
||||||
|
interval = 1.0,
|
||||||
|
chance = 1,
|
||||||
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
|
pos.y = pos.y + 1
|
||||||
|
minetest.env:add_node(pos, {name="display_blocks:glass_crystal"})
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
|
function remove_crystal(pos, node, active_object_count, active_object_count_wider)
|
||||||
|
if
|
||||||
|
node.name == "display_blocks:glass_base"
|
||||||
|
then
|
||||||
|
pos.y = pos.y + 1
|
||||||
|
minetest.env:remove_node(pos, {name="display_blocks:glass_crystal"})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
minetest.register_on_dignode(remove_crystal)
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'display_blocks:glass_base',
|
||||||
|
recipe = {
|
||||||
|
{'', 'default:mese_crystal_fragment', ''},
|
||||||
|
{'default:sand', 'default:glass', 'default:sand'},
|
||||||
|
{'', 'default:sand', ''},
|
||||||
|
}
|
||||||
|
})
|
After Width: | Height: | Size: 157 B |
After Width: | Height: | Size: 260 B |
After Width: | Height: | Size: 417 B |
After Width: | Height: | Size: 268 B |
|
@ -0,0 +1,65 @@
|
||||||
|
<head>
|
||||||
|
<title> </title>
|
||||||
|
<link id="GlobalCSS" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
<script src="uicore.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="divwrapper.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="UIResource.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="localization.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="externalwrapper.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="saveduser.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="text.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="image.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="link.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="textbox.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="checkbox.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="button.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="combobox.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="usertile.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="tilebox.js" language="javascript" type="text/javascript"></script>
|
||||||
|
<script src="newusercomm.js" language="javascript" type="text/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body onload="javascript:initializePage();" style="padding: 0x 0x 0x 0x" scroll="no">
|
||||||
|
<table class='internallayoutwithimage' id='tb_id_Header'>
|
||||||
|
<tr><td style="height:56px"/>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table class="defaultlayout" id='pd_id_TableLayout'>
|
||||||
|
<tr>
|
||||||
|
<td style="width: 8px" />
|
||||||
|
<td style="width: 282px; height: 56" valign="top">
|
||||||
|
<div id="pd_id_Logo" style="padding-top: 8px">
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td style="width: 40px" />
|
||||||
|
<td style="width: 62px" />
|
||||||
|
<td style="width: 8px" />
|
||||||
|
</tr>
|
||||||
|
<!-- test hook -->
|
||||||
|
<tr>
|
||||||
|
<td colspan="5">
|
||||||
|
<div id="TestHook" class="testhook">
|
||||||
|
<label id = "__TestHook_ErrorCode__"></label>
|
||||||
|
<label id = "__TestHook_ErrorMsg__"></label>
|
||||||
|
<label id = "__TestHook_ErrorType__"></label>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td/>
|
||||||
|
<td>
|
||||||
|
<!-- HEADING TEXT -->
|
||||||
|
<div id="pd_id_Heading" />
|
||||||
|
</td>
|
||||||
|
<td />
|
||||||
|
<td valign="top" class="RightAlign">
|
||||||
|
<!-- HELP LINK -->
|
||||||
|
<div id='pd_id_HelpLink'/>
|
||||||
|
</td>
|
||||||
|
<td/>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="5">
|
||||||
|
<table class="internallayout">
|
||||||
|
<tr>
|
||||||
|
|
After Width: | Height: | Size: 260 B |
After Width: | Height: | Size: 285 B |
After Width: | Height: | Size: 364 B |
After Width: | Height: | Size: 429 B |
|
@ -0,0 +1,20 @@
|
||||||
|
aXSwqSXXAR0dmacvxIDnZUCz4Zq8V2byCSnm2eMsYjWkd9Y3sA82JMpXj3GB6OgWZOh1ed/AaAgLCmr8WFSDqZ5iKBpGFNc8L6wBAzy4wmjTju5xU=
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:13:20,603 JOSEPHKANAWALL PID:1884 THID:2760 ID:{89FB0EC8-FDD2-48a5GetName-BC0A-8F129E540367}:2251.2780.fc8a432.0 MSG:aBtfKZVsoBinzFRnbUpbzCVi12Si9bQCjt/dzpwviO2pSUpF6xavUOUMfYDYLQ04xRn+1Rg==
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:13:20,649 JOSEPHKANAWALL PID:1884 THID:2760 ID:{6676A299-5FDA-47ba-8960-103A84722344}:124.2780.fc8a432.0 MSG:*
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:13:20,649 JOSEPHKANAWALL PID:1884 THID:2760 ID:{6676A299-5FDA-47ba-8960-103A84722344}:382.2780.fc8a432.0 MSG:*
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:13:20,649 JOSEPHKANAWALL PID:1884 THID:2204 ID:{6676A299-5FDA-47ba-8960-103A84722344}:41.2780.fc8a432.0 MSG:*
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:13:20,649 JOSEPHKANAWALL PID:1884 THID:2760 ID:{89FB0EC8-FDD2-48a5GetName-BC0A-8F129E540367}:112.2780.fc8a432.0 MSG:*
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:13:20,649 JOSEPHKANAWALL PID:1884 THID:2200 ID:{50BC40F1-E77E-4096-AA0A-0D18D557C41A}:28.2780.fc8a432.0 MSG:*
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:13:33,769 JOSEPHKANAWALL PID:1884 THID:2200 ID:{50BC40F1-E77E-4096-AA0A-0D18D557C41A}:113.2780.fc8a432.0 MSG:*
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:13:33,769 JOSEPHKANAWALL PID:1884 THID:2200 ID:{89FB0EC8-FDD2-48a5GetName-BC0A-8F129E540367}:367.2780.fc8a432.0 MSG:aA8raCqbw64KJOAu78A==
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:13:33,769 JOSEPHKANAWALL PID:1884 THID:2200 ID:{50BC40F1-E77E-4096-AA0A-0D18D557C41A}:141.2780.fc8a432.0 MSG:*
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:13:39,759 JOSEPHKANAWALL PID:1884 THID:2200 ID:{50BC40F1-E77E-4096-AA0A-0D18D557C41A}:296.2780.fc8a432.0 MSG:*
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:13:39,759 JOSEPHKANAWALL PID:1884 THID:2200 ID:{50BC40F1-E77E-4096-AA0A-0D18D557C41A}:376.2780.fc8a432.0 MSG:*
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:13:39,759 JOSEPHKANAWALL PID:1884 THID:2200 ID:{50BC40F1-E77E-4096-AA0A-0D18D557C41A}:417.2780.fc8a432.0 MSG:*
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:13:39,759 JOSEPHKANAWALL PID:1884 THID:2200 ID:{50BC40F1-E77E-4096-AA0A-0D18D557C41A}:341.2780.fc8a432.0 MSG:*
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:14:18,460 JOSEPHKANAWALL PID:1884 THID:2836 ID:{89FB0EC8-FDD2-48a5GetName-BC0A-8F129E540367}:464.2780.fc8a432.0 MSG:aCrCXRv1ajjn4utGUY8sCGKNClrg=
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:14:18,460 JOSEPHKANAWALL PID:1884 THID:2836 ID:{89FB0EC8-FDD2-48a5GetName-BC0A-8F129E540367}:518.2780.fc8a432.0 MSG:*
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:15:18,461 JOSEPHKANAWALL PID:1884 THID:2836 ID:{89FB0EC8-FDD2-48a5GetName-BC0A-8F129E540367}:464.2780.fc8a432.0 MSG:aDZragiaP6Gg+md29ctWpezDHvYA=
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:15:18,461 JOSEPHKANAWALL PID:1884 THID:2836 ID:{89FB0EC8-FDD2-48a5GetName-BC0A-8F129E540367}:518.2780.fc8a432.0 MSG:*
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:16:18,461 JOSEPHKANAWALL PID:1884 THID:2836 ID:{89FB0EC8-FDD2-48a5GetName-BC0A-8F129E540367}:464.2780.fc8a432.0 MSG:aBwx2I26wY48asWhdAFbAuq5vztA=
|
||||||
|
[AVG.IDPSDK] INFO 2012-12-27 01:16:18,461 JOSEPHKANAWALL PID:1884 THID:2836 ID:{89FB0EC8-FDD2-48a5GetName-BC0A-8F129
|
After Width: | Height: | Size: 228 B |