kaansoral / adventureland

Adventure Land The Open Source CODE MMORPG
Other
189 stars 60 forks source link

Improve Computer and Super Computer UI #106

Closed FreezePhoenix closed 6 months ago

FreezePhoenix commented 7 months ago

This PR adds the stand UI to the Computer, making it say, for normal computers: image And for super computers: image

FreezePhoenix commented 7 months ago

Note that it will say CLOSE STAND or OPEN STAND depending on whether the user has a stand open. Unfortunately, the user will have to actually re-click the item to toggle between stand states. This could be changed in the future.

earthiverse commented 7 months ago

I like it! I have wanted a trade history button for some time.

thmsndk commented 7 months ago

Haven't looked at the details of the PR, but i've had this on my todo list for a while, happy you made it!, always annoying to have to manually do parent.socket.emit('trade_history') to see it once you get a computer instead of an ordinary stand.

thmsndk commented 6 months ago

In regards to adding toggle_merchant there is an open_stand and close_stand function already fyi. This change does not seem related to the computer ui :)

After viewing your PR I can see you added it to simplify the logic in the computer UI :)