Difference between revisions of "Element:SWCH"

From The Powder Toy
Jump to: navigation, search
(Created page with "{{ infobox Element | icon = SWCH.png | longname = Switch | image = [] | advection = 0.0 | airdrag = 0.00 | airloss = 0.90 | collision = 0.00 | colour = 103B11 | description = So...")
 
m (Added a reaction between TRON & SWCH)
 
(7 intermediate revisions by 6 users not shown)
Line 2: Line 2:
 
| icon = SWCH.png
 
| icon = SWCH.png
 
| longname = Switch
 
| longname = Switch
| image = []
+
| image =  
  
| advection = 0.0
+
| identifier = DEFAULT_PT_SWCH
| airdrag = 0.00
+
| name = SWCH
| airloss = 0.90
+
| description = Only conducts when switched on. (PSCN switches on, NSCN switches off)
| collision = 0.00
 
 
| colour = 103B11
 
| colour = 103B11
| description = Solid. Only conducts when switched on. (PSCN switches on, NSCN switches off)
+
| menusection = SC_ELEC
| diffusion = 0.00
+
| 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 = 0.00
+
| gravity = 0
 
| hardness = 1
 
| hardness = 1
 
| heatconduct = 251
 
| heatconduct = 251
| highpressure =  
+
| hotair = 0
| highpressuretransition =  
+
| meltable = 0
 +
| state = ST_SOLID
 +
| temperature = 295.15
 +
| weight = 100
 +
| properties = TYPE_SOLID
 +
| lowtemperature =
 +
| lowtemperaturetransition =  
 
| hightemperature =  
 
| hightemperature =  
 
| hightemperaturetransition =  
 
| hightemperaturetransition =  
| hotair = 0.000000
 
| identifier = DEFAULT_PT_SWCH
 
| loss = 0.00
 
 
| lowpressure =  
 
| lowpressure =  
 
| lowpressuretransition =  
 
| lowpressuretransition =  
| lowtemperature =  
+
| highpressure =  
| lowtemperaturetransition =  
+
| highpressuretransition =  
| meltable = 0
 
| name = SWCH
 
| properties = TYPE_SOLID | PROP_CONDUCTS | PROP_HOT_GLOW | PROP_LIFE_DEC
 
| state = ST_SOLID
 
| temperature = 295.15
 
| weight = 100
 
 
}}
 
}}
 +
== Reactions ==
  
==Creation==
+
It will turn on when sparked by {{Material|PSCN}} (it'll become bright green)
No way to create it other than placing it on the screen.
 
  
== Reactions ==
+
It will turn off when sparked by {{Material|NSCN}} (it'll become dark green)
SWCH reacts with sparked [[pscn]] by turning on (it'll become bright green)
+
 
SWCH reacts with sparked [[nscn]] by turning off (it'll become dark green)
+
When it's turned on, it will transmit {{Material|SPRK}} from most conductors, and let {{Material|BRAY}} pass through it.
Whenever it's turned on, SWCH will receive/send [[sprk]] from [[metl]] and will let [[bray]] pass through it, receiving a sprk in the process.
+
 
=== Properties ===
+
It can be also toggled with ''red'' {{Material|BRAY}} ({{Material|PSCN}} version). Two {{Material|BRAY}} have to hit it at the same time, one from a horizontal direction and the other one from a vertical direction.
A glitch in a previous version allowed you to melt swch although this has probably been fixed.
+
There should be nothing on the top-left or top-right of the {{Material|SWCH}}.
 +
 
 +
[[File:SWCH-TRON.gif|thumb|right|{{Material|TRON}} can pass through SWCH when activated]]
 +
 
 +
It might conduct at different speeds depending on where it is sparked from, this is a particle order issue. Once it is saved and reloaded it will start conducting more instantly from the top left, and conduct more normally from other sides.
  
 
== Uses ==
 
== Uses ==
Line 52: Line 58:
 
{|border="1" cellpadding="5" cellspacing="0"
 
{|border="1" cellpadding="5" cellspacing="0"
 
|-
 
|-
| This save shows swch used for memory
+
| This save shows SWCH used for memory
 
| {{ save | id=574663 }}
 
| {{ save | id=574663 }}
 
|}
 
|}
 
==Note==
 
This page needs to be improved/revised. I didn't put down all the info I should have (I didn't even edit most of the ptypes at all)
 
  
 
{{Languages}}
 
{{Languages}}

Latest revision as of 23:21, 5 January 2024

SWCH.png Switch
Properties
Section Electronics
Spawn temperature 22°C
Heat Conductivity 100%
Relative weight 100
Gravity 0
Acid dissolve rate 0.1%
Flammability 0
State Solid
Source code

Reactions

It will turn on when sparked by PSCN (it'll become bright green)

It will turn off when sparked by NSCN (it'll become dark green)

When it's turned on, it will transmit SPRK from most conductors, and let BRAY pass through it.

It can be also toggled with red BRAY (PSCN version). Two BRAY have to hit it at the same time, one from a horizontal direction and the other one from a vertical direction. There should be nothing on the top-left or top-right of the SWCH.

TRON can pass through SWCH when activated

It might conduct at different speeds depending on where it is sparked from, this is a particle order issue. Once it is saved and reloaded it will start conducting more instantly from the top left, and conduct more normally from other sides.

Uses

Good for many electronics, circuits, switches, batteries, etc. Very useful for creations that uses memory as well.

Examples

This save shows SWCH used for memory
Language: [[::Element:SWCH|English]]