-
December 4th, 2017, 08:04 #1
Questions with the Numenera Rule Set
It might be me tired and my mind getting slow, but I am having an issue in creating abilities that can be dragged from a library module to a character sheet. I believe that I have the ability properly created in the library. Here is an example from the reference section of the module..
Code:<distortion> <description type="string">You modify how a willing creature within short range reflects light for one minute. The target rapidly shifts between its normal appearance and a blot of darkness. The target has an asset on Speed defense rolls until the effect wears off. Action to initiate. Erase Memories (3 Intellect points): You reach into the mind of a creature within immediate range and make an Intellect roll. On a success, you erase up to the last five minutes of its memory. Action.</description> <name type="string">Distortion</name> <stat type="string">intellect</stat> <statcost type="number">2</statcost> </distortion>
Code:<link class="ability" recordname="reference.abilitiylist.adept.distortion">Distortion (2 Intellect Points)</link>
Thanks in advance..Ultimate License Holder
Running:
Nothing at the moment.
Time Zone: Central Time (GMT -6)
-
December 4th, 2017, 09:30 #2
Hi Blahness98
Without checking out the ruleset Id suggest that drag and drop from library was never implemented...
As there was no license and Moon Wizard has said (something like) he just adds content as and when he needs it was probably not coded.
There isnt a lot of code to add to make that work...
-
December 4th, 2017, 12:56 #3
The <windowlist> control for Abilities doesn't have any <acceptdrop> definition.
Adding:
Code:<acceptdrop > <class >ability</class> <field >*</field> </acceptdrop>
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
December 4th, 2017, 15:50 #4
It appears that I wasn't the clearest before. At this time, I am not trying to drag the ability to the character sheet (maybe in the future), I am just trying to get my library module to actually read it as an ability and have an inline link to said ability.
This is what it should look like. I have this coded on a character sheet and took that code an moved it into my library. So this code:
Code:<distortion> <description type="string">You modify how a willing creature within short range reflects light for one minute. The target rapidly shifts between its normal appearance and a blot of darkness. The target has an asset on Speed defense rolls until the effect wears off. Action to initiate. Erase Memories (3 Intellect points): You reach into the mind of a creature within immediate range and make an Intellect roll. On a success, you erase up to the last five minutes of its memory. Action.</description> <name type="string">Distortion</name> <stat type="string">intellect</stat> <statcost type="number">2</statcost> </distortion>
I attempted to link from the overall description of the ability, as this picture shows
using this code:
Code:<link class="ability" recordname="reference.abilitiylist.adept.distortion">Distortion (2 Intellect Points)</link>
but instead is only pulling a blank sheet like this:
As it stands now, I have all the abilities defined like they should be (using the character sheet as example code) in order to be pulled, but it isn't working like it should be. I am attempting to dig into the Numenera rule set code, but it is all starting to blur together.Ultimate License Holder
Running:
Nothing at the moment.
Time Zone: Central Time (GMT -6)
-
December 4th, 2017, 15:52 #5
In that case the database reference is not correct. If you're using a module then you'll need to add the module name at the end of the DB reference, e.g. reference.abilitiylist.adept.distortion@My Module Name
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
December 4th, 2017, 16:01 #6
That got it and the spelling error I had didn't help much either. Like I said, the code started to blur together.
Thanks Trenloe!Ultimate License Holder
Running:
Nothing at the moment.
Time Zone: Central Time (GMT -6)
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks