Skip to content

Add more info to the /rtsim_{npc,info} commands

Julian Tölle requested to merge apricote/veloren:rtsim-cmds into master
  • By opening this merge request, you agree to release your code and all other changes under the GPL 3 license and to abide by the terms set by this license.
  • Migrations have been added if applicable
  • Significant changes of this merge request have been added to the changelog.

While experimenting on the new rtsim implementation I found the commands to be missing some values that I was expecting. This adds these to the /rtsim_{npc,info} commands.

  • Add the name of the NPC to /rtsim_npc to help identify this NPC in the world
  • Add faction & personality to /rtsim_info command to learn more about the NPC
    • It might be better to get a list of matching traits for the personality, instead of the raw values, but I did not really know where this should go. This would effectively be similar to Personality.chat_trait() without the .choose(rng)

Examples:

screenshot-rtsim-info

screenshot-rtsim-npc

Edited by Julian Tölle

Merge request reports

Loading