Commit graph

85 commits

Author SHA1 Message Date
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
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
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
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
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
e53732f41e Remove saving from ctf_pvp_engine 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
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
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
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
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
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
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
rubenwardy
8b2174a7dc Remove saplings and flint fully 2019-03-21 17:45:39 +00:00
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