summaryrefslogtreecommitdiff
path: root/src/powder.c
diff options
context:
space:
mode:
authorCate <cate@cate-6sh2.(none)>2011-07-11 18:09:34 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-07-12 13:00:21 (GMT)
commit0ce4104c7aacd6151d52a0b11a36e315cf8a5a67 (patch)
treefd99304bfe55207fe3ebe8d989d578aadec68d25 /src/powder.c
parent0858b18255a5a31de7ebc677b6d36c73a43652d8 (diff)
downloadpowder-0ce4104c7aacd6151d52a0b11a36e315cf8a5a67.zip
powder-0ce4104c7aacd6151d52a0b11a36e315cf8a5a67.tar.gz
Added CLST element, which is Clay dust, for making concrete with water. :D Neat due to element cohesion with itself, which causes it to sludge downwards in a way very uncharacteristic of any current powder. Cohesion is very easy to modify. Thanks to Savask for help with cohesion code. :D
Diffstat (limited to 'src/powder.c')
-rw-r--r--src/powder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/powder.c b/src/powder.c
index 1db8b3a..e1457c7 100644
--- a/src/powder.c
+++ b/src/powder.c
@@ -851,6 +851,8 @@ inline int create_part(int p, int x, int y, int tv)//the function for creating a
parts[i].tmp = (rand()%11);
if (t==PT_PQRT)
parts[i].tmp = (rand()%11);
+ if (t==PT_CLST)
+ parts[i].tmp = (rand()%7);
if (t==PT_FSEP)
parts[i].life = 50;
if (t==PT_COAL) {