Hi everyone! Ivan's here.
In this brand new update there are a number of juicy news regarding modding with the HTSA (Hard Times Scripting Api), particularly about creating new scriptable items in game which can add unforeseen radical changes to the game, further expanding modding support in game.
Also I created a brand new mod on the Hard Times official mod repository on mod.io, to better explain how everything works. I will also add a new wiki article on the official wiki in the next days!
But let's go in order and lets start with the usual awsome change list:
- Scriptable items
After releasing the scriptable posters part the api in the last patch i am now releasing the scriptable items api. It's now possible for modders to write new classes, extending the BaseItem class to script new kind of behaviours for new items. - The Magical Restful Staff mod
I have created a tiny new mod package to show how to implement a new kind of item in game: a magical staff which has 20 uses and will replenish your stamina bar. Just an example to help people get started with it. You can download it from mod.io:
https://hardtimes.mod.io/magical-restful-staff
Check it out and get in touch with me if you need help or need more infos. I will write a guide on the official wiki in the next days. - Fixed the language changing mechanism
I took some time to fix up the language changing mechanism. So now switching language from the options panel of the main menu (you can't change language from the in game options, only from the main menu). So now switching language correctly updates all the labels in the scene, without the problems experienced before, when you had to change scene for all changes to be properly rendered. - Fixed a bug with proxy sprites
There was a bug lurking in the game items loading code which prevented proxy sprites to be properly loaded when they had a different name from the main item sprite.
This unbearable problem has been dealt with with decision and compassion. It should not bother anyone anymore. - The search for broken labels
I managed to find and purge more broken language labels for the italian localization. The hunt is still going on tough. - Rebalanced taming values for all pets
All pets in game now have a more properly balanced tame value (which is set in the Vanilla files). Now any kind of pet has a different value. You can still mod them as you see fit anyway.
Well, this is all for this last patch. I am happy with how the HTSA thing is coming out and would like to know if anyone of you is using it or is interested in knowing better how to use it. I think is going to be a very powerful tool for game customization and modding in general.
As always, thanks for your support, it means a lot to me! And Happy Hard Times Everybody!
PS: I know, i didn't do any Halloween thing, as everywhere is happening. I'm sorry, i was so into this modding thing that i didn't see it coming!! \\m/

iv.
