Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
magic_rush – Minetest mod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
magicfelix
magic_rush – Minetest mod
Commits
68fcb513
Commit
68fcb513
authored
1 year ago
by
magicfelix
Browse files
Options
Downloads
Patches
Plain Diff
Add stats registration
parents
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
init.lua
+7
-0
7 additions, 0 deletions
init.lua
mod.conf
+4
-0
4 additions, 0 deletions
mod.conf
src/game.lua
+7
-0
7 additions, 0 deletions
src/game.lua
with
18 additions
and
0 deletions
init.lua
0 → 100644
+
7
−
0
View file @
68fcb513
local
version
=
"0.1.0"
local
modpath
=
minetest
.
get_modpath
(
"magic_rush"
)
local
srcpath
=
modpath
..
"/src"
magic_rush
=
{}
dofile
(
srcpath
..
"/game.lua"
)
This diff is collapsed.
Click to expand it.
mod.conf
0 → 100644
+
4
−
0
View file @
68fcb513
name
=
magic_rush
description
=
MLG
-
Rush
minigame
depends
=
arena_lib
optional_depends
=
magic_stats
This diff is collapsed.
Click to expand it.
src/game.lua
0 → 100644
+
7
−
0
View file @
68fcb513
if
magic_stats
then
magic_rush
.
stats
=
magic_stats
.
Game
.
register
(
"magic_rush"
,
"mlg"
,
"MLG-Rush"
,
{
klls
=
{
display_name
=
"Kills"
},
beds
=
{
display_name
=
"Beds"
},
deaths
=
{
display_name
=
"Deaths"
},
})
end
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