Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
K'van
Tales of MajEyal
Commits
6e67953d
Commit
6e67953d
authored
11 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
ideass
parent
0e32cc17
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/modules/tome/dialogs/MapMenu.lua
+12
-0
12 additions, 0 deletions
game/modules/tome/dialogs/MapMenu.lua
ideas/setting-eyal.ods
+0
-0
0 additions, 0 deletions
ideas/setting-eyal.ods
with
12 additions
and
0 deletions
game/modules/tome/dialogs/MapMenu.lua
+
12
−
0
View file @
6e67953d
...
...
@@ -97,6 +97,17 @@ function _M:use(item)
DebugConsole
.
line
=
"=__uids["
..
item
.
actor
.
uid
..
"]"
DebugConsole
.
line_pos
=
#
DebugConsole
.
line
d
.
changed
=
true
elseif
act
==
"debug-inventory"
then
local
d
d
=
item
.
actor
:
showEquipInven
(
item
.
actor
.
name
..
": Inventory"
,
nil
,
function
(
o
,
inven
,
item
,
button
,
event
)
if
not
o
then
return
end
local
ud
=
require
(
"mod.dialogs.UseItemDialog"
).
new
(
event
==
"button"
,
item
.
actor
,
o
,
item
,
inven
,
function
(
_
,
_
,
_
,
stop
)
d
:
generate
()
d
:
generateList
()
if
stop
then
self
:
unregisterDialog
(
d
)
end
end
)
self
:
registerDialog
(
ud
)
end
)
end
end
...
...
@@ -128,6 +139,7 @@ function _M:generateList()
if
a
and
not
self
.
on_player
and
game
.
party
:
canOrder
(
a
,
false
)
then
list
[
#
list
+
1
]
=
{
name
=
"Give order"
,
action
=
"order"
,
color
=
colors
.
simple
(
colors
.
TEAL
),
actor
=
a
}
end
if
a
and
not
self
.
on_player
and
config
.
settings
.
cheat
then
list
[
#
list
+
1
]
=
{
name
=
"Target player"
,
action
=
"target-player"
,
color
=
colors
.
simple
(
colors
.
RED
),
actor
=
a
}
end
if
a
and
config
.
settings
.
cheat
then
list
[
#
list
+
1
]
=
{
name
=
"Lua inspect"
,
action
=
"debug-inspect"
,
color
=
colors
.
simple
(
colors
.
LIGHT_BLUE
),
actor
=
a
}
end
if
a
and
config
.
settings
.
cheat
then
list
[
#
list
+
1
]
=
{
name
=
"Show inventory"
,
action
=
"debug-inventory"
,
color
=
colors
.
simple
(
colors
.
YELLOW
),
actor
=
a
}
end
if
self
.
on_player
then
list
[
#
list
+
1
]
=
{
name
=
"Rest a while"
,
action
=
"rest"
,
color
=
colors
.
simple
(
colors
.
ANTIQUE_WHITE
)}
end
if
self
.
on_player
then
list
[
#
list
+
1
]
=
{
name
=
"Auto-explore"
,
action
=
"autoexplore"
,
color
=
colors
.
simple
(
colors
.
ANTIQUE_WHITE
)}
end
if
self
.
on_player
then
list
[
#
list
+
1
]
=
{
name
=
"Inventory"
,
action
=
"inventory"
,
color
=
colors
.
simple
(
colors
.
ANTIQUE_WHITE
)}
end
...
...
This diff is collapsed.
Click to expand it.
ideas/setting-eyal.ods
+
0
−
0
View file @
6e67953d
No preview for this file type
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment