-
Notifications
You must be signed in to change notification settings - Fork 77
Add new map "GridWar" by mpixel #337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mpixelate
wants to merge
8
commits into
MT-CTF:master
Choose a base branch
from
mpixelate:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
551f4d2
Add GridWar map
mpixelate 0ee8c96
Remove glasses and ladders from initial stuff
mpixelate d122264
Add torches to initial stuff
mpixelate 058d7e2
Merge branch 'MT-CTF:master' into master
mpixelate 49bce79
Merge branch 'MT-CTF:master' into master
mpixelate b89e3b7
Update GridWar by mpixel
mpixelate ccc979a
Update init.lua
mpixelate d8d73f4
update Gridwar
mpixelate File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| local MAP_NAME = "GridWar" | ||
|
|
||
| local enabled = false | ||
|
|
||
|
|
||
| ctf_api.register_on_new_match(function () | ||
| if ctf_map.current_map and ctf_map.current_map.name == MAP_NAME then | ||
| enabled = true | ||
| end | ||
| end) | ||
|
|
||
| ctf_api.register_on_match_end(function () | ||
| if ctf_map.current_map and ctf_map.current_map.name == MAP_NAME then | ||
| enabled = false | ||
| end | ||
| end) | ||
|
|
||
| minetest.register_on_player_hpchange(function(player, hp_change, reason) | ||
| if reason and reason.type == "fall" then | ||
| if enabled then | ||
| return hp_change * 0.5 | ||
| end | ||
| end | ||
| return hp_change | ||
| end, true) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| game_modes = return {"classes","nade_fight","classic"} | ||
| barrier_area = return {pos2={z=222,x=222,y=85},pos1={z=0,x=0,y=0}} | ||
| chests = return {{pos2={z=222,x=221,y=83.5},amount=40,pos1={z=114,x=114,y=16.5}},{pos2={z=110,x=110,y=83.5},amount=40,pos1={z=0,x=1,y=16.5}},{pos2={z=221,x=110,y=82.5},amount=40,pos1={z=112,x=0,y=16.5}},{pos2={z=108,x=222,y=83.5},amount=40,pos1={z=1,x=114,y=16.5}}} | ||
| phys_jump = 1 | ||
| phys_gravity = 1 | ||
| time_speed = 0 | ||
| enable_shadows = 0.1 | ||
| phys_speed = 1 | ||
| skybox = gridwar_new | ||
| teams = local _={};_[1]="flag_pos";_[2]="enabled";return {blue={[_[1]]={z=195,x=27,y=30.5},pos2={z=112,x=110,y=-0.5},[_[2]]=true,pos1={z=221,x=1,y=84.5}},purple={[_[1]]={z=195,x=195,y=30.5},pos2={z=112,x=112,y=-0.5},[_[2]]=true,pos1={z=221,x=221,y=84.5}},green={[_[1]]={z=27,x=27,y=30.5},pos2={z=110,x=110,y=-0.5},[_[2]]=true,pos1={z=1,x=1,y=84.5}},orange={[_[1]]={z=27,x=195,y=30.5},pos2={z=110,x=112,y=-0.5},[_[2]]=true,pos1={z=1,x=221,y=84.5}}} | ||
| treasures = default:stone_with_mese;1;3;1;0.15;1;default:stone_with_iron;1;5;1;0.2;1;default:glass;50;99;2;0.3;1;more_liquids:enderium_source;1;3;1;0;1; | ||
| others = | ||
| initial_stuff = return {"default:pick_stone","ctf_ranged:pistol_loaded","default:stick 5","default:cobble 99"} | ||
| license = CC BY-SA 4.0 | ||
| hint = | ||
| author = mpixel | ||
| start_time = 10000 | ||
| name = GridWar | ||
| enabled = true | ||
| size = return {z=222,x=222,y=85} | ||
| map_version = 3 | ||
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.