Page 1 of 1

housing/realtor

Posted: Wed Oct 13, 2021 3:53 am
by Regnier
i dont know much about the house buying process but apparently you dont know where in town your house is and you dont get to see the interior etc.

You could go and track it down by scanning the city but maybe that whole system could be improved.

Re: housing/realtor

Posted: Tue Oct 19, 2021 11:13 pm
by Regnier
what i had in mind was the ability to reveal the houses for sale so you can see which one you want to buy.

could an npc be placed in every house for sale so we could buy from there?
can townspeople reveal them on maps?

Re: housing/realtor

Posted: Wed Oct 20, 2021 4:03 pm
by l3lessed
My enchanted compass mod has a built in icon for houses for sale. If you enable building icons, houses for sale will have a sign post over them.

Go to a big city, run around with icons on for buildings, and you will see them.

Technically, I could create a quick mod that places a flat or even model of old English style sale sign outside the building. I know how to grab the building objects, find their type, grab their door, and get their position in the world. Could do this, and place it outside the front door.

Re: housing/realtor

Posted: Wed Oct 20, 2021 7:04 pm
by Hazelnut
l3lessed wrote: Wed Oct 20, 2021 4:03 pm My enchanted compass mod has a built in icon for houses for sale. If you enable building icons, houses for sale will have a sign post over them.
Just FYI this will only be a small amount of the actual houses for sale if you're looking at building type from the DF world data. The others are randomly chosen deterministically per calendar month by buildingDirectory.GetHousesForSale() which is an approximation of classic behaviour. Maybe you're already using that? Just thought I'd point it out anyway. :)

Re: housing/realtor

Posted: Wed Oct 20, 2021 8:26 pm
by l3lessed

Code: Select all

buildingDirectory.GetHousesForSale()
Thanks for pointing that. I don't think I'm using that method. I can easily work it into the code that finds the for sale buildings.

Re: housing/realtor

Posted: Wed Oct 20, 2021 9:00 pm
by Regnier
The signpost is a good idea, i didnt know if that could be done.

If theres a way to identify that house in the houselist when buying that would be good.

Im sure some houses look similar from the outside so its hard to know which is which.

Some house interiors are funky so i wouldnt want to buy that.

Save scumming is a thing but f that.


People can then import other peoples decorated houses, if possible lol

Re: housing/realtor

Posted: Thu Oct 21, 2021 8:12 pm
by l3lessed
One question, does this method already include those random buildings in the array it pumps out?

Code: Select all

buildingDirectory = Dflocation.GetComponentInChildren<BuildingDirectory>();
buildingDirectory.GetBuildingSummary(building.buildingKey, out SavedBuilding);