itsMiatch Posted April 6, 2019 Share Posted April 6, 2019 Hiya! I'm very inexperienced with modding, but over the course of this past weekend I've come to understand a little bit, and have decided to give my character a custom item. It's a stack of money! Hooray! I'd like for my character to be able to burn the stack of money, which I suspect I have already done in its prefab file (moneystack.lua): inst:AddComponent("fuel") inst.components.fuel.fuelvalue = TUNING.MED_FUEL I'd also like to give my character a custom (and randomised) line for when he burns the money. After looking into my character's speech files, I've decided to try and make my own ANNOUNCEMENT lines (in the character's charname_speech.lua file): ....other announce lines ANNOUNCE_BURNMONEY = { "Isn't this illegal, back home?", "I hope I don't incur a fine or anything.", "I'm sure they'd understand, given the circumstances.", "All my hard work, turned to ashes.", "Burning money... is actually sort of fun.", }, other announce lines.... Is there anything that I might be able to do so that when specifically my character (for the sake of the argument, his name shall be richdude) uses the prefab moneystack as fuel on a fire, the above ANNOUNCE lines are triggered? Thanks in advance for any solutions, workarounds, let-downs, or other instances of help! Link to comment https://forums.kleientertainment.com/forums/topic/104642-custom-announce-line-when-adding-specific-item-as-fuel/ Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now