-
February 3rd, 2024, 03:52 #1
- Join Date
- Jan 2022
- Posts
- 11
Making new fields get added to Item menu if specific text is entered
Hey All,
I am trying to replicate the functionality that 3.5E and Starfinder have with their item menu. Depending on which text or dropdown option you select new fields become available for entering. How can I replicate this functionality? It would also be really cool if anyone knows how to do this in Ruleset Wizard.
Any help is appreciated.
-
February 3rd, 2024, 10:52 #2
Look in 5E ruleset
Look at record_item.xml
Code:<string_columnh name="type"> <nohide /> <delaykeyupdate /> <script> function onValueChanged() window.update(); end </script> </string_columnh>
Code:<windowclass name="item_main_weapon"> <margins control="0,0,0,2" /> <script> function update(bReadOnly) bonus.setReadOnly(bReadOnly); damage.setReadOnly(bReadOnly); properties.setReadOnly(bReadOnly); end </script>
-
February 3rd, 2024, 19:26 #3
RW does this. Look at the example RW project. Been a long time since I've done it, but can look into my project if you need more specifics than what damned said.
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
February 10th, 2024, 03:13 #4
- Join Date
- Jan 2022
- Posts
- 11
What is your project called in RW? is it the Core item_main or is it a personal one?
-
February 11th, 2024, 01:18 #5
It's a personal one.
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
February 11th, 2024, 18:37 #6
- Join Date
- Jan 2022
- Posts
- 11
Do you think you could link or send your project for reference? Will be greatly appreciated.
-
February 11th, 2024, 23:16 #7
Following the instructions is a better way to learn.
-
February 11th, 2024, 23:17 #8
There is an item.rwp file available for download on the rulesetwizard.com website
-
February 11th, 2024, 23:22 #9
Let's see if these are the right file: https://drive.google.com/file/d/1g-C...usp=drive_link
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
February 15th, 2024, 16:21 #10
- Join Date
- Jan 2022
- Posts
- 11
Thank you so much.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks