Commit graph

38 commits

Author SHA1 Message Date
Toby1710
b49909fc50
Change colors for /r output (#759)
* Change stats color when type /r

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-01-23 09:13:13 -08:00
LoneWolfHT
009b5d952c Make combat loggers give more score than usual 2020-12-27 10:03:27 -08:00
LoneWolfHT
fbf0126599
Allow more than two teams in a match at once (#724)
* Fix bugs with more than two teams

* Fix team allocation

* Fix bugz

* Fix crash

* Fix crash with crash fix
2020-12-25 10:37:02 -08:00
LoneWolfHT
b197ead7f0 Fix up code style in last commit 2020-11-24 12:44:16 -08:00
Axaxax88
ac4e98e076 Add Team K/D to summary
These changes will add "Team K/D" to summary counted from red and blue kills and deaths.

Update gui.lua

Update gui.lua
2020-11-24 12:40:27 -08:00
KaylebJay
a48be11d74
Give capturers 10% of the match score (Limited 50-750) (#700)
* Give capturers 10% of the match.score or 50 points

* limit max capturing score to 750

* fix my commit

* OKAY OKAY I'll make it i

* missed the most important part
2020-11-24 12:32:18 -08:00
PiMonkey
9c48ad2c7c
Fix total score not fitting in the summary formspec (#696) 2020-10-28 08:26:59 -07:00
LoneWolfHT
779e0973a6 Re-add MTG: Trim out the remaining bloat from default 2020-09-22 15:48:35 -07:00
LoneWolfHT
b4f3ea3294
Add automatic skip votes by ANAND (#675) 2020-09-03 11:48:33 -07:00
ANAND
1967a83da7
/makepro: Request save if modified 2020-05-31 20:17:42 +05:30
ANAND
3db5696889
ctf_stats: Improve /makepro chat-command (#638) 2020-05-30 20:37:57 +05:30
ANAND
181b13d1d0 ctf_stats: Add ctf_stats.request_save
This functionality allows mods to request a save (not immediate) if they modify player stats.
2020-05-20 23:28:30 +05:30
ANAND
f1a2006ec5 ctf_stats: Separate save-checking code from the actual saving code
This allows mods to directly call ctf_stats.save without having to pass unnecessary params like force_save = true.
2020-05-20 23:28:30 +05:30
ANAND
5dfa347642
ctf_stats: Immediately write to mod storage at end of match (#608)
Add an optional force_save param to ctf_stats.save to allow bypassing the _needs_save check.
2020-05-07 11:19:20 +05:30
MinetestSam
6238fb2540
ctf_stats: Add sniper rifles to good_weapons (#605) 2020-05-01 18:32:36 +05:30
ANAND
733f4460f7
ctf_stats: Remove unused code
Leftover by commit a417e857
2020-04-23 12:16:45 +05:30
ANAND
a417e857ef
Improve match duration metric; move to ctf_match (#539) 2020-04-21 20:19:57 +05:30
ANAND
446def1294
Rename on_skip_map to on_skip_match (#581) 2020-04-21 07:38:31 +05:30
ANAND
ffdb5dd799 Add /s chat-command alias for /summary 2020-04-12 12:37:56 +05:30
rubenwardy
d973815a18 Fix variants of class items being allowed to drop 2020-03-14 20:00:32 +00:00
ANAND
54598ce947
Fix comparison of number with nil 2020-01-10 12:05:13 +05:30
MinetestSam
f955ac8916 Disallow transfer of stats if source and destination are same (#554) 2020-01-06 15:05:40 +05:30
ANAND
123695cd0e
ctf_stats: Tweak scoring algorithm a bit (#538) 2019-12-27 19:10:27 +05:30
MinetestSam
daafb12363 Change greater than operations to greater than or equal to in is_pro (#528) 2019-12-15 20:47:19 +01:00
MinetestSam
d25e060d90 Double the scores awarded for attempts and captures (#526) 2019-12-15 18:59:37 +05:30
Thomas--S
19ce34153b
Increase score requirements for is_pro
Closes #519
2019-12-05 19:36:03 +01:00
ANAND
6e35425e4c Add ctf_stats.is_pro; consolidate "pro-ness" calculations (#517) 2019-12-05 19:33:38 +01:00
ANAND
6b33c8e9cc
ctf_stats: Add support for retrieving stats by rank (#454) 2019-11-27 11:30:39 +05:30
ANAND
7e73ff05eb
Refactor ctf_stats [Part 1] (#491)
Move all chat-commands into separate file - chat.lua
2019-11-25 10:31:53 +05:30
ANAND
4de074dc17 ctf_stats: Add map name to match summary (#495) 2019-11-24 21:38:15 +01:00
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
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
e53732f41e Remove saving from ctf_pvp_engine 2019-08-28 18:46:14 +01:00
ANAND
29a0861aef
Add HUD score elements for flag pickup and capture (#378) 2019-03-19 22:34:41 +05:30
ANAND
123ed6d1f5 Extend /summary to show scores of current match as well
Fixes #310
2019-03-17 01:37:20 +00:00
ANAND
5643fdf802 Add hud_score mod API
Fixes #72
2019-03-17 01:35:51 +00:00
ANAND
84c55a3d7a Reduce width of name column in scores formspec (#344) 2019-02-23 15:11:35 +00:00
rubenwardy
b38a89c2fe Reorganise game into modpacks 2019-01-11 15:52:47 +00:00