Commit graph

21 commits

Author SHA1 Message Date
ANAND
680dd4c87c Fix crash upon invoking /maps_reload (#486) 2019-10-31 10:49:34 +01:00
ANAND
17a974c1c3
ctf_map: Move on_joinplayer callback for skybox mgmt. into time_sky.lua 2019-10-29 15:23:15 +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
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
c4e3683071 Map maker: Add support for optionally specifying base node 2019-10-09 20:20:14 +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
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
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
Thomas--S
74c8531de4 Maps catalog: Use textareas for hint and license, add others (#413) 2019-05-15 20:34:25 +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
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
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
762682ea80
Merge ctf_team_base into ctf_map 2019-03-17 01:36:15 +00:00
ANAND
91c5f47886 Allow maps to optionally specify custom treasures (#351) 2019-02-24 05:11:16 +00:00
rubenwardy
b38a89c2fe Reorganise game into modpacks 2019-01-11 15:52:47 +00:00
Renamed from mods/ctf_map/schem_map.lua (Browse further)