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

Item_Links library breaks ownership (or related) #76

Closed ImaBuggyMess closed 2 years ago

ImaBuggyMess commented 2 years ago

Title.

settings.libraries.push('item_links') breaks item ownership settings.txt data.txt

Uses most recent files, not Quest 0.9 zip

ThePix commented 2 years ago

I have to admit that I do not like links in the text so never use them in test games, which is why bugs can occur, so thanks for spotting.

I have uploaded two fixes.

One issue was Quest was trying to use player before it was set, and that could be related to ownership, as I had to do something similar. It now just bails if player is not set.

The other issue is that the logic for when links are disabled was very strange. I do not get how it was working before, and I maybe missing something, so try it out and see how it goes. I will leave this open for a while.

ThePix commented 2 years ago

No further feedback, so I am assuming this is revolved satisfactorily.