Adds support for the @home system to adjust its options via script

This commit is contained in:
Madpeter 2020-05-01 16:33:56 +01:00
parent 349fc6299f
commit 4849b022b5

View file

@ -11,6 +11,18 @@ namespace BSB.bottypes
{
public abstract class AtHome : MessageSwitcherBot
{
public void TempUpdateAtHomeSimOnly(bool status)
{
myconfig.AtHomeSimOnly = status;
}
public void TempUpdateAtHomeSimRange(float range)
{
if (range < 3)
{
range = 3;
}
myconfig.AtHomeSimPosMaxRange = range;
}
protected string LoggedOutNextAction()
{
string addon = "";