PDA

View Full Version : Making Dymanic Items



Fezzik Buttercup
December 27th, 2022, 18:23
Hello All,

I'm being stupid again, and I'm 1/4 of the way through doing the DF Treasure items. Anyone that's rolled up those knows it can involve a lot of back and forth depending on embellishments, enchantments, curses etc.

First I've done it with tables (in the FGU interface). It rolls a base type 55545

Then it goes about rolling off the appropriate sub table for the items. If I put the output in chat, I can follow roughly (because of the general flow) all the add-ons that may be present, but if I use the tables to output to a parcel, it's really hard to figure out all the modifiers. 55546

Is there a better way to do this (xml tables?). And can I add items/qualities/etc to a base item and all the modifiers so it is listed in an items notes or calculated directly?

I'm not sure this makes a lot of sense. I haven't done the entire list of items (only up to household items so far :) ). I could post the 'campaign' or the db or something if anyone wants to take a look or if you have any suggestsions. Not even sure how viable this is, but I'm bored and need something to do this week :)

Thanks!
Fezzik

Zacchaeus
December 27th, 2022, 18:31
I don't know the GURPS ruleset and what it can do; but I'd either output to a story entry or use a Story Template.

Fezzik Buttercup
December 27th, 2022, 19:07
Zacc, are there tables like this in other systems? That use a base item, then add stuff to them off a table (either the normal ones or off an xml extension etc)?

Zacchaeus
December 27th, 2022, 19:09
Not in any ruleset I'm familiar with. You need to create the item. But you can randomly select what can be added using tables.

Fezzik Buttercup
December 27th, 2022, 19:12
55547
I like the ease of reading this a bit better (except everything is backwards... the item is at the bottom, all the embellishments on top, but I believe that's because of the way the rolling stack works -- which messed up my attempts at creating automatic critical tables :) )

I notice it still does all the rolls in chat, but I guess that can't be helped? (unless you turn of GM roll I guess the PC's will know roughly what's coming :) )


(edit) I noticed with that, it didn't print out the carats for each gem (it did in chat though). Currently all the tables are set to parcel except the first roll which is set to story, but most of the things are done to the story node, except the rolls that give strict numbers; maybe it just ignores those?

55550

Fezzik Buttercup
December 27th, 2022, 19:27
Not in any ruleset I'm familiar with. You need to create the item. But you can randomly select what can be added using tables.

So if I have, in the case of the Strigil in post #5, I could add the modifiers to it (beads, painting etc), and possibly add cost, descriptions etc?
(I'd still have to add jewels separately I guess)

I'm still hoping one day SJG will get off the fence about VTT's and actually support them :)

Zacchaeus
December 27th, 2022, 19:36
If you want a number of a specific item you'd need to tell FG that. So if you want 1d3 gems then create a gems table with each gem listed with [1d3] gemname. Like this

Fezzik Buttercup
December 27th, 2022, 21:05
:facepalm:

I was trying to move a column from the end to the first in the db.xml...

Had it open in notepad++ in case FGU screwed it up in loading... well it did... and then I clicked 'yes' to "it's been changed in another program, do you want to reload it" without thinking.

So, db.xml was wiped out by two goofs - FGU and Me :)

time to look see if I can do it by xml's -- maybe I can just add all the stuff dynamically to the items without using the FGU tables.

Thanks anyway Zacc :)

Fezzik Buttercup
December 27th, 2022, 21:10
Ooooo... db sessions for the win (ish) I guess I can keep messing about :)

ronnke
December 28th, 2022, 23:55
I started doing the DF treasure tables and soon realised it was going to be a mammoth undertaking, then immediately lost interest. :P As cool as it would be to have that in FG, in practice it's easier to just roll off the books when needed.

I actually think this would be a lot easier to do via LUA code as an extension rather than trying to implement via the standard tables.... Maybe one day I will have a crack at it.

Fezzik Buttercup
December 29th, 2022, 00:01
You just need to find someone stupid enough to do it...

Currently I'm 1/2 through accoutrements

Creating the items is as much of a pain as making the tables and putting them on.

There shouldn't be any issue with giving the tables in a mod once it's done (for everyone)?

(not saying I'm stupid... but; evidence points otherwise :) )

ronnke
December 29th, 2022, 00:07
There shouldn't be any issue with giving the tables in a mod once it's done (for everyone)?

This should be fine as long as you are not copying descriptive text form published material. Tables, headers and the result is generally fine.