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
33462aaf
Commit
33462aaf
authored
11 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
Fixed Pulverizing Auger in some zones
parent
4c082c54
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/data/damage_types.lua
+14
-8
14 additions, 8 deletions
game/modules/tome/data/damage_types.lua
game/modules/tome/data/zones/old-forest/zone.lua
+1
-0
1 addition, 0 deletions
game/modules/tome/data/zones/old-forest/zone.lua
with
15 additions
and
8 deletions
game/modules/tome/data/damage_types.lua
+
14
−
8
View file @
33462aaf
...
...
@@ -1402,11 +1402,14 @@ newDamageType{
if
feat
.
dig
then
local
newfeat_name
,
newfeat
,
silence
=
feat
.
dig
,
nil
,
false
if
type
(
feat
.
dig
)
==
"function"
then
newfeat_name
,
newfeat
,
silence
=
feat
.
dig
(
src
,
x
,
y
,
feat
)
end
game
.
level
.
map
(
x
,
y
,
Map
.
TERRAIN
,
newfeat
or
game
.
zone
.
grid_list
[
newfeat_name
])
src
.
dug_times
=
(
src
.
dug_times
or
0
)
+
1
game
.
nicer_tiles
:
updateAround
(
game
.
level
,
x
,
y
)
if
not
silence
then
game
.
logSeen
({
x
=
x
,
y
=
y
},
"%s turns into %s."
,
feat
.
name
:
capitalize
(),
(
newfeat
or
game
.
zone
.
grid_list
[
newfeat_name
]).
name
)
newfeat
=
newfeat
or
game
.
zone
.
grid_list
[
newfeat_name
]
if
newfeat
then
game
.
level
.
map
(
x
,
y
,
Map
.
TERRAIN
,
newfeat
)
src
.
dug_times
=
(
src
.
dug_times
or
0
)
+
1
game
.
nicer_tiles
:
updateAround
(
game
.
level
,
x
,
y
)
if
not
silence
then
game
.
logSeen
({
x
=
x
,
y
=
y
},
"%s turns into %s."
,
feat
.
name
:
capitalize
(),
newfeat
.
name
)
end
end
end
end
...
...
@@ -1886,9 +1889,12 @@ newDamageType{
if
feat
.
grow
then
local
newfeat_name
,
newfeat
,
silence
=
feat
.
grow
,
nil
,
false
if
type
(
feat
.
dig
)
==
"function"
then
newfeat_name
,
newfeat
,
silence
=
feat
.
grow
(
src
,
x
,
y
,
feat
)
end
game
.
level
.
map
(
x
,
y
,
Map
.
TERRAIN
,
newfeat
or
game
.
zone
.
grid_list
[
newfeat_name
])
if
not
silence
then
game
.
logSeen
({
x
=
x
,
y
=
y
},
"%s turns into %s."
,
feat
.
name
:
capitalize
(),
(
newfeat
or
game
.
zone
.
grid_list
[
newfeat_name
]).
name
)
newfeat
=
newfeat
or
game
.
zone
.
grid_list
[
newfeat_name
]
if
newfeat
then
game
.
level
.
map
(
x
,
y
,
Map
.
TERRAIN
,
newfeat
)
if
not
silence
then
game
.
logSeen
({
x
=
x
,
y
=
y
},
"%s turns into %s."
,
feat
.
name
:
capitalize
(),
(
newfeat
or
game
.
zone
.
grid_list
[
newfeat_name
]).
name
)
end
end
end
end
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/zones/old-forest/zone.lua
+
1
−
0
View file @
33462aaf
...
...
@@ -18,6 +18,7 @@
-- darkgod@te4.org
local
layout
=
game
.
state
:
alternateZone
(
short_name
,
{
"CRYSTALINE"
,
2
})
layout
=
"CRYSTALINE"
local
is_crystaline
=
layout
==
"CRYSTALINE"
return
{
...
...
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