Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Version 0.4.42c
Windows 10 64-bit

Cannot complete the pretty boy repeatable quest: When choosing "offer slave", the selection dialog does not appear and the console prints a script error:

SCRIPT ERROR: slaveforquestselected: Invalid get index 'hairlengtharray' (on base: 'Reference ()').
          At: res://files/scripts/outside.gd:512

A quick fix would be to rearrange the order of the if-statements in the requirement checker, so that the checker doesn't attempt to access slave.hairlengtharray. A better but slower fix would be to use the index of the hair length as the value stored in the slave data structure, and only look up the text of the hair length when you need to display it. That way you wouldn't need to special-case hair length checking. (just slave.hairlength >= 3)