5 months ago

Thought I had everything set up so I could just easily add new Building Types..nah so many fiddly bits needed changing. So I redid it all!


Recoded anything that was hard coded to look for building ID's to be much more robust, should be much easier now to add new Buildings.

Instead of having to go through all the code and add the new building ID to the if statement, I've added a script isBuilding, when I add a new Building Type I just need to add the typeID to that and all the checks will get updated!

Also added scr_GetBuildingSize, which will grab the size of the array used for that building type and use it for the default size values, so as long as there's a default shape all the code will have the correct values!

Also, new Building. The Dormitory!

Gives the Goblins somewhere to sleep if they don't have a House, but has no other benefits.



8 comments

Loading...

Next up

Happy Sunday everyone! I hope you're having a great day!

Lunch was great, mam made cake.

Had to rush out when I got back to catch some Pokemon for my nephew

Now it's coffee and gamedev time!

Please look after yourselves and have an awesome week!

I think this is the Crafting Menu redone? Unless I forgot something. Also no particles...

It defaults to auto selecting a stack based on your setting, but you can override if you have enough of an alternative.

Now I eat.

Welp, I ended up working on the Save file system instead I got it updated to work with the Converter Devices update...but getting it to work with the NPC/Player changes is being difficult For some reason it's not applying the values >:/

Edit...wait it is?

#Joltober 2024 has come to an end so we wanted to show off some of the art posted by your fellow Jolters.

Thank you to everyone who participated in this year's challenge!

(Check the article to links to the original posts so you can give 'em a like!)

URGH

Walked an hour to take part in Raid Hour, couldn't find the group...they seemed to teleport all over the place!?

Fought 3 Legendary caught 1

But at least I also caught a Shadow Cacnea (one of my favs!)

Also, new TCGPocket cards! Also evolved monkey

Joltober is here! Today's prompt is #Costume! Each day in October, you’ll get a new prompt and a new quest at 12 pm Eastern! Go to your quest log to find the quest! It'll expire tomorrow at 9 am PT / 12 pm ET.

I think next I should do the Enchanter UI.

I never really did a proper one, just enough to to test the system out. Probably have to do a rework of that too... dang it X'D

but now? slep

ok gonna sleep

I think I've got the Crafting System UI set up so it will match with how I want the Building System UI. Just need to do that next.

Joltober is here! Today's prompt is Spider! Each day in October, you’ll get a new prompt and a new quest at 12 pm Eastern! Go to your quest log to find the quest! It'll expire tomorrow at 9 am PT / 12 pm ET.

I think I'm done? This is all working as intended. Unless I've forgotten something? Meh, I need food. This will do for now! Next up, reworking the Crafting UI!