V0.2.1 : Corrected errors in new Stench blob.
This commit is contained in:
parent
41707f3db7
commit
3d19573f66
|
@ -37,5 +37,4 @@ public class StenchGas extends Blob {
|
||||||
public String tileDesc() {
|
public String tileDesc() {
|
||||||
return "A cloud of fetid stench is swirling here.";
|
return "A cloud of fetid stench is swirling here.";
|
||||||
}
|
}
|
||||||
} {
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,7 +101,7 @@ public class Speck extends Image {
|
||||||
case TOXIC:
|
case TOXIC:
|
||||||
case PARALYSIS:
|
case PARALYSIS:
|
||||||
case DUST:
|
case DUST:
|
||||||
case STINK:
|
case STENCH:
|
||||||
frame( film.get( STEAM ) );
|
frame( film.get( STEAM ) );
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -283,7 +283,7 @@ public class Speck extends Image {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case STENCH:
|
case STENCH:
|
||||||
hardlight( 0x383825 );
|
hardlight( 0x002200 );
|
||||||
angularSpeed = -30;
|
angularSpeed = -30;
|
||||||
angle = Random.Float( 360 );
|
angle = Random.Float( 360 );
|
||||||
lifespan = Random.Float( 1f, 3f );
|
lifespan = Random.Float( 1f, 3f );
|
||||||
|
@ -394,6 +394,11 @@ public class Speck extends Image {
|
||||||
scale.set( 1 + p * 2 );
|
scale.set( 1 + p * 2 );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case STENCH:
|
||||||
|
am = (p < 0.5f ? p : 1 - p) * 2;
|
||||||
|
scale.set( 1 + p * 2 );
|
||||||
|
break;
|
||||||
|
|
||||||
case JET:
|
case JET:
|
||||||
am = (p < 0.5f ? p : 1 - p) * 2;
|
am = (p < 0.5f ? p : 1 - p) * 2;
|
||||||
scale.set( p * 1.5f );
|
scale.set( p * 1.5f );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user