Commit graph

57 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
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
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
Panquesito7
515b0ca1f7
Use mod.conf and modpack.conf
Replaces depends.txt, description.txt, and modpack.txt
2019-08-31 10:31:14 +05:30
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
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
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
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
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
fea07d8ae8
Exclude map's initial_stuff from list of treasures (#385) 2019-04-10 15:37:31 +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
ed85e3258b
Fix indestructible snow and ice not being slippery (#377) 2019-03-19 22:34:25 +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
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
ANAND
7fa6da30bf Refactor and clean-up map_maker (#306) 2019-03-17 02:15:29 +00:00
rubenwardy
762682ea80
Merge ctf_team_base into ctf_map 2019-03-17 01:36:15 +00:00
Thomas--S
1a2948b359 Fix normal -> unbreakable bug 2019-03-09 23:30:08 +00:00
Anand S
a5eb95b9ec Update maps sub-module 2019-03-06 07:27:29 +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
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
91c5f47886 Allow maps to optionally specify custom treasures (#351) 2019-02-24 05:11:16 +00:00