LordEntrails
September 9th, 2025, 01:16
So with a recent update to CorePRG (last few weeks, so maybe with 4.8.x) I've noticed that some IconCyclers I have on the character sheet are no longer visible until after some actions/scripts are activated.
Int his case I have an iconcycler for each attribute to make advantage/disadvantage rolls for the attribute. 6 iconcycler and 6 attribute. on a new character sheet they adv/dis icons are invisible until one of the attributes is rolled, then they become visible.
This is 'new' behavior, as it did not happen under 4.7.x but now does.
Suggestions on what I need to update or is this something with CoreRPG that needs to be fixed?
<button_iconcycler name="adv_strength">
<bounds>61,5,19,19</bounds>
<parameters>
<defaulticon>stats_none</defaulticon>
<icons>stats_none|stats_advantage|stats_disadvantage</icons>
<values>0|1|-1</values>
<tooltipsres>charsheet_main_adv_strength_Tooltip_0|charsheet_ma in_adv_strength_Tooltip_1|charsheet_main_adv_stren gth_Tooltip__1</tooltipsres>
<nodefault />
</parameters>
<script>function onClickRelease(button, x, y)
local nodeChar = window.getDatabaseNode();
if getValue() == 0 then
DB.setValue(nodeChar, "adv_agility", "string", 0);
DB.setValue(nodeChar, "adv_coordination", "string", 0);
DB.setValue(nodeChar, "adv_perception", "string", 0);
DB.setValue(nodeChar, "adv_intelligence", "string", 0);
DB.setValue(nodeChar, "adv_willpower", "string", 0);
end
end
</script>
</button_iconcycler>
(Note, I've got similar checkboxes that do not show this same behavior)
Int his case I have an iconcycler for each attribute to make advantage/disadvantage rolls for the attribute. 6 iconcycler and 6 attribute. on a new character sheet they adv/dis icons are invisible until one of the attributes is rolled, then they become visible.
This is 'new' behavior, as it did not happen under 4.7.x but now does.
Suggestions on what I need to update or is this something with CoreRPG that needs to be fixed?
<button_iconcycler name="adv_strength">
<bounds>61,5,19,19</bounds>
<parameters>
<defaulticon>stats_none</defaulticon>
<icons>stats_none|stats_advantage|stats_disadvantage</icons>
<values>0|1|-1</values>
<tooltipsres>charsheet_main_adv_strength_Tooltip_0|charsheet_ma in_adv_strength_Tooltip_1|charsheet_main_adv_stren gth_Tooltip__1</tooltipsres>
<nodefault />
</parameters>
<script>function onClickRelease(button, x, y)
local nodeChar = window.getDatabaseNode();
if getValue() == 0 then
DB.setValue(nodeChar, "adv_agility", "string", 0);
DB.setValue(nodeChar, "adv_coordination", "string", 0);
DB.setValue(nodeChar, "adv_perception", "string", 0);
DB.setValue(nodeChar, "adv_intelligence", "string", 0);
DB.setValue(nodeChar, "adv_willpower", "string", 0);
end
end
</script>
</button_iconcycler>
(Note, I've got similar checkboxes that do not show this same behavior)