Cupid's Protection
Author:
Downloads: 4,174
File Size: 544.3 KB
Created:
Updated:
Mod ID: 1283738
Categories:

Cupid's Protection

Cupid's Protection

Commissioned by Cupid's Resurrection

A placeable structure to keep your base safe from routine structure purges. Any structure not protected will be purged on a regular basis.

Configs

[CupidsProtection]
TimeOutsideFlagsBeforeDestroySeconds=604800.0
DiscordWebhookUrl="WEB_HOOK_URL_HERE"
DisableFlags=True
FlagSizeLarge=9000
FlagSizeSmall=3000
FlagSizeTiny=1500
MaxSmallFlagsPerTribe=2
MaxLargeFlagsPerTribe=1
MaxTinyFlagsPerTribe=1
MaxTotalFlagsPerTribe=-1
UseRespawnFlagOnStart=false

Explained:

DiscordWebhookDelaySeconds=Delay in seconds after purge, BEFORE webhook message sent. Largely unnecessary.
DiscordWebhookUrl=Webhook url for purge details. Wrap in quotes. ie: "SOME_URL_HERE"
DisableFlags=If true, no purge will occur. Default: True
FlagSizeLarge=Size of large flags
FlagSizeSmall=Size of small flags
FlagSizeTiny=Size of tiny flags
MaxLargeFlagsPerTribe=Max amount of large flags per tribe
MaxSmallFlagsPerTribe=Max amount of small flags per tribe
MaxTinyFlagsPerTribe=Max amount of tiny flags per tribe
MaxTotalFlagsPerTribe=Max amount TOTAL of all flags. -1 is infinite
UseRespawnFlagOnStart: if true, flag data is updated every few minutes. On reboots, the flags are re-created to ensure any WC caused missing structures doesnt result in base destruction.

Notes

MaxTotalFlagsPerTribe: This is a max total amount(small + large + shop), regardless of the max small/large/shop setting.

Admin

EngramEntry_CupidsProtection_Large_C
EngramEntry_CupidsProtection_Small_C
EngramEntry_CupidsProtection_Tiny_C

cheat giveitem "/CupidsProtection/Structures/Small/PrimalItemStructure_CupidsProtection_Small.PrimalItemStructure_CupidsProtection_Small" 1 0 0
cheat giveitem "/CupidsProtection/Structures/Large/PrimalItemStructure_CupidsProtection_Large.PrimalItemStructure_CupidsProtection_Large" 1 0 0
cheat giveitem "/CupidsProtection/Structures/Tiny/PrimalItemStructure_CupidsProtection_Tiny.PrimalItemStructure_CupidsProtection_Tiny" 1 0 0
cheat giveitem "/CupidsProtection/Structures/Admin/PrimalItemStructure_CupidsProtection_Admin.PrimalItemStructure_CupidsProtection_Admin" 1 0 0

Join My Discord

Donate Donate