aboutsummaryrefslogtreecommitdiff
path: root/src/scalevalapokalypsi/Model/Action.scala
diff options
context:
space:
mode:
authorJoel Kronqvist <joel.kronqvist@iki.fi>2024-11-27 17:19:46 +0200
committerJoel Kronqvist <joel.kronqvist@iki.fi>2024-11-27 17:19:46 +0200
commit302455bac062080bf197b44e07ed53a3454be4c5 (patch)
tree8b189ba41699c9a095d27bf00d1114a65aaa420a /src/scalevalapokalypsi/Model/Action.scala
parent98407b35ff477f372baa92bf582b90a961d4ad16 (diff)
downloadscalevalapokalypsi-302455bac062080bf197b44e07ed53a3454be4c5.tar.gz
scalevalapokalypsi-302455bac062080bf197b44e07ed53a3454be4c5.zip
Finishing almost the adventure
Diffstat (limited to 'src/scalevalapokalypsi/Model/Action.scala')
-rw-r--r--src/scalevalapokalypsi/Model/Action.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scalevalapokalypsi/Model/Action.scala b/src/scalevalapokalypsi/Model/Action.scala
index 75ce68c..6b030d1 100644
--- a/src/scalevalapokalypsi/Model/Action.scala
+++ b/src/scalevalapokalypsi/Model/Action.scala
@@ -93,7 +93,7 @@ class Action(input: String):
)
case "tiputa" | "pudota" => Some((false, actor.drop(this.modifiers)))
case "käytä" =>
- Some(true -> actor.useItem(this.modifiers))
+ Some(false -> actor.useItem(this.modifiers))
case "laula" =>
val end = modifiers.takeRight("suohon".length)
val start =