Jump to content

Archive orchestrina uses local function instead of the function that's assigned to the prefab


grem6
  • Pending

image.png.04f097902561c932f15a6fae52d72d1f.png

testforlockbox is a local function that's only used in this place. inst.testforlockbox seems to not be used anywhere. I assume the intention was to use inst.testforlockbox in the function so that mods may change the function used in the task, but the task uses the local function anyway. Change line 391 in prefabs/archive_orchestrina_main to inst:testforlockbox() to fix


Steps to Reproduce

1. try to make some mod that changes test for lockbox in archive orchestrina

2. modify the conveniently assigned inst.testforlockbox

3. inst.testforlockbox turns out to be unused




User Feedback


To add, both tasks in that file seem to be always active, even when unloaded. They also seem to constantly check if archive is on instead of listening for arhivepoweron and arhivepoweroff events.

Edited by grem6
Didn't notice that the events have "arhive" in their name instead of "archive"

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...