-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make stealing from enemy teamchest(s) possible while they are open #1071
Conversation
It's ready. Please someone tell me how to make luacheck happy :) |
Global functions must go in their mod's namespace table |
May you give an example how? |
The ctf_teams namespace table is |
You commited changes to the map submodule again. Try cd capturetheflag/mods/ctf/ctf_map/maps/
git remote update
git checkout origin/master
cd ../../../..
git status and showing the output of that last |
I will do it when I have the stealing feature done. |
I think it should be easier than that to steal from the enemy chest. I think if you can get all the way into the enemy base you should be able to take whatever you want from the team chest even if no one is currently in it. |
I disagree. As a player I know that getting to enemy teamchest is not that hard. Edit: On most maps, getting to enemy base is easy as a pie if you don't want to get to there fast. |
To make it even more challenging I propose this:
Opinions? |
yes |
no if a player has made it into the enemies base they should be able to quickly take their loot (else they will just take the flag and leave) |
I still disagree. Getting to enemy base unnoticed is usually very easy if you spend enough time. |
Closing in favor of #1321 |
Issue: #1058
I'm working on it. Currently the algorithm is as such:
openers
(inmods/ctf/ctf_modes/ctf_modes_classic/init.lua
)minetest.after()
, if more than 5 seconds has been elasped, remove the player fromopeners
openers
is zero, the chest is closedMeanwhile I'm working on it, you can check if the sound clip I've used for stealing alarm is good.