Special Events

If you liked this item, please rate it up on Steam Workshop page.

Author: adai1198

Last revision: 7 Jun, 2021 at 01:08 UTC

File size: 43.01 KB

On Steam Workshop

Description:

"Let there be special event!"

Admins can apply special events after the world is generated.
This mod will send the following two commands for you:

ApplySpecialEvent("event")
TheWorld.topology.overrides.specialevent = "event"

in which "event" could be the following codes

nil <- aka default (without quotation marks)
"none"
"hallowed_nights"
"winters_feast"
"year_of_the_gobbler"
"year_of_the_varg"
"year_of_the_pig"
"year_of_the_carrat"
"year_of_the_beefalo"

Examples:
1. To set the world event to be Winter’s Feast:

ApplySpecialEvent("winters_feast")
TheWorld.topology.overrides.specialevent = "winters_feast"

2. To set the world event to be default:

ApplySpecialEvent("default")
TheWorld.topology.overrides.specialevent = "default"

However, it is always better to save and restart the server to make sure all the assets are loaded properly.


Note:

It is known that "API Gem Core" might interfere the mod. Make sure to disable that mod and corresponding mod before you use this mod. Or it is always possible to type the commands above by your self..