Make the electric lamp status better visible when working on days

This commit is contained in:
Sebastian Joseph 2015-11-06 23:57:08 +01:00 committed by darkrose
parent ba5fa476bf
commit bd98d9fe02
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 B

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

View File

@ -371,14 +371,14 @@ void content_mapnode_circuit(bool repeat)
f->solidness = 0; // drawn separately, makes no faces
f->visual_solidness = 1;
f->param_type = CPT_LIGHT;
f->draw_type = CDT_GLASSLIKE;
f->draw_type = CDT_CUBELIKE;
f->light_propagates = true;
f->sunlight_propagates = true;
f->energy_type = CET_CONDUCTIVE;
f->light_source = LIGHT_MAX-1;
f->unpowered_node = CONTENT_CIRCUIT_LAMP_OFF;
f->dug_item = std::string("MaterialItem2 ")+itos(CONTENT_CIRCUIT_LAMP_OFF)+" 1";
f->setAllTextures("circuit_lamp.png");
f->setAllTextures("circuit_lamp_on.png");
#ifndef SERVER
f->setAllTextureTypes(MATERIAL_ALPHA_BLEND);
#endif