Update example game prelude to be betterer
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -4,8 +4,10 @@ from agame.room import Room
|
||||
from agame.trigger import *
|
||||
from . import database
|
||||
|
||||
LINEBREAK = "=" * 70
|
||||
|
||||
################################################################################
|
||||
# Game intro
|
||||
# Prelude
|
||||
################################################################################
|
||||
database.add_room(
|
||||
Room(
|
||||
@@ -15,16 +17,17 @@ database.add_room(
|
||||
items={},
|
||||
teleport_actions=[
|
||||
PrintAction(
|
||||
"." * 70,
|
||||
LINEBREAK,
|
||||
#
|
||||
"Many stories have been told about this place. Some are tall "
|
||||
"tales and mostly contradictory. Some others, however, are true.",
|
||||
#
|
||||
"This is one of those stories.",
|
||||
"." * 70,
|
||||
LINEBREAK,
|
||||
),
|
||||
PlayerInputAction(),
|
||||
PrintAction(
|
||||
"." * 70,
|
||||
LINEBREAK,
|
||||
#
|
||||
"There used to be trees here. Fifteen years ago, we were sitting "
|
||||
"in the shade, telling stories about last summer and what we hope "
|
||||
@@ -36,13 +39,15 @@ database.add_room(
|
||||
"long echo. Nothing else stands tall enough to block the sound.",
|
||||
#
|
||||
"No animals patrol the sky nor ground. Life has left this place.",
|
||||
"." * 70,
|
||||
LINEBREAK,
|
||||
),
|
||||
PlayerInputAction(),
|
||||
PrintAction(
|
||||
"." * 70,
|
||||
LINEBREAK,
|
||||
#
|
||||
"It is because of the ((machine)).",
|
||||
"." * 70,
|
||||
#
|
||||
LINEBREAK,
|
||||
),
|
||||
PlayerInputAction(),
|
||||
SleepAction(1),
|
||||
@@ -52,6 +57,12 @@ database.add_room(
|
||||
SleepAction(1),
|
||||
PrintAction("..."),
|
||||
SleepAction(1),
|
||||
PrintAction("...."),
|
||||
SleepAction(1),
|
||||
PrintAction("....."),
|
||||
SleepAction(1),
|
||||
PrintAction("......"),
|
||||
SleepAction(1),
|
||||
PrintAction("You awaken from a fitful sleep. Where are you again?"),
|
||||
PlayerInputAction(),
|
||||
TeleportAction("cabin_inside"),
|
||||
|
||||
Reference in New Issue
Block a user