ThePix / QuestJS

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

follow command ignoring npc's gender #100

Open riidom opened 5 months ago

riidom commented 5 months 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 5 months 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 5 months 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?