mirror of
https://gitlab.com/Oreolek/duel.git
synced 2024-06-30 13:55:10 +03:00
Исправление проблемы #4 (телефон)
This commit is contained in:
parent
d8ba5e6f73
commit
939726bb42
|
@ -32,7 +32,13 @@ init = function ()
|
||||||
end
|
end
|
||||||
}, me())
|
}, me())
|
||||||
place(menu {
|
place(menu {
|
||||||
nam = "Телефон",
|
nam = 'телефон',
|
||||||
|
disp = function()
|
||||||
|
if char.call ~= nil then
|
||||||
|
return fmt.b("Телефон")
|
||||||
|
end
|
||||||
|
return "Телефон"
|
||||||
|
end,
|
||||||
menu = function()
|
menu = function()
|
||||||
walk('inventory')
|
walk('inventory')
|
||||||
end
|
end
|
||||||
|
|
8
ui.lua
8
ui.lua
|
@ -126,13 +126,7 @@ dlg {
|
||||||
|
|
||||||
dlg {
|
dlg {
|
||||||
nam = 'inventory',
|
nam = 'inventory',
|
||||||
disp = function()
|
disp = "Телефон",
|
||||||
-- TODO почему-то не выделяет жирным
|
|
||||||
if char.call ~= nil then
|
|
||||||
return fmt.b("Телефон")
|
|
||||||
end
|
|
||||||
return "Телефон"
|
|
||||||
end,
|
|
||||||
noinv = true,
|
noinv = true,
|
||||||
enter = function()
|
enter = function()
|
||||||
local walkto = nil
|
local walkto = nil
|
||||||
|
|
Loading…
Reference in a new issue