[Ohrrpgce] wip r13906: Add a saveitemdata overload that converts ItemDef back into ITM formatted itembuf()
Ralph Versteegen
teeemcee at gmail.com
Fri Jun 27 15:57:28 PDT 2025
It'll be great to have ITM replaced. I know I've been talking about this
for more than a decade, but I still like the idea of an item having
multiple equipment records, so that it can have different stats in
different equip slots, or when equipped by different heroes, or dependent
on tags, so just wanted to suggest designing the reload format around that
kind of future extension.
On Fri, 27 Jun 2025 at 22:30, James Paige <Bob at hamsterrepublic.com> wrote:
> Yes, I want to fix up the item editor, and I am working towards replacing
> ITM format with items.reld so it will be easier to add item features. I'm
> also going to enable longer item descriptions
>
> On Fri, Jun 27, 2025, 2:02 AM Ralph Versteegen via Ohrrpgce <
> ohrrpgce at lists.motherhamster.org> wrote:
>
>> It's wonderful to almost be rid of itembuf() code! That was some of the
>> ugliest around. Off the top of my head, I think that aside from the
>> item/enemy/attack editors, only a little bit of code touching gmap() still
>> uses magic indices. Are you going to refactor the item editor now?
>>
>> On Thu, 26 Jun 2025 at 12:21, cron--- via Ohrrpgce <
>> ohrrpgce at lists.motherhamster.org> wrote:
>>
>>>
>>> https://github.com/ohrrpgce/ohrrpgce/commit/34590426d40602f87958392c3cf59d490fd71631
>>> Author: james <james at 7d344553-34f0-0310-a9b1-970ce8f1c3a2>
>>> Date: Thu Jun 26 00:15:33 2025 +0000
>>>
>>> Add a saveitemdata overload that converts ItemDef back into ITM
>>> formatted itembuf()
>>>
>>>
>>> loading.bi | 3 ++-
>>> loading.rbas | 59
>>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>> 2 files changed, 61 insertions(+), 1 deletion(-)
>>>
>>>
>>>
>>> _______________________________________________
>>> Ohrrpgce mailing list
>>> ohrrpgce at lists.motherhamster.org
>>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>>
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20250628/c2939154/attachment.htm>
More information about the Ohrrpgce
mailing list