fartbutt384
Greenhorn
Hi! I am new to here and modding in general!
-----Explanation (not a must read to understand the issue!)--------
I'm working on a dialogue replacer mod for Elliot to begin with. In this mod I thought it'd be a good moment to practice NPC gifting, so I gave Elliot a couple lines about how he dislikes Diamonds because they bring him bad luck. Every so often Elliot will give the player Diamonds (until the friendship is too high). I worked out how to make Elliot hate Diamonds, but I want to take it a step further.
--------------------------------------------------------------------------
I want Elliot to automatically reject Diamonds as a gift from the player and give some witty line about it as well. In the alternate dialogue file I appointed for him (which works just fine in other cases), this is the line I put in to try to get that done:
"
"RejectItem_72": "@... I am offended! Get that thing away from me! $a",
When trying this line of code in game (and thus within SMAPI), SMAPI gives no error text, yet Elliot still takes the Diamond even though he hates it. Can anyone help me?
-----Explanation (not a must read to understand the issue!)--------
I'm working on a dialogue replacer mod for Elliot to begin with. In this mod I thought it'd be a good moment to practice NPC gifting, so I gave Elliot a couple lines about how he dislikes Diamonds because they bring him bad luck. Every so often Elliot will give the player Diamonds (until the friendship is too high). I worked out how to make Elliot hate Diamonds, but I want to take it a step further.
--------------------------------------------------------------------------
I want Elliot to automatically reject Diamonds as a gift from the player and give some witty line about it as well. In the alternate dialogue file I appointed for him (which works just fine in other cases), this is the line I put in to try to get that done:
"
"RejectItem_72": "@... I am offended! Get that thing away from me! $a",
When trying this line of code in game (and thus within SMAPI), SMAPI gives no error text, yet Elliot still takes the Diamond even though he hates it. Can anyone help me?