Split out examplegame defs by items, rooms, and vars
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
14
examplegame/rooms.py
Normal file
14
examplegame/rooms.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from agame.room import Room
|
||||
from . import database
|
||||
|
||||
database.add_rooms(
|
||||
Room(
|
||||
id="start",
|
||||
name="Test room",
|
||||
desc="You're in ((Todd's Test Cell)).",
|
||||
items=[
|
||||
database.items["glowing_rock"].create_inst(),
|
||||
database.items["cell_door"].create_inst(),
|
||||
],
|
||||
),
|
||||
)
|
||||
Reference in New Issue
Block a user