Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
tome
Tales of MajEyal
Commits
bb269c28
Commit
bb269c28
authored
12 years ago
by
dg
Browse files
Options
Downloads
Patches
Plain Diff
fix
git-svn-id:
http://svn.net-core.org/repos/t-engine4@6550
51575b47-30f0-44d4-a5cc-537603b46e54
parent
fb9a2f33
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/utils.lua
+2
-0
2 additions, 0 deletions
game/engines/default/engine/utils.lua
game/modules/tome/data/zones/sludgenest/npcs.lua
+2
-2
2 additions, 2 deletions
game/modules/tome/data/zones/sludgenest/npcs.lua
with
4 additions
and
2 deletions
game/engines/default/engine/utils.lua
+
2
−
0
View file @
bb269c28
...
...
@@ -1775,6 +1775,7 @@ end
function
core
.
fov
.
set_algorithm
(
val
)
if
type
(
val
)
==
"string"
and
(
string.lower
(
val
)
==
"hex"
or
string.lower
(
val
)
==
"hexagon"
)
then
core
.
fov
.
set_vision_shape
(
"hex"
)
core
.
fov
.
set_algorithm_base
(
0
)
-- TEMPORARY: don't default to a half-implemented FoV/LoS algorithm
is_hex
=
1
return
end
...
...
@@ -1806,6 +1807,7 @@ function core.fov.set_vision_shape(val)
if
type
(
val
)
~=
"number"
then
return
end
if
val
==
7
then
-- hex
is_hex
=
1
core
.
fov
.
set_algorithm_base
(
0
)
-- TEMPORARY: don't default to a half-implemented FoV/LoS algorithm
else
is_hex
=
0
end
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/zones/sludgenest/npcs.lua
+
2
−
2
View file @
bb269c28
...
...
@@ -27,8 +27,8 @@ newEntity{ define_as = "CORRUPTED_OOZEMANCER",
type
=
"giant"
,
subtype
=
"troll"
,
unique
=
true
,
name
=
"Corrupted Oozemancer"
,
display
=
"T"
,
color
=
colors
.
VIOLET
,
desc
=
[[This troll was once a pround defender of
n
ature
, now h
is corruption is spreading, eating away the forest around.]]
,
killer_message
=
"and disolved into acidic ooze
s
"
,
desc
=
[[This
blight-ridden
troll was once a pround defender of
N
ature
. H
is corruption is spreading, eating away
at
the forest around
him
.]]
,
killer_message
=
"and dis
s
olved into acidic ooze"
,
level_range
=
{
35
,
nil
},
exp_worth
=
2
,
max_life
=
250
,
life_rating
=
18
,
fixed_rating
=
true
,
equilibrium_regen
=
-
10
,
...
...
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