Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
(1 edit) (+1)

These statements:

duration = rand_range(1,5)*globals.person.stats.smaf,
rewardpool = {bestialessenceing = (10 + (globals.player.stats.smaf*10))},

must be evaluated at runtime: I don't think you can put them in a dictionary like that.
I guess they have to be surrounded by quotation marks ("...") and passed as arguments to globals.evaluate(). See for instance the job parameter "unlockreqs" in jobs&specs.gd,, which is evaluated in joblist.gd:

if globals.evaluate(i.unlockreqs) == true:

It is possible to define things like that if they are in the local scope of a function that is called at run time. These expressions are presumably being evaluated when ability.gd is loaded and at that time globals.player may have no assigned value.

I will try that.  Thank you.