Skip to content
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

Added custom default delay between entities spawning #3264

Merged
merged 3 commits into from
Jul 25, 2024

Conversation

HavannaFR
Copy link
Contributor

Something that has existed for a long time for shipments but not for entities

added EntitySpamTime and fixed remplaced wrong comment "ShipmentSpamTime" by "ShipmentSpamTime"
Added custom value for EntitySpamTime
fixed wrong category
@FPtje
Copy link
Owner

FPtje commented Jul 20, 2024

Thanks for the PR! I'll take a closer look when I have time.

Copy link
Owner

@FPtje FPtje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Thanks!

@@ -204,6 +204,8 @@ GM.Config.decaltimer = 120
GM.Config.demotetime = 120
-- doorcost - Sets the cost of a door.
GM.Config.doorcost = 30
-- EntitySpamTime - Antispam time between spawning entities.
GM.Config.EntitySpamTime = 2
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was about to note that this is UpperCamelCase, and not consistent with the surrounding configs, when I realized that nothing in this file is consistent. I think it's a good choice to give it the same casing as ShipmentSpamTime, thanks! 👍

@@ -272,7 +274,7 @@ GM.Config.runspeed = 240
GM.Config.runspeedcp = 255
-- searchtime - Number of seconds for which a search warrant is valid.
GM.Config.searchtime = 30
-- ShipmentSpawnTime - Antispam time between spawning shipments.
-- ShipmentSpamTime - Antispam time between spawning shipments.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing the typo 👍

@FPtje FPtje merged commit 9268b8c into FPtje:master Jul 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants