cleaning debug output
This commit is contained in:
parent
c0b3acd647
commit
6c54aabc94
2 changed files with 3 additions and 4 deletions
|
@ -144,7 +144,6 @@ updateNPCs imgmat rp dt = do
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
objects -> do
|
objects -> do
|
||||||
liftIO $ logIO Debug ("applicable objects: " ++ show objects)
|
|
||||||
rind <- liftIO $ randomRIO (0, length objects - 1)
|
rind <- liftIO $ randomRIO (0, length objects - 1)
|
||||||
npcent <- queryEnt
|
npcent <- queryEnt
|
||||||
let (oent, _, _) = objects !! rind
|
let (oent, _, _) = objects !! rind
|
||||||
|
|
|
@ -20,7 +20,7 @@ instance ObjectAction ObjType ObjState where
|
||||||
mtime <- queryMaybe objStateTime
|
mtime <- queryMaybe objStateTime
|
||||||
case mtime of
|
case mtime of
|
||||||
Nothing -> do
|
Nothing -> do
|
||||||
liftIO $ logIO Debug ("Copier " ++ show ent ++ ": copying!")
|
liftIO $ logIO Verbose ("Copier " ++ show ent ++ ": copying!")
|
||||||
return unchanged
|
return unchanged
|
||||||
{ objStateTime = Set (actionTime t s)
|
{ objStateTime = Set (actionTime t s)
|
||||||
, objState = Set "copying"
|
, objState = Set "copying"
|
||||||
|
@ -45,7 +45,7 @@ instance ObjectAction ObjType ObjState where
|
||||||
mtime <- queryMaybe objStateTime
|
mtime <- queryMaybe objStateTime
|
||||||
case mtime of
|
case mtime of
|
||||||
Nothing -> do
|
Nothing -> do
|
||||||
liftIO $ logIO Debug ("Computer " ++ show ent ++ ": on!")
|
liftIO $ logIO Verbose ("Computer " ++ show ent ++ ": on!")
|
||||||
let dur = actionTime t s
|
let dur = actionTime t s
|
||||||
return unchanged
|
return unchanged
|
||||||
{ objStateTime = Set dur
|
{ objStateTime = Set dur
|
||||||
|
@ -80,7 +80,7 @@ instance ObjectAction ObjType ObjState where
|
||||||
mtime <- queryMaybe objStateTime
|
mtime <- queryMaybe objStateTime
|
||||||
case mtime of
|
case mtime of
|
||||||
Nothing -> do
|
Nothing -> do
|
||||||
liftIO $ logIO Debug ("Computer " ++ show ent ++ ": hacking!")
|
liftIO $ logIO Verbose ("Computer " ++ show ent ++ ": hacking!")
|
||||||
return unchanged
|
return unchanged
|
||||||
{ objStateTime = Set (actionTime t s)
|
{ objStateTime = Set (actionTime t s)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue