The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Discussions
/
Development Assistance
/
How can I code diodes?
«
1
»
How can I code diodes?
Diissaster
26th Feb 2011
Member
0
Permalink
How can I code diodes? I am doing them for two new conductors, PCON and NCON. I am trying to make a diode of METL and PCON. PCON > METL but METL !> PCON.
little-ditch
26th Feb 2011
Member
0
Permalink
maybe you could look at pscn and nscn
Diissaster
26th Feb 2011
Member
0
Permalink
1) You are not a coder.
2) Would I really post here without having a good look at the source first?
EDIT: I found it in sprk.c ! :
if (ct==PT_NSCN && rt==PT_PSCN)
conduct_sprk = 0;
«
1
»