Commit graph

822 commits

Author SHA1 Message Date
ANAND
579d449ef4 ctf/core.lua: Fix incorrect indentation 2019-11-09 12:25:45 +05:30
ANAND
38c27736f6 Improve format of ctf.log 2019-11-09 12:25:45 +05:30
ANAND
67dfb30ead
Map maker: Fix crash when submitting fields in /gui 2019-11-09 08:59:44 +05:30
ANAND
28189920d4
Remove leftover debug messages from 2653a09 2019-11-08 08:00:46 +05:30
ANAND
6662139380
Map maker: Simplify storage of barrier_rot config value 2019-11-07 21:05:44 +05:30
ANAND
b19523e6a7
Map maker: Fix incorrect field set in mod_storage during reset 2019-11-07 17:38:50 +05:30
ANAND
72c02d81cb
Update maps submodule
> Add torches as initial item on Abandoned Isles (#68)
> Add 'Big Ocean' by gameit (#67)
> README.md: Remove outdated map reviews wiki link
> Add "Wool land" by -sniper- (#45)
> Swap positions of pickaxe and pistol in inventory (#62)
> Add custom chest zones in Hunting Season (#61)
2019-11-07 12:36:17 +05:30
ANAND
e84a321143 Make snow non-slippery again (#484) 2019-11-05 13:25:49 +01:00
ANAND
2653a09329
Allocate players into teams on the basis of cumulative team scores (#319)
Implement `ctf.custom_alloc`, which recalculates cumulative team scores and returns the name of the team with the lowest cumulative score.
2019-10-31 20:00:50 +05:30
ANAND
680dd4c87c Fix crash upon invoking /maps_reload (#486) 2019-10-31 10:49:34 +01:00
ANAND
f364e73707
Map maker: Fix barrier rotation and outer barrier placement issues (#485) 2019-10-31 12:32:41 +05:30
ANAND
ef16fc9971
Add indestructible torch [ctf_map:torch] (#473) 2019-10-30 10:44:56 +05:30
ANAND
17a974c1c3
ctf_map: Move on_joinplayer callback for skybox mgmt. into time_sky.lua 2019-10-29 15:23:15 +05:30
ANAND
04ac8223a9
ctf_treasure/init.lua: Align lines using whitespaces for improved readability 2019-10-29 12:39:50 +05:30
ANAND
179c993ee7 Add per-map skybox support
The skybox textures have to follow this naming convention to be auto-detected by `ctf_map`: `<mapname>_skybox_<1-6>.png`
2019-10-29 12:30:35 +05:30
ANAND
baa15e39a6 Optimise map parsing for more flexibility 2019-10-29 12:30:35 +05:30
MinetestSam
b04f904f8b Fixing documentation for reinforced cobble (#482) 2019-10-28 19:03:48 +01:00
MinetestSam
e282ed405b Add damage cobble to default treasure registration (#481) 2019-10-28 19:01:19 +05:30
ANAND
5eb5d3311a
Improve log messages (#422)
- Add log messages wherever required/useful
- Remove unnecessary log messages and print statements
- Convert print statements to minetest.log
- Fix incorrect log level for some messages
- Trivial code-style fixes
2019-10-18 11:22:18 +05:30
ANAND
21e7daa183
Add support for optionally setting start time and time speed per-map (#478) 2019-10-17 10:48:06 +05:30
KaylebJay
a39b1c8950 Add stone and steel axes to default treasures (#474) 2019-10-13 11:49:57 +05:30
ANAND
96c21f2ef5
ctf_map: Fix crash due to missing item description for some stairs 2019-10-11 17:22:36 +05:30
ANAND
3797c703ad
ctf_map: Fix description of ind. stairs and wool 2019-10-10 19:15:32 +05:30
ANAND
136211a073 ctf_map: Add missing documentation for some map meta fields 2019-10-09 20:20:14 +05:30
ANAND
526031473b ctf_map/base.lua: Fix code-style 2019-10-09 20:20:14 +05:30
ANAND
c4e3683071 Map maker: Add support for optionally specifying base node 2019-10-09 20:20:14 +05:30
MinetestSam
31ba4286fe Colorize random messages (#467) 2019-10-09 19:19:41 +05:30
MinetestSam
2d6b16de43 Remove collision boxes of dead players (#468) 2019-10-09 19:19:03 +05:30
ANAND
0eb5b71648
Update maps submodule
- Repair Plain Battle
2019-10-09 12:31:49 +05:30
ANAND
fcb0fedf32
Update maps submodule
Changes:
- "Abandoned Isles" by gimp and caoutiouspotato
- "Towers" by Atmozpheric
- Improvements to "Tunnel"
- Addition of 5 torches to initial_stuff of "Ice Age"
2019-10-06 13:42:32 +05:30
MinetestSam
552a79a54e Add eligibility criteria for participating in kick votes (#463)
Players should have a score of 1000 or greater to be able to vote in kick votes.
2019-10-02 20:02:09 +05:30
ANAND
2ae401d4f5
ctf_chat: Add colored PMs (#449)
- Sender name is colorized according to their team color.
- Message body is colorized according to the setting `ctf_chat.message_color`; defaults to `#E043FF`.
2019-09-18 02:28:17 +08:00
ANAND
da245981aa
Update maps submodule
> Add license to existing maps (#49)
2019-09-17 23:46:21 +05:30
Panquesito7
08cbc41409
dropondie: Fix deprecated API function calls 2019-09-07 14:36:18 +05:30
ANAND
d16d7fa09c
Improve attribution of shooter_explode.ogg 2019-09-02 13:04:43 +05:30
ANAND
67c1dfa4ee
Replace shooter_explode.ogg with the new, licensed sound from MTG 2019-09-02 06:32:19 +05:30
ANAND
5e3578ae00
ctf_map: Dofile base.lua only when ctf exists
This prevents a crash when running in map-maker mode, as base.lua (which is unnecessarily dofile'd) contains code which re-defines `ctf.get_spawn`
2019-08-31 12:48:46 +05:30
ANAND
f04663fc6c
Fix depends.txt present in mods from ctf_pvp_engine 2019-08-31 11:40:46 +05:30
Panquesito7
515b0ca1f7
Use mod.conf and modpack.conf
Replaces depends.txt, description.txt, and modpack.txt
2019-08-31 10:31:14 +05:30
rubenwardy
aa0cc1ab53 Update Lib ChatCmdBuilder 2019-08-28 18:57:11 +01:00
rubenwardy
ebf4316594 Fix issues found by luacheck 2019-08-28 18:54:24 +01:00
rubenwardy
450027c3b7 Dissolve ctf_pvp_engine modpack into other modpacks 2019-08-28 18:46:14 +01:00
rubenwardy
9f05af002e Remove ctf GUI 2019-08-28 18:46:14 +01:00
rubenwardy
e53732f41e Remove saving from ctf_pvp_engine 2019-08-28 18:46:14 +01:00
rubenwardy
a735266eb3 Add ctf_pvp_engine mods directly in the repo 2019-08-28 18:46:14 +01:00
Panquesito7
1032a78a6c Use "modpack.conf" instead of "modpack.txt" (#441) 2019-08-20 13:06:41 +08:00
ANAND
99338c3013 Implement random spawn within 3x3 area around flag (#437) 2019-07-24 15:54:14 +02:00
ANAND
b5d19bcf5b Fix recursive registration of ind. stairs and wool (#424) 2019-07-24 15:38:53 +02:00
ANAND
97f810e0d0
Update maps submodule 2019-07-16 13:15:28 +05:30
Thomas--S
967afeb5b8 Add IRC support for maps catalog (#415) 2019-07-14 14:48:40 +05:30
ANAND
ed7b1ce902
Update maps submodule 2019-07-13 17:04:17 +05:30
ANAND
39b573de53
Merge branch 'master' of https://github.com/MT-CTF/capturetheflag 2019-07-13 07:23:08 +05:30
ANAND
8a37dac73d
Update ctf_pvp_engine 2019-07-13 07:23:04 +05:30
MinetestSam
0829d4c700 ctf_bandages: Show coloured alert to target when being healed (#436)
Also increase the spawn rate of bandages.

Co-Authored-By: ANAND <ClobberXD@gmail.com>
2019-07-13 06:48:48 +05:30
ANAND
da8a166902
Update maps submodule 2019-07-12 15:52:08 +05:30
ANAND
2abd4098fc
Update ctf_pvp_engine and maps 2019-07-11 13:00:59 +05:30
ANAND
d4c612d2fb Fix flag claimed right after creation (#433)
Regression introduced by abbd62ac:

- Since abbd62ac, all map metas are loaded at server startup.
- In `ctf_match.create_teams`, `map.teams.pos` is passed to `ctf_flag.add`.
- As tables are passed by reference, properties added to `ctf.team("team_name").flags[i]` are also added to ctf_map.map.teams.
- This means that the next time this table is passed to `ctf_flag.add`, this table would already contain the `claimed` property, that holds the name of the player who last claimed the flag at this pos, and the name of their team.

This is fixed by simply passing `map.teams.pos` to `ctf_flag.add` using `table.copy`
2019-07-11 08:57:10 +02:00
ANAND
99bb09def6
ctf_events: Fix grenade kills not being detected (#428) 2019-07-10 15:49:33 +05:30
ANAND
b289da8344
Update ctf_pvp_engine
This is so annoying...
2019-07-10 14:56:04 +05:30
ANAND
f3cd2a0539
Update maps submodule 2019-07-06 14:03:19 +05:30
ANAND
c30d3d84d9
ctf_map: Fix per-map treasures registering at server startup (#421)
Fixes regression introduced by abbd62ac, which calls `load_map_meta` for all maps right at server startup, instead of calling it per-map for every new match.
2019-07-06 10:16:04 +05:30
Lone_Wolf
045281e60d Fix crash due to missed updation of ctf_color.get_color in ctf_bounties (#427) 2019-07-05 21:48:59 +05:30
ANAND
102792032a
Update maps submodule 2019-07-05 19:57:35 +05:30
ANAND
82c4dab2bf
Update ctf_pvp_engine 2019-07-05 16:12:45 +05:30
ANAND
60d3f2600e
Merge branch 'master' of https://github.com/MT-CTF/capturetheflag 2019-07-05 15:49:06 +05:30
ANAND
85959ba913
Fix deprecated API method calls 2019-07-05 15:48:59 +05:30
Lone_Wolf
03f368743e ctf_map: Force-register aliases (#423)
Fixes aliases not being registered, as they are names of existing items.
2019-07-05 06:21:13 +05:30
ANAND
1aca94fd8c
medkits: Fix missing return statement
This fixes the flags not being capture-able
2019-07-03 12:24:54 +05:30
rubenwardy
0d6c80642c Update ctf_pvp_engine 2019-07-03 06:17:49 +01:00
ANAND
37d88a88a1
Disable respawn immunity message when hitting teammates (#417) 2019-06-25 18:54:57 +05:30
ANAND
62eb068c35
Increase capacity of team-chest (#380)
+ cosmetic and code-style improvements
2019-06-23 12:34:15 +05:30
Thomas--S
74c8531de4 Maps catalog: Use textareas for hint and license, add others (#413) 2019-05-15 20:34:25 +05:30
Thomas--S
0d04bfd081 Add random message for maps catalog (#414) 2019-05-14 13:24:02 +05:30
ANAND
72f48db70d
Update maps submodule
Screenshots have been added for all existing maps
2019-05-12 23:37:37 +05:30
Thomas--S
16ba9ef044 update.sh: Move map screenshots to ctf_map/textures/ (#411) 2019-05-12 23:06:39 +05:30
Thomas--S
4d6b3512ab ctf_map: Move duplicated code to helper function (#410) 2019-05-12 23:03:32 +05:30
Thomas--S
9956606899 Maps catalog: Abort if no maps are available (#412) 2019-05-12 22:49:14 +05:30
ANAND ︻气デ═一
abbd62acc8
Add maps catalog (#381)
This allows maps to have a description, a valid viewable license, screenshot, etc.
2019-05-12 18:53:31 +05:30
ANAND
967dee94a0
Remove leftover debug message 2019-05-12 14:52:12 +05:30
Lars Müller
b8d1bdc9f3 Fix healing interrupted on new match due to respawn (#400) 2019-05-11 09:57:25 +05:30
Thomas--S
96636d4c88 Fix crash on grant/revoke of vote_starter, when granter/revoker is nil 2019-05-11 09:31:44 +05:30
Thomas--S
0eadaf9a96 Fix crash when kick vote target leaves before being kicked
Also fix the /unblock command which didn't work previously
2019-05-11 09:31:44 +05:30
Thomas-AC-Dev
ba432ea77c Improve feedback message upon reporting (#408) 2019-05-10 21:01:15 +05:30
ANAND
b9e7b3b58e
Update ctf_pvp_engine submodule
Includes:
- Fix missing priv check in chat message handler
- Remove chatplus leftovers
2019-05-01 12:11:29 +05:30
ANAND
4cb8e731ca
Rename global playertag to ctf_playertag 2019-04-12 15:41:14 +05:30
ANAND
dc850acd9d
Don't end respawn immunity on hitting team-mates (#404) 2019-04-12 15:22:32 +05:30
ANAND
fea07d8ae8
Exclude map's initial_stuff from list of treasures (#385) 2019-04-10 15:37:31 +05:30
ANAND
8f78cd7644
Update calls to ctf_colors.get_color (#396)
MT-CTF/ctf_pvp_engine#35. Also update ctf_pvp_engine submodule.
2019-04-09 14:01:18 +05:30
ANAND
802426b842
physics: Remove assertions and physics.change (#394)
Without the assertion, physics.set does the exact same thing physics.change would do.
2019-03-26 07:28:58 +05:30
rubenwardy
8b2174a7dc Remove saplings and flint fully 2019-03-21 17:45:39 +00:00
Anand S
a1f32d8fcf Remove all unused MTG features - Part 2
Including
- Saplings and corresponding growth functions and node-timers
- Features using node meta (e.g. bookshelves formspec)
- Signs (they're nothing without their meta)
2019-03-21 17:33:10 +00:00
ANAND
703a3bbc50
Improve grenades (#349)
- Reduce collision-checking interval
- Increase initial velocity of grenade entity
- Make grenade blast damage scaling more realistic
2019-03-21 00:40:16 +05:30
rubenwardy
682f63d74b
shooter: Fix incorrect eye_height used (#386) 2019-03-20 17:47:26 +00:00
ANAND
17f4cfd58e Add mod.conf for physics mod (#387) 2019-03-20 17:44:19 +00:00
ANAND
05033060db
shooter: Fix incorrect eye_height used 2019-03-20 15:40:43 +05:30
ANAND
daf09af648
Update maps sub-module (#384)
Includes fix for unknown items, due to maps specifying wooden tools as initial stuff.
2019-03-20 13:32:57 +05:30
ANAND
29a0861aef
Add HUD score elements for flag pickup and capture (#378) 2019-03-19 22:34:41 +05:30
ANAND
ed85e3258b
Fix indestructible snow and ice not being slippery (#377) 2019-03-19 22:34:25 +05:30
ANAND
d6dab9182a
Move physics mod into "other" modpack (#382) 2019-03-19 22:34:05 +05:30
ANAND
86ce4d7328
Completely remove wooden tools (#331)
The default items given on respawn will consist of wooden tools instead.
2019-03-19 22:24:43 +05:30
ANAND
b9d8d7b2a4 Update random message for reinforced cobble (#375) 2019-03-17 18:13:17 +00:00
ANAND
a3b41c154c Rename indestructible wool nodes (+ documentation and cleanups) (#367) 2019-03-17 14:43:31 +00:00
ANAND
ab423cea90 Fix param passed to get_player_by_name being nil (#374) 2019-03-17 10:49:00 +00:00
ANAND
b1da18dd86 Add map info to server status message (#175) 2019-03-17 03:38:24 +00:00
rubenwardy
e3a8f95f59 Add ctf_map.get_team_relative_z() and ctf_map.can_cross() 2019-03-17 03:33:12 +00:00
rubenwardy
d9f8042640
Optimise hud_score register_globalstep (#372)
Keeps track of the time until the next expiry, to avoid running the global step everytick
2019-03-17 03:21:51 +00:00
rubenwardy
905ab2607f Add steel ingot to reinforced cobble recipe 2019-03-17 02:29:16 +00:00
ANAND
7fa6da30bf Refactor and clean-up map_maker (#306) 2019-03-17 02:15:29 +00:00
ANAND
721290085d Add physics modifiers wrapper mod for player physics overrides (#289)
Closes #288
2019-03-17 01:50:27 +00:00
ANAND
3e2b6c083b Remove unused MTG features (Part 1)
- Removes `default/trees.lua`, which is full of tree-growing code.
- Removes `killme` mod, as the exact same code is present in `game_commands` mod.
Fixes #362
2019-03-17 01:46:47 +00:00
ANAND
123ed6d1f5 Extend /summary to show scores of current match as well
Fixes #310
2019-03-17 01:37:20 +00:00
rubenwardy
762682ea80
Merge ctf_team_base into ctf_map 2019-03-17 01:36:15 +00:00
ANAND
5643fdf802 Add hud_score mod API
Fixes #72
2019-03-17 01:35:51 +00:00
Thomas--S
f8b90c60a2 Increase marker visibility time to 30 seconds 2019-03-17 01:33:56 +00:00
Anand S
67975e74c7 Add ctf_markers mod 2019-03-10 00:32:34 +00:00
Thomas--S
1a2948b359 Fix normal -> unbreakable bug 2019-03-09 23:30:08 +00:00
Anand S
8b706130aa Fix medkits HP leak due to missing check 2019-03-08 17:43:31 +00:00
ClobberXD
32c0726995 Make tsm_chests:chest indestructible 2019-03-07 11:46:06 +00:00
Anand S
a5eb95b9ec Update maps sub-module 2019-03-06 07:27:29 +00:00
Anand S
92c5600d7e Tweak and optimize medkits 2019-03-06 07:27:29 +00:00
rubenwardy
82c2477d70 Fix falling sand exploit again 2019-03-05 18:04:19 +00:00
rubenwardy
806e56d116 Fix Travis error 2019-03-05 13:55:49 +00:00
rubenwardy
2789d141c3 Tweak medkit settings 2019-03-05 13:54:34 +00:00
Anand S
b7bab11c3b Add medkits, remove apples 2019-03-05 13:54:25 +00:00
MinetestSam
3e57880520 Add bandages 2019-03-05 13:44:14 +00:00
rubenwardy
82fb96c168 Fix rebase issue 2019-03-05 13:15:09 +00:00
ANAND
cb08c8c6e0 Fix furnace meta not being wiped 2019-03-05 13:10:00 +00:00
rubenwardy
c9bcfbb36e Make snow slippery 2019-03-05 13:08:24 +00:00
ANAND
2b2a4222a8 Add reinforced cobble 2019-03-05 13:08:14 +00:00
archfan
ee8073eed1 Add killnode 2019-03-05 12:44:14 +00:00
MinetestSam
20daeebead Add traps 2019-03-05 12:39:55 +00:00
rubenwardy
0095c18678 Merge branch 'master' of github.com:MT-CTF/capturetheflag into dev5.0 2019-03-05 11:09:48 +00:00
ANAND
b2fc302822 Combine furnace recipes; use group:stone as input (#340) 2019-02-28 03:48:50 +00:00
ANAND
91c5f47886 Allow maps to optionally specify custom treasures (#351) 2019-02-24 05:11:16 +00:00
ANAND
b54f6b204d Set collide_with_objects to false for arrows (#343) 2019-02-23 15:11:49 +00:00
ANAND
84c55a3d7a Reduce width of name column in scores formspec (#344) 2019-02-23 15:11:35 +00:00
ANAND
3955a1d765 Fix missing indestructible stairs and wool 2019-02-23 15:10:15 +00:00
rubenwardy
97d3e6ba78 Fix gauges 2019-02-03 04:26:06 +00:00
rubenwardy
947715fbe8 Fix bugs introduced by Minetest 5.0 2019-02-03 04:21:27 +00:00
MinetestSam
5daefadc7e Add 'Indestructible' prefix to indestructible nodes 2019-01-16 18:46:20 +00:00
ClobberXD
9f3c9afec4 Fix textures placed in the incorrect directory 2019-01-16 10:43:07 +00:00
ClobberXD
dd722cb08a Provide a large set of indestructible nodes with ctf_map 2019-01-13 16:53:36 +00:00
rubenwardy
3c57a71f20 Improve sorting of player score metric 2019-01-11 19:01:49 +00:00
rubenwardy
4d299b19d6 Readd maps submodule 2019-01-11 18:51:35 +00:00
rubenwardy
af9d3c212c Add player ranking breakdown 2019-01-11 16:29:36 +00:00
rubenwardy
b38a89c2fe Reorganise game into modpacks 2019-01-11 15:52:47 +00:00
ClobberXD
86a5266bb5 Reorder crafting recipes to display more important recipes on first page 2019-01-11 11:14:31 +00:00
rubenwardy
bb67e026ff
Fix crash due to regression in previous commit 2019-01-09 20:05:43 +00:00
rubenwardy
2bf00d37b6
Remove debug error printing from ctf_map 2019-01-09 17:34:51 +00:00
MinetestSam
29927d8d01 Add alternate furnace recipe 2019-01-09 13:44:42 +00:00
rubenwardy
141f165289 Fix use of 5.0 setting method 2019-01-06 00:59:59 +00:00
rubenwardy
919edf0aee Add ability to disable maps 2019-01-06 00:34:36 +00:00
rubenwardy
6b657ceff6 Fix linter 2019-01-05 23:41:24 +00:00
rubenwardy
244d256afe Remove ABMs 2019-01-05 23:24:53 +00:00
rubenwardy
949aa35afc Remove chatplus 2019-01-05 23:16:18 +00:00
ClobberXD
8075a5d83f Reduce lava flow range to 2 2019-01-05 14:44:25 +00:00
rubenwardy
bdf4598aa7 Revert "Send kills to IRC channel"
This reverts commit 460fd335ff.
2018-12-31 17:51:51 +00:00
ClobberXD
86cb53e185 Handle kill weapon type in ctf_events instead of ctf_pvp_engine 2018-12-31 17:00:52 +00:00
ClobberXD
12c1a2501b Set nametag color of flag bearer to their team color 2018-12-31 12:32:25 +00:00
ClobberXD
bb260b2274 Fix bounty loopholes 2018-12-30 23:27:16 +00:00
ClobberXD
cdef72cf5d Fix missing assignment of return value (#308) 2018-12-30 23:11:17 +00:00
ClobberXD
3b4692814d Allow specifying optional param for /r 2018-12-30 23:10:39 +00:00
MinetestSam
2b8356511f Add a random message for /r 2018-12-30 23:10:11 +00:00
ClobberXD
0a8f7233ee Replenish stamina on respawn 2018-12-30 23:09:25 +00:00
shivajiva101
8b41008bc1 Fix team-chest shift-click 2018-12-30 23:08:55 +00:00
ClobberXD
904c47dea2 Replace deprecated settings_* API methods 2018-12-30 23:08:25 +00:00
ClobberXD
f2c864ac04 Clear kill list on new match 2018-12-30 23:08:05 +00:00
ClobberXD
7acf79df24 Improve vote_kick feature 2018-12-30 23:07:22 +00:00
ClobberXD
fca7dc5678 Eliminate shooter's dependency on tnt_explode.ogg 2018-12-30 23:04:59 +00:00
shivajiva101
c94e34d911 Fix team-chest blacklist
fix typo in the ipair loop for the blacklist table
2018-12-04 19:19:54 +00:00
ClobberXD
5bb2cff6c5 Fix and improve /reset_rankings 2018-12-03 16:29:12 +00:00
ClobberXD
e865091a5a Hide builtin nametags on join until replaced by entity nametags 2018-12-03 09:37:32 +00:00
ClobberXD
6e8ca1505d Update ctf_pvp_engine to 6f5bcd0
I made a stupid mistake of not fetching the latest commits, and ended up updating the submodule to Gael's team-locking PR in #284

First time updating submodules, sorry >.<
2018-11-30 02:32:44 +00:00
ClobberXD
9a8076be4d Update ctf_pvp_engine to aa12c0d 2018-11-29 16:30:48 +00:00
ClobberXD
678c86aef5 Allow players to cross barrier if fly=true, interact=false 2018-11-29 16:19:07 +00:00
ClobberXD
7140e8430e Add workaround for orphaned entities (increased delay) 2018-11-29 16:09:57 +00:00
ClobberXD
c0fe21d01a Re-add mods/default/crafting.lua with only the fuel recipes 2018-11-29 15:56:09 +00:00
ClobberXD
ed5239cb56 Remove unused arg from ctf_colors.get_color and ctf_colors.get_irc_color 2018-11-29 15:53:27 +00:00
ClobberXD
a3989a6807 Fix points being for suicide and disable gun damage during buildtime 2018-11-29 15:52:43 +00:00
MinetestSam
4161ba0bee Add a 'x' minute temporary lockout feature when vote kicked 2018-11-29 15:45:17 +00:00
ClobberXD
b82af22a05 Allow .git in map dirs 2018-11-26 19:29:20 +00:00
ClobberXD
63835a51fa Add maps as submodule in mods/ctf_maps/maps 2018-11-26 19:16:40 +00:00
ClobberXD
1c7399b2cb Expose methods in gauges globally 2018-11-26 16:28:37 +00:00
ClobberXD
93da7d0108 Fix missing field: default.node_sound_snow_defaults 2018-11-21 09:12:51 +00:00
MinetestSam
2ae45bba97 Add vote_kick privilege to grant access to kick voting 2018-11-20 13:39:09 +00:00
ClobberXD
def3b99150 Fix accidental inclusion of 5.0-only methods 2018-11-20 13:22:44 +00:00
ClobberXD
5b3efd8909 Fix EOM shown before winner_player is initialized 2018-11-20 13:21:42 +00:00
Lone_Wolf
04e6a43cd2 Modify ammo recipe and add a new recipe that uses tin 2018-11-20 13:21:25 +00:00
ClobberXD
edecba43c2 Update stairs to latest MTG version
The 5.0 seems to add inner and outer stairs, which would be useful for maps and the ind_nodes PR.

Maps using stairs from 0.4-stable should still work, as the 5.0 version just adds more to the existing set of stairs and slabs.
2018-11-20 13:20:51 +00:00
ClobberXD
966aa08667 Delete default/crafting.lua 2018-11-18 15:42:15 +00:00
ClobberXD
0dd95d24eb Improve crafting recipe of ladder_wood
Current: 7 sticks -> 5 ladders
Proposed: 8 sticks -> 4 ladders

Fixes #249
2018-11-18 15:30:15 +00:00
MinetestSam
0c68a4564e Fix furnace and axe recipes 2018-11-18 15:16:01 +00:00
AKryukov92
e6e9760320 Add validation to map detection, to fix some issues 2018-11-16 19:52:02 +00:00
ClobberXD
696a44d3d9 Remove maps 2018-11-16 10:15:39 +00:00
ClobberXD
66a8a73c68 Fix summary not stored before restart
- Match summary is now shown at the end of the going match (using `registered_on_winner` and `register_on_skip_map` callbacks), instead of at the start of the next match.
- Therefore, `prev_match_summary` is now preserved even after restart.
- Also fixes the "Can't initialize mod storage twice" error which occurred due to mod storage also being initialized in `gui.lua` to set/get summary from mod storage. Now, the code for storing and retrieving `prev_match_summary` has been moved to init.lua itself.
2018-11-14 12:48:05 +00:00
rubenwardy
b28f5b94bb Revert "Display kill score as a HUD element (#182)" 2018-11-12 22:35:20 +00:00
rubenwardy
190d7b7e55 Fix crash due to running :get_player_name() on a string
Fixes #239. @ClobberXD
2018-11-12 22:26:36 +00:00
ClobberXD
c6b3fbd0ce Improve rankings formspec
- Renamed `render_per_team_stats` to `render_team_stats`, for the immaculate intention of shortening lines without adding a line-break.
- Adds fixed minimum width to columns to space them out.
- Displays a player's rankings at the bottom of the formspec without having to scroll down. (if the player isn't in the top 50)
  - This is achieved using a very hacky method: Another table is required, with the same column widths as the main table. This is the reason why I added fixed width to columns in the main table. :)
2018-11-12 21:31:05 +00:00
Anand S
5bd09b46ad Add /r to allow players to take a quick peek at their score 2018-11-12 15:26:40 +00:00
Anand S
d0ff9e332a Fix /rankings not returning text output 2018-11-12 15:26:40 +00:00
ClobberXD
9ac91d8ee1
Map Editor: Save context to mod_storage until map has been exported (#236) 2018-11-12 18:40:09 +05:30
ChandlerBing1994
425770efda Improve colored team door texture 2018-11-12 11:54:04 +00:00
ClobberXD
77cdecc15e
Display kill score as a HUD element (#182) 2018-11-12 11:45:51 +05:30
tidle
d111d8673a Add ammo crafting recipe 2018-11-12 04:34:17 +00:00
tidle
85a9eddd4f Update chest text to include exact KD number 2018-11-12 04:31:07 +00:00
ClobberXD
b07f318411 Improve layout of ctf_map GUI 2018-11-12 04:11:23 +00:00
ClobberXD
58fe5230d6 Replace middle barrier with water if surrounded by water 2018-11-12 04:06:52 +00:00
ClobberXD
6562959e63 Add ceiling and bedrock during barrier placement 2018-11-12 04:05:38 +00:00
AKryukov92
bdf0bbef94 Fix variable scope violation (#233)
closes #230
2018-11-11 23:09:15 +05:30
rubenwardy
df0adb4495
Fix crash on rightclick of orphan team chest
Fixes #228
2018-11-10 20:21:15 +00:00
AKryukov92
7ed2aabfff Enable PvP during server startup. 2018-11-10 10:19:26 +00:00
ClobberXD
f9d6ecd0bb Add wool mod 2018-11-10 09:53:50 +00:00
ClobberXD
664330276a Enable crafting of powerful tools 2018-10-17 22:27:33 +01:00
ClobberXD
41409ce158 Remove gold-related nodes and craftitems 2018-10-17 22:26:43 +01:00
ClobberXD
e43448482b Add support for transferring player stats 2018-10-17 22:25:40 +01:00
ClobberXD
f8a6b64627 Implement item blacklisting for team chests 2018-10-17 22:24:25 +01:00
ClobberXD
b30ea671e4 Use callback to stop punches in buildtime instead of setting
This stops the server list showing CTF as non-pvp
2018-10-17 22:22:44 +01:00
ClobberXD
6375bb2cf0 Fix map editor not saving team flag positions
Previously, meta was written to map.conf *before* setting the aforementioned values
2018-08-31 13:11:35 +01:00
ClobberXD
72c5afab55 Fix vote related bugs
* Reset playertag on new match
* Clear votes on new match
2018-08-20 11:23:42 +01:00
ClobberXD
c1fe05b78f Improve and fix some end-of-match formspec issues
* Fix clipped labels in end-of-match formspec
* Improve format for match duration
* Clean up code
2018-08-03 18:51:25 +01:00
ClobberXD
d6b7ae9b61 Add coloured team-doors
- Add coloured team-doors for visual distinction.
- Players can only ever have normal steel doors in their inventory which then convert into their respective team-doors on place.
- Team-doors can be opened by anyone from the placer's team, _irrespective of its location in the map_ (which is the expected behaviour).
2018-08-03 18:50:24 +01:00
ClobberXD
e9f3da31a6 Change ladder recipe to use sticks instead of wood 2018-08-03 14:25:09 +01:00
ClobberXD
65275185ba Deprecate /rankings me, always show player in rankings
- Deprecate `/rankings me`, `/rankings` is used to check own stats too.
- On `/rankings`, the league table is displayed with caller's stats highlighted in yellow.
  - If in top 50, stats are highlighted as-is.
  - If not in top 50, stats are appended to the bottom of the list.
2018-08-03 12:38:34 +01:00
rubenwardy
da8c9b53aa
Revert "Use an LVM to emerge map, place schematic, and fix lighting"
This reverts commit 7732d0c23d.
2018-07-19 22:17:15 +01:00
rubenwardy
35da0ca3fe
Revert "Fix lighting glitches on LVM map caused by engine mapgen"
This reverts commit ae8005a1f4.
2018-07-19 22:17:15 +01:00
ClobberXD
c7a8998b7c Fix county being awarded on suicide 2018-07-12 18:41:56 +01:00
rubenwardy
55b9ecf4a8
Fix crash caused by summary recall 2018-07-10 20:44:26 +01:00
Anand S
2ffaed27af Add /summary command to show last match's stats
* Add /summary command

* Fix invalid method names
2018-07-02 09:18:25 +01:00
rubenwardy
460fd335ff
Send kills to IRC channel 2018-06-25 00:04:35 +01:00
Gaël C
ead8366790 Fix team name in bounty announcement
It was set to the message receiver's color instead of the bounty holder's color.
2018-06-24 23:15:18 +01:00
rubenwardy
469347f716
Add map reload feature 2018-06-24 23:14:18 +01:00
rubenwardy
d3c8f39372
Add /set_next command, cycle rather than random 2018-06-24 21:17:23 +01:00
rubenwardy
b4be27e4a5
Require two flags before being able to export 2018-06-23 15:54:00 +01:00
rubenwardy
493a11a213
Remove report sending to email 2018-06-23 15:33:18 +01:00
rubenwardy
ae8005a1f4
Fix lighting glitches on LVM map caused by engine mapgen 2018-06-23 14:24:57 +01:00
Anand S
7732d0c23d
Use an LVM to emerge map, place schematic, and fix lighting 2018-06-23 13:39:01 +01:00
Anand S
0e1525d282 Make target name coloured by team in bounty announcement 2018-06-20 11:17:26 +01:00
Jak R
da9ab8ec15 Add ind_dirt and ind_dirt_with_grass 2018-06-08 23:35:28 +01:00
SmallJoker
0430aabdb0 Fix ability to use builtin inventory lists to store items between matches or craft 2018-05-04 19:01:53 +01:00
Anand S
bf9ae1a75a Fix team door craft recipe 2018-04-22 12:05:05 +01:00
SmallJoker
5ccf060841 Fix afkkick countdown notification 2018-04-22 11:50:41 +01:00
rubenwardy
543c9ad6b7 Add bronze craft recipe 2018-04-20 03:02:19 +01:00
rubenwardy
ca51ec9838
Fix crash due to lack of stats migration 2018-04-19 01:01:19 +01:00
rubenwardy
dde410ee8d
Fix crash on /rankings 2018-04-19 00:57:28 +01:00
rubenwardy
8c33076724 Add mese -> mese crystal 2018-04-19 00:45:21 +01:00
rubenwardy
10988ab6d8
Add more crafts 2018-04-18 23:49:22 +01:00
rubenwardy
52f2b617cc
Add crafting mod 2018-04-18 23:30:38 +01:00
rubenwardy
8c67155cdb
Add background to rankings GUI 2018-04-18 23:02:59 +01:00
rubenwardy
12d7228ff0
Add bounty kills to stats 2018-04-18 23:00:58 +01:00
Gaël C
cf81d194f9 Add more info to end of match score board
* Added name of winner team
* Number of kills, attempts, and score - total and per team
* Match duration
2018-04-18 21:49:47 +01:00
Anand S
b7bec9168b Fix issues with bounty_score
* Set lower limit to bounty
* Check for div-by-0 before calculating bounty_score
* Rounded score after calculation
* Changed the divisor from 10000 to 5000 to prevent very tiny bounties on targets
2018-04-08 15:48:33 +01:00
rubenwardy
e3b12312e5 Fix warnings in new luacheck 2018-04-06 16:18:32 +01:00
rubenwardy
6b8049f1aa Improve team algorithm 2018-04-06 16:10:05 +01:00
rubenwardy
7bd82dca86 Fix a load of issues, add luacheck and travis 2018-04-06 14:04:56 +01:00
rubenwardy
c21b192f82 Add naive team sorting and shuffling
Will probably be shit. Fixes #37
2018-04-06 13:35:13 +01:00
rubenwardy
0abd12b8a1 Fix errors in previous commits 2018-04-06 13:31:54 +01:00
Anand S
dc6c86d98c Add highlighted PM messages 2018-04-06 12:58:31 +01:00
Anand S
622b588e93 Add even more random messages 2018-04-06 12:58:12 +01:00
Anand S
ea51cf4152 Make bounties dynamic, plus small ctf_stats change
Top 50 (instead of 41) players in the league table
2018-04-06 11:21:44 +01:00
Anand S
ccd40285f0 Used colored chat messages in various mods 2018-04-06 11:20:35 +01:00
rubenwardy
0bca42e392 Update messages 2018-04-01 16:59:32 +01:00
Anand S
231b49c146 Add more strings to random_messages.messages
Also reduced the interval between messages from 120 seconds to 60 seconds.
2018-04-01 13:13:13 +01:00
Anand S
bb10976243 Increase grenade blast radius and damage
adds realism to grenades, which can now be relied upon...
2018-04-01 13:07:27 +01:00
Anand S
a4472242a8 Decrease Apple stack_max count from 99 to 30 2018-04-01 13:05:52 +01:00
rubenwardy
da892007cc Add bounties 2018-04-01 12:58:17 +01:00
rubenwardy
5b5d970fe9 Add name to report messages 2018-03-30 13:00:26 +01:00
rubenwardy
89e831c5c4 Add /report_sub so moderators can subscribe to reports 2018-03-30 12:36:34 +01:00
Andrew Mac
4ae687086a Fix syntax error in good weapons list 2018-02-18 08:30:50 +00:00
Anand S
87454dd0e3 Improve ctf_stats
* Modified ctf_stats/init.lua

* Modified ctf_stats/init.lua

- Max. points for a kill has been increased from 150 to 200
- good_weapons list has been modified to include *all* mese and diamond implements
- Minor corrections in comments

* Delete init.lua

Was created by accident in the root directory of repo
2018-02-15 08:04:34 +00:00
AKryukov92
11e8360639 Fix looting flint from gravel 2018-02-11 15:44:35 +00:00
AKryukov92
f179b4f52d Update good weapons list in ctf_stats 2018-02-11 15:44:10 +00:00
rubenwardy
06b9e6ee8d Add placable flags to map editor 2018-02-04 03:57:32 +00:00
rubenwardy
b9dfb1b5b0 Add forward and send as to email 2018-02-02 14:40:36 +00:00
rubenwardy
eb5b2514e6 Remove online moderator from /report 2018-02-02 14:24:04 +00:00
rubenwardy
460774edaa Remove author name from IRC message 2018-01-28 00:39:20 +00:00
rubenwardy
4f7a88facf Add rounding to score given by /rankings 2018-01-27 22:17:15 +00:00
rubenwardy
c6526d32f2 Announce map name and author to IRC 2018-01-27 19:44:25 +00:00
rubenwardy
6c6f150b91 Split ctf_team_base init.lua into multiple files 2018-01-27 19:12:08 +00:00
rubenwardy
ddc9d88a03 Remove some nodes and items inherited from MTG 2018-01-27 19:08:50 +00:00
rubenwardy
8cbceb9e4d Fix dropondie not taking map's initial stuff into account 2018-01-27 18:45:52 +00:00
rubenwardy
7836ba78c2 Add call for map makers 2018-01-27 17:55:58 +00:00
rubenwardy
9d6c4ef5f3 Fix incorrect random message after pro-section K/D requirement decrease 2018-01-27 00:54:56 +00:00
rubenwardy
c371887f68 Move sprint time fix to settings 2018-01-27 00:07:07 +00:00
rubenwardy
d5f6296c11 Add reset_rankings command 2018-01-27 00:01:17 +00:00
rubenwardy
8db15f5173 Fix /rankings <name> not returning as chat command result 2018-01-26 23:51:36 +00:00
rubenwardy
e93dbc9bc8 Reduce K/D requirement for pro-section to 1.5 2018-01-26 23:48:09 +00:00
rubenwardy
d8725d559f Require a minimum score of 10 to access the team chest 2018-01-26 23:47:00 +00:00
rubenwardy
77d622b10c Readd clear objects at end of round 2018-01-26 23:24:31 +00:00
rubenwardy
33c4c98dba Fix accidental increase of sprint time 2018-01-26 23:22:07 +00:00
rubenwardy
c53722376c Fix accidental removal of all but cavern map 2018-01-26 22:58:15 +00:00
rubenwardy
10a7a61dc8 Add sticks to team chest 2018-01-26 22:55:21 +00:00
rubenwardy
26a153a232 Add support for arbitrary number of chest zones 2018-01-26 22:44:56 +00:00
rubenwardy
b8c18c1ee6 Use warning for TSM chests success instead of print 2018-01-26 22:44:33 +00:00
rubenwardy
ff17a70010 Increase steel swords in chests 2018-01-26 22:07:00 +00:00
rubenwardy
6440e66cad Increase number of chests 2018-01-26 20:09:30 +00:00
rubenwardy
512211ca0d Add support for map hints 2018-01-26 18:33:02 +00:00
rubenwardy
8727cc77eb Fix middle barrier not being removed 2018-01-26 17:40:09 +00:00
rubenwardy
e44942ba05 Fix place CONTENT_IGNORE error by correcting references to removed ctf_barrier:ind_stone 2018-01-26 17:17:12 +00:00
rubenwardy
ba6096148d Add alases to remove unknown nodes in maps 2018-01-26 17:15:46 +00:00
rubenwardy
8469e1ee09 Remove broken random spawn logic 2018-01-26 17:03:34 +00:00