Difference between revisions of "Element:FILT"
m (not really WIP) |
(Update infobox) |
||
Line 2: | Line 2: | ||
| icon = FILT.png | | icon = FILT.png | ||
| longname = Filter | | longname = Filter | ||
− | + | | image = | |
− | | | + | | identifier = DEFAULT_PT_FILT |
− | + | | name = FILT | |
− | | | + | | description = Filter for photons, changes the color. |
− | | | ||
| colour = 000056 | | colour = 000056 | ||
− | | | + | | menusection = SC_SOLIDS |
− | | | + | | menuvisible = 1 |
+ | | advection = 0 | ||
+ | | airdrag = 0 | ||
+ | | airloss = 0.9 | ||
+ | | loss = 0 | ||
+ | | collision = 0 | ||
+ | | diffusion = 0 | ||
| explosive = 0 | | explosive = 0 | ||
| falldown = 0 | | falldown = 0 | ||
| flammable = 0 | | flammable = 0 | ||
− | | gravity = | + | | gravity = 0 |
| hardness = 1 | | hardness = 1 | ||
| heatconduct = 251 | | heatconduct = 251 | ||
− | | | + | | hotair = 0 |
− | | | + | | meltable = 0 |
+ | | state = ST_SOLID | ||
+ | | temperature = 295.15 | ||
+ | | weight = 100 | ||
+ | | properties = TYPE_SOLID PROP_LIFE_DEC PROP_NOAMBHEAT | ||
+ | | lowtemperature = | ||
+ | | lowtemperaturetransition = | ||
| hightemperature = | | hightemperature = | ||
| hightemperaturetransition = | | hightemperaturetransition = | ||
− | |||
− | |||
− | |||
| lowpressure = | | lowpressure = | ||
| lowpressuretransition = | | lowpressuretransition = | ||
− | | | + | | highpressure = |
− | | | + | | highpressuretransition = |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
+ | |||
== Creation == | == Creation == | ||
Line 58: | Line 61: | ||
* 8 (NOT): Inverses the color of the photons passing through. Filter's color has no effect. | * 8 (NOT): Inverses the color of the photons passing through. Filter's color has no effect. | ||
* 9 (old QRTZ scattering): Mimicks legacy version of QRTZ. Photons will be reflected with a new, random color. | * 9 (old QRTZ scattering): Mimicks legacy version of QRTZ. Photons will be reflected with a new, random color. | ||
− | * everything else (unknown mode): Acts like mode | + | * everything else (unknown mode): Acts like mode 6. But don't set it to this, otherwise your save might break if new modes are added in the future. Use mode 6 instead. |
== Examples == | == Examples == |
Revision as of 10:49, 6 October 2014
Properties | |
---|---|
Section | Solids |
Spawn temperature | 22°C |
Heat Conductivity | 100% |
Relative weight | 100 |
Gravity | 0 |
Acid dissolve rate | 0.1% |
Flammability | 0 |
State | Solid |
Misc properties | |
Source code |
Creation
Only with brush, cannot be created with reactions.
Usage
Filter's color is changed based on it's temperature. It will scale from dark blue to dark red, from temperature scale of 200C to 840C. Filter has high temperature conductivity and therefore it's color can be changed during simulation.
Filters will color BIZR and BRAY (not PSCN type) passing through it. However, most of FILT's uses are in photons.
NOTICE: Descriptions for tmp modes will be added in 89.0, as well as modes 4-9. Depending of the tmp value of FILT, here are the reactions:
- 0 (set colour): Will color photons passing through.
- 1 (AND): Will filter a color out of photons. This means that completely red photons will be destroyed, but purple photons turn into blue ones.
- 2 (OR): Adds the filter's color to the color of passing photons.
- 3 (subtract colour): Removes the filter's color from the color of passing photons.
- 4 (red shift): Does a binary left shift with the color depending on the temperature, making the color more red.
- 5 (blue shift): Does a binary right shift with the color depending on the temperature, making the color more blue.
- 6 (no effect): Allows photons to pass through without affecting them.
- 7 (XOR): Performs a XOR with the color of the photons passing through. For example, if the photons are blue and they pass through a red filter with XOR mode, they become purple: and if the photons are purple, they'll turn blue.
- 8 (NOT): Inverses the color of the photons passing through. Filter's color has no effect.
- 9 (old QRTZ scattering): Mimicks legacy version of QRTZ. Photons will be reflected with a new, random color.
- everything else (unknown mode): Acts like mode 6. But don't set it to this, otherwise your save might break if new modes are added in the future. Use mode 6 instead.
Examples
A thermometer done with using FILT. | 94307View save 94307
|
A spectrum analyzer, which can detect the color of incoming photons. | 708720View save 708720
|