Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

No attribute found for repeating_resource

1664240259

Edited 1664242889
EDIT: SOLVED Yet again, I feel like I'm being stupid and missing something obvious. I'm making macros for the Darker Dungeons character sheet and it involves the Other Resources section. As far as I can tell... @{ character |repeating_resource_-MtGGbKFBQXRQagmLn3m_attr_resourcename} ...should return the resource name for the specified token, yeah? Instead I'm getting the error No attribute was found for @{Durgan Godshammer|repeating_resource_-MtGGbKFBQXRQagmLn3m_attr_resourcename} Here's the HTML, any advice would be appreciated! <div class="repcontainer" data-groupname="repeating_resource" ><div class="repitem" data-reprowid="-MtGGbKFBQXRQagmLn3m" ><div class="itemcontrol"><button class="btn btn-danger pictos repcontrol_del">#</button><a class="btn repcontrol_move">≡</a></div> <div class="sheet-fieldset-item sheet-fieldset-item-resource"> <div class="sheet-checkbox-cog"> <input type="checkbox" name="attr_options-flag" checked="checked"><span></span> <span class="sheet-toggle-icon"></span> </div> <input type="checkbox" name="attr_options-flag" checked="checked" hidden="" class="sheet-toggle"> <div class="sheet-toggle-checked"> <div class="sheet-form"> <div class="sheet-form-header">Edit Resource</div> <div class="sheet-form-body"> <div class="sheet-form-group"> <label>Name:</label> <input type="text" name="attr_resourcename"> </div> <div class="sheet-form-group"> <label>Amount:</label> <input type="text" name="attr_resourceamount"> <label>Max:</label> <input type="text" name="attr_resourcemax"> </div> </div> </div> </div> <div class="sheet-toggle-unchecked"> <div class="sheet-pc-resource"> <span name="attr_resourcename" >Lay on Hands</span> <span name="attr_resourceamount">5</span> <span name="attr_resourcemax">5</span> </div> </div> </div> </div></div>
I think all you need to do is remove ‘_attr’.  @{ character |repeating_resource_-MtGGbKFBQXRQagmLn3m_resourcename}
(@$%@(*#(&^! Thanks, Jarren! I knew I was missing something obvious...