ctoth / area_reader

MUD area reader
9 stars 1 forks source link

NPCs and Objects don't indicate where their location was. #1

Open ghost opened 7 years ago

ghost commented 7 years ago

Working on an Evennia Batchcode generator for the JSON outputs and I noticed that NPCs and objects don't have a reference to what room they were in. Something that is probably important :P

ctoth commented 7 years ago

This is on purpose, though I'm super happy to discuss further processing. ROM stores information on object and mob locations in what are called resets. The resets say, for instance, mob whatever belongs in room whatever, look at the m reset or the o resets, which handle objects. check out the load_resets code in db.c of a ROM for more information. Do you think we should process these? or is that something the middle layer should handle?

On 4/29/2017 7:55 PM, CloudKeeper1 wrote:

Working on a Batchcode generator for the JSON outputs and I noticed that NPCs and objects don't have a reference to what room they were in. Something that is probably important :P

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ctoth/area_reader/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOcCONYJdC_qNaKhCbqd7lDGuoclfT2ks5r0-oLgaJpZM4NMcLB.

-- -Q

Accessible Software for the Blind

http://GetAccessibleApps.com