Jump to content

Recommended Posts

So I was toying with an idea that revolves around making the player able to trade with Abigail, the component is already setup in the game but I was having problems with making her accept items. Turns out that the "ghost"-tag prevents anything other than the Telltale Heart to be given to her (which she will refuse and then give a voice line). By removing the tag, I can trade with her as normal but my question is is there a way to force her to trade items without removing the ghost-tag?

 PS. I know it's a bad idea to alter existing prefabs like this, but for the sake of humoring me and my silly idea, please go along with it. 

20 minutes ago, Moonkis said:

So I was toying with an idea that revolves around making the player able to trade with Abigail, the component is already setup in the game but I was having problems with making her accept items. Turns out that the "ghost"-tag prevents anything other than the Telltale Heart to be given to her (which she will refuse and then give a voice line). By removing the tag, I can trade with her as normal but my question is is there a way to force her to trade items without removing the ghost-tag?

 PS. I know it's a bad idea to alter existing prefabs like this, but for the sake of humoring me and my silly idea, please go along with it. 

where is the check for the ghost tag located ? In which file.
Maybe you can just mod this check ;) It will be better than removing the ghost tag

Edited by Serpens
1 hour ago, Serpens said:

where is the check for the ghost tag located ? In which file.
Maybe you can just mod this check ;) It will be better than removing the ghost tag

If I knew that, I wouldn't have to ask :p I have been searching like crazy, nothing of value so far.

EDIT:

Found it in componentsaction.lua
It might be easier to make a custom action and component that mimics that of the trader but works on Abigail? Add my copied (renamed) trader-component to Abigail, add a custom action for it...done?

Edited by Moonkis

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...