ThePix / QuestJS

A major re-write of Quest that is written in JavaScript and will run in the browser.
MIT License
74 stars 16 forks source link

follow command ignoring npc's gender #100

Open riidom opened 1 year ago

riidom commented 1 year ago

Doing the tutorial, at the point where you get the NPC to charge the torch, I give the command Lara, follow and the game responds Lara nods his head., though Lara is defined with createItem("Lara", NPC(true), {...}).

ThePix commented 1 year ago

Thanks for that. The message was not properly gender neutral, or in the language file, so multiple issues. I have corrected a couple of files, lib/_npc.j nd lang/lang-en.js on GitHub and it should work okay now.

riidom commented 1 year ago

Thanks for the quick fix! Can't test it, having some errors on master branch, but I guess it's good and issue can be closed?