Difference between revisions of "Element:DRAY"

From The Powder Toy
Jump to: navigation, search
m (moved Element:Dray to Element:DRAY: Element name should be in capitals)
m (Reverted edits by zhenyakalinin (talk) to last revision by gunpowderTR)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Element Dray copies whatever is in front of it when powered
+
{{ infobox Element
 +
| icon = DRAY.png
 +
| longname = Duplicator ray
 +
| image =
 +
 
 +
| identifier = DEFAULT_PT_DRAY
 +
| name = DRAY
 +
| description = Replicates a line of particles in front of it.
 +
| colour = FFAA22
 +
| menusection = SC_ELEC
 +
| menuvisible = 1
 +
| advection = 0
 +
| airdrag = 0
 +
| airloss = 0.9
 +
| loss = 0
 +
| collision = 0
 +
| diffusion = 0
 +
| explosive = 0
 +
| falldown = 0
 +
| flammable = 0
 +
| gravity = 0
 +
| hardness = 1
 +
| heatconduct = 0
 +
| hotair = 0
 +
| meltable = 0
 +
| state = ST_SOLID
 +
| temperature = 295.15
 +
| weight = 100
 +
| properties = TYPE_SOLID PROP_LIFE_DEC
 +
| lowtemperature =
 +
| lowtemperaturetransition =
 +
| hightemperature =
 +
| hightemperaturetransition =
 +
| lowpressure =
 +
| lowpressuretransition =
 +
| highpressure =
 +
| highpressuretransition =
 +
}}
 +
 
 +
When powered, this element copies what is in front of it. <br/>
 +
By default this will usually double whatever it is copying, but you can set its:<br/>
 +
 
 +
'''tmp''' to any non-zero value to set how many pixels to copy (instead of stopping at an empty space)<br/>
 +
 
 +
'''tmp2''' to set how much space to leave between each copy<br/>
 +
 
 +
'''ctype''' to set what element to stop copying on (instead of empty space)<br/>
 +
 
 +
 
 +
When sparked by:<br/>
 +
{{Material| INWR}}, it doesn't copy diagonally. <br/>
 +
{{Material| PSCN}}, it will replace existing particles when placing the copy down.<br/>
 +
 
 +
== Example Saves ==
 +
{|border="1" cellpadding="5" cellspacing="0"
 +
|-
 +
| Usage examples
 +
| {{ save | id=1615589 }}
 +
|}
 +
 
 +
{{Languages}}
 +
 
 +
[[Category:Work in progress]]

Latest revision as of 13:50, 27 June 2019

DRAY.png Duplicator ray
Properties
Section Electronics
Spawn temperature 22°C
Heat Conductivity 0%
Relative weight 100
Gravity 0
Acid dissolve rate 0.1%
Flammability 0
State Solid
Misc properties
Source code


When powered, this element copies what is in front of it.
By default this will usually double whatever it is copying, but you can set its:

tmp to any non-zero value to set how many pixels to copy (instead of stopping at an empty space)

tmp2 to set how much space to leave between each copy

ctype to set what element to stop copying on (instead of empty space)


When sparked by:
INWR, it doesn't copy diagonally.
PSCN, it will replace existing particles when placing the copy down.

Example Saves

Usage examples
Language: [[::Element:DRAY|English]]