jfrazierjr
Well-known member
Ok, so this is likely for CC or perhaps one or two others people who have deep insight into the application functionality. I have a feeling I know the answer, but I am going to ask anyway. Honestly, i am more curious than anything else!
There is a procedure named Money which formats, well... money. This is called from equipment.str(( part of it is below from the field grCost):
Is there a method to override that in any way to change the "currency sign? Honestly, for Fantasy, I would want it to be "G" for gold(for example), while setting like the Pirates of the Spanish Main( do not have that setting, just using it for an example) might want to be "D" for doubloons.
Since it's called in a primary file, I assume the only way would be to copy the base folder, remove all of the "compiled" stuff and add in the source files from the source directory. Assuming that's the case, well, I am not going to do all that extra work just to change the currency symbol, but again, if I don't ask, I won't get.
For that matter, would it be possible in the long term to define a setting adjustment(or anywhere really) text field which the procedure would check before returning the final format(defaulting to $ of course). I don't know if it's possible or if some timing related stuff might not allow this... Heck, since I am asking for the moon here, in a perfect world, I could provide an image filename to output on display and if that's not found, it would fall back to the currency symbol text value in the settings adjustment.
There is a procedure named Money which formats, well... money. This is called from equipment.str(( part of it is below from the field grCost):
Code:
var moneyvalue as number
var money as string
moneyvalue = @value
call Money
@text = money
endif
Is there a method to override that in any way to change the "currency sign? Honestly, for Fantasy, I would want it to be "G" for gold(for example), while setting like the Pirates of the Spanish Main( do not have that setting, just using it for an example) might want to be "D" for doubloons.
Since it's called in a primary file, I assume the only way would be to copy the base folder, remove all of the "compiled" stuff and add in the source files from the source directory. Assuming that's the case, well, I am not going to do all that extra work just to change the currency symbol, but again, if I don't ask, I won't get.
For that matter, would it be possible in the long term to define a setting adjustment(or anywhere really) text field which the procedure would check before returning the final format(defaulting to $ of course). I don't know if it's possible or if some timing related stuff might not allow this... Heck, since I am asking for the moon here, in a perfect world, I could provide an image filename to output on display and if that's not found, it would fall back to the currency symbol text value in the settings adjustment.