diff options
| author | Catelite <liclockwork@yahoo.com> | 2012-06-06 19:20:25 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-07 13:03:53 (GMT) |
| commit | a360c2813562cc40b80afb33babaf59656a2c848 (patch) | |
| tree | f285914050dcb6ee5926c2cd0144044675f0c53a /src/elements | |
| parent | 4e3d87737edf8f862172c0f5e10585b0a567fc5a (diff) | |
| download | powder-a360c2813562cc40b80afb33babaf59656a2c848.zip powder-a360c2813562cc40b80afb33babaf59656a2c848.tar.gz | |
...Slowed down replication a ton. Interferes with making bombs a ton, and makes the element seem less like insta-paste. Will still be usable for machines, though.
Diffstat (limited to 'src/elements')
| -rw-r--r-- | src/elements/exot.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/elements/exot.c b/src/elements/exot.c index aeb77ce..adcdeec 100644 --- a/src/elements/exot.c +++ b/src/elements/exot.c @@ -33,8 +33,9 @@ int update_EXOT(UPDATE_FUNC_ARGS) { } } if (parts[i].tmp>245) - if ((r&0xFF)!=PT_EXOT && (r&0xFF)!=PT_BREL && (r&0xFF)!=PT_DMND && (r&0xFF)!=PT_CLNE && (r&0xFF)!=PT_PRTI && (r&0xFF)!=PT_PRTO && (r&0xFF)!=PT_PCLN && (r&0xFF)!=PT_PHOT && (r&0xFF)!=PT_VOID && (r&0xFF)!=PT_NBHL && (r&0xFF)!=PT_WARP) - create_part(i, x, y, parts[r>>8].type); + if (1>rand()%1000) + if ((r&0xFF)!=PT_EXOT && (r&0xFF)!=PT_BREL && (r&0xFF)!=PT_DMND && (r&0xFF)!=PT_CLNE && (r&0xFF)!=PT_PRTI && (r&0xFF)!=PT_PRTO && (r&0xFF)!=PT_PCLN && (r&0xFF)!=PT_PHOT && (r&0xFF)!=PT_VOID && (r&0xFF)!=PT_NBHL && (r&0xFF)!=PT_WARP) + create_part(i, x, y, parts[r>>8].type); } parts[i].tmp--; parts[i].tmp2--; |
