aboutsummaryrefslogtreecommitdiff
path: root/src/scalevalapokalypsi/Model/Entities/Entity.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/Entities/Entity.scala
parent98407b35ff477f372baa92bf582b90a961d4ad16 (diff)
downloadscalevalapokalypsi-302455bac062080bf197b44e07ed53a3454be4c5.tar.gz
scalevalapokalypsi-302455bac062080bf197b44e07ed53a3454be4c5.zip
Finishing almost the adventure
Diffstat (limited to 'src/scalevalapokalypsi/Model/Entities/Entity.scala')
-rw-r--r--src/scalevalapokalypsi/Model/Entities/Entity.scala7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/scalevalapokalypsi/Model/Entities/Entity.scala b/src/scalevalapokalypsi/Model/Entities/Entity.scala
index 6a2072d..c3be227 100644
--- a/src/scalevalapokalypsi/Model/Entities/Entity.scala
+++ b/src/scalevalapokalypsi/Model/Entities/Entity.scala
@@ -31,7 +31,10 @@ class Entity(
* @return the verse to sing against this entity
*/
def getVerseAgainst: Vector[String] =
- Vector("Esimerkkirivi laulettavaksi")
+ Vector(
+ "Suohon sinut juuri laulan",
+ "saat maistaa mudan sekä taulan"
+ )
def isAlive = this.hp > 0
@@ -127,7 +130,7 @@ class Entity(
this.items += i.name -> (1, i)
Event(
Vector((this, s"Poimit esineen ${i.name}")).toMap,
- s"$name poimi esineen ${i.name}"
+ s"$name poimi esineen ${i.name}."
)
case None =>
Event(