Skip to content
Snippets Groups Projects
Commit bb269c28 authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@6550 51575b47-30f0-44d4-a5cc-537603b46e54
parent fb9a2f33
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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 nature, now his corruption is spreading, eating away the forest around.]],
killer_message = "and disolved into acidic oozes",
desc = [[This blight-ridden troll was once a pround defender of Nature. His corruption is spreading, eating away at the forest around him.]],
killer_message = "and dissolved into acidic ooze",
level_range = {35, nil}, exp_worth = 2,
max_life = 250, life_rating = 18, fixed_rating = true,
equilibrium_regen = -10,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment