Work on weapon attachments
This commit is contained in:
@@ -38,7 +38,7 @@ applyTerminalCommand s = case s of
|
||||
|
||||
applyTerminalCommandArguments :: String -> [String] -> Universe -> Universe
|
||||
applyTerminalCommandArguments command args u = case command of
|
||||
"ITEM" -> fromMaybe u $ do
|
||||
"IT" -> fromMaybe u $ do
|
||||
(ibt, n) <- parseItem args
|
||||
return $ u & uvWorld %~ flip (foldr ($)) (replicate n (snd . createPutItem (itemFromBase ibt)))
|
||||
"DEX" -> fromMaybe u $ do
|
||||
|
||||
Reference in New Issue
Block a user