summaryrefslogtreecommitdiff
path: root/src/simulation
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-05-20 15:27:18 (GMT)
committer jacob1 <jfu614@gmail.com>2013-05-20 15:27:18 (GMT)
commit35f84a09422e5243432530e6239bfc3de5e9846c (patch)
tree27eef690fbb6bb8908bac0848fa76f12361b2518 /src/simulation
parent826b966668fe37d836de91cf29a6db0d1afee1f4 (diff)
parentd29b001d82547e3c2f2e5ef4cf30b84ce59934b7 (diff)
downloadpowder-35f84a09422e5243432530e6239bfc3de5e9846c.zip
powder-35f84a09422e5243432530e6239bfc3de5e9846c.tar.gz
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src/simulation')
-rw-r--r--src/simulation/elements/FIRW.cpp2
-rw-r--r--src/simulation/elements/FRAY.cpp2
-rw-r--r--src/simulation/elements/METL.cpp2
-rw-r--r--src/simulation/elements/PRTI.cpp2
-rw-r--r--src/simulation/elements/PRTO.cpp2
-rw-r--r--src/simulation/elements/VIBR.cpp2
-rw-r--r--src/simulation/elements/WIRE.cpp2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/simulation/elements/FIRW.cpp b/src/simulation/elements/FIRW.cpp
index aeedaf0..369b5c0 100644
--- a/src/simulation/elements/FIRW.cpp
+++ b/src/simulation/elements/FIRW.cpp
@@ -32,7 +32,7 @@ Element_FIRW::Element_FIRW()
Temperature = R_TEMP+0.0f +273.15f;
HeatConduct = 70;
- Description = "Fireworks! Colorful, set off by fire";
+ Description = "Fireworks! Colorful, set off by fire.";
State = ST_SOLID;
Properties = TYPE_PART|PROP_LIFE_DEC;
diff --git a/src/simulation/elements/FRAY.cpp b/src/simulation/elements/FRAY.cpp
index 8eed23c..c20e1a3 100644
--- a/src/simulation/elements/FRAY.cpp
+++ b/src/simulation/elements/FRAY.cpp
@@ -28,7 +28,7 @@ Element_FRAY::Element_FRAY()
Temperature = 20.0f+0.0f +273.15f;
HeatConduct = 0;
- Description = "Force Emitter. Pushes or pulls objects based on its temp value. Use like ARAY.";
+ Description = "Force Emitter. Pushes or pulls objects based on its temperature. Use like ARAY.";
State = ST_SOLID;
Properties = TYPE_SOLID|PROP_LIFE_DEC;
diff --git a/src/simulation/elements/METL.cpp b/src/simulation/elements/METL.cpp
index d504e57..5b2c8fb 100644
--- a/src/simulation/elements/METL.cpp
+++ b/src/simulation/elements/METL.cpp
@@ -28,7 +28,7 @@ Element_METL::Element_METL()
Temperature = R_TEMP+0.0f +273.15f;
HeatConduct = 251;
- Description = "The basic conductor, meltable and breaks under pressure.";
+ Description = "The basic conductor. Meltable.";
State = ST_SOLID;
Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_HOT_GLOW;
diff --git a/src/simulation/elements/PRTI.cpp b/src/simulation/elements/PRTI.cpp
index 2d629a6..aaddb4d 100644
--- a/src/simulation/elements/PRTI.cpp
+++ b/src/simulation/elements/PRTI.cpp
@@ -28,7 +28,7 @@ Element_PRTI::Element_PRTI()
Temperature = R_TEMP+0.0f +273.15f;
HeatConduct = 0;
- Description = "Portal IN. Particles go in here. Also has temperature dependent channels (same as WIFI)";
+ Description = "Portal IN. Particles go in here. Also has temperature dependent channels. (same as WIFI)";
State = ST_SOLID;
Properties = TYPE_SOLID;
diff --git a/src/simulation/elements/PRTO.cpp b/src/simulation/elements/PRTO.cpp
index 218ce78..6ec11b4 100644
--- a/src/simulation/elements/PRTO.cpp
+++ b/src/simulation/elements/PRTO.cpp
@@ -28,7 +28,7 @@ Element_PRTO::Element_PRTO()
Temperature = R_TEMP+0.0f +273.15f;
HeatConduct = 0;
- Description = "Portal OUT. Particles come out here. Also has temperature dependent channels (same as WIFI)";
+ Description = "Portal OUT. Particles come out here. Also has temperature dependent channels. (same as WIFI)";
State = ST_SOLID;
Properties = TYPE_SOLID;
diff --git a/src/simulation/elements/VIBR.cpp b/src/simulation/elements/VIBR.cpp
index 0d27702..cf6d2f5 100644
--- a/src/simulation/elements/VIBR.cpp
+++ b/src/simulation/elements/VIBR.cpp
@@ -157,7 +157,7 @@ int Element_VIBR::update(UPDATE_FUNC_ARGS) {
{
if (!parts[r>>8].life)
parts[r>>8].tmp += 45;
- else if (parts[i].tmp2 && rand()%2)
+ else if (parts[i].tmp2 && parts[i].life > 75 && rand()%2)
{
parts[r>>8].tmp2 = 1;
parts[i].tmp = 0;
diff --git a/src/simulation/elements/WIRE.cpp b/src/simulation/elements/WIRE.cpp
index 6d4c1a7..6c5e9d7 100644
--- a/src/simulation/elements/WIRE.cpp
+++ b/src/simulation/elements/WIRE.cpp
@@ -28,7 +28,7 @@ Element_WIRE::Element_WIRE()
Temperature = R_TEMP+0.0f +273.15f;
HeatConduct = 250;
- Description = "WireWorld wires, conducts based on a set of GOL-like rules";
+ Description = "WireWorld wires, conducts based on a set of GOL-like rules.";
State = ST_SOLID;
Properties = TYPE_SOLID;