mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-25 14:54:48 +02:00
tokens get parsed for constructs
This commit is contained in:
parent
334e466bed
commit
c6e43df31c
@ -96,8 +96,8 @@ game_interaction_gamemenu,Game Menu
|
|||||||
game_interaction_pokegear,Pokégear
|
game_interaction_pokegear,Pokégear
|
||||||
game_interaction_pausemenu,Pause Menu
|
game_interaction_pausemenu,Pause Menu
|
||||||
game_interaction_notification,Notification
|
game_interaction_notification,Notification
|
||||||
game_notification_accept,Press <button.special> to accept.
|
game_notification_accept,Press <system.button(special)> to accept.
|
||||||
game_notification_dismiss,Press <button.special> to dismiss.
|
game_notification_dismiss,Press <system.button(special)> to dismiss.
|
||||||
---
|
---
|
||||||
MainMenuScreen:
|
MainMenuScreen:
|
||||||
main_menu_continue,Continue
|
main_menu_continue,Continue
|
||||||
|
@ -112,9 +112,10 @@
|
|||||||
Dim result As String = resultToken.TokenContent
|
Dim result As String = resultToken.TokenContent
|
||||||
If Core.Player IsNot Nothing Then
|
If Core.Player IsNot Nothing Then
|
||||||
result = result.Replace("<playername>", Core.Player.Name)
|
result = result.Replace("<playername>", Core.Player.Name)
|
||||||
result = result.Replace("<player.name>", Core.Player.Name)
|
|
||||||
result = result.Replace("<rivalname>", Core.Player.RivalName)
|
result = result.Replace("<rivalname>", Core.Player.RivalName)
|
||||||
result = result.Replace("<player.name>", Core.Player.RivalName)
|
If result.Contains("<") Then
|
||||||
|
result = CStr(ScriptVersion2.ScriptComparer.EvaluateConstruct(result))
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
Return result
|
Return result
|
||||||
End If
|
End If
|
||||||
|
Loading…
x
Reference in New Issue
Block a user