Dissolve ctf_pvp_engine modpack into other modpacks

master
rubenwardy 3 years ago
parent 9f05af002e
commit 450027c3b7
  1. 0
      docs/doc_data.md
  2. 0
      docs/doc_project_overview.md
  3. 0
      docs/doc_settings.md
  4. 1
      minetest.conf
  5. 0
      mods/ctf/ctf/core.lua
  6. 0
      mods/ctf/ctf/depends.txt
  7. 0
      mods/ctf/ctf/hud.lua
  8. 0
      mods/ctf/ctf/init.lua
  9. 0
      mods/ctf/ctf/teams.lua
  10. 0
      mods/ctf/ctf/textures/diplo_alliance.png
  11. 0
      mods/ctf/ctf/textures/diplo_peace.png
  12. 0
      mods/ctf/ctf/textures/diplo_war.png
  13. 0
      mods/ctf/ctf_chat/depends.txt
  14. 0
      mods/ctf/ctf_chat/init.lua
  15. 0
      mods/ctf/ctf_colors/depends.txt
  16. 0
      mods/ctf/ctf_colors/hud.lua
  17. 0
      mods/ctf/ctf_colors/init.lua
  18. 0
      mods/ctf/ctf_colors/textures/ctf_colors_hotbar_blue.png
  19. 0
      mods/ctf/ctf_colors/textures/ctf_colors_hotbar_red.png
  20. 0
      mods/ctf/ctf_colors/textures/ctf_colors_hotbar_selected_blue.png
  21. 0
      mods/ctf/ctf_colors/textures/ctf_colors_hotbar_selected_red.png
  22. 0
      mods/ctf/ctf_colors/textures/ctf_colors_skin_black.png
  23. 0
      mods/ctf/ctf_colors/textures/ctf_colors_skin_blue.png
  24. 0
      mods/ctf/ctf_colors/textures/ctf_colors_skin_cyan.png
  25. 0
      mods/ctf/ctf_colors/textures/ctf_colors_skin_gold.png
  26. 0
      mods/ctf/ctf_colors/textures/ctf_colors_skin_gray.png
  27. 0
      mods/ctf/ctf_colors/textures/ctf_colors_skin_green.png
  28. 0
      mods/ctf/ctf_colors/textures/ctf_colors_skin_orange.png
  29. 0
      mods/ctf/ctf_colors/textures/ctf_colors_skin_pink.png
  30. 0
      mods/ctf/ctf_colors/textures/ctf_colors_skin_purple.png
  31. 0
      mods/ctf/ctf_colors/textures/ctf_colors_skin_red.png
  32. 0
      mods/ctf/ctf_colors/textures/ctf_colors_skin_silver.png
  33. 0
      mods/ctf/ctf_colors/textures/ctf_colors_skin_yellow.png
  34. 0
      mods/ctf/ctf_flag/api.lua
  35. 0
      mods/ctf/ctf_flag/depends.txt
  36. 0
      mods/ctf/ctf_flag/flag_func.lua
  37. 0
      mods/ctf/ctf_flag/flags.lua
  38. 0
      mods/ctf/ctf_flag/hud.lua
  39. 0
      mods/ctf/ctf_flag/init.lua
  40. 0
      mods/ctf/ctf_flag/sounds/trumpet_lose.ogg
  41. 0
      mods/ctf/ctf_flag/sounds/trumpet_win.ogg
  42. 0
      mods/ctf/ctf_flag/textures/flag_black.png
  43. 0
      mods/ctf/ctf_flag/textures/flag_black2.png
  44. 0
      mods/ctf/ctf_flag/textures/flag_blue.png
  45. 0
      mods/ctf/ctf_flag/textures/flag_blue2.png
  46. 0
      mods/ctf/ctf_flag/textures/flag_cyan.png
  47. 0
      mods/ctf/ctf_flag/textures/flag_cyan2.png
  48. 0
      mods/ctf/ctf_flag/textures/flag_gold.png
  49. 0
      mods/ctf/ctf_flag/textures/flag_gold2.png
  50. 0
      mods/ctf/ctf_flag/textures/flag_gray.png
  51. 0
      mods/ctf/ctf_flag/textures/flag_gray2.png
  52. 0
      mods/ctf/ctf_flag/textures/flag_green.png
  53. 0
      mods/ctf/ctf_flag/textures/flag_green2.png
  54. 0
      mods/ctf/ctf_flag/textures/flag_orange.png
  55. 0
      mods/ctf/ctf_flag/textures/flag_orange2.png
  56. 0
      mods/ctf/ctf_flag/textures/flag_pink.png
  57. 0
      mods/ctf/ctf_flag/textures/flag_pink2.png
  58. 0
      mods/ctf/ctf_flag/textures/flag_purple.png
  59. 0
      mods/ctf/ctf_flag/textures/flag_purple2.png
  60. 0
      mods/ctf/ctf_flag/textures/flag_red.png
  61. 0
      mods/ctf/ctf_flag/textures/flag_red2.png
  62. 0
      mods/ctf/ctf_flag/textures/flag_silver.png
  63. 0
      mods/ctf/ctf_flag/textures/flag_silver2.png
  64. 0
      mods/ctf/ctf_flag/textures/flag_yellow.png
  65. 0
      mods/ctf/ctf_flag/textures/flag_yellow2.png
  66. 215
      mods/ctf_pvp_engine/.gitignore
  67. 23
      mods/ctf_pvp_engine/README.md
  68. 1
      mods/ctf_pvp_engine/ctf_protect/depends.txt
  69. 28
      mods/ctf_pvp_engine/ctf_protect/init.lua
  70. 0
      mods/ctf_pvp_engine/modpack.txt
  71. 0
      mods/other/hudkit/init.lua
  72. 0
      mods/other/lib_chatcmdbuilder/.gitignore
  73. 0
      mods/other/lib_chatcmdbuilder/LICENSE
  74. 0
      mods/other/lib_chatcmdbuilder/README.md
  75. 0
      mods/other/lib_chatcmdbuilder/description.txt
  76. 0
      mods/other/lib_chatcmdbuilder/init.lua
  77. 0
      mods/other/lib_chatcmdbuilder/mod.conf
  78. 1
      settings_cache.csv

@ -26,7 +26,6 @@ ctf.flag.drop_time = 300
ctf.allocate_mode = 3
ctf.players_can_change_team = false
ctf.node_ownership = false
ctf.friendly_fire = false
ctf.autoalloc_on_joinplayer = true

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Before

Width:  |  Height:  |  Size: 601 B

After

Width:  |  Height:  |  Size: 601 B

Before

Width:  |  Height:  |  Size: 598 B

After

Width:  |  Height:  |  Size: 598 B

Before

Width:  |  Height:  |  Size: 776 B

After

Width:  |  Height:  |  Size: 776 B

Before

Width:  |  Height:  |  Size: 732 B

After

Width:  |  Height:  |  Size: 732 B

Before

Width:  |  Height:  |  Size: 666 B

After

Width:  |  Height:  |  Size: 666 B

Before

Width:  |  Height:  |  Size: 676 B

After

Width:  |  Height:  |  Size: 676 B

Before

Width:  |  Height:  |  Size: 618 B

After

Width:  |  Height:  |  Size: 618 B

Before

Width:  |  Height:  |  Size: 625 B

After

Width:  |  Height:  |  Size: 625 B

Before

Width:  |  Height:  |  Size: 549 B

After

Width:  |  Height:  |  Size: 549 B

Before

Width:  |  Height:  |  Size: 571 B

After

Width:  |  Height:  |  Size: 571 B

Before

Width:  |  Height:  |  Size: 826 B

After

Width:  |  Height:  |  Size: 826 B

Before

Width:  |  Height:  |  Size: 775 B

After

Width:  |  Height:  |  Size: 775 B

Before

Width:  |  Height:  |  Size: 632 B

After

Width:  |  Height:  |  Size: 632 B

Before

Width:  |  Height:  |  Size: 635 B

After

Width:  |  Height:  |  Size: 635 B

Before

Width:  |  Height:  |  Size: 690 B

After

Width:  |  Height:  |  Size: 690 B

Before

Width:  |  Height:  |  Size: 688 B

After

Width:  |  Height:  |  Size: 688 B

Before

Width:  |  Height:  |  Size: 622 B

After

Width:  |  Height:  |  Size: 622 B

Before

Width:  |  Height:  |  Size: 616 B

After

Width:  |  Height:  |  Size: 616 B

Before

Width:  |  Height:  |  Size: 812 B

After

Width:  |  Height:  |  Size: 812 B

Before

Width:  |  Height:  |  Size: 874 B

After

Width:  |  Height:  |  Size: 874 B

Before

Width:  |  Height:  |  Size: 544 B

After

Width:  |  Height:  |  Size: 544 B

Before

Width:  |  Height:  |  Size: 567 B

After

Width:  |  Height:  |  Size: 567 B

Before

Width:  |  Height:  |  Size: 657 B

After

Width:  |  Height:  |  Size: 657 B

Before

Width:  |  Height:  |  Size: 671 B

After

Width:  |  Height:  |  Size: 671 B

@ -1,215 +0,0 @@
#################
## Eclipse
#################
*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath
# External tool builders
.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
*.launch
# CDT-specific
.cproject
# PDT-specific
.buildpath
#################
## Visual Studio
#################
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
*.ncrunch*
.*crunch*.local.xml
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.Publish.xml
*.pubxml
# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/
# Windows Azure Build Output
csx
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
App_Data/*.mdf
App_Data/*.ldf
#############
## Windows detritus
#############
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Mac crap
.DS_Store
#############
## Python
#############
*.py[co]
# Packages
*.egg
*.egg-info
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg
# Installer logs
pip-log.txt
# Unit test / coverage reports
.coverage
.tox
#Translations
*.mo
#Mr Developer
.mr.developer.cfg

@ -1,23 +0,0 @@
CTF PvP Engine
==============
A highly modular framework for the Minetest game engine, in order to allow
the development of Capture the Flag / City vs City games. Good for any
sort of game where players can join teams - flags are optional, everything
is highly configurable.
Licenses
========
Created by: [rubenwardy](http://rubenwardy.com/).
Copyright (c) 2013 - 2015
**Code:** LGPL 2.1 or later.
**Textures:** CC-BY-SA 3.0
ctf_flag/sounds/trumpet* by tobyk, license: CC-BY 3.0
from: http://freesound.org/people/tobyk/sounds/26198/
Documentation
=============
See the doc_* files, starting with doc_project_overview.md

@ -1,28 +0,0 @@
-- This mod is used to protect nodes in the capture the flag game
ctf.register_on_init(function()
ctf.log("chat", "Initialising...")
-- Settings: Chat
ctf._set("node_ownership", true)
end)
local old_is_protected = minetest.is_protected
function minetest.is_protected(pos, name)
if not ctf.setting("node_ownership") then
return old_is_protected(pos, name)
end
local team = ctf.get_territory_owner(pos)
if not team or not ctf.team(team) then
return old_is_protected(pos, name)
end
if ctf.player(name).team == team then
return old_is_protected(pos, name)
else
minetest.chat_send_player(name, "You cannot dig on team "..team.."'s land")
return true
end
end

@ -45,5 +45,4 @@
"match.team.2.pos" "-22,66,-78"
"match.teams" 2
"maximum_in_team" -1
"node_ownership" false
"players_can_change_team" false

Can't render this file because it contains an unexpected character in line 1 and column 15.
Loading…
Cancel
Save