HerculesWS / Hercules

Hercules is a collaborative software development project revolving around the creation of a robust massively multiplayer online role playing game (MMORPG) server package. Written in C, the program is very versatile and provides NPCs, warps and modifications. The project is jointly managed by a group of volunteers located around the world as well as a tremendous community providing QA and support. Hercules is a continuation of the original Athena project.
http://herc.ws
GNU General Public License v3.0
894 stars 754 forks source link

Add script commands to generate some client <TAGS> #3300

Closed guilherme-gm closed 3 months ago

guilherme-gm commented 3 months ago

Pull Request Prelude

Changes Proposed

This PR adds some script commands which generates strings for client tags:

Using those commands takes into account client support and tries to fall back to some sensible results when something is not supported.

I decided to make them as script commands instead of Global Functions because:

  1. We keep client-specific logic into clif -- I feel like this is too client specific to be handled by scripts
  2. We can eventually use these from source directly if there is a need

Issues addressed: None, I think