Missing docu - door entry Opengraphic

Here you can post threads specific to the current release of the core (099)

Moderator: POL Developer

Post Reply
OWHorus
Grandmaster Poster
Posts: 105
Joined: Sat Feb 04, 2006 1:24 pm
Location: Vienna, Austria

Missing docu - door entry Opengraphic

Post by OWHorus »

Hello,

just saw, that the new entry (from 11-09-2011, not brand new :-) ) is not documented in POL docu (CFg-Files/itemdesc/door).

It is documented in core-changes.txt. What is unclear: Is the entry only needed in the closed variants of every door, or in the opened variants too?

Example: wooden door 0x6a5 (north/ne closed) and 0x6a6 (north/no opened) - do we need Opengraphic 0x6a6 in both itemdesc entries, or only in the closed variant?

Thanks

OWHorus
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Missing docu - door entry Opengraphic

Post by Tomi »

Sorry for late response but Ive not been reading these forums for some time now.

The OpenGraphic only need to be added to "closed door" objectype entry in itemdescs ( I doubt you are planning to add open doors in your world, they are all closed to begin with )

Just made sure by looking at the change I made that time and in the code where Core checks if the doors is open is something like if ( graphic == open_graphic )

The door objtype is never changed so it reads from the closed variant.

I hope this answer is what you needed
Post Reply