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