Developing FATE on Ares

Faraday
Tue, 16 Oct 2018 10:58:58 +0000

If you look at the debug log (instructions here) there should be additional information about exactly which line of code the error is coming from. I’m going to hazard a guess that it’s line 9 of your PowersCmd file:

list = powers.sort_by { |s| s['name'] }

Assuming that’s the case, it means that something it’s trying to sort is nil. This can happen if:

1. The entire powers list is nil.

2. The ‘name’ field for one of the powers is missing, which makes it default to nil.

When you created your fate powers.yml config file, is it putting the powers in the fate section? Does every power have a name? It should look like so:

fate:
    powers:
       -
         name: Super Strength
         description: Whatever
         etc.
       -
         name: Super Speed
         description: Whatever
         etc.

Also be sure you did a load fate in-game to reload the fate code and configuration after messing with things on disk.