Hard Times

Hard Times 1.2.0

Version
1.2.0
Version Date
April 14, 2020
Links

Patch Notes

Update 1.2.0 b.4895433 is live!

Hi everybody! Ivan's here.

In this big new patch the game is receiving a good amount of fixes and improvements, focused especially on modding.
So let's start the dance:

  • Added support for scripting custom state machine actions for Npc's ai behaviours. Those new actions can be scripted in c# and can be attached to player effects and executed on player interaction. This opens up a whole new world of possibilities for modders to create brand new and complex behaviours for in game's npcs. I also made a small and ameliorable guide on the official Hard Times Wiki. I am juggling between fixing stuff, developing new features, writing docs, helping players. So have pity on me if the guide is kinda small and not excellent. I will, nonetheless, be super happy and available to help any single modder who should need clarifications, help or anything. Just get in touch with me via mail, steam forum or discord.
  • Also on the modding end i added a super small helper for those who are creating custom modded scenes or are editing the vanilla ones, adding stuff, npcs and more. Now while playing in any game scene you can press and hold the F5 key and a small widget will apear telling you the exact ingame coordinates under the mouse cursor. This is meant to help you placing shops, people, spawners and so on while designing custom scenes.
  • Another fix on the modding engine is the introduction of the custom shop collider offset properties in the custom scene json document. Now you can use it to fix the default offset the colliders has on vanilla shops objects (which is: 0.25,-0.63). This way you can avoid having collider not properly centered on your custom shops sprites. Just set in manually to 0,0 to have it properly centered.
  • This is an example from the forthcoming new version of the Bestfriends mod by XC: { "sceneId": "zero", "sceneDirectory": {}, "doOverwriteBaseproperties": false, "pavementSpriteName": "", "objects": [ ], "doors": [ ], "shops": [ { "modShopId": "Business Mailbox", "shopInteractableDistance": 2, "modShopPositionX": -14.00, "modShopPositionY": -5.7, "shopColliderWidth": 1, "shopColliderHeight": 1, "shopColliderTrigger": false, [b]"shopColliderOffsetX": 0,[/b] [b]"shopColliderOffsetY": 0,[/b] "modShopRotation": 0 }], "spawners": [ ] }
  • A bug was fixed causing items defined without explicitly setting the effectModifiers array to empty, in the case there was none to declare, causing the item to not work properly.
  • As of now, instead, you can safely omit that parameter from modded items definition, in case such items do not need it and have no effect modifiers set.
  • Fixed shop robbing which still had problems after last week's fixes. Now the drop rate is consistent and correct. Plus i added another configurable parameter "shopMinItemsDropOnRob" in addition to the one introduced last time (was shopMaxItemsDropOnRob) to completely define the robbery drop rate of any single shop in the game.
  • Added medium (12 slots) and large (15 slots) containers furnitures in the Vanilla game. Nonetheless the game supports containers furnitures of up to 30 slots for modded furnitures. Actual supported containers furnitures sizes are: 1, 4, 9, 12, 15, 18, 21, 24, 27, 30 slots.
  • Fixed a bug in church flyier items behaving strangely when you had not a church quest ongoing. This problem should fixed now.
  • Fixed a bug in punk concert event causing music of the concert to play over game music in some occasions. This caused a mess and is now fixed for good.
  • As always im also ever fixing lang labels which seems to be a neverending story necessiting neverending fixes. When you think you made it all, it always pops out some obscure and rare label that is not yet implemented or just needs to be fixed and edited. That's life i guess.

Thats all for now, this was a pretty fat update with some important fixes and new features. I hope you are enjoying the game and, if it's the case, let me know, leave a review, drop by the discord or send me a message as most of you are already doing.
This is a passion project, a free game, and this is the fuel which let's me still - after more than 4 years - be here, coding and juggling and crying and swearing and debugging and so on.

Happy Hard Times Everydoby!!
iv.