Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Axu

An open-world graphical roguelike. Still in development. · By Cynapse

Quest Rewards and the Console

A topic by flosincapite created Oct 16, 2017 Views: 503 Replies: 1
Viewing posts 1 to 2

Hey! Apologies for continuing to spam this subforum :). In developing my mod, I've run into a situation where I want to grant specific traits after a quest is completed. Something like

"Rewards" : [ { "Trait" : "exleg" } ]

would work, but an even more flexible solution would just be to run arbitrary console commands, e.g.

"Event" : "OnComplete", "Run Console Command" : "givetrait exleg"

Yet another tall order; apologies :). Also, would it be possible to implement a "removetrait" console command? Sometimes I want to remove specific traits/mutations to assess particular behaviors.

By all means, spam away! I'm always open to functionality that makes modding easier! 

I hadn't even thought of using console commands. That's a really good idea. I'll also add in functionality to remove mutations and traits. There is "unmutate" I believe (Not in front of my computer at the moment.) But that is random.