Trippy flamer
This commit is contained in:
+13
-1
@@ -179,5 +179,17 @@ defaultPP = PressPlate
|
||||
, _ppText = "Pressure plate"
|
||||
}
|
||||
|
||||
|
||||
defaultTLS :: TempLightSource
|
||||
defaultTLS = TLS
|
||||
{ _tlsPos = 0
|
||||
, _tlsRad = 0
|
||||
, _tlsIntensity = 0.5
|
||||
, _tlsUpdate = f
|
||||
, _tlsTime = 1
|
||||
}
|
||||
where
|
||||
f w t
|
||||
| _tlsTime t <= 0
|
||||
= (w, Nothing)
|
||||
| otherwise = (w, Just $ t & tlsTime -~ 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user