Nothing significant, but I haven't done any coding beyond basic HTML in over 20 years, and haven't touched C in even longer. I set out this morning to add the value of a stack to the display for my inventory and, after a few hours of searching (the new obj- structure took me a bit to traverse), I finally got it:
obj-desc.c:
Line 25:
#include "obj-power.h"
Line 312:
strnfcat(buf, max, &end, "(%d) ", object_value(obj, number));
It's added to the store, inventory and equipped, but I'm just happy I got it to work.
For those who consider adding this cheating, I'd already been calculating this in a spreadsheet based on my own research, so I'm just expediting the process.
obj-desc.c:
Line 25:
#include "obj-power.h"
Line 312:
strnfcat(buf, max, &end, "(%d) ", object_value(obj, number));
It's added to the store, inventory and equipped, but I'm just happy I got it to work.
For those who consider adding this cheating, I'd already been calculating this in a spreadsheet based on my own research, so I'm just expediting the process.
Comment