-
Notifications
You must be signed in to change notification settings - Fork 709
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
Conversation
added EntitySpamTime and fixed remplaced wrong comment "ShipmentSpamTime" by "ShipmentSpamTime"
Added custom value for EntitySpamTime
fixed wrong category
Thanks for the PR! I'll take a closer look when I have time. |
There was a problem hiding this 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 |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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 👍
Something that has existed for a long time for shipments but not for entities