0.8.6 works
This commit is contained in:
parent
37d0eaeabb
commit
ca1011175e
|
@ -1,4 +1,4 @@
|
||||||
VERSION := \"0.8.5\"
|
VERSION := \"0.8.6\"
|
||||||
|
|
||||||
DESTDIR=
|
DESTDIR=
|
||||||
BIN=
|
BIN=
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
VERSION := \"0.8.5\"
|
VERSION := \"0.8.6\"
|
||||||
|
|
||||||
DESTDIR=/usr/local
|
DESTDIR=/usr/local
|
||||||
BIN=$(DESTDIR)/bin/
|
BIN=$(DESTDIR)/bin/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
VERSION := \"0.8.5\"
|
VERSION := \"0.8.6\"
|
||||||
|
|
||||||
DESTDIR=
|
DESTDIR=
|
||||||
BIN=..\..\bin\\
|
BIN=..\..\bin\\
|
||||||
|
|
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,3 +1,10 @@
|
||||||
|
instead (0.8.6) unstable; urgency=low
|
||||||
|
|
||||||
|
* cat game fixes
|
||||||
|
* seen extra parameter
|
||||||
|
|
||||||
|
-- Peter Kosyh <p.kosyh@gmail.com> Thu, 27 Aug 2009 08:32:00 +0400
|
||||||
|
|
||||||
instead (0.8.5) unstable; urgency=low
|
instead (0.8.5) unstable; urgency=low
|
||||||
|
|
||||||
* possible segfaults in timer functions.
|
* possible segfaults in timer functions.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
Version=0.8.5
|
Version=0.8.6
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=INSTEAD
|
Name=INSTEAD
|
||||||
Name[ru]=INSTEAD
|
Name[ru]=INSTEAD
|
||||||
|
|
|
@ -355,7 +355,12 @@ forest = room {
|
||||||
|
|
||||||
home = room {
|
home = room {
|
||||||
nam = 'хижина',
|
nam = 'хижина',
|
||||||
pic ="gfx/house.png",
|
pic = function(s)
|
||||||
|
if not seen('mycat') then
|
||||||
|
return "gfx/house-empty.png"
|
||||||
|
end
|
||||||
|
return "gfx/house.png";
|
||||||
|
end,
|
||||||
dsc = [[
|
dsc = [[
|
||||||
В этой хижине я провел 10 лет. 10 лет назад я своими руками построил ее. Довольно тесно, но уютно.]],
|
В этой хижине я провел 10 лет. 10 лет назад я своими руками построил ее. Довольно тесно, но уютно.]],
|
||||||
obj = { 'fireplace', 'mytable', 'foto', 'mycat', 'gun',
|
obj = { 'fireplace', 'mytable', 'foto', 'mycat', 'gun',
|
||||||
|
|
BIN
games/cat/gfx/house-empty.png
Normal file
BIN
games/cat/gfx/house-empty.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 86 KiB |
|
@ -1247,7 +1247,7 @@ function game_step(self)
|
||||||
return game_life(self);
|
return game_life(self);
|
||||||
end
|
end
|
||||||
|
|
||||||
version = "0.8";
|
version = "0.8.6";
|
||||||
|
|
||||||
game = game {
|
game = game {
|
||||||
nam = "INSTEAD -- Simple Text Adventure interpreter v"..version.." '2009 by Peter Kosyh",
|
nam = "INSTEAD -- Simple Text Adventure interpreter v"..version.." '2009 by Peter Kosyh",
|
||||||
|
@ -1622,8 +1622,13 @@ function dropf(obj)
|
||||||
return o;
|
return o;
|
||||||
end
|
end
|
||||||
|
|
||||||
function seen(obj)
|
function seen(obj, wh)
|
||||||
local o,w = here().obj:srch(obj);
|
if not wh then
|
||||||
|
wh = here();
|
||||||
|
else
|
||||||
|
wh = ref(wh);
|
||||||
|
end
|
||||||
|
local o,w = wh.obj:srch(obj);
|
||||||
o = ref(o);
|
o = ref(o);
|
||||||
if isObject(o) then
|
if isObject(o) then
|
||||||
return o,w
|
return o,w
|
||||||
|
|
Loading…
Reference in a new issue