module Dodge.Debug.Terminal
    where
import Dodge.Data
import Dodge.Creature

import Control.Lens

applyTerminalString :: String -> World -> World
applyTerminalString "NOCLIP" w = w & config . debug_noclip %~ not
applyTerminalString "LOADME" w = w & creatures . ix 0 . crInv .~ stackedInventory
applyTerminalString _ w = w

