Varsuuk
July 11th, 2020, 06:14
I'm sorry, I am sure this has been asked before.
I did a search on "sort" which of course, gets all kinds of things. And /morecore help of course too.
Anyhow, I did a fast attempt at changing sort to desired order sort. I need to get to sleep so I did it pretty sloppy but to see if had an effect.
In MoreCore\common\template_lists.xml, I tossed the following list_text2 (put directly in morecore to just test - wasn't going to leave there).
<root>
<!-- Display Tabs for GM and Players -->
<template name="categories_all">
<categoryselectioncontrol>
<anchored>
<top anchor="bottom" offset="-39" />
<left offset="24" />
<bottom offset="-1" />
</anchored>
</categoryselectioncontrol>
</template>
<template name="list_text2">
<list_text>
<sortby mergerule="replace"><control>name_sort_order</control></sortby>
</list_text>
</template>
</root>
Then in my OSE extension, I tossed in record_char_more.xml I changed list_text to list_text2
<root>
<!-- Display Tabs for GM and Players -->
<template name="categories_all">
<categoryselectioncontrol>
<anchored>
<top anchor="bottom" offset="-39" />
<left offset="24" />
<bottom offset="-1" />
</anchored>
</categoryselectioncontrol>
</template>
<template name="list_text2">
<list_text>
<sortby mergerule="replace"><control>name_sort_order</control></sortby>
</list_text>
</template>
</root>
Finally, in the pregens xml, I added a tag for each attribute:
<locked type="number">1</locked>
<name type="string">Wisdom</name>
<name_sort_order type="string">5</name_sort_order>. <<----- This one.
<number_min type="number">3</number_min>
Sure, yeah, it was a "Hail Mary" pass. I, of course am OK with the default CoreRPG behavior of alpha sort on name - was just something that popped in my mind and figured try.
Just getting back to work on some stuff, so trying to refamiliarize but MoreCore I never worked with directly.
I did a search on "sort" which of course, gets all kinds of things. And /morecore help of course too.
Anyhow, I did a fast attempt at changing sort to desired order sort. I need to get to sleep so I did it pretty sloppy but to see if had an effect.
In MoreCore\common\template_lists.xml, I tossed the following list_text2 (put directly in morecore to just test - wasn't going to leave there).
<root>
<!-- Display Tabs for GM and Players -->
<template name="categories_all">
<categoryselectioncontrol>
<anchored>
<top anchor="bottom" offset="-39" />
<left offset="24" />
<bottom offset="-1" />
</anchored>
</categoryselectioncontrol>
</template>
<template name="list_text2">
<list_text>
<sortby mergerule="replace"><control>name_sort_order</control></sortby>
</list_text>
</template>
</root>
Then in my OSE extension, I tossed in record_char_more.xml I changed list_text to list_text2
<root>
<!-- Display Tabs for GM and Players -->
<template name="categories_all">
<categoryselectioncontrol>
<anchored>
<top anchor="bottom" offset="-39" />
<left offset="24" />
<bottom offset="-1" />
</anchored>
</categoryselectioncontrol>
</template>
<template name="list_text2">
<list_text>
<sortby mergerule="replace"><control>name_sort_order</control></sortby>
</list_text>
</template>
</root>
Finally, in the pregens xml, I added a tag for each attribute:
<locked type="number">1</locked>
<name type="string">Wisdom</name>
<name_sort_order type="string">5</name_sort_order>. <<----- This one.
<number_min type="number">3</number_min>
Sure, yeah, it was a "Hail Mary" pass. I, of course am OK with the default CoreRPG behavior of alpha sort on name - was just something that popped in my mind and figured try.
Just getting back to work on some stuff, so trying to refamiliarize but MoreCore I never worked with directly.