Move configuration from world to universe
This commit is contained in:
@@ -5,10 +5,10 @@ import Dodge.Creature
|
||||
|
||||
import Control.Lens
|
||||
|
||||
applyTerminalString :: String -> World -> World
|
||||
applyTerminalString :: String -> Universe -> Universe
|
||||
applyTerminalString "NOCLIP" w = w & config . debug_noclip %~ not
|
||||
applyTerminalString "LOADME" w = w & creatures . ix 0 . crInv .~ stackedInventory
|
||||
applyTerminalString "LM" w = w & creatures . ix 0 . crInv .~ stackedInventory
|
||||
applyTerminalString "LOADME" w = w & uvWorld . creatures . ix 0 . crInv .~ stackedInventory
|
||||
applyTerminalString "LM" w = applyTerminalString "LOADME" w
|
||||
applyTerminalString _ w = w
|
||||
|
||||
loadme :: a
|
||||
|
||||
Reference in New Issue
Block a user