mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-10-23 20:29:45 +08:00
Add FreezeTime and LockWeather to scene page
This commit is contained in:
@@ -156,5 +156,21 @@ namespace GrasscutterTools.Pages
|
||||
args += $" {GameData.Scenes.Ids[ListScenes.SelectedIndex]}";
|
||||
SetCommand("/tp", args);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 锁定天气
|
||||
/// </summary>
|
||||
private void ChkLockClimate_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
SetCommand("/prop", $"is_weather_locked {(ChkLockClimate.Checked ? "on" : "off")}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 冻结游戏时间
|
||||
/// </summary>
|
||||
private void BtnFreezeTime_Click(object sender, EventArgs e)
|
||||
{
|
||||
SetCommand("/prop", "is_game_time_locked on");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user