Difference between revisions of "Element:LDTC"
(Enter a short summary [b]) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ infobox Element | {{ infobox Element | ||
− | | icon = | + | | icon = LDTC.png |
| longname = Linear Detector | | longname = Linear Detector | ||
| image = | | image = | ||
| identifier = DEFAULT_PT_LDTC | | identifier = DEFAULT_PT_LDTC | ||
− | | name = | + | | name = LDTC |
| description = Linear detector. Scans in 8 directions for particles with its ctype and creates a spark on the opposite side. | | description = Linear detector. Scans in 8 directions for particles with its ctype and creates a spark on the opposite side. | ||
− | | colour = | + | | colour = 66FF66 |
| menusection = SC_SENSOR | | menusection = SC_SENSOR | ||
| menuvisible = 1 | | menuvisible = 1 | ||
Line 56: | Line 56: | ||
Tips/uses/etc:<br/> | Tips/uses/etc:<br/> | ||
− | It can be used to make electronics much smaller. Not only can it detect and change FILT without having to use or deal with the problems of [[Element:DRAY| DRAY]], but it also has a farther and more controlled range than DTEC. Its usable life property allows you to specifically control where to look for particles. You can also make them look for certain types of particles by layering them. | + | It can be used to make electronics much smaller. Not only can it detect and change FILT without having to use or deal with the problems of [[Element:DRAY| DRAY]], but it also has a farther and more controlled range than DTEC. Its usable life property allows you to specifically control where to look for particles. You can also make them look for certain types of particles by layering them.<br/> |
− | + | == Example Saves == | |
+ | {|border="1" cellpadding="5" cellspacing="0" | ||
+ | |- | ||
+ | | Usage examples | ||
+ | | {{ save | id=2387282}} | ||
+ | |} | ||
{{Languages}} | {{Languages}} |
Latest revision as of 07:18, 16 January 2020
Properties | |
---|---|
Section | Sensors |
Spawn temperature | 22°C |
Heat Conductivity | 0% |
Relative weight | 100 |
Gravity | 0 |
Acid dissolve rate | 0% |
Flammability | 0 |
State | Solid |
Source code |
LDTC, Linear Detector, originally called RAYT (Ray Tracer) detects particles in 8 directions (up, down, left, right, and four 45 degree diagonals) and sparks a conductor in the opposite direction. The particle it detects is set by its ctype. If the ctype is not set, it can detect any particles. Note that the particle must be in line with the conductor and LDTC to be detected (hence the name Linear Detector).
The tmp value of LDTC determines its range (how far away it can detect particles). Note that the range is not limited to 25, unlike DTEC.
The life of LDTC determines how many spaces it will skip before scanning. For instance, if its life is 10 and its tmp is 15, it will skip 10 spaces, scan for 15 spaces, and then stop.
Important note: LDTC will stop scanning once it has found a particle, whether or not that particle matches its ctype. Unless its life is set to >1, placing conductors all around it will impede its function. This can be changed by changing the modes as shown below.
LDTC can detect the ctype of BRAY and FILT and dump it onto a line of FILT, just like DTEC.
The tmp2 of LDTC sets different modes:
tmp2=0: Default
tmp2=1: Invert mode (any particle except its ctype)
tmp2=2: Will ignore energy particles ( NEUT, ELEC, etc.)
tmp2=4: Will not set FILT ctype/color.
tmp2=8: Will keep searching even after it has found a particle.
Tips/uses/etc:
It can be used to make electronics much smaller. Not only can it detect and change FILT without having to use or deal with the problems of DRAY, but it also has a farther and more controlled range than DTEC. Its usable life property allows you to specifically control where to look for particles. You can also make them look for certain types of particles by layering them.
Example Saves
Usage examples | 2387282View save 2387282
|
Language: | [[::Element:LDTC|English]] |
---|