mirror of
https://gitlab.com/Oreolek/salet-module.git
synced 2024-06-28 21:05:03 +03:00
Removed SaletRoom.pic (broken property)
salet.view.pictureTag was cut 2 months ago, see commit 23e2be64
This commit is contained in:
parent
adc46615a5
commit
9c4c7d777e
|
@ -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",
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue