diff options
| author | Catelite <liclockwork@yahoo.com> | 2012-06-13 11:34:21 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-13 12:51:24 (GMT) |
| commit | a104696620d7935984a6dab2a1514ff72e8a1872 (patch) | |
| tree | 45dc6d93116b9928c0f2b27fd21faecb976fc14c /src/elements/elec.c | |
| parent | 6c3034acffc79f810d20cd04d14134c7ac2ada0e (diff) | |
| download | powder-a104696620d7935984a6dab2a1514ff72e8a1872.zip powder-a104696620d7935984a6dab2a1514ff72e8a1872.tar.gz | |
Update to EXOT that makes it permeable to neutrons as well as electrons. Neutrons cause a water>distilled water spread that enables EXOT's copy function, at its original speed. Electrons reset mode, but not tmp2. Trippy monochrome colors for copy mode.
Conflicts:
src/elements/exot.c
Diffstat (limited to 'src/elements/elec.c')
| -rw-r--r-- | src/elements/elec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/elements/elec.c b/src/elements/elec.c index 12f9fac..2ea1dfc 100644 --- a/src/elements/elec.c +++ b/src/elements/elec.c @@ -95,7 +95,10 @@ int update_ELEC(UPDATE_FUNC_ARGS) { return 1; } if ((r&0xFF)==PT_EXOT) + { parts[r>>8].tmp2 += 5; + parts[r>>8].life = 1000; + } if (ptypes[r&0xFF].properties & PROP_CONDUCTS && ((r&0xFF)!=PT_NBLE||parts[i].temp<2273.15)) { create_part(-1, x+rx, y+ry, PT_SPRK); |
