PDA

View Full Version : 5E - Sentient Items



MyGivinOpinion
August 1st, 2022, 17:46
DM's can now bestow wonder onto the party in the form of Dynamic Items. The items contained in this extension and module, with more modules to follow(which will sell for 500 coins), will work with the extension to allow the DM to bestow upon the party items that modify their description. This is the sentience hiding it's abilities until one "worthy" of it's abilities comes around.

What this means is this extension scans the character sheet for the classes and race of the PC. If either class and/or race matches the requirements set forth by the item, it leaves that section of the description available for review. Otherwise it deletes that section and displays only a basic description of the item.

::UPDATE::
Extension now takes into account character level, not class level, and Alignment in the form of abbreviated text like LG for Lawful Good or CE for Chaotic Evil. Neutral should be TN for simplicities sake.

:: DM NOTES ::
These items do not require attunement as the item attunes to the user. Any Dynamic Items made by yourself should NOT be attunable.
Any custom items made by yourself must come from a module and be identified.
User made modules can be updated in session by simply reloading the module after exporting, for quick fixes.

The extension can be found here (https://forge.fantasygrounds.com/shop/items/731/view).
A video showcase is available here (https://youtu.be/g7M2fdwTEl4).

Syntax Required:
[Race: whatever] (Only goes off primary race)
Display whatever abilities the item gives the race.; (End section with a ~ )
[Class: whatever whatever](two classes allowed)
Display whatever abilities the item gives the class/es.(End section with a ~ )
[Level: number]
Display whatever abilities the item gives the level.(Character Level).(End section with a ~ )
[Level2: number]
Display whatever abilities the item gives the level.(Character Level)(End section with a ~ )
[Level3: number]
Display whatever abilities the item gives the level.(Character Level)(End section with a ~ )
[Alignment: abbreviated terms](examples: LG, TN, CE)
Display whatever abilities the item gives the alignment.(End section with a ~ )
[Curse]
Hides whatever abilities the item curses the player with from the player.(End section with a ~ )
[Base Description]
(Add the items base description after this)

MrDDT
August 2nd, 2022, 22:31
Looks cool, I will have to check it out.

MyGivinOpinion
August 6th, 2022, 19:57
NOW INCLUDED

Self-updating Items. The items will now reveal their abilities automatically when the character makes the necessary changes without the dm needing to drag a new item to the inventory list once the requirements are met!

The DM will need to reset the item one time after this update if they are already using a Dynamic Item.

MyGivinOpinion
October 27th, 2023, 14:54
Sorry about the long break from maintaining this extension. I had school and another massive project on my hands, it's still not finished but I've earned a break after 9 months of development. For my break, I've returned to FGU to try and fix my extension. Which is exactly what I have done. This extension has returned and been more optimized from it's prototype phase. Working on a new update to follow this one soon. It should be a nice one!

MyGivinOpinion
November 6th, 2023, 10:31
Sentient Items has been relabeled Dynamic Items. Dynamic Items has undergone another update, this one makes Dynamic Items fully compatible with Advanced Effects. So that any descriptions containing effects coding will extract that coding and pass it onto the combat tracker by way of Advanced Effects.

BubbaGrim
November 11th, 2023, 09:42
This will be very useful for my campaign, I have weapons that evolve as the characters level up, this will simplify things for me.

MyGivinOpinion
November 11th, 2023, 14:12
If you need any assistance in setting it up please let me know.

Baron Toth
December 6th, 2023, 01:00
I love the concept, but I can't get it to work. I had a couple of screenshots, but they aren't uploading here. I'm trying to create a cursed item, but the curse info is showing on the players' screen. Any thoughts on what I'm doing wrong?

Description

This carefully polished dwarven skull has fine leather straps to secure the skull on the top of the owner's head. When worn, it give +1 to strength and immunity to acid damage.~



[Curse]

At midnight, the skull will excrete a gelatinous cube that will attempt to engulf the owner. Once engulfed, the victem suffers strength drain STR: -1 per round and the acid immunity is removed. Left unchecked, the gelatinous cube will grow to gargantuan size.

MrDDT
December 6th, 2023, 03:46
I love the concept, but I can't get it to work. I had a couple of screenshots, but they aren't uploading here. I'm trying to create a cursed item, but the curse info is showing on the players' screen. Any thoughts on what I'm doing wrong?

Description

This carefully polished dwarven skull has fine leather straps to secure the skull on the top of the owner's head. When worn, it give +1 to strength and immunity to acid damage.~



[Curse]

At midnight, the skull will excrete a gelatinous cube that will attempt to engulf the owner. Once engulfed, the victem suffers strength drain STR: -1 per round and the acid immunity is removed. Left unchecked, the gelatinous cube will grow to gargantuan size.

I've not tested this EXT in a bit, but is the item in a module?

Baron Toth
December 6th, 2023, 13:46
@MrDDT... he's everywhere! :D

Yes, I created the item (the dwarven skull from Dungeon of the Mad Mage), exported into a module, opened the module in the campaign where I created it, dragged the exported item into the player's inventory, opened a second instance on my computer... and the player view still has the "cursed" info. There are some warning and errors when I open the item from the player's inventory:

Warning: window: Anchored static width ignored for control (name) in windowclass (charsheet_overview)
Warning: window: unable to locate control (properties_label) specified in insertbefore attribute for control (advance_effects_contents) in windowclass (item_main)
Error: FormattedText SetValue XML.Error: Unexpected end of file has occurred. The following elements are not closed: p.Line 1. position 198

I know the next step is to try without other extensions- haven't had time to try that yet. Does anything speak to you from the error? To me, it implies I'm using the ~ wrong.

MrDDT
December 6th, 2023, 16:50
@MrDDT... he's everywhere! :D

Yes, I created the item (the dwarven skull from Dungeon of the Mad Mage), exported into a module, opened the module in the campaign where I created it, dragged the exported item into the player's inventory, opened a second instance on my computer... and the player view still has the "cursed" info. There are some warning and errors when I open the item from the player's inventory:

Warning: window: Anchored static width ignored for control (name) in windowclass (charsheet_overview)
Warning: window: unable to locate control (properties_label) specified in insertbefore attribute for control (advance_effects_contents) in windowclass (item_main)
Error: FormattedText SetValue XML.Error: Unexpected end of file has occurred. The following elements are not closed: p.Line 1. position 198

I know the next step is to try without other extensions- haven't had time to try that yet. Does anything speak to you from the error? To me, it implies I'm using the ~ wrong.

I tested it also, getting exact same error.

Baron Toth
December 6th, 2023, 19:05
I could live with the error, but the "cursed" info shows on my second instance. I hope the author has some time to fix this.

Klandare
December 18th, 2023, 03:56
Do you know of any conflicts with other extensions? I am having a very odd thing happening. All of the magic items the players have in their sheets are identified. But on the party sheet in the bottom right where it lists all of the inventory from all of the characters; it shows the unidentified name for the item.5952359523

MyGivinOpinion
April 11th, 2024, 13:24
I am sorry about the delay. I never received notifications that there were issues posted to this Topic. I have been away for a while due to real life. I am currently addressing an issue with another extension. I will handle this immediately after remedying that first. Thank you for your understanding and patience.

Klandare
April 13th, 2024, 19:30
I am sorry about the delay. I never received notifications that there were issues posted to this Topic. I have been away for a while due to real life. I am currently addressing an issue with another extension. I will handle this immediately after remedying that first. Thank you for your understanding and patience.

That is quite alright. Let me know if you need any more information and I will see what I can pull together for you.

Thanks for looking into this.

MyGivinOpinion
April 17th, 2024, 20:21
@Klandare Currently, I will need a screenshot of whatever errors are occurring as well as a description of what is being done when the error occurs. Please be as descriptive as possible.

MyGivinOpinion
April 17th, 2024, 20:25
@MrDDT... he's everywhere! :D

... opened a second instance on my computer... and the player view still has the "cursed" info. ...

During recent testing I discovered that the second instance will detect the player as a GM. I'm not saying this is the issue, but I do want to stress that this does have an impact. I had to restructure another Extension and bring in outside testers for playerside on that extension. It might be the same for this one in addition to whatever issues there are.

Klandare
April 18th, 2024, 04:49
@Klandare Currently, I will need a screenshot of whatever errors are occurring as well as a description of what is being done when the error occurs. Please be as descriptive as possible.

I just went through disabling all extensions I had on and it turns on that it is not your extension that is causing the issue. Just thought it was as saw it happening after I had gotten the extension.

The extension causing the problem is Map Parcel so I will go to that thread to see if the creator can figure out why it is doing what it is doing.

MyGivinOpinion
April 18th, 2024, 10:16
I have begun to trouble shoot the extension, I did run into a few errors. I was able to trouble shoot my problem. When I made this extension I had learned about Advanced Effects which I learned how to tap into and work with. The problem I was experiencing was that I was using "Shift+Enter" to end each section. This creates a different end of paragraph tag than using the traditional "Enter" only and thus breaks the extension. I am currently working on a fix for this, for the time being, just remember to hit Enter and not shift+enter after the ~.

As for the errors @MrDDT and @Baron Toth are getting. The files listed in your warning and error logs are not present in my extension files. So odds are it's either a communication issue to AE or AE itself. I will look into this further.

JuliTutu
September 8th, 2024, 04:22
I'm having some errors with the extension:
[9/8/2024 12:17:27 AM] [ERROR] Script execution error: [string "Dynamic Items:..n/scripts/item_main_mod.lua"]:554: attempt to index local 'sDescription' (a nil value)
[9/8/2024 12:17:27 AM] [ERROR] Script execution error: [string "Dynamic Items:..n/scripts/item_main_mod.lua"]:554: attempt to index local 'sDescription' (a nil value)
[9/8/2024 12:17:48 AM] [ERROR] Script execution error: [string "Dynamic Items:..n/scripts/item_main_mod.lua"]:554: attempt to index local 'sDescription' (a nil value)
[9/8/2024 12:17:48 AM] [ERROR] Script execution error: [string "Dynamic Items:..n/scripts/item_main_mod.lua"]:554: attempt to index local 'sDescription' (a nil value)
[9/8/2024 12:20:52 AM] Campaign saved. (0s)

And the item it's empty

MyGivinOpinion
September 8th, 2024, 04:23
Thank you kindly for reporting this. I will look into it tomorrow morning when I have some time.

Baron Toth
October 2nd, 2024, 00:00
The latest version of FGU with Dynamic Items loaded is generating errors.

MyGivinOpinion
October 2nd, 2024, 00:04
I am aware, error logs are helpful in troubleshooting. I'm looking into it actively atm.

Baron Toth
October 2nd, 2024, 01:26
Thanks for looking into this. I was rushing after a long search to find what was causing trouble, and misspoke. DN doesn't generate an error, but a campaign with just this extension messes up formatting in anything opened from the Items menu.

https://drive.google.com/file/d/11MzyN4nRAiwQfjbZVyHbvTX1D5uJ_fx1/view?usp=sharing

And while I have your ear... I'd love to use this extension to hide cursed item information from players, but I've never got it to work. I've read through the forum posts and tried various suggestions. Is that functionality working for you?