Mercurial > pyntnclick
changeset 262:5f58da9eeb52
Replace text interacts with doors.
author | Simon Cross <hodgestar+bzr@gmail.com> |
---|---|
date | Fri, 27 Aug 2010 19:22:47 +0200 |
parents | 5bb9e40c98e4 |
children | 3b4a78422201 |
files | gamelib/scenes/engine.py gamelib/scenes/machine.py |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gamelib/scenes/engine.py Fri Aug 27 19:15:18 2010 +0200 +++ b/gamelib/scenes/engine.py Fri Aug 27 19:22:47 2010 +0200 @@ -1,6 +1,6 @@ """Engine room where things need to be repaired.""" -from gamelib.state import Scene, Item, Thing, InteractText, Result +from gamelib.state import Scene, Item, Thing, InteractNoImage, Result from gamelib.scenes.scene_widgets import Door @@ -26,7 +26,7 @@ SCENE = "engine" INTERACTS = { - "door": InteractText(100, 200, "To Map"), + "door": InteractNoImage(663, 360, 108, 193), } INITIAL = "door"
--- a/gamelib/scenes/machine.py Fri Aug 27 19:15:18 2010 +0200 +++ b/gamelib/scenes/machine.py Fri Aug 27 19:22:47 2010 +0200 @@ -1,6 +1,6 @@ """Machine room where tools and machines are found.""" -from gamelib.state import Scene, Item, Thing, InteractText, Result +from gamelib.state import Scene, Item, Thing, InteractNoImage, InteractText, Result from gamelib.cursor import CursorSprite from gamelib.scenes.scene_widgets import Door @@ -31,7 +31,7 @@ SCENE = "machine" INTERACTS = { - "door": InteractText(100, 200, "To Map"), + "door": InteractNoImage(695, 350, 97, 212), } INITIAL = "door"