In other languages: Čeština Deutsch Français 日本語 한국어 Nederlands Polski Русский Українська 简体中文

Lamp: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "thumb|256px The lamp is a basic electric device providing brightness in a small area at night. {| class="wikitable" | '''Recipe:''' || {{icon|iron-...")
 
mNo edit summary
 
(31 intermediate revisions by 16 users not shown)
Line 1: Line 1:
[[File:lamp-example-1.png|thumb|256px]]
{{Languages}}
The lamp is a basic electric device providing brightness in a small area at night.
{{:Infobox:Lamp}}
{| class="wikitable"
 
| '''Recipe:''' || {{icon|iron-plate|1|Iron plate}} + {{icon|iron-stick|3|Iron stick}} + {{icon|electronic-circuit|1|Electronic circuit}} + {{icon|time icon|1|time}} => {{icon|lamp|1|Lamp}}
[[File:lamp-example-1.png|thumb|Radius of a single lamp.|256px]]
|-
[[File:Lamp colors.png|thumb|Many lamp colors.|256px]]
| '''Max power:''' || 13 W ([[Electric network|electric]])
The '''lamp''' is a basic electric device providing light to a medium area (10 tile radius) at night. It can be used to increase visibility in a factory, so [[nightvision]] is not needed. Lamps can be toggled to always be on, regardless of time of day.
|-
 
|}
== Color ==
 
Lamp colors can be changed by customizing the color with RGB values. This can also be done by sending a color signal to the lamp. When the condition inside the lamp passes, instead of lighting up white, it will use that color. This can be used to create colored displays, or indicate status. If more than one color signal is received, precedence is given to them in the order below (i.e. if red and green are received, the lamp will light red). As of now, attempting to use grey or black signals will just dim the lamp's light range, making those signal colors somewhat useless.
 
When attached to a circuit, and the "Use colors" option is selected, the lamp can be configured to use color mapping, which controls the lamp's output based on color signals passed to it, or color components can be used, which are specified by red, blue and green signals separately. A packed RGB value can also be used, which uses an eight digit hex color for the color. The lamp can appear as black when the color components option is used while being turned off.
<!-- Colored lamps illuminate only to a 1.5 tile radius.
 
Available colors:
* {{Color|ff6666}} <span style="color:#FF7777">Red</span>
* {{Color|55dd55}} <span style="color:#55dd55">Green</span>
* {{Color|8888FF}} <span style="color:#aaaaFF">Blue</span>
* {{Color|FFFF55}} <span style="color:#FFFF55">Yellow</span>
* {{Color|FF77FF}} <span style="color:#FF77FF">Magenta</span>
* {{Color|77FFFF}} <span style="color:#77FFFF">Cyan</span>
* {{Color|FFFFFF}} <span style="color:#FFFFFF">White</span>
 
Not implemented:
* {{Color|555555}} Gray
* {{Color|000000}} <span style="color:#999999">Black</span>-->
 
[[File:Lamp_circuit_gui.png|GUI of a lamp attached to a circuit network.]]
 
== History ==
 
{{history|0.17.0|
* Balancing: Lamp recipe iron sticks ingredient changed to copper cables.}}
 
{{history|0.13.16|
* Changed default value of "lights render resolution" graphics option to 0.25. This can be increased at the cost of performance.}}
 
{{history|0.13.0|
* Implemented lamp colors based on received signal.}}
 
{{history|0.12.1|
* Circuit network conditions can be copy and pasted between lamps.}}
 
{{history|0.12.0|
* The lamp can be connected to the [[circuit network]].}}
 
{{history|0.10.1|
* Reduced slowdowns when drawing many lights.}}
 
{{history|0.5.0|
* New graphics}}
 
{{history|0.2.0|
* Introduced}}


== See also ==
== See also ==
* [[Electric network]]
* [[Electric system]]


[[Category: Items]]
{{LogisticsNav}}
{{C|Circuit network}}

Latest revision as of 17:12, 27 October 2024

Lamp.png
Lamp

Lamp entity anim.gif

Recipe

Time.png
0.5
+
Copper cable.png
3
+
Electronic circuit.png
1
+
Iron plate.png
1
Lamp.png
1

Total raw

Time.png
2.5
+
Copper plate.png
3
+
Iron plate.png
2

Map color

Health

Quality normal.png 100
Quality uncommon.png 130 Quality rare.png 160
Quality epic.png 190 Quality legendary.png 250

Stack size

50

Rocket capacity

50 (1 stack)

Dimensions

1×1

Energy consumption

5 kW (electric)

Mining time

0.1

Prototype type

lamp

Internal name

small-lamp

Required technologies

Lamp (research).png

Produced by

Assembling machine 1.png
Assembling machine 2.png
Assembling machine 3.png
Player.png
Radius of a single lamp.
Many lamp colors.

The lamp is a basic electric device providing light to a medium area (10 tile radius) at night. It can be used to increase visibility in a factory, so nightvision is not needed. Lamps can be toggled to always be on, regardless of time of day.

Color

Lamp colors can be changed by customizing the color with RGB values. This can also be done by sending a color signal to the lamp. When the condition inside the lamp passes, instead of lighting up white, it will use that color. This can be used to create colored displays, or indicate status. If more than one color signal is received, precedence is given to them in the order below (i.e. if red and green are received, the lamp will light red). As of now, attempting to use grey or black signals will just dim the lamp's light range, making those signal colors somewhat useless.

When attached to a circuit, and the "Use colors" option is selected, the lamp can be configured to use color mapping, which controls the lamp's output based on color signals passed to it, or color components can be used, which are specified by red, blue and green signals separately. A packed RGB value can also be used, which uses an eight digit hex color for the color. The lamp can appear as black when the color components option is used while being turned off.

GUI of a lamp attached to a circuit network.

History

  • 0.17.0:
    • Balancing: Lamp recipe iron sticks ingredient changed to copper cables.
  • 0.13.16:
    • Changed default value of "lights render resolution" graphics option to 0.25. This can be increased at the cost of performance.
  • 0.13.0:
    • Implemented lamp colors based on received signal.
  • 0.12.1:
    • Circuit network conditions can be copy and pasted between lamps.
  • 0.10.1:
    • Reduced slowdowns when drawing many lights.

See also