diff --git a/mods/ctf_pvp_engine/doc_data.md b/docs/doc_data.md similarity index 100% rename from mods/ctf_pvp_engine/doc_data.md rename to docs/doc_data.md diff --git a/mods/ctf_pvp_engine/doc_project_overview.md b/docs/doc_project_overview.md similarity index 100% rename from mods/ctf_pvp_engine/doc_project_overview.md rename to docs/doc_project_overview.md diff --git a/mods/ctf_pvp_engine/doc_settings.md b/docs/doc_settings.md similarity index 100% rename from mods/ctf_pvp_engine/doc_settings.md rename to docs/doc_settings.md diff --git a/minetest.conf b/minetest.conf index 592b592..a07ce3b 100644 --- a/minetest.conf +++ b/minetest.conf @@ -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 diff --git a/mods/ctf_pvp_engine/ctf/core.lua b/mods/ctf/ctf/core.lua similarity index 100% rename from mods/ctf_pvp_engine/ctf/core.lua rename to mods/ctf/ctf/core.lua diff --git a/mods/ctf_pvp_engine/ctf/depends.txt b/mods/ctf/ctf/depends.txt similarity index 100% rename from mods/ctf_pvp_engine/ctf/depends.txt rename to mods/ctf/ctf/depends.txt diff --git a/mods/ctf_pvp_engine/ctf/hud.lua b/mods/ctf/ctf/hud.lua similarity index 100% rename from mods/ctf_pvp_engine/ctf/hud.lua rename to mods/ctf/ctf/hud.lua diff --git a/mods/ctf_pvp_engine/ctf/init.lua b/mods/ctf/ctf/init.lua similarity index 100% rename from mods/ctf_pvp_engine/ctf/init.lua rename to mods/ctf/ctf/init.lua diff --git a/mods/ctf_pvp_engine/ctf/teams.lua b/mods/ctf/ctf/teams.lua similarity index 100% rename from mods/ctf_pvp_engine/ctf/teams.lua rename to mods/ctf/ctf/teams.lua diff --git a/mods/ctf_pvp_engine/ctf/textures/diplo_alliance.png b/mods/ctf/ctf/textures/diplo_alliance.png similarity index 100% rename from mods/ctf_pvp_engine/ctf/textures/diplo_alliance.png rename to mods/ctf/ctf/textures/diplo_alliance.png diff --git a/mods/ctf_pvp_engine/ctf/textures/diplo_peace.png b/mods/ctf/ctf/textures/diplo_peace.png similarity index 100% rename from mods/ctf_pvp_engine/ctf/textures/diplo_peace.png rename to mods/ctf/ctf/textures/diplo_peace.png diff --git a/mods/ctf_pvp_engine/ctf/textures/diplo_war.png b/mods/ctf/ctf/textures/diplo_war.png similarity index 100% rename from mods/ctf_pvp_engine/ctf/textures/diplo_war.png rename to mods/ctf/ctf/textures/diplo_war.png diff --git a/mods/ctf_pvp_engine/ctf_chat/depends.txt b/mods/ctf/ctf_chat/depends.txt similarity index 100% rename from mods/ctf_pvp_engine/ctf_chat/depends.txt rename to mods/ctf/ctf_chat/depends.txt diff --git a/mods/ctf_pvp_engine/ctf_chat/init.lua b/mods/ctf/ctf_chat/init.lua similarity index 100% rename from mods/ctf_pvp_engine/ctf_chat/init.lua rename to mods/ctf/ctf_chat/init.lua diff --git a/mods/ctf_pvp_engine/ctf_colors/depends.txt b/mods/ctf/ctf_colors/depends.txt similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/depends.txt rename to mods/ctf/ctf_colors/depends.txt diff --git a/mods/ctf_pvp_engine/ctf_colors/hud.lua b/mods/ctf/ctf_colors/hud.lua similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/hud.lua rename to mods/ctf/ctf_colors/hud.lua diff --git a/mods/ctf_pvp_engine/ctf_colors/init.lua b/mods/ctf/ctf_colors/init.lua similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/init.lua rename to mods/ctf/ctf_colors/init.lua diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_hotbar_blue.png b/mods/ctf/ctf_colors/textures/ctf_colors_hotbar_blue.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_hotbar_blue.png rename to mods/ctf/ctf_colors/textures/ctf_colors_hotbar_blue.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_hotbar_red.png b/mods/ctf/ctf_colors/textures/ctf_colors_hotbar_red.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_hotbar_red.png rename to mods/ctf/ctf_colors/textures/ctf_colors_hotbar_red.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_hotbar_selected_blue.png b/mods/ctf/ctf_colors/textures/ctf_colors_hotbar_selected_blue.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_hotbar_selected_blue.png rename to mods/ctf/ctf_colors/textures/ctf_colors_hotbar_selected_blue.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_hotbar_selected_red.png b/mods/ctf/ctf_colors/textures/ctf_colors_hotbar_selected_red.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_hotbar_selected_red.png rename to mods/ctf/ctf_colors/textures/ctf_colors_hotbar_selected_red.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_black.png b/mods/ctf/ctf_colors/textures/ctf_colors_skin_black.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_black.png rename to mods/ctf/ctf_colors/textures/ctf_colors_skin_black.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_blue.png b/mods/ctf/ctf_colors/textures/ctf_colors_skin_blue.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_blue.png rename to mods/ctf/ctf_colors/textures/ctf_colors_skin_blue.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_cyan.png b/mods/ctf/ctf_colors/textures/ctf_colors_skin_cyan.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_cyan.png rename to mods/ctf/ctf_colors/textures/ctf_colors_skin_cyan.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_gold.png b/mods/ctf/ctf_colors/textures/ctf_colors_skin_gold.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_gold.png rename to mods/ctf/ctf_colors/textures/ctf_colors_skin_gold.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_gray.png b/mods/ctf/ctf_colors/textures/ctf_colors_skin_gray.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_gray.png rename to mods/ctf/ctf_colors/textures/ctf_colors_skin_gray.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_green.png b/mods/ctf/ctf_colors/textures/ctf_colors_skin_green.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_green.png rename to mods/ctf/ctf_colors/textures/ctf_colors_skin_green.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_orange.png b/mods/ctf/ctf_colors/textures/ctf_colors_skin_orange.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_orange.png rename to mods/ctf/ctf_colors/textures/ctf_colors_skin_orange.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_pink.png b/mods/ctf/ctf_colors/textures/ctf_colors_skin_pink.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_pink.png rename to mods/ctf/ctf_colors/textures/ctf_colors_skin_pink.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_purple.png b/mods/ctf/ctf_colors/textures/ctf_colors_skin_purple.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_purple.png rename to mods/ctf/ctf_colors/textures/ctf_colors_skin_purple.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_red.png b/mods/ctf/ctf_colors/textures/ctf_colors_skin_red.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_red.png rename to mods/ctf/ctf_colors/textures/ctf_colors_skin_red.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_silver.png b/mods/ctf/ctf_colors/textures/ctf_colors_skin_silver.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_silver.png rename to mods/ctf/ctf_colors/textures/ctf_colors_skin_silver.png diff --git a/mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_yellow.png b/mods/ctf/ctf_colors/textures/ctf_colors_skin_yellow.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_colors/textures/ctf_colors_skin_yellow.png rename to mods/ctf/ctf_colors/textures/ctf_colors_skin_yellow.png diff --git a/mods/ctf_pvp_engine/ctf_flag/api.lua b/mods/ctf/ctf_flag/api.lua similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/api.lua rename to mods/ctf/ctf_flag/api.lua diff --git a/mods/ctf_pvp_engine/ctf_flag/depends.txt b/mods/ctf/ctf_flag/depends.txt similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/depends.txt rename to mods/ctf/ctf_flag/depends.txt diff --git a/mods/ctf_pvp_engine/ctf_flag/flag_func.lua b/mods/ctf/ctf_flag/flag_func.lua similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/flag_func.lua rename to mods/ctf/ctf_flag/flag_func.lua diff --git a/mods/ctf_pvp_engine/ctf_flag/flags.lua b/mods/ctf/ctf_flag/flags.lua similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/flags.lua rename to mods/ctf/ctf_flag/flags.lua diff --git a/mods/ctf_pvp_engine/ctf_flag/hud.lua b/mods/ctf/ctf_flag/hud.lua similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/hud.lua rename to mods/ctf/ctf_flag/hud.lua diff --git a/mods/ctf_pvp_engine/ctf_flag/init.lua b/mods/ctf/ctf_flag/init.lua similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/init.lua rename to mods/ctf/ctf_flag/init.lua diff --git a/mods/ctf_pvp_engine/ctf_flag/sounds/trumpet_lose.ogg b/mods/ctf/ctf_flag/sounds/trumpet_lose.ogg similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/sounds/trumpet_lose.ogg rename to mods/ctf/ctf_flag/sounds/trumpet_lose.ogg diff --git a/mods/ctf_pvp_engine/ctf_flag/sounds/trumpet_win.ogg b/mods/ctf/ctf_flag/sounds/trumpet_win.ogg similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/sounds/trumpet_win.ogg rename to mods/ctf/ctf_flag/sounds/trumpet_win.ogg diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_black.png b/mods/ctf/ctf_flag/textures/flag_black.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_black.png rename to mods/ctf/ctf_flag/textures/flag_black.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_black2.png b/mods/ctf/ctf_flag/textures/flag_black2.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_black2.png rename to mods/ctf/ctf_flag/textures/flag_black2.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_blue.png b/mods/ctf/ctf_flag/textures/flag_blue.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_blue.png rename to mods/ctf/ctf_flag/textures/flag_blue.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_blue2.png b/mods/ctf/ctf_flag/textures/flag_blue2.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_blue2.png rename to mods/ctf/ctf_flag/textures/flag_blue2.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_cyan.png b/mods/ctf/ctf_flag/textures/flag_cyan.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_cyan.png rename to mods/ctf/ctf_flag/textures/flag_cyan.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_cyan2.png b/mods/ctf/ctf_flag/textures/flag_cyan2.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_cyan2.png rename to mods/ctf/ctf_flag/textures/flag_cyan2.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_gold.png b/mods/ctf/ctf_flag/textures/flag_gold.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_gold.png rename to mods/ctf/ctf_flag/textures/flag_gold.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_gold2.png b/mods/ctf/ctf_flag/textures/flag_gold2.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_gold2.png rename to mods/ctf/ctf_flag/textures/flag_gold2.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_gray.png b/mods/ctf/ctf_flag/textures/flag_gray.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_gray.png rename to mods/ctf/ctf_flag/textures/flag_gray.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_gray2.png b/mods/ctf/ctf_flag/textures/flag_gray2.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_gray2.png rename to mods/ctf/ctf_flag/textures/flag_gray2.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_green.png b/mods/ctf/ctf_flag/textures/flag_green.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_green.png rename to mods/ctf/ctf_flag/textures/flag_green.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_green2.png b/mods/ctf/ctf_flag/textures/flag_green2.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_green2.png rename to mods/ctf/ctf_flag/textures/flag_green2.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_orange.png b/mods/ctf/ctf_flag/textures/flag_orange.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_orange.png rename to mods/ctf/ctf_flag/textures/flag_orange.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_orange2.png b/mods/ctf/ctf_flag/textures/flag_orange2.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_orange2.png rename to mods/ctf/ctf_flag/textures/flag_orange2.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_pink.png b/mods/ctf/ctf_flag/textures/flag_pink.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_pink.png rename to mods/ctf/ctf_flag/textures/flag_pink.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_pink2.png b/mods/ctf/ctf_flag/textures/flag_pink2.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_pink2.png rename to mods/ctf/ctf_flag/textures/flag_pink2.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_purple.png b/mods/ctf/ctf_flag/textures/flag_purple.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_purple.png rename to mods/ctf/ctf_flag/textures/flag_purple.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_purple2.png b/mods/ctf/ctf_flag/textures/flag_purple2.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_purple2.png rename to mods/ctf/ctf_flag/textures/flag_purple2.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_red.png b/mods/ctf/ctf_flag/textures/flag_red.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_red.png rename to mods/ctf/ctf_flag/textures/flag_red.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_red2.png b/mods/ctf/ctf_flag/textures/flag_red2.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_red2.png rename to mods/ctf/ctf_flag/textures/flag_red2.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_silver.png b/mods/ctf/ctf_flag/textures/flag_silver.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_silver.png rename to mods/ctf/ctf_flag/textures/flag_silver.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_silver2.png b/mods/ctf/ctf_flag/textures/flag_silver2.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_silver2.png rename to mods/ctf/ctf_flag/textures/flag_silver2.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_yellow.png b/mods/ctf/ctf_flag/textures/flag_yellow.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_yellow.png rename to mods/ctf/ctf_flag/textures/flag_yellow.png diff --git a/mods/ctf_pvp_engine/ctf_flag/textures/flag_yellow2.png b/mods/ctf/ctf_flag/textures/flag_yellow2.png similarity index 100% rename from mods/ctf_pvp_engine/ctf_flag/textures/flag_yellow2.png rename to mods/ctf/ctf_flag/textures/flag_yellow2.png diff --git a/mods/ctf_pvp_engine/.gitignore b/mods/ctf_pvp_engine/.gitignore deleted file mode 100644 index b9d6bd9..0000000 --- a/mods/ctf_pvp_engine/.gitignore +++ /dev/null @@ -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 diff --git a/mods/ctf_pvp_engine/README.md b/mods/ctf_pvp_engine/README.md deleted file mode 100644 index 40684c1..0000000 --- a/mods/ctf_pvp_engine/README.md +++ /dev/null @@ -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 diff --git a/mods/ctf_pvp_engine/ctf_protect/depends.txt b/mods/ctf_pvp_engine/ctf_protect/depends.txt deleted file mode 100644 index a7176f2..0000000 --- a/mods/ctf_pvp_engine/ctf_protect/depends.txt +++ /dev/null @@ -1 +0,0 @@ -ctf \ No newline at end of file diff --git a/mods/ctf_pvp_engine/ctf_protect/init.lua b/mods/ctf_pvp_engine/ctf_protect/init.lua deleted file mode 100644 index 25c3809..0000000 --- a/mods/ctf_pvp_engine/ctf_protect/init.lua +++ /dev/null @@ -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 diff --git a/mods/ctf_pvp_engine/modpack.txt b/mods/ctf_pvp_engine/modpack.txt deleted file mode 100644 index e69de29..0000000 diff --git a/mods/ctf_pvp_engine/hudkit/init.lua b/mods/other/hudkit/init.lua similarity index 100% rename from mods/ctf_pvp_engine/hudkit/init.lua rename to mods/other/hudkit/init.lua diff --git a/mods/ctf_pvp_engine/lib_chatcmdbuilder/.gitignore b/mods/other/lib_chatcmdbuilder/.gitignore similarity index 100% rename from mods/ctf_pvp_engine/lib_chatcmdbuilder/.gitignore rename to mods/other/lib_chatcmdbuilder/.gitignore diff --git a/mods/ctf_pvp_engine/lib_chatcmdbuilder/LICENSE b/mods/other/lib_chatcmdbuilder/LICENSE similarity index 100% rename from mods/ctf_pvp_engine/lib_chatcmdbuilder/LICENSE rename to mods/other/lib_chatcmdbuilder/LICENSE diff --git a/mods/ctf_pvp_engine/lib_chatcmdbuilder/README.md b/mods/other/lib_chatcmdbuilder/README.md similarity index 100% rename from mods/ctf_pvp_engine/lib_chatcmdbuilder/README.md rename to mods/other/lib_chatcmdbuilder/README.md diff --git a/mods/ctf_pvp_engine/lib_chatcmdbuilder/description.txt b/mods/other/lib_chatcmdbuilder/description.txt similarity index 100% rename from mods/ctf_pvp_engine/lib_chatcmdbuilder/description.txt rename to mods/other/lib_chatcmdbuilder/description.txt diff --git a/mods/ctf_pvp_engine/lib_chatcmdbuilder/init.lua b/mods/other/lib_chatcmdbuilder/init.lua similarity index 100% rename from mods/ctf_pvp_engine/lib_chatcmdbuilder/init.lua rename to mods/other/lib_chatcmdbuilder/init.lua diff --git a/mods/ctf_pvp_engine/lib_chatcmdbuilder/mod.conf b/mods/other/lib_chatcmdbuilder/mod.conf similarity index 100% rename from mods/ctf_pvp_engine/lib_chatcmdbuilder/mod.conf rename to mods/other/lib_chatcmdbuilder/mod.conf diff --git a/settings_cache.csv b/settings_cache.csv index 192bc2a..adffd58 100644 --- a/settings_cache.csv +++ b/settings_cache.csv @@ -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