unkn own block -> unkn own node

This commit is contained in:
khonkhortisan 2013-03-19 11:05:32 -07:00 committed by PilzAdam
parent 1bae82e6c4
commit 1586cdac53
7 changed files with 11 additions and 11 deletions

View File

@ -253,8 +253,8 @@ minetest.register_item(":unknown", {
minetest.register_node(":air", { minetest.register_node(":air", {
description = "Air (you hacker you!)", description = "Air (you hacker you!)",
inventory_image = "unknown_block.png", inventory_image = "unknown_node.png",
wield_image = "unknown_block.png", wield_image = "unknown_node.png",
drawtype = "airlike", drawtype = "airlike",
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
@ -269,8 +269,8 @@ minetest.register_node(":air", {
minetest.register_node(":ignore", { minetest.register_node(":ignore", {
description = "Ignore (you hacker you!)", description = "Ignore (you hacker you!)",
inventory_image = "unknown_block.png", inventory_image = "unknown_node.png",
wield_image = "unknown_block.png", wield_image = "unknown_node.png",
drawtype = "airlike", drawtype = "airlike",
paramtype = "none", paramtype = "none",
sunlight_propagates = false, sunlight_propagates = false,

View File

@ -28,10 +28,10 @@ minetest.after(1.0, switch_player_visual)
]] ]]
minetest.register_node("experimental:soundblock", { minetest.register_node("experimental:soundblock", {
tile_images = {"unknown_block.png", "default_tnt_bottom.png", tile_images = {"unknown_node.png", "default_tnt_bottom.png",
"default_tnt_side.png", "default_tnt_side.png", "default_tnt_side.png", "default_tnt_side.png",
"default_tnt_side.png", "default_tnt_side.png"}, "default_tnt_side.png", "default_tnt_side.png"},
inventory_image = minetest.inventorycube("unknown_block.png", inventory_image = minetest.inventorycube("unknown_node.png",
"default_tnt_side.png", "default_tnt_side.png"), "default_tnt_side.png", "default_tnt_side.png"),
groups = {dig_immediate=3}, groups = {dig_immediate=3},
}) })

View File

@ -864,7 +864,7 @@ public:
m_spritenode = smgr->addBillboardSceneNode( m_spritenode = smgr->addBillboardSceneNode(
NULL, v2f(1, 1), v3f(0,0,0), -1); NULL, v2f(1, 1), v3f(0,0,0), -1);
m_spritenode->setMaterialTexture(0, m_spritenode->setMaterialTexture(0,
tsrc->getTextureRaw("unknown_block.png")); tsrc->getTextureRaw("unknown_node.png"));
m_spritenode->setMaterialFlag(video::EMF_LIGHTING, false); m_spritenode->setMaterialFlag(video::EMF_LIGHTING, false);
m_spritenode->setMaterialFlag(video::EMF_BILINEAR_FILTER, false); m_spritenode->setMaterialFlag(video::EMF_BILINEAR_FILTER, false);
m_spritenode->setMaterialType(video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF); m_spritenode->setMaterialType(video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF);
@ -1268,7 +1268,7 @@ public:
{ {
if(m_prop.visual == "sprite") if(m_prop.visual == "sprite")
{ {
std::string texturestring = "unknown_block.png"; std::string texturestring = "unknown_node.png";
if(m_prop.textures.size() >= 1) if(m_prop.textures.size() >= 1)
texturestring = m_prop.textures[0]; texturestring = m_prop.textures[0];
texturestring += mod; texturestring += mod;
@ -1334,7 +1334,7 @@ public:
{ {
for (u32 i = 0; i < 6; ++i) for (u32 i = 0; i < 6; ++i)
{ {
std::string texturestring = "unknown_block.png"; std::string texturestring = "unknown_node.png";
if(m_prop.textures.size() > i) if(m_prop.textures.size() > i)
texturestring = m_prop.textures[i]; texturestring = m_prop.textures[i];
texturestring += mod; texturestring += mod;

View File

@ -2388,7 +2388,7 @@ void the_game(
infotext = narrow_to_wide(meta->getString("infotext")); infotext = narrow_to_wide(meta->getString("infotext"));
} else { } else {
MapNode n = map.getNode(nodepos); MapNode n = map.getNode(nodepos);
if(nodedef->get(n).tiledef[0].name == "unknown_block.png"){ if(nodedef->get(n).tiledef[0].name == "unknown_node.png"){
infotext = L"Unknown node: "; infotext = L"Unknown node: ";
infotext += narrow_to_wide(nodedef->get(n).name); infotext += narrow_to_wide(nodedef->get(n).name);
} }

View File

@ -593,7 +593,7 @@ public:
{ {
tiledef[j] = f->tiledef[j]; tiledef[j] = f->tiledef[j];
if(tiledef[j].name == "") if(tiledef[j].name == "")
tiledef[j].name = "unknown_block.png"; tiledef[j].name = "unknown_node.png";
} }
bool is_liquid = false; bool is_liquid = false;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 582 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B