diff --git a/package.json b/package.json index c11de0c..7789485 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "salet", - "version": "1.6.13", + "version": "1.6.14", "description": "A general client-side framework for cybertext interactive fiction games.", "keywords": ["ifiction", "interactive fiction", "games", "coffee-script", "text", "menu"], "homepage": "http://salet.oreolek.ru", diff --git a/src/room.coffee b/src/room.coffee index 8b450e5..69fed54 100644 --- a/src/room.coffee +++ b/src/room.coffee @@ -20,8 +20,6 @@ class SaletRoom @choices = "" @optionText = "Choice" - # room illustration image, VN-style. Can be a GIF or WEBM. Can be a function. - @pic = false @dsc = false # room description @extendSection = false @clear = true # clear the screen on entering the room? @@ -117,9 +115,6 @@ class SaletRoom salet.view.updateWays(@ways, @name) retval = "" - if @pic - retval += '
'+salet.view.pictureTag(@pic.fcall(this, f))+'
' - # Print the room description if @dsc and @dsc != "" dsc = @dsc.fcall(this, f).toString()