TobyFox2002
Well-known member
The cost of magic weapons (and presumably magic armor) is not functioning as I would expect.
I am doing some work for house rules and adjustments the modern world. And there are some items I want to adjust individually in terms of price.
Without going into too much detail about how the content works there is a mechanic that multiplies the cost for everything by 10.. (adds a zero and turns it into dollars). Which obviously causes some issues.
I have found a way to override this value with the following mechanic script run at First/100
What this will do is prevent the cost from showing as $500 and instead show as $50. And change the name to Antique to show that the hero has selected a "legacy" or "fantasy" variation of the weapon.
The problem is while this does work it only works when adding weapons with the "OTHER WEAPONS" and not "Magic, Custom & Masterwork Weapons" I dont really know why, and dont really know how I could figure out whats going on.
Also, The name is only being changed AFTER it is added to the character sheet, not before they purchase it. While this isn't hugely an issue, I really wish it could be set up before. Perhaps its a timing issue?
And one final question, is there a way to prepend text to name or descrption as a shorthand, I know there is an #appendesc[UNIQUEID, "TEXT"] or something. Is there something for the name or for prepend.
I am doing some work for house rules and adjustments the modern world. And there are some items I want to adjust individually in terms of price.
Without going into too much detail about how the content works there is a mechanic that multiplies the cost for everything by 10.. (adds a zero and turns it into dollars). Which obviously causes some issues.
I have found a way to override this value with the following mechanic script run at First/100
hero.childfound[wCrsHeavy].field[sbName].text = "Antique Heavy Crossbow"
doneif (hero.tagis[source.MPMoney] = 0)
hero.childfound[wCrsHeavy].field[gSizeCost].value = 5
What this will do is prevent the cost from showing as $500 and instead show as $50. And change the name to Antique to show that the hero has selected a "legacy" or "fantasy" variation of the weapon.
The problem is while this does work it only works when adding weapons with the "OTHER WEAPONS" and not "Magic, Custom & Masterwork Weapons" I dont really know why, and dont really know how I could figure out whats going on.
Also, The name is only being changed AFTER it is added to the character sheet, not before they purchase it. While this isn't hugely an issue, I really wish it could be set up before. Perhaps its a timing issue?
And one final question, is there a way to prepend text to name or descrption as a shorthand, I know there is an #appendesc[UNIQUEID, "TEXT"] or something. Is there something for the name or for prepend.