update python tool initial text

This commit is contained in:
haven1433
2023-03-01 22:04:15 -06:00
parent efa8ab5010
commit cd3d55aaec

View File

@@ -27,9 +27,13 @@ namespace HavenSoft.HexManiac.Core.ViewModels.Tools {
Text = @"print('''
Put python code here.
Use 'editor' to access the EditorViewModel.
Use 'table' to access tables from the current tab.
Use a table name to access tables from the current tab.
For example, try printing:
table['data.pokemon.names'][1]['name']
data.pokemon.names[1].name
Or try changing a table using a loop:
for mon in data.pokemon.stats:
mon.hp = 100
''')";
}