Possible bug with pov_possessive

Alec15
18 Dec 2018, 16:25

I think i might have found a bug in the display of the pov_possessive or maybe I'm just missing something.
It appears as if it's displaying the regular possessive instead of the player possessive.

A simple demonstration:

<asl version="580">
  <include ref="English.aslx" />
  <include ref="Core.aslx" />
  <game name="debug">
  </game>
  <object name="room">
    <inherit name="editor_room" />
    <isroom />
    <object name="player">
      <inherit name="editor_object" />
      <inherit name="editor_player" />
      <inherit name="namedmale" />
    </object>
  </object>
  <verb>
    <property>debug</property>
    <pattern>debug</pattern>
    <defaultexpression><![CDATA["gender: " + object.gender + ", possessive: " + object.possessive + ", article: " + object.article + "<br>pov gender: " + object.pov_gender + ", pov possessive: " + object.pov_possessive + ", pov article: " + object.pov_article]]></defaultexpression>
  </verb>
</asl>

This returns:

> debug me
gender: you, possessive: his, article: yourself
pov gender: you, pov possessive: your, pov article: yourself

I would expect game.pov.possessive to return the same a game.pov.pov_possessive.


The Pixie
18 Dec 2018, 17:24

Thanks, I am aware of that, and there is a correction on GitHub to correct it, so it will be corrected inthe next version.

The corrections to Core.aslx can be seen here, if interested:
https://github.com/textadventures/quest/commit/7ed87193231cb452ceeec45ee795a0b8cfa93fc9


Alec15
18 Dec 2018, 17:52

Thx for the quick reply.
I was actually looking on GitHub, but couldn't find out where the bug was. Now I know why :)