43 Commits

Author SHA1 Message Date
Panquesito7
d8ec80361b Use mod.conf instead of depends.txt (#43) 2019-08-28 12:06:18 +08:00
ANAND
769b278494
Pass tool_capabilities to on_killedplayer callbacks (#38)
Provides a solution to the regression introduced by 1c373b66, which removed passing of hard-coded kill types to on_killedplayer callbacks, and passed the wielditem instead.

The problem with passing wielditem is that throwables can't be detected, as the wielditem would be nil. Grenades used to be detected before the aforementioned commit due to the special `grenade` damage group in the grenade's toolcaps.
2019-07-06 21:27:15 +05:30
ANAND
4a2a907bd1
Fix call to deprecated method ObjectRef:moveto 2019-07-05 16:12:14 +05:30
ANAND
48545e39e8 Fix on_killedplayer callbacks running when victim has already died 2019-04-11 19:26:00 +01:00
ANAND
8f341538f4
Add custom autoalloc mode (#30)
Adds a new alloc_mode 4. Setting config key `allocate_mode` to 4 will make `ctf.autoalloc` invoke `ctf.custom_alloc`. If unimplemented, `ctf.custom_alloc` will throw an error when invoked.
2019-04-09 19:37:31 +05:30
rubenwardy
93ba341695 Add ctf.chat_send_team 2019-03-22 03:20:31 +00:00
ClobberXD
1c373b663b Pass wielded to on_killedplayer callbacks instead of hard-coded type 2018-12-31 12:36:26 +00:00
ClobberXD
d341978b90
Replace deprecated setting_* methods (#27) 2018-11-30 16:25:42 +05:30
ClobberXD
e7d5044afb Add support for separating static spawn-point from team-base 2018-11-11 20:24:37 +00:00
Gaël C
aa12c0d2f7 Prevent players from switching teams 2018-03-31 21:44:58 +01:00
rubenwardy
254d147bb2 Add team locking 2017-10-10 22:40:23 +01:00
rubenwardy
14452ddcd4 Correct typo: nubetest -> minetest
Thanks to @asl97
2016-11-23 21:26:18 +00:00
rubenwardy
80c47dd99b Add missing ctf.needs_save sets 2016-11-12 15:40:50 +00:00
rubenwardy
c54d7e2bbc Correct typo causing war declaring to fail 2016-05-19 22:04:13 +01:00
rubenwardy
aa6cef7a39 Check for grenade 2016-04-06 00:11:10 +01:00
rubenwardy
f3379d0dfd Allow friendly fire if you're killing yourself 2016-04-05 23:18:08 +01:00
rubenwardy
d92650158d Fix on_killedplayer being called multiple times 2016-04-05 17:25:11 +01:00
rubenwardy
f1bc56f4cd Give kill type to on_killedplayer, and fix crash in ctf_colors.get_color() 2016-04-05 17:15:59 +01:00
rubenwardy
5731eba276 Use background[ instead of image[ in ctf/gui.lua 2016-03-31 18:50:34 +01:00
rubenwardy
2921e509a4 Add some documentation 2016-03-31 18:04:48 +01:00
rubenwardy
f7890cdf66 Use team and tname consistently in ctf/gui.lua 2016-03-31 16:56:24 +01:00
rubenwardy
fc1edfa22c Fix potential security vulnability in diplomacy form 2016-03-31 16:45:50 +01:00
rubenwardy
904015f72c Fix diplomacy from the perspective of 2016-03-31 16:41:26 +01:00
rubenwardy
88aea4acb7 Add ctf.create_team(name, data) 2016-03-30 01:13:05 +01:00
rubenwardy
59d220f9a2 Fix some typos 2016-03-30 00:39:22 +01:00
rubenwardy
b70fb29a11 Add ctf_team_mgr priv, clean ctf_chat 2015-12-08 00:15:24 +00:00
rubenwardy
cbb838eb40 Add ctf.register_on_killedplayer callback 2015-12-04 00:14:36 +00:00
rubenwardy
d273457d99 More callbacks 2015-11-29 00:05:20 +00:00
rubenwardy
e672344383 Add logging to /t 2015-11-28 00:55:46 +00:00
rubenwardy
b72072c3ce Clean ups 2015-11-22 20:06:02 +00:00
rubenwardy
f8d56da0f0 Better help hints 2015-11-22 01:40:28 +00:00
rubenwardy
43e4d7fa75 Alerts via HUD who has a flag 2015-09-08 15:15:53 +01:00
rubenwardy
59a3d275bc Remove unnecessary logging 2015-09-08 14:08:51 +01:00
rubenwardy
4d00a8cf1d Create ctf_colors, clean up hud 2015-09-07 10:31:09 +01:00
rubenwardy
8f1b6c7abd fix typo 2015-09-01 18:59:05 +01:00
rubenwardy
e078025fa5 Message on friendly fire 2015-09-01 18:44:55 +01:00
rubenwardy
665030b5d5 Option to disable friendly fire 2015-09-01 18:27:43 +01:00
rubenwardy
3cebef3471 Make the player name colours easier to read 2015-07-27 18:21:24 +01:00
rubenwardy
727f63fe31 Remove unneeded log messages 2015-07-17 19:42:53 +01:00
rubenwardy
9196eec940 Fix team spawn on new player 2015-07-17 19:25:20 +01:00
rubenwardy
17e7a2b529 Fix bug on duplicated GUI settings, remove non-essential mods from CTF PvP Engine 2015-07-17 18:09:44 +01:00
rubenwardy
f961d96d68 newgame + endgame = match 2015-07-16 18:53:25 +01:00
rubenwardy
68e7cd397f Convert to ModPack 2015-07-16 18:25:25 +01:00