Commit graph

378 commits

Author SHA1 Message Date
Anthony-De
f8cb85be9f
Fix up and re-add kill assists (#782)
* Add kill assists

* Fix bug

* Move to seperate mod

* Fix bugs and improve code some more

Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>
2021-02-08 16:03:03 -08:00
dependabot-preview[bot]
c9c2f6c7e0
Update Maps submodule (#786)
Bumps [mods/ctf/ctf_map/ctf_map_core/maps](https://github.com/MT-CTF/maps) from `08f5719` to `2b22d20`.
- [Release notes](https://github.com/MT-CTF/maps/releases)
- [Commits](08f571991b...2b22d20362)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-08 08:37:36 -08:00
LoneWolfHT
510ca896cd
Revert "Add kill assists (#755)" (#781)
This reverts commit 49f4e6fd47.
2021-02-05 15:46:29 -08:00
dependabot-preview[bot]
8315d0074a
Bump mods/ctf/ctf_map/ctf_map_core/maps from e8dffc7 to 08f5719 (#780) 2021-02-05 13:58:35 +00:00
Avyukt More
02fa088b24
Misc crafting changes (#773)
* Crafting Changes

* Smoke Grenade Crafting Change

* using group:wood instead of default:wood

* Adding Diamonds Craftable

* Update init.lua

* Changing value of the "ctf_traps:dirt" to 5 to craft at a time

Co-authored-by: Toby1710 <69259430+Toby1710@users.noreply.github.com>

* Equality between ctf_traps:dirt n ctf_traps:cobble

Co-authored-by: Toby1710 <69259430+Toby1710@users.noreply.github.com>
2021-02-04 06:30:01 -08:00
dependabot-preview[bot]
87d9057278
Bump mods/ctf/ctf_map/ctf_map_core/maps from 9dd765d to e8dffc7 (#778) 2021-02-02 14:32:07 +00:00
Anthony-De
49f4e6fd47
Add kill assists (#755)
* Update teams.lua

* Update teams.lua and init.lua

* Update teams.lua and init.lua

* Update teams.lua and init.lua

* Update teams.lua and init.lua Kill assist implemented

* Update init.lua Remove unused variables

* Added ctf.clearAssists function
Only awards those who did more that 50% of damage
Clears attackers stats after suicide

* Remove unused variable

* Minor modifications

renamed ctf.clearAssists to ctf.clear_assists
changed playerName to player

* Cap assist points

* Reaching full health while in combat clears assist data

* split points between assisting players by damage done

* Reworked assist data storage to work with a table rather than player metadata

* Fix lua check

* Removed duplicate scoring

* Change kill assist color

* Health regen subtracts from assist.
Suicide gives assist points

* Fixed accessing nil value for max_hp

* Corrected max_hp

* hardcode hp list for max hp
2021-02-01 08:24:29 -08:00
-sniper-
6515f1e189
Improve initial team chest items (#770) 2021-01-31 08:33:57 -08:00
dependabot-preview[bot]
e09ed4d0ea
Bump mods/ctf/ctf_map/ctf_map_core/maps from bbbe390 to 9dd765d (#765) 2021-01-28 15:26:57 +00:00
RyanZem
5e955ad4a4
Color score green in bounty messages (#745)
* Delete init.lua

* Make bounty color green   "bounty_score points!"

* Delete init.lua

* Make in bounty green color (bounty_score points!)

* Update init.lua

* Update init.lua

* Update init.lua

* Update init.lua

* Update init.lua

* Update init.lua

* Update init.lua

* Update mods/ctf/ctf_bounties/init.lua

Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>

Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>
2021-01-25 10:49:13 -08:00
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
Xenon
6fc6c8e871
Shorten marker message (#760) 2021-01-23 09:10:06 -08:00
realOneplustwo
ec36999fa3
Fix respawn immunity ending when hitting teammate (#742) 2021-01-20 10:09:55 -08:00
dependabot-preview[bot]
0c9cd8ea2e
Bump mods/ctf/ctf_map/ctf_map_core/maps from a643b6c to bbbe390 (#743) 2021-01-08 15:33:07 +00:00
David Leal
a412c02e20
Remove grapple if player changes class after throwing (#740)
* Remove hook if player has changed...

...their class after firing the hook.

* Make grapple don't return to...

...player inventory and improve message.

* Update ranged.lua

Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>
2021-01-07 17:35:34 -08:00
LoneWolfHT
92203a0c83 Lots of crafting changes/simplification 2021-01-06 12:58:20 -08:00
LoneWolfHT
22b7ee1ce5 Make special tools bronze instead of steel 2021-01-06 12:58:20 -08:00
LoneWolfHT
0f45a101b7 Make damage cobble hurt ranged weapon users 2021-01-06 12:58:20 -08:00
LoneWolfHT
8c33103e4c Fix up some minetest.is_protected functions 2021-01-06 12:58:20 -08:00
LoneWolfHT
3b291eab0d Increase paxel antipillar speed 5x 2021-01-06 12:58:20 -08:00
Apelta
10881d4211
Fix antisabotage bugs and make to work with paxel(#731)
* Fix crucial bugs with antisabotage

Fix possible crashes, infinite items, and any related issues

* Make sabotage into function to be used with paxel

* Fix paxel to work with antisabotage

* Fix whitespace for luacheck

* Update mods/pvp/antisabotage/init.lua

Remove unnecessary newline

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update function

* Update function name

* Add check for antisabotage

* Remove whitespace for luacheck

* Add antisabotage as an optional dependency

* Remove more whitespace

Co-authored-by: David Leal <halfpacho@gmail.com>

* Fix optional depends

dev wiki lied to me :(

Co-authored-by: David Leal <halfpacho@gmail.com>

* Fix up a comment P.1

* Move a line in mod.conf

* Fix up comments and spacing

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>
2021-01-05 20:14:55 -08:00
Emojigit
1da0840f11
Add medkit interrupt reasons (#729) 2021-01-03 09:20:59 -08:00
LoneWolfHT
0d09cae845 Fix bug with new map 2021-01-01 08:01:22 -08:00
LoneWolfHT
e0a448a300 Update Maps Submodule 2020-12-31 09:10:44 -08:00
LoneWolfHT
95c2677620 Update maps submodule 2020-12-27 10:04:14 -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
76db63ca4e Fix bug with players respawning as match ends 2020-12-23 13:24:40 -08:00
-sniper-
bafcc3a667
Make bounties scale more (#720)
* improve bounties

* give players with less than 50k pts lower bounty

* Update init.lua

* Update init.lua
2020-12-23 09:29:38 -08:00
LoneWolfHT
53a31fbdad Improve/fix a few things 2020-12-22 08:21:58 -08:00
rubenwardy
5103a5e8b8
Add message to assertion in schem_map (#722)
* Add message to assertion in schem_map

* Update mods/ctf/ctf_map/ctf_map_core/schem_map.lua

Co-authored-by: David Leal <halfpacho@gmail.com>

Co-authored-by: David Leal <halfpacho@gmail.com>
2020-12-18 17:30:59 -08:00
LoneWolfHT
b3f4218c15 Update Maps submodule 2020-12-17 08:52:48 -08:00
LoneWolfHT
441477a131 Update maps submodule 2020-12-16 09:02:46 -08:00
LoneWolfHT
7b790abcf3 Allow reports to send to Discord too 2020-12-16 09:01:42 -08:00
LoneWolfHT
ec0edc15ba Fix knight swords not allowing to open team chest 2020-12-13 11:05:59 -08:00
-sniper-
a51d7cd347
Colorize "flag regarding" messages (#715)
* Colorize "flag regarding" messages

* edit flag_func.lua

* edit api.lua

* edit matches.lua

* fix small bug in flag_func.lua

* fix another small bug in flag_func.lua
2020-12-13 08:44:31 -08:00
LoneWolfHT
0345c4e284 Update maps submodule 2020-12-13 08:43:27 -08:00
LoneWolfHT
47d9473e2e Change knight sword ability trigger to Sneak+RMB 2020-12-12 15:32:52 -08:00
LoneWolfHT
5975263e04 Fix respawn_delay crash 2020-12-12 08:01:30 -08:00
LoneWolfHT
d9cc457568 Update maps submodule 2020-12-10 10:40:08 -08:00
LoneWolfHT
73e70fa29d Fix crash and tweak ctf_respawn_delay height 2020-12-09 08:47:43 -08:00
-sniper-
6e04df9c4d
Fix new colors being a little too green (#714) 2020-12-08 13:13:18 -08:00
-sniper-
1683ba70a4
Colorize match start messages (#713)
* add minetest.colorize

* Change colors
2020-12-08 09:25:24 -08:00
LoneWolfHT
978c7ef641
Add CTF Respawn Delay (#712)
* Add respawn delay

* Fix weird edit of .luacheckrc
2020-12-07 11:30:35 -08:00
LoneWolfHT
779cb41de4
Give knights a sword with a special ability (#711) 2020-12-07 11:26:12 -08:00
LoneWolfHT
98fec72b33 Update maps/shooter submodules 2020-12-05 10:58:59 -08:00
LoneWolfHT
98928211f6 Improve Smoke Grenades 2020-12-05 10:58:59 -08:00
LoneWolfHT
4922c3115f Revert "Add hudbars mod"
This reverts commit 707387a580.
2020-12-05 10:58:59 -08:00
LoneWolfHT
4f12e51d97 Remove mostly unused treasure and tweak the rest 2020-12-05 10:58:59 -08:00
LoneWolfHT
0e79443fb5 Allow setting dont_heal from other mods 2020-12-05 10:58:59 -08:00
LoneWolfHT
630f772e02 Improve place_bounty command 2020-12-05 10:58:59 -08:00
LoneWolfHT
5e9d341aa6 Make medics unable to heal damage from any trap 2020-12-05 10:58:59 -08:00
LoneWolfHT
a9c9f26caa Update maps submodule 2020-11-28 10:15:18 -08:00
LoneWolfHT
1b652f04b2 Use the now fixed on_hpchange() for melee bonuses 2020-11-28 10:13:52 -08:00
LoneWolfHT
707387a580 Add hudbars mod 2020-11-28 10:10:00 -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
LoneWolfHT
f320afa4d1 Update maps submodule 2020-11-24 12:38:35 -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
LoneWolfHT
7cfb2e6921 Tweak Paxel some more 2020-11-23 14:06:36 -08:00
LoneWolfHT
8a104460d8 Buff medic paxel 2020-11-22 14:07:19 -08:00
LoneWolfHT
17c3085c3a Add Paxel for medics 2020-11-22 12:12:38 -08:00
LoneWolfHT
8f2088b92f Misc bug/exploit fixes 2020-11-21 08:31:36 -08:00
LoneWolfHT
8c92ad0099 Fix unhelpful help message 2020-11-18 16:03:07 -08:00
PiMonkey
01ba809ff4
Give shooter class 2 ammo packs (#699)
* Shooter Ammo

Gives shooter class 2 ammo packs

* Update classes.lua
2020-11-15 10:29:38 -08:00
LoneWolfHT
1299f1a4e1 Update maps submodule 2020-11-13 08:16:30 -08:00
LoneWolfHT
52e2e4251f Try a different fix for knight damage boost 2020-11-08 11:27:27 -08:00
LoneWolfHT
0ef68bb0f9 Fix bug in bugfix code 2020-11-08 10:09:15 -08:00
LoneWolfHT
d171436b46 Fix some bugs with knight damage 2020-11-08 09:08:14 -08:00
LoneWolfHT
536474adb4
Only give knights a damage boost where it helps 2020-11-07 17:17:21 -08:00
LoneWolfHT
de3697f0ed Update Maps Submodule 2020-11-04 20:49:30 -08:00
LoneWolfHT
e4a2a8ba8d Update maps submodule 2020-11-01 15:48:26 -08:00
LoneWolfHT
ae0b967001 Slightly buff shooter class and knight melee dmg 2020-10-31 09:49:39 -07:00
LoneWolfHT
8ad0692a9a
Reduce automatic vote skip to ~60 minutes 2020-10-29 15:56:43 -07:00
LoneWolfHT
cb131d1065
Prevent medics from healing players damaged by drowning/lava (#695)
* Prevent medics from healing players damaged by drowning/lava

* Fix oopsie

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update medic.lua

Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-28 16:28:13 -07:00
PiMonkey
9c48ad2c7c
Fix total score not fitting in the summary formspec (#696) 2020-10-28 08:26:59 -07:00
KaylebJay
58c64c8a83
Make bandages give 6 points when used on flag holder (#691) 2020-10-26 17:56:49 -07:00
LoneWolfHT
27f36d5d24 Revert to old grenade behavior 2020-10-26 14:24:03 -07:00
LoneWolfHT
408f6286a1 Update maps submodule properly 2020-10-26 12:42:21 -07:00
LoneWolfHT
fb1a87cca1 Fix infinite score exploit before I abuse it 2020-10-26 12:05:18 -07:00
-sniper- (minetest)
82064fcd8d
Give medic 3 score per bandage use (#686)
* Give medic 3 pts per bandage use
2020-10-25 11:27:02 -07:00
KaylebJay
1bc44d16ee
Give bandages infinite uses (#689)
* infinite bandages for medics

* Little nitpick

* Set stack_max to 1

Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>
2020-10-24 15:20:16 -07:00
KaylebJay
2501173aac
Optimize texture file sizes (#690) 2020-10-24 15:15:18 -07:00
LoneWolfHT
97a5b7cda7 Update maps submodule 2020-10-23 18:51:13 -07:00
LoneWolfHT
abb463fbd3 Improve knight's damage boost code 2020-10-16 14:51:07 -07:00
LoneWolfHT
0359e9cbca Prevent knights from using the SMG 2020-10-14 16:34:47 -07:00
LoneWolfHT
119e47d22e Buff medic class and allow item whitelisting 2020-10-14 16:21:52 -07:00
LoneWolfHT
eb5ea25d54 Improve initial_stuff 2020-10-14 16:21:52 -07:00
LoneWolfHT
973f01b0a9 Fix points not being awarded on death 2020-10-13 20:00:21 -07:00
LoneWolfHT
90d73f0587 Change fall damage to use combat system 2020-10-13 08:52:38 -07:00
LoneWolfHT
9666b03ea3
Increase sword damage dealt by knights (#684)
* Extra sword damage for knights

* Make steel sword craftable
2020-10-13 08:42:41 -07:00
LoneWolfHT
037eb8ba96 Allow putting sniper rifles in team chest 2020-10-12 20:39:10 -07:00
LoneWolfHT
2e8de0a6cc
Remove snipers (#683)
* Initial Commit

* Fix crash and improve(?) wording

* Fix crafting of snipers
2020-10-12 08:01:23 -07:00
-sniper- (minetest)
4d59d763ab
Give medic 2 points per bandage (#682) 2020-10-08 13:49:40 -07:00
-sniper- (minetest)
88e26cf561
Fix mistake in Map maker's README (#681)
* Fix epic mistake in Map maker's README

* Add YT tutorial link and place flags line

* Move YT tutorial to top of the README
2020-09-28 09:16:45 -07:00
LoneWolfHT
779e0973a6 Re-add MTG: Trim out the remaining bloat from default 2020-09-22 15:48:35 -07:00
LoneWolfHT
65652ec405 Revert "MTG: Trim out the remaining bloat from default (#639)"
This reverts commit ec06b8edde.
2020-09-22 13:16:25 -07:00
ANAND
ec06b8edde
MTG: Trim out the remaining bloat from default (#639) 2020-09-22 08:36:01 -07:00
LoneWolfHT
055598f85e Update maps submodule 2020-09-20 10:17:25 -07:00
LoneWolfHT
fe37a08a83 Change sniper kill texture 2020-09-20 09:52:29 -07:00