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
0ead86cf
Commit
0ead86cf
authored
12 years ago
by
dg
Browse files
Options
Downloads
Patches
Plain Diff
things
git-svn-id:
http://svn.net-core.org/repos/t-engine4@6314
51575b47-30f0-44d4-a5cc-537603b46e54
parent
efff9fd7
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/engines/default/engine/Zone.lua
+8
-1
8 additions, 1 deletion
game/engines/default/engine/Zone.lua
game/modules/tome/class/Object.lua
+1
-0
1 addition, 0 deletions
game/modules/tome/class/Object.lua
with
9 additions
and
1 deletion
game/engines/default/engine/Zone.lua
+
8
−
1
View file @
0ead86cf
...
...
@@ -289,7 +289,14 @@ function _M:makeEntity(level, type, filter, force_level, prob_filter)
-- Generate a specific probability list, slower to generate but no need to "try and be lucky"
elseif
filter
then
local
base_list
=
nil
if
filter
.
base_list
then
base_list
=
filter
.
base_list
if
filter
.
base_list
then
if
_G
.
type
(
filter
.
base_list
)
==
"table"
then
base_list
=
filter
.
base_list
else
local
_
,
_
,
class
,
file
=
filter
.
base_list
:
find
(
"(.*):(.*)"
)
if
class
and
file
then
base_list
=
require
(
class
):
loadList
(
file
)
end
end
elseif
type
==
"actor"
then
base_list
=
self
.
npc_list
elseif
type
==
"object"
then
base_list
=
self
.
object_list
elseif
type
==
"trap"
then
base_list
=
self
.
trap_list
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/class/Object.lua
+
1
−
0
View file @
0ead86cf
...
...
@@ -1285,6 +1285,7 @@ function _M:getDesc(name_param, compare_with, never_compare)
if
self
.
power_source
.
technique
then
desc
:
add
(
"Crafted by "
,
{
"color"
,
"LIGHT_UMBER"
},
"a master"
,
{
"color"
,
"LAST"
},
true
)
end
if
self
.
power_source
.
psionic
then
desc
:
add
(
"Infused by "
,
{
"color"
,
"YELLOW"
},
"psionic forces"
,
{
"color"
,
"LAST"
},
true
)
end
if
self
.
power_source
.
unknown
then
desc
:
add
(
"Powered by "
,
{
"color"
,
"CRIMSON"
},
"unknown forces"
,
{
"color"
,
"LAST"
},
true
)
end
self
:
triggerHook
{
"Object:descPowerSource"
,
desc
=
desc
,
object
=
self
}
end
if
self
.
encumber
then
...
...
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