Adds support for the @home system to adjust its options via script
This commit is contained in:
parent
349fc6299f
commit
4849b022b5
1 changed files with 12 additions and 0 deletions
|
|
@ -11,6 +11,18 @@ namespace BSB.bottypes
|
||||||
{
|
{
|
||||||
public abstract class AtHome : MessageSwitcherBot
|
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()
|
protected string LoggedOutNextAction()
|
||||||
{
|
{
|
||||||
string addon = "";
|
string addon = "";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue