Commit graph

945 commits

Author SHA1 Message Date
Apelta
2f3b09ff70
Fix sniper crosshairs being active after death (#726)
* Fix bug with crosshairs active after death

(hopefully) fixes issue with crosshairs remaining after player death. Requires testing.
How to test:
- die while scoped

Normally I would do this but I am unable to get to a proper platform to test.

* Use function

Slipped my mind, sorry :P

* Fix typo, comment

Fixed typo in line 100, also fixed comment for dieplayer function
2020-12-26 21:01:36 -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
Apelta
0ef16edb23
Add antisabotage mod (#725)
* Add antisabotage mod

Prevents players of the same team from mining under or (somewhat) near others. Even works whilst crouching.

* Fix slight issue of infinite items and radius fix

Fixed issues dealing with unused variables, item removal and radius of the effect

* Add newline so github doesn't die

* Various improvements to function and distance

Improvements/changes to improve performance and readability suggested by Lone_Wolf.

* Create mod description

Add readme.txt with description

* Update with suggestions from Lone_Wolf

Various performance optimizations and other issues suggested by Lone_Wolf

* Remove unnecessary dependency

* Snowball effect applied to a quick fix

* Reword readme

* Add license.txt

MIT

* Rename readme.txt to readme.md

Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>
2020-12-25 10:36:32 -08:00
LoneWolfHT
76db63ca4e Fix bug with players respawning as match ends 2020-12-23 13:24:40 -08:00
LoneWolfHT
df065cece1 Nerf gun knockback a little 2020-12-23 13:10:48 -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
97aa3df3a0 Make treasure chests glow 2020-12-22 08:21:58 -08:00
LoneWolfHT
53a31fbdad Improve/fix a few things 2020-12-22 08:21:58 -08:00
Axaxax88
a37be6ba54
Fix bug with blueberry bushes. Make permafrost dig like gravel (#723)
I repaired bug with blueberry bush, which dropped unknown item (blueberries). I also made all types of permafrost "crumbly = 2", so they will be diggable by hand (same as gravel).
2020-12-22 07:34:41 -08:00
Apelta
678689eb58
Add crosshair for sniper rifles (#721)
* Upload rifle_crosshair.png

Image used for rifle crosshair. Created by PiMonkey.

* sniper_rifles: Add crosshair for rifles via HUD

HUD-driven crosshair for sniper rifles.

NOTE: scale_const is set to 4, this may be changed by preference.

* Increase size slightly

Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>
2020-12-18 17:37:48 -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
31048422c8 Fix grenades crash 2020-12-11 20:46:19 -08:00
LoneWolfHT
d9cc457568 Update maps submodule 2020-12-10 10:40:08 -08:00
LoneWolfHT
a7848bf163 Fix smoke grenade texture 2020-12-10 10:38:50 -08:00
LoneWolfHT
73e70fa29d Fix crash and tweak ctf_respawn_delay height 2020-12-09 08:47:43 -08:00
LoneWolfHT
bf3fff7c53 (API) Allow changing max stack size of grenades 2020-12-08 20:13:32 -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
8d55487a77 Give grapple hooks more uses 2020-12-05 10:58:59 -08:00
LoneWolfHT
063c6fb458 Tweak and slightly nerf grenades 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
1b689ed6c2 Reset combat on new match 2020-11-22 14:06:25 -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
f8800fd043 Update latest_updates page 2020-11-21 08:31:16 -08:00
LoneWolfHT
8c92ad0099 Fix unhelpful help message 2020-11-18 16:03:07 -08:00
LoneWolfHT
82d9226d08 Add darkness_nerf until MTE fixes their lighting 2020-11-18 09:29:39 -08:00
LoneWolfHT
ce9760c7c8 Fix give_initial_stuff overflowing stacks 2020-11-16 09:03:50 -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
fd9c6bd34a Allow other mods to check if player is in combat 2020-10-31 09:49:39 -07: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
KaylebJay
ca45eb1c4c
Add mod real_suffocation with custom tweaks for CTF (#693)
* add mod 'real_suffocation'

* tiny nitpick, please squash

* remove deprecated description, move to mod.conf

* change license

* fix luacheck error
2020-10-29 11:56:50 -07:00
LoneWolfHT
7d16ce7db0 Improve grenade radius code 2020-10-28 16:57:09 -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
LoneWolfHT
16d676184e
Revert "Make lava instantly kill players (#692)" (#694)
This reverts commit 52e4382359.
2020-10-27 10:57:35 -07:00
LoneWolfHT
7a07d79289 List the latest updates ingame 2020-10-27 08:17:25 -07:00
KaylebJay
52e4382359
Make lava instantly kill players (#692) 2020-10-27 08:12:21 -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
LoneWolfHT
ac5d67949d Fix rare grenade crash 2020-10-26 08:12:32 -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
21ff6f58c1 Fix rare crash and anticoward bug? 2020-10-18 19:52:20 -07:00
LoneWolfHT
abb463fbd3 Improve knight's damage boost code 2020-10-16 14:51:07 -07:00
LoneWolfHT
ecc6858c15 Improve random_messages 2020-10-16 09:41:01 -07:00
LoneWolfHT
3645fa3bbc Add latest_updates mod 2020-10-16 09:40:39 -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
rubenwardy
2a8f8563c4
Fix crash due to missing legacy.lua dofile 2020-09-23 15:15:50 +01: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
77c9f9d21b
sniper_rifles: Prioritize on un-scoping when right-clicking (#661) 2020-09-22 08:52:11 -07:00
ANAND
7793e76890
physics: Add sanity checks and minor optimizations (#650)
- Throw error if an unsupported attribute is encountered.
- Throw errors for invalid function arguments.
- Optimize out attributes with a value of 1.
2020-09-22 08:50:27 -07:00
ANAND
ec06b8edde
MTG: Trim out the remaining bloat from default (#639) 2020-09-22 08:36:01 -07:00
LoneWolfHT
296affbd56 Make rifle automatic and double damage 2020-09-20 13:57:19 -07:00
LoneWolfHT
6a0491fa00 Increase combat time again 2020-09-20 11:39:34 -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
LoneWolfHT
d9771108e5 Improve combat mode 2020-09-20 09:05:31 -07:00
LoneWolfHT
6b51c25266 Brighten black kill list text when player not found 2020-09-20 09:05:31 -07:00
LoneWolfHT
15b8e84589 Remove attacker from combat if attacking victim dies 2020-09-19 15:02:18 -07:00
LoneWolfHT
744a14cd10
Award kill to attacker if victim leaves/suicides (#679)
* Award kill to attacker if player leaves/suicides

* Fix death check

* Prevent immune players from entering combat
2020-09-19 14:35:32 -07:00
LoneWolfHT
179ff104bf
Make fall damage leave at least 1 hp (#678)
* Make fall damage leave at least 1 hp
2020-09-16 08:30:58 -07:00
ANAND
58db9e7dd0
HUD score improvements (#656)
* Move hud_score mod to 'other' modpack

* hud_score: Reuse element when adding a new element with the same name
2020-09-13 19:17:19 -07:00
LoneWolfHT
81d7553f7c
Add Sticky grenades (#677)
* Improved grenade API
* Added sticky grenade
* Improved grenade textures
2020-09-12 20:10:40 -07:00
LoneWolfHT
e4a64124cf Remove steel sword craft 2020-09-03 12:18:24 -07:00
LoneWolfHT
74379ed4e0 Fix default skip times 2020-09-03 11:51:25 -07:00
LoneWolfHT
b4f3ea3294
Add automatic skip votes by ANAND (#675) 2020-09-03 11:48:33 -07:00
LoneWolfHT
aad5c41b6a
Revert sword recipes (#674) 2020-08-26 14:37:23 -07:00
LoneWolfHT
2bd645c16b Cut health of sniper class in half 2020-08-23 12:09:10 -07:00
LoneWolfHT
6ce383117a
Add mayan_legend map. wool_land changes 2020-07-29 07:49:14 -07:00
LoneWolfHT
4340c0f904
Improve classes GUI 2020-07-28 16:46:53 -07:00
LoneWolfHT
b24d1b3097
Fix swapping class items into other invs (#670)
* Fix bug with team/loot chest swapping
* Fix furnace swapping
2020-07-21 12:18:47 -07:00
rubenwardy
cb51d78a27
Prevent players from putting class items in furnaces (#620) 2020-07-16 16:44:34 -07:00
LoneWolfHT
a78fdd95c5 Fix infinite grapple uses 2020-07-09 17:57:04 -07:00
LoneWolfHT
e76dcf0563
Fix ranged kill detection (#667) 2020-07-02 12:22:15 -07:00
ANAND
ab709bb0a4
Update shooter submodule
> Properly track players' LMB keypresses
2020-06-17 19:45:08 +05:30
ANAND
a3f768acdf
Remove stone sword from default initial items 2020-06-16 16:47:42 +05:30
ANAND
ff53116acf
Update maps submodule
> Remove class items from maps' initial items
2020-06-16 15:41:54 +05:30
ANAND
15dc406467
Update maps submodule
> Disable "The Maze" temporarily
> Remove shooter class items from initial items (#91)
2020-06-16 08:00:49 +05:30
ANAND
1b0b2457d7
Make stone pickaxe capable of breaking cracky=1 nodes (#663) 2020-06-12 20:33:02 +05:30
ANAND
fb9de06828
sniper_rifles: Trim and convert shot sound to mono (#657) 2020-06-10 21:27:25 +05:30
ANAND
907461216a
Nerf sniper rifles; restore balance in the universe (#662)
- Allow firing only when using scope
- Slow down players when scoping in
2020-06-10 21:16:25 +05:30
ANAND
cafd16878e
ctf_classes: Implement cooldown after class change (#637)
Defaults to a 30s cooldown. Players with ctf_admin priv are exempt from this restriction.
2020-06-04 22:15:13 +05:30
ANAND
83da1ec0c4 Award heal score only to medics 2020-06-02 06:33:25 +05:30
ANAND
10585d0663 Nerf bandages heal reward to 1 score/use 2020-06-01 20:49:45 +05:30
ANAND
eba079b30c
> Fix crash due to nil pointed_thing
> [trivial] Fix code-style
2020-05-31 22:29:25 +05:30
ANAND
1967a83da7
/makepro: Request save if modified 2020-05-31 20:17:42 +05:30
ANAND
d73d92e5ae
Update shooter submodule
> Ignore the shooter player when processing rounds
2020-05-31 20:17:14 +05:30
ANAND
21127ddbd6 ctf_classes: Add sniper class 2020-05-31 10:36:48 +05:30
ANAND
2268485cdf give_initial_stuff: Respect items' stack_max 2020-05-31 10:36:48 +05:30
ANAND
3db5696889
ctf_stats: Improve /makepro chat-command (#638) 2020-05-30 20:37:57 +05:30
LoneWolfHT
a978d8457f
Fix ability to place items in treasure chests by swapping (#647) 2020-05-30 19:55:52 +05:30
ANAND
ce1bbe0246
Update maps submodule
> Tunnel: Replace legacy grenade with new ones from grenades mod (#92)
2020-05-30 17:57:14 +05:30
ANAND
eef00119d2
Update shooter submodule
> shooter: Fix invalid particlespawner definition
2020-05-30 17:56:49 +05:30
LoneWolfHT
e2ac380985
Add workaround to prevent "swapping" items into team chest (#645) 2020-05-23 07:13:31 +05:30
LoneWolfHT
f37b8fb49e
Nerf node damage capabilities of sniper rifles (#644) 2020-05-22 21:46:41 +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
baf5f17878
Fix grapples being usable by firing before punching flag (#632)
Check for player carrying flag in grapple entity's on_step as well.
2020-05-19 12:50:22 +05:30
ANAND
e9343d9d56
Add not_in_creative_inventory to barrier nodes
Also improve item descriptions of barrier nodes
2020-05-16 15:06:25 +05:30
MinetestSam
1fda60bbbc
ctf_classes: Award points to medic for healing (#606) 2020-05-14 22:56:28 +05:30
LoneWolfHT
eddd04168b
grenades: Improve API (#615) 2020-05-14 22:33:06 +05:30
ANAND
0c67cb5219
Update shooter submodule
> Crossbow: Pass player as puncher instead of arrow object
2020-05-13 19:44:15 +05:30