# HG changeset patch # User Simon Cross # Date 1282556823 -7200 # Node ID 8f1fccb8cadf57678a2febcdf89f4fcd310508ee # Parent fb569d06e2ccaacab1dde587a7dfb0b8ba0894c7 Skeletons for scenes in plot outline. diff -r fb569d06e2cc -r 8f1fccb8cadf gamelib/scenes/bridge.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gamelib/scenes/bridge.py Mon Aug 23 11:47:03 2010 +0200 @@ -0,0 +1,16 @@ +"""Bridge where the final showdown with the AI occurs.""" + +from gamelib.state import Scene, Item, Thing + + +class Bridge(Scene): + + FOLDER = "bridge" + BACKGROUND = None # TODO + + INITIAL_DATA = { + 'accessible': True, + } + + +SCENES = [Bridge] diff -r fb569d06e2cc -r 8f1fccb8cadf gamelib/scenes/engine.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gamelib/scenes/engine.py Mon Aug 23 11:47:03 2010 +0200 @@ -0,0 +1,16 @@ +"""Engine room where things need to be repaired.""" + +from gamelib.state import Scene, Item, Thing + + +class Engine(Scene): + + FOLDER = "engine" + BACKGROUND = None # TODO + + INITIAL_DATA = { + 'accessible': True, + } + + +SCENES = [Engine] diff -r fb569d06e2cc -r 8f1fccb8cadf gamelib/scenes/machine.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gamelib/scenes/machine.py Mon Aug 23 11:47:03 2010 +0200 @@ -0,0 +1,16 @@ +"""Machine room where tools and machines are found.""" + +from gamelib.state import Scene, Item, Thing + + +class Machine(Scene): + + FOLDER = "machine" + BACKGROUND = None # TODO + + INITIAL_DATA = { + 'accessible': True, + } + + +SCENES = [Machine] diff -r fb569d06e2cc -r 8f1fccb8cadf gamelib/scenes/map.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gamelib/scenes/map.py Mon Aug 23 11:47:03 2010 +0200 @@ -0,0 +1,21 @@ +"""Neurally implanted schematic for moving around on the ship. + + It is illegal for prisoners in transit to activate such an + implant. Failure to comply carries a minimum sentence of + six months. + """ + +from gamelib.state import Scene, Item, Thing + + +class Map(Scene): + + FOLDER = "map" + BACKGROUND = None # TODO + + INITIAL_DATA = { + 'accessible': True, + } + + +SCENES = [Map] diff -r fb569d06e2cc -r 8f1fccb8cadf gamelib/scenes/mess.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gamelib/scenes/mess.py Mon Aug 23 11:47:03 2010 +0200 @@ -0,0 +1,16 @@ +"""Mess where crew eat. Fun stuff.""" + +from gamelib.state import Scene, Item, Thing + + +class Mess(Scene): + + FOLDER = "mess" + BACKGROUND = None # TODO + + INITIAL_DATA = { + 'accessible': True, + } + + +SCENES = [Mess] diff -r fb569d06e2cc -r 8f1fccb8cadf gamelib/state.py --- a/gamelib/state.py Mon Aug 23 11:39:53 2010 +0200 +++ b/gamelib/state.py Mon Aug 23 11:47:03 2010 +0200 @@ -8,6 +8,11 @@ """Load the initial state.""" state = State() state.load_scenes("cryo") + #state.load_scenes("bridge") + #state.load_scenes("mess") + #state.load_scenes("engine") + #state.load_scenes("machine") + #state.load_scenes("map") state.set_current_scene("cryo") return state