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
e326db0d
There was a problem fetching the pipeline summary.
Commit
e326db0d
authored
7 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
plop
parent
e6eea116
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!509
WIP: Orange tooltip edits
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/engines/default/engine/generator/map/MapScript.lua
+10
-0
10 additions, 0 deletions
game/engines/default/engine/generator/map/MapScript.lua
with
10 additions
and
0 deletions
game/engines/default/engine/generator/map/MapScript.lua
+
10
−
0
View file @
e326db0d
...
...
@@ -88,6 +88,16 @@ function _M:generate(lev, old_lev)
-- return self:makeStairsInside(lev, old_lev, self.spots)
end
function
_M
:
addSpot
(
x
,
y
,
type
,
subtype
,
data
)
data
=
data
or
{}
-- Tilemap uses 1 based indexes
data
.
x
=
x
-
1
data
.
y
=
y
-
1
data
.
type
=
type
data
.
subtype
=
subtype
self
.
spots
[
#
self
.
spots
+
1
]
=
data
end
--- Create the stairs inside the level
function
_M
:
makeStairsInside
(
lev
,
old_lev
,
spots
)
-- Put down stairs
...
...
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