Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I try to make an item that increase max stats but it fail.

I use the the following code

person.str_max = +1

The item can be used on slave but have no effect. What's wrong?

In items.gd, there are a series of functions with names like armor, agi, stren, maf, end, and courage. These functions are called by name when equiping items and determine which changes can occur. You will need to add new functions if you wish to change max stats.