0
0
Fork 0
mirror of https://gitlab.com/Oreolek/salet-module.git synced 2024-06-26 03:50:49 +03:00

Removed SaletRoom.pic (broken property)

salet.view.pictureTag was cut 2 months ago, see commit 23e2be64
This commit is contained in:
Alexander Yakovlev 2016-12-19 18:49:02 +07:00
parent adc46615a5
commit 9c4c7d777e
2 changed files with 1 additions and 6 deletions

View file

@ -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",

View file

@ -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 += '<div class="pic">'+salet.view.pictureTag(@pic.fcall(this, f))+'</div>'
# Print the room description
if @dsc and @dsc != ""
dsc = @dsc.fcall(this, f).toString()