Infinite flight mount help

GoldLuigi278

Terrarian
I am coding a new mount for my little brother and I. I only have on problem...
I need to know the code for the Shrimpy Truffle Mount. I have sprites, and a buff icon, but I need the code to make it work. Please help!
 
The only solution I can think of is to modify this bit of code:

mountData.flightTimeMax = 0;

This controls the max flight time and a workable solution would be to change that 0 to an absurdly high number like 999999999999999999999999999.
Let me know if it works.
 
Thank you but do you happen to know what it says to make it infinite. Thank you for your help!!
 
im so sorry but no i dont know exactly how you would do that, however, discord is a great place to look for help. Just go to the official tModloader discord, then go to help with code and ask your question there. I know from experience that the discord is a great place to look. And sorry i couldnt be of more help
 
Thank you for your help.
 
Back
Top Bottom