Commit graph

464 commits

Author SHA1 Message Date
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
LoneWolfHT
6b51c25266 Brighten black kill list text when player not found 2020-09-20 09:05:31 -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
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
e76dcf0563
Fix ranged kill detection (#667) 2020-07-02 12:22:15 -07:00
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
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
1967a83da7
/makepro: Request save if modified 2020-05-31 20:17:42 +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
ANAND
ce1bbe0246
Update maps submodule
> Tunnel: Replace legacy grenade with new ones from grenades mod (#92)
2020-05-30 17:57:14 +05:30
LoneWolfHT
e2ac380985
Add workaround to prevent "swapping" items into team chest (#645) 2020-05-23 07:13:31 +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
-sniper- (minetest)
9201f0ac27
ctf_classes: Give medics 50 bandages on (re)spawn (#627) 2020-05-13 16:47:46 +05:30
LoneWolfHT
06a2c2fd03
Reduce respawn immunity time to 5s (#624) 2020-05-10 23:04:59 +05:30
ANAND
b1aa1366f4
ctf_classes: Fix crash when player meta contains invalid class name (#607) 2020-05-07 14:52:14 +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
LoneWolfHT
9c6f2dd6fe
Add grenades mod by LoneWolfHT (#357) 2020-05-05 23:00:47 +05:30
LoneWolfHT
8cf0a1648b
Enforce stricter type compliance for HUD elements (#602) 2020-05-05 22:37:37 +05:30
ANAND
266fdd5a07
ctf_bandages/init.lua: Remove trailing whitespace 2020-05-03 12:10:59 +05:30
ANAND
8301a47f6f
ctf_bandages: Improve bandage item description
- Un-hardcode the healing percentage.
- Remove ambiguous wording.
2020-05-03 11:33:24 +05:30
MinetestSam
7c3d35bd03
ctf_bandages: Add percentage-based healing (#609)
Remove HP hardcoding; heal up to a certain percentage of player's `hp_max` property.
2020-05-02 15:06:06 +05:30
MinetestSam
6238fb2540
ctf_stats: Add sniper rifles to good_weapons (#605) 2020-05-01 18:32:36 +05:30
ANAND
c44827f2f9
Move flag-bearer slowdown to a separate speed modifier (#601)
Improves separation; less prone to error
2020-05-01 11:42:16 +05:30
rubenwardy
c951aca91f Add file-based queue shutdown 2020-04-30 18:08:01 +01:00
MinetestSam
b790cc7576
Increase the speed of medic by 10% (#594) 2020-04-30 20:34:23 +05:30
ANAND
904a2869fd
ctf_classes: Skip proximity check if player has ctf_admin priv 2020-04-26 14:52:28 +05:30
MinetestSam
e18fa14af0
Add crafting recipes for steel and bronze block (#593) 2020-04-26 14:49:07 +05:30
ANAND
eb69beeb1d
ctf_classes: Temporarily disable rocketeer class (#588) 2020-04-26 07:44:30 +05:30
ANAND
e415b1be79
ctf_markers: Fix occasional crash due to invalid ObjectRef 2020-04-25 00:46:35 +05:30
ANAND
6b33820447
setup_maps.sh: Improve renaming of maps' screenshot textures
Screenshot textures would be renamed to "<mapname>_screenshot.png", making it explicit that this texture is a screenshot texture.

This fixes a potential bug wherein the screenshot texture could unintentionally override other textures if the map's name matches the texture name. e.g. moon.png - this would now be renamed to moon_screenshot.png.
2020-04-24 00:45:29 +05:30
ANAND
733f4460f7
ctf_stats: Remove unused code
Leftover by commit a417e857
2020-04-23 12:16:45 +05:30
ANAND
e68fe87ea2
Add sniper_rifles mod (#453) 2020-04-22 07:31:27 +05:30
ANAND
a417e857ef
Improve match duration metric; move to ctf_match (#539) 2020-04-21 20:19:57 +05:30
ANAND
ff483a2092
Update maps submodule
> Add Moon map (#83)
2020-04-21 13:22:25 +05:30
-sniper- (minetest)
7188d1b3fa
map_maker/README.md: Improve documentation (#552) 2020-04-21 13:03:00 +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
GreenXenith
f2003266a7 Add rocketeer skins
Created with help from Lone_Wolf
2020-03-16 23:36:14 +00:00
rubenwardy
ea58549348 Fix inability to use submachine guns 2020-03-15 18:33:25 +00:00
rubenwardy
c18a9e67cf Tweak rocket damage 2020-03-15 18:32:33 +00:00
rubenwardy
ac24f09417 Automatically fix incorrect chest zones in map configs 2020-03-15 01:00:04 +00:00
rubenwardy
59d199a7a5 Add rocket crafting 2020-03-14 22:48:50 +00:00
rubenwardy
43b4b761cc Fix knight items being kept on first class change 2020-03-14 22:26:23 +00:00
rubenwardy
63726848ce
Update shooter to 0.6.1 2020-03-14 21:51:24 +00:00
rubenwardy
85bf7b96d1 Control x2 hpregen with class property 2020-03-14 20:00:32 +00:00
rubenwardy
32c1faa9e8 Split classes init.lua into multiple files 2020-03-14 20:00:32 +00:00
rubenwardy
917e362d39 Fix class change on captured flag not working 2020-03-14 20:00:32 +00:00
rubenwardy
63b543a8fb Fix non-shooters from being able to use grappling hooks 2020-03-14 20:00:32 +00:00
rubenwardy
d973815a18 Fix variants of class items being allowed to drop 2020-03-14 20:00:32 +00:00
rubenwardy
93693a8dfd Add rocketeer class 2020-03-14 20:00:32 +00:00
rubenwardy
db5948c219 Tweak stats 2020-03-14 20:00:32 +00:00
rubenwardy
eee6cfcbec Improve class shooter modifications 2020-03-14 20:00:32 +00:00
rubenwardy
02d527eaf5 Add class items 2020-03-14 20:00:32 +00:00
rubenwardy
f610722b83 Remove false promises in class selection, add random messages 2020-03-14 20:00:32 +00:00
rubenwardy
a77928c556 Add skins by GreenDimond/GreenXenith 2020-03-14 20:00:32 +00:00
rubenwardy
c1b7ab7f9f Add better ranged combat for shooters 2020-03-14 20:00:32 +00:00
rubenwardy
72c7563a85 Add hpregen for medics 2020-03-14 20:00:32 +00:00
rubenwardy
34d891c6c5 Add classes 2020-03-14 20:00:32 +00:00
ANAND
0e784b2c69 map_maker: Refactor GUI into separate file 2020-01-19 06:38:53 +05:30
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
38e7b46e49
Update maps submodule
> Add custom treasures for Tunnel map (#82)
2019-12-29 20:52:43 +05:30
MinetestSam
35e82472e2 ctf_inventory: Fix colorization of headings in "Help" tab (#546) 2019-12-29 20:50:49 +05:30
MinetestSam
50599e3009 Improve bounty target kill message (#547) 2019-12-29 20:47:24 +05:30
ANAND
19d9b3efb8 ctf_map_core: Move treasure registration into meta_helpers.lua (#545) 2019-12-28 10:34:26 +01:00
ANAND
e5793d7c7f
ctf_map_core: Fix per-map treasures not being registered 2019-12-28 11:05:31 +05:30
ANAND
123695cd0e
ctf_stats: Tweak scoring algorithm a bit (#538) 2019-12-27 19:10:27 +05:30
ANAND
c908af6ccd
Update maps submodule
> Add custom chest zones to "Towers" map (#79)
2019-12-24 20:04:34 +05:30
ANAND
99f2a20cfd
Update maps submodule
> Add "The Maze" map by Waterbug (#63)
2019-12-24 19:01:32 +05:30
ANAND
badce26ed5
ctf_bounties: Prevent the previous target from being selected again (#531) 2019-12-18 11:01:34 +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
MinetestSam
06a1fb3d22 Update pro-section criteria label (#524) 2019-12-15 18:23:51 +05:30
ANAND
9974e3d509
ctf_map_core: Make 'physics' an optional dependency 2019-12-15 15:53:30 +05:30
ANAND
e09d79301c
Update maps submodule
> Fix missing barriers underwater and other holes (#76)
2019-12-15 10:59:44 +05:30
ANAND
a37df650d6 ctf_map: Re-implement random map selection in a better way (#498) 2019-12-08 11:25:59 +01:00
ANAND
dc83862df6 Add support for per-map physics modifiers (#488)
Three new map meta fields are now available to map makers:

- `phys_speed`: Speed multiplier
- `phys_jump`: Jump multiplier
- `phys_gravity`: Gravity multiplier
2019-12-07 10:23:02 +01:00
ANAND
f0a8327c18 tsm_chests: Fix floating chests; remove extra bloat (#492) 2019-12-06 06:07:46 +01:00
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
ba2c1fdf05
Update maps submodule 2019-12-05 06:49:53 +05:30
ANAND
e7d9465d2a
ctf_map: Convert to modpack; split map maker into separate mod (#475) 2019-11-28 10:51:59 +05:30
ANAND
6b33c8e9cc
ctf_stats: Add support for retrieving stats by rank (#454) 2019-11-27 11:30:39 +05:30
MinetestSam
1f10fd9e22 Remove unused team ownership code; improve team listing (#512) 2019-11-25 13:05:45 +05:30
Thomas--S
a8aa3f98c9 Maps catalog: Fix crash when index is invalid (#515) 2019-11-25 11:47:23 +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
-sniper- (minetest)
3dded7ef3b Remove stone sword from default treasure registration (#516) 2019-11-24 21:39:35 +01:00
ANAND
2845448e6e Combine server join message into team join message (#499) 2019-11-24 21:38:56 +01:00
ANAND
4de074dc17 ctf_stats: Add map name to match summary (#495) 2019-11-24 21:38:15 +01:00
ANAND
64793ea22c Improve /report; add report API (#163) 2019-11-24 21:37:44 +01:00
ANAND
e3d2a3424f Maps catalog: Add "Skip to map" and "Set as next map" buttons 2019-11-23 12:55:35 +01:00
ANAND
a98d759b35 Support optionally specifying map name in /ctf_next 2019-11-23 12:55:35 +01:00
MinetestSam
67cb9b255d Remove unused textures diplo_*.png (#511) 2019-11-16 19:01:36 +05:30
MinetestSam
1c439b163b Remove unused function ctf.post() (#513) 2019-11-16 19:01:02 +05:30
ANAND
2c08fa4056
Remove redundant chat-command /post 2019-11-15 07:02:32 +05:30
TSafa-23
1a1d37822e Remove redundant /all chat-command (#507) 2019-11-15 07:01:26 +05:30
ANAND
47374a06db
Require interact and shout privs for /t 2019-11-15 06:47:35 +05:30
MinetestSam
2e3a487ef5 Increase damage of spikes to 7 HP/sec to justify its cost (#503) 2019-11-13 19:30:49 +05:30
ANAND
30ff0b9eb2
ctf_match: Increase skip vote's required majority ratio to 0.6 (#500) 2019-11-13 14:21:01 +05:30
ANAND
720f29adc6 Disable knockback completely 2019-11-11 20:57:10 +05:30
ANAND
fa595b681d
Update maps submodule
> Remove extraneous newlines
> Remove screenshot meta field from all the maps (#72)
> Add "A Kingdom In The Nether" map by Waterbug (#66)
2019-11-11 08:07:48 +05:30
ANAND
6f56bfde5b
Update maps submodule
>  Update directory structure of maps, according to #435 (#39)
2019-11-10 17:23:55 +05:30
ANAND
b36d54ec76 Auto-detect screenshots without requiring a map meta field 2019-11-10 17:20:38 +05:30
ANAND
cbee83a2ac Improve directory structure of maps
- Each map will have its own sub-dir, containing
  - `map.conf` (used to be `<map_name>.conf`)
  - `map.mts` (used to be `<map_name>.mts`)
  - `screenshot.png` (used to be `<map_name>.png`)
  - `skybox_<n>.png` (used to be `<map_name>_skybox_<n>.png`)
- The `ctf_map` post-processing actions for maps has been moved into a dedicated shell script `setup_maps.sh`. This script appropriately renames all the textures to while copying them over to the mod's textures/ sub-dir. e.g.
  - `cool_map/screenshot.png` ---> `cool_map.png`
  - `awesome_map/skybox_2.png` ---> `awesome_map_skybox_2.png`
2019-11-10 17:20:38 +05:30
ANAND
739eac1d10 ctf_map: Consolidate outer barrier node selection into a local function 2019-11-10 07:15:22 +05:30
ANAND
5df1a7d260 ctf_map: Auto-replace stone with ind_stone_red when placing barriers
Also make the c_id variable names more explicit
2019-11-10 07:15:22 +05:30
ANAND
579d449ef4 ctf/core.lua: Fix incorrect indentation 2019-11-09 12:25:45 +05:30
ANAND
38c27736f6 Improve format of ctf.log 2019-11-09 12:25:45 +05:30
ANAND
67dfb30ead
Map maker: Fix crash when submitting fields in /gui 2019-11-09 08:59:44 +05:30
ANAND
28189920d4
Remove leftover debug messages from 2653a09 2019-11-08 08:00:46 +05:30
ANAND
6662139380
Map maker: Simplify storage of barrier_rot config value 2019-11-07 21:05:44 +05:30
ANAND
b19523e6a7
Map maker: Fix incorrect field set in mod_storage during reset 2019-11-07 17:38:50 +05:30
ANAND
72c02d81cb
Update maps submodule
> Add torches as initial item on Abandoned Isles (#68)
> Add 'Big Ocean' by gameit (#67)
> README.md: Remove outdated map reviews wiki link
> Add "Wool land" by -sniper- (#45)
> Swap positions of pickaxe and pistol in inventory (#62)
> Add custom chest zones in Hunting Season (#61)
2019-11-07 12:36:17 +05:30
ANAND
e84a321143 Make snow non-slippery again (#484) 2019-11-05 13:25:49 +01:00
ANAND
2653a09329
Allocate players into teams on the basis of cumulative team scores (#319)
Implement `ctf.custom_alloc`, which recalculates cumulative team scores and returns the name of the team with the lowest cumulative score.
2019-10-31 20:00:50 +05:30
ANAND
680dd4c87c Fix crash upon invoking /maps_reload (#486) 2019-10-31 10:49:34 +01:00
ANAND
f364e73707
Map maker: Fix barrier rotation and outer barrier placement issues (#485) 2019-10-31 12:32:41 +05:30
ANAND
ef16fc9971
Add indestructible torch [ctf_map:torch] (#473) 2019-10-30 10:44:56 +05:30
ANAND
17a974c1c3
ctf_map: Move on_joinplayer callback for skybox mgmt. into time_sky.lua 2019-10-29 15:23:15 +05:30
ANAND
04ac8223a9
ctf_treasure/init.lua: Align lines using whitespaces for improved readability 2019-10-29 12:39:50 +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
MinetestSam
b04f904f8b Fixing documentation for reinforced cobble (#482) 2019-10-28 19:03:48 +01:00
MinetestSam
e282ed405b Add damage cobble to default treasure registration (#481) 2019-10-28 19:01:19 +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
KaylebJay
a39b1c8950 Add stone and steel axes to default treasures (#474) 2019-10-13 11:49:57 +05:30
ANAND
96c21f2ef5
ctf_map: Fix crash due to missing item description for some stairs 2019-10-11 17:22:36 +05:30
ANAND
3797c703ad
ctf_map: Fix description of ind. stairs and wool 2019-10-10 19:15:32 +05:30
ANAND
136211a073 ctf_map: Add missing documentation for some map meta fields 2019-10-09 20:20:14 +05:30
ANAND
526031473b ctf_map/base.lua: Fix code-style 2019-10-09 20:20:14 +05:30
ANAND
c4e3683071 Map maker: Add support for optionally specifying base node 2019-10-09 20:20:14 +05:30
ANAND
0eb5b71648
Update maps submodule
- Repair Plain Battle
2019-10-09 12:31:49 +05:30
ANAND
fcb0fedf32
Update maps submodule
Changes:
- "Abandoned Isles" by gimp and caoutiouspotato
- "Towers" by Atmozpheric
- Improvements to "Tunnel"
- Addition of 5 torches to initial_stuff of "Ice Age"
2019-10-06 13:42:32 +05:30
ANAND
2ae401d4f5
ctf_chat: Add colored PMs (#449)
- Sender name is colorized according to their team color.
- Message body is colorized according to the setting `ctf_chat.message_color`; defaults to `#E043FF`.
2019-09-18 02:28:17 +08:00
ANAND
da245981aa
Update maps submodule
> Add license to existing maps (#49)
2019-09-17 23:46:21 +05:30
ANAND
5e3578ae00
ctf_map: Dofile base.lua only when ctf exists
This prevents a crash when running in map-maker mode, as base.lua (which is unnecessarily dofile'd) contains code which re-defines `ctf.get_spawn`
2019-08-31 12:48:46 +05:30
ANAND
f04663fc6c
Fix depends.txt present in mods from ctf_pvp_engine 2019-08-31 11:40:46 +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
ebf4316594 Fix issues found by luacheck 2019-08-28 18:54:24 +01:00
rubenwardy
450027c3b7 Dissolve ctf_pvp_engine modpack into other modpacks 2019-08-28 18:46:14 +01:00
rubenwardy
e53732f41e Remove saving from ctf_pvp_engine 2019-08-28 18:46:14 +01:00
Panquesito7
1032a78a6c Use "modpack.conf" instead of "modpack.txt" (#441) 2019-08-20 13:06:41 +08:00
ANAND
99338c3013 Implement random spawn within 3x3 area around flag (#437) 2019-07-24 15:54:14 +02:00
ANAND
b5d19bcf5b Fix recursive registration of ind. stairs and wool (#424) 2019-07-24 15:38:53 +02:00
ANAND
97f810e0d0
Update maps submodule 2019-07-16 13:15:28 +05:30
Thomas--S
967afeb5b8 Add IRC support for maps catalog (#415) 2019-07-14 14:48:40 +05:30
ANAND
ed7b1ce902
Update maps submodule 2019-07-13 17:04:17 +05:30
MinetestSam
0829d4c700 ctf_bandages: Show coloured alert to target when being healed (#436)
Also increase the spawn rate of bandages.

Co-Authored-By: ANAND <ClobberXD@gmail.com>
2019-07-13 06:48:48 +05:30
ANAND
da8a166902
Update maps submodule 2019-07-12 15:52:08 +05:30
ANAND
2abd4098fc
Update ctf_pvp_engine and maps 2019-07-11 13:00:59 +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
99bb09def6
ctf_events: Fix grenade kills not being detected (#428) 2019-07-10 15:49:33 +05:30
ANAND
f3cd2a0539
Update maps submodule 2019-07-06 14:03:19 +05:30
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
045281e60d Fix crash due to missed updation of ctf_color.get_color in ctf_bounties (#427) 2019-07-05 21:48:59 +05:30
ANAND
102792032a
Update maps submodule 2019-07-05 19:57:35 +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
ANAND
37d88a88a1
Disable respawn immunity message when hitting teammates (#417) 2019-06-25 18:54:57 +05:30
ANAND
62eb068c35
Increase capacity of team-chest (#380)
+ cosmetic and code-style improvements
2019-06-23 12:34:15 +05:30
Thomas--S
74c8531de4 Maps catalog: Use textareas for hint and license, add others (#413) 2019-05-15 20:34:25 +05:30
ANAND
72f48db70d
Update maps submodule
Screenshots have been added for all existing maps
2019-05-12 23:37:37 +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
Thomas--S
9956606899 Maps catalog: Abort if no maps are available (#412) 2019-05-12 22:49:14 +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
4cb8e731ca
Rename global playertag to ctf_playertag 2019-04-12 15:41:14 +05:30
ANAND
dc850acd9d
Don't end respawn immunity on hitting team-mates (#404) 2019-04-12 15:22:32 +05:30
ANAND
fea07d8ae8
Exclude map's initial_stuff from list of treasures (#385) 2019-04-10 15:37:31 +05:30
ANAND
8f78cd7644
Update calls to ctf_colors.get_color (#396)
MT-CTF/ctf_pvp_engine#35. Also update ctf_pvp_engine submodule.
2019-04-09 14:01:18 +05:30
rubenwardy
8b2174a7dc Remove saplings and flint fully 2019-03-21 17:45:39 +00:00
ANAND
daf09af648
Update maps sub-module (#384)
Includes fix for unknown items, due to maps specifying wooden tools as initial stuff.
2019-03-20 13:32:57 +05:30
ANAND
29a0861aef
Add HUD score elements for flag pickup and capture (#378) 2019-03-19 22:34:41 +05:30
ANAND
ed85e3258b
Fix indestructible snow and ice not being slippery (#377) 2019-03-19 22:34:25 +05:30
ANAND
86ce4d7328
Completely remove wooden tools (#331)
The default items given on respawn will consist of wooden tools instead.
2019-03-19 22:24:43 +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
e3a8f95f59 Add ctf_map.get_team_relative_z() and ctf_map.can_cross() 2019-03-17 03:33:12 +00:00
rubenwardy
905ab2607f Add steel ingot to reinforced cobble recipe 2019-03-17 02:29:16 +00:00
ANAND
7fa6da30bf Refactor and clean-up map_maker (#306) 2019-03-17 02:15:29 +00:00
ANAND
123ed6d1f5 Extend /summary to show scores of current match as well
Fixes #310
2019-03-17 01:37:20 +00:00
rubenwardy
762682ea80
Merge ctf_team_base into ctf_map 2019-03-17 01:36:15 +00:00
ANAND
5643fdf802 Add hud_score mod API
Fixes #72
2019-03-17 01:35:51 +00:00
Thomas--S
f8b90c60a2 Increase marker visibility time to 30 seconds 2019-03-17 01:33:56 +00:00
Anand S
67975e74c7 Add ctf_markers mod 2019-03-10 00:32:34 +00:00
Thomas--S
1a2948b359 Fix normal -> unbreakable bug 2019-03-09 23:30:08 +00:00
Anand S
a5eb95b9ec Update maps sub-module 2019-03-06 07:27:29 +00:00
Anand S
92c5600d7e Tweak and optimize medkits 2019-03-06 07:27:29 +00:00
Anand S
b7bab11c3b Add medkits, remove apples 2019-03-05 13:54:25 +00:00
MinetestSam
3e57880520 Add bandages 2019-03-05 13:44:14 +00:00
rubenwardy
82fb96c168 Fix rebase issue 2019-03-05 13:15:09 +00:00
ANAND
cb08c8c6e0 Fix furnace meta not being wiped 2019-03-05 13:10:00 +00:00
ANAND
2b2a4222a8 Add reinforced cobble 2019-03-05 13:08:14 +00:00
archfan
ee8073eed1 Add killnode 2019-03-05 12:44:14 +00:00