Remove unused datatype
This commit is contained in:
@@ -6,6 +6,7 @@ crMass :: CreatureType -> Float
|
||||
crMass = \case
|
||||
Avatar {} -> 10
|
||||
ChaseCrit {} -> 10
|
||||
HoverCrit {} -> 5
|
||||
SwarmCrit -> 2
|
||||
AutoCrit -> 10
|
||||
BarrelCrit{} -> 10
|
||||
|
||||
@@ -9,6 +9,7 @@ crMaterial :: CreatureType -> Material
|
||||
crMaterial = \case
|
||||
Avatar{_avatarMaterial = mt} -> mt
|
||||
ChaseCrit {} -> Flesh
|
||||
HoverCrit {} -> Metal
|
||||
SwarmCrit -> Flesh
|
||||
AutoCrit -> Flesh
|
||||
BarrelCrit{} -> Metal
|
||||
|
||||
@@ -7,6 +7,7 @@ crMaxHP :: CreatureType -> Int
|
||||
crMaxHP = \case
|
||||
Avatar {} -> 15000
|
||||
ChaseCrit {} -> 150
|
||||
HoverCrit {} -> 100
|
||||
SwarmCrit -> 50
|
||||
AutoCrit -> 100
|
||||
BarrelCrit{} -> 100
|
||||
|
||||
@@ -9,6 +9,7 @@ crRad :: CreatureType -> Float
|
||||
crRad = \case
|
||||
Avatar {} -> 10
|
||||
ChaseCrit {} -> 10
|
||||
HoverCrit {} -> 8
|
||||
SwarmCrit -> 2
|
||||
AutoCrit -> 10
|
||||
BarrelCrit{} -> 10
|
||||
|
||||
@@ -7,9 +7,9 @@ import Dodge.Data.Creature.Misc
|
||||
|
||||
crShape :: CreatureType -> CreatureShape
|
||||
crShape = \case
|
||||
Avatar{} -> Humanoid (greyN 0.9) (lightx4 black) (greyN 0.3) InanimateAI
|
||||
ChaseCrit {} -> Humanoid (greyN 0.9) (lightx4 green) (greyN 0.3) ChaseAI
|
||||
SwarmCrit -> Humanoid (greyN 0.9) (lightx4 yellow) (greyN 0.3) SwarmAI
|
||||
AutoCrit -> Humanoid (greyN 0.9) (lightx4 red) (greyN 0.3) AutoAI
|
||||
Avatar{} -> Humanoid (greyN 0.9) (lightx4 black) (greyN 0.3)
|
||||
ChaseCrit {} -> Humanoid (greyN 0.9) (lightx4 green) (greyN 0.3)
|
||||
SwarmCrit -> Humanoid (greyN 0.9) (lightx4 yellow) (greyN 0.3)
|
||||
AutoCrit -> Humanoid (greyN 0.9) (lightx4 red) (greyN 0.3)
|
||||
BarrelCrit {} -> Barreloid
|
||||
LampCrit {} -> NonDrawnCreature
|
||||
|
||||
Reference in New Issue
Block a user