FG Spreadshirt Swag
Page 1 of 6 123 ... Last
  1. #1
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,649
    Blog Entries
    1

    Sharing Is Caring (5E, 2E, Pathfinder 2E)

    Extension Name: Sharing Is Caring

    This extension allows players to share data on their
    Spells
    Abilities
    Feats
    Class
    Race
    Items
    Skills
    To the chat window so that the DM and other players can see/read.

    Incompatibilities with Audioseer have been resolved and has now moved to the Forge:

    5E Version
    https://forge.fantasygrounds.com/shop/items/549/view

    2E Version
    https://forge.fantasygrounds.com/shop/items/1167/view

    Pathfinder 2E Version
    https://forge.fantasygrounds.com/shop/items/1168/view

    The attached file is for FG Classic only and for 5E only.
    Attached Files Attached Files

  2. #2
    Damned, this is really cool! It's text only (doesn't reproduce links), but it's still very useful!
    Fantasy Grounds Unity Lives! Good job, Smiteworks!

  3. #3
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,649
    Blog Entries
    1
    Quote Originally Posted by Three of Swords View Post
    Damned, this is really cool! It's text only (doesn't reproduce links), but it's still very useful!
    yes it is text only. mostly its for when you want to use something and there might be discussion/debate about its usage. click to share and everyone can read it unlike when you drag the link into chat.

  4. #4
    Very handy,
    Nice job

    Cheers, Steve.

  5. #5
    Unfortunately when I have this extension enabled, it won't roll properly. The 3d dice rolls, but no results are shown in the chat window. Saving throws, skill checks, etc.

    I tested with no other extensions enabled and the same thing happens.

    I haven't updated FG in a while for fear of breaking another extension, so maybe that's it. Just thought I'd share.


    It works now. TY for updating.
    Last edited by Three of Swords; June 3rd, 2020 at 18:23.
    Fantasy Grounds Unity Lives! Good job, Smiteworks!

  6. #6

  7. #7
    Hello, Damned.
    Have been using your extensions for the longest time, but i recently migrated into implementing my own system into core rpg.
    It is possible to port this specific extension to core rpg? I tried everything, but my limited XML knowledge didn't let me proceed haha.

    Thanks in advance, even if it's undoable.

  8. #8
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,649
    Blog Entries
    1
    It is possible Bretwulf but there arent really and data types in CoreRPG. There is Abilities - but I cant think of anything else?
    I am going to build this into MoreCore soon but that has far more data types...

  9. #9
    What about 3.5 based systems? Like PF, for instance...
    I tried to muzzle around a bit, trying to change the record_[THING] to match the 3.5e ruleset, but haven't got any luck until now. I guess it's about me not changing the window classes in the campaign folder inside the extension, but i don't know what should i exchange in this part.

    PS: I'm modifying your extension just for personal use, don't hunt me down please HAHA
    Last edited by Bretwulf; July 14th, 2020 at 06:12.

  10. #10
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,649
    Blog Entries
    1
    Its not possible to build a CoreRPG variant that will work with all rulesets as rulesets vary significantly in what data types they use and what fields they use in those too.

    For example in Items I do the following:

    Code:
    				<script>
    					function action(draginfo)
    						local nodeWin = window.getDatabaseNode();
    						
    						local sName1 = DB.getText(nodeWin, "name", 0);
    						local sText1 = DB.getText(nodeWin, "description", 0);
    						local sType1 = DB.getText(nodeWin, "type", 0);
    						local sCost1 = DB.getText(nodeWin, "cost", 0);
    						local sWeight1 = DB.getText(nodeWin, "weight", 0);
    						local sAC1 = DB.getText(nodeWin, "ac", 0);
    						local sDamage1 = DB.getText(nodeWin, "damage", 0);
    						local sProperties1 = DB.getText(nodeWin, "properties", 0);
    
    						if sType1 == "Weapon" then
    							local sMessage = "**" .. sType1 .. ": " .. sName1 .. "\n\nCost: " .. sCost1 .. "\nWeight: " .. sWeight1 ..  "\n\nDamage: " .. sDamage1 .. "\nProperties: " .. sProperties1 .. "\n\nDescription: " .. sText1 .. "\n\n";
    							msg = {font = "narratorfont", mode = "damned"};
    							msg.text = sMessage;
    							Comm.deliverChatMessage(msg);
    						elseif sType1 == "Armor" then
    							local sMessage = "**" .. sType1 .. ": " .. sName1 .. "\n\nCost: " .. sCost1 .. "\nWeight: " .. sWeight1 ..  "\n\nAC Base: " .. sAC1 .. "\n\nDescription: " .. sText1 .. "\n\n";
    							msg = {font = "narratorfont", mode = "damned"};
    							msg.text = sMessage;
    							Comm.deliverChatMessage(msg);
    						else
    							local sMessage = "**" .. sType1 .. ": " .. sName1 .. "\n\nCost: " .. sCost1 .. "\nWeight: " .. sWeight1 ..  "\n\nDescription: " .. sText1 .. "\n\n";
    							msg = {font = "narratorfont", mode = "damned"};
    							msg.text = sMessage;
    							Comm.deliverChatMessage(msg);
    						end
    						
    						
    						return true;
    					end
    
    					function onDragStart(button, x, y, draginfo)
    						return action(draginfo);
    					end
    
    					function onClickRelease(x, y)
    						return action();
    					end
    				</script>
    So I collect its Name, Desc, Type, Cost, Weight, AC, Damage and Properties, and then it displays different info its a weapon or of its armour.
    It pretty much has to be built for each ruleset...

Thread Information

Users Browsing this Thread

There are currently 9 users browsing this thread. (0 members and 9 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in