mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-28 08:14:29 +02:00
Reset textcolor upon game exit, update Scr.Library
This commit is contained in:
parent
3a0887023b
commit
885f7f80d6
@ -306,6 +306,7 @@
|
|||||||
If JoinServerScreen.Online = True Then
|
If JoinServerScreen.Online = True Then
|
||||||
Core.ServersManager.ServerConnection.Disconnect()
|
Core.ServersManager.ServerConnection.Disconnect()
|
||||||
End If
|
End If
|
||||||
|
Screen.TextBox.TextColor = TextBox.DefaultColor
|
||||||
MusicManager.ForceMusic = ""
|
MusicManager.ForceMusic = ""
|
||||||
World.setDaytime = -1
|
World.setDaytime = -1
|
||||||
World.setSeason = Nothing
|
World.setSeason = Nothing
|
||||||
|
@ -155,6 +155,8 @@ Namespace ScriptVersion2
|
|||||||
r(New ScriptCommand("text", "notification", {New ScriptArgument("message", ScriptArgument.ArgumentTypes.Str), New ScriptArgument("delay", ScriptArgument.ArgumentTypes.Int, True, "500"), New ScriptArgument("backgroundindex", ScriptArgument.ArgumentTypes.Int, True, "0"), New ScriptArgument("iconindex", ScriptArgument.ArgumentTypes.Int, True, "0"), New ScriptArgument("soundeffect", ScriptArgument.ArgumentTypes.Str, True), New ScriptArgument("scriptfile", ScriptArgument.ArgumentTypes.Str, True)}.ToList(), "Displays a textbox with the given text."))
|
r(New ScriptCommand("text", "notification", {New ScriptArgument("message", ScriptArgument.ArgumentTypes.Str), New ScriptArgument("delay", ScriptArgument.ArgumentTypes.Int, True, "500"), New ScriptArgument("backgroundindex", ScriptArgument.ArgumentTypes.Int, True, "0"), New ScriptArgument("iconindex", ScriptArgument.ArgumentTypes.Int, True, "0"), New ScriptArgument("soundeffect", ScriptArgument.ArgumentTypes.Str, True), New ScriptArgument("scriptfile", ScriptArgument.ArgumentTypes.Str, True)}.ToList(), "Displays a textbox with the given text."))
|
||||||
r(New ScriptCommand("text", "debug", {New ScriptArgument("text", ScriptArgument.ArgumentTypes.Str)}.ToList(), "Prints the ""text"" argument to the immediate window console."))
|
r(New ScriptCommand("text", "debug", {New ScriptArgument("text", ScriptArgument.ArgumentTypes.Str)}.ToList(), "Prints the ""text"" argument to the immediate window console."))
|
||||||
r(New ScriptCommand("text", "log", {New ScriptArgument("text", ScriptArgument.ArgumentTypes.Str)}.ToList(), "Logs the ""text"" argument into the log.dat file."))
|
r(New ScriptCommand("text", "log", {New ScriptArgument("text", ScriptArgument.ArgumentTypes.Str)}.ToList(), "Logs the ""text"" argument into the log.dat file."))
|
||||||
|
r(New ScriptCommand("text", "color", {New ScriptArgument("colorName", ScriptArgument.ArgumentTypes.Str, {"playercolor", "defaultcolor"})}.ToList(), "Changes the font color to a preset. You can also use a VB.NET compatible color in the ""KnownColor"" enum instead."))
|
||||||
|
r(New ScriptCommand("text", "color", {New ScriptArgument("Red", ScriptArgument.ArgumentTypes.Str), New ScriptArgument("Green", ScriptArgument.ArgumentTypes.Str), New ScriptArgument("Blue", ScriptArgument.ArgumentTypes.Str)}.ToList(), "Changes the font color to the specified RGB values."))
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Shared Sub DoSound()
|
Private Shared Sub DoSound()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user