Kenshi
ceo60 Jan 29, 2024 @ 10:46am
Fixing houses to sell .
Kenshi is so a great game, thanks in big part of all the great modes we have. That I was wondering if there is a mod where you can buy broken down houses in towns like The Hub or others and sell them back to the town so more people will move in. I think that will be a great idea for more immersion in the game. Any comments ?
< >
Showing 1-7 of 7 comments
Cattrina Jan 29, 2024 @ 12:59pm 
Unfortunately that option has not been coded to the game, and since we modders have no access to change the code, this feature cannot be added. The closest thing we could do, is to make a NPC that comes to the player and thanks them for rebuilding the house and pays the player. The changing of hands cannot be done.
magne.moe Jan 29, 2024 @ 1:38pm 
Good idea but we can not sell houses. But it can be nice to buy cheap houses in various cities for storage or launder stolen stuff.
ceo60 Jan 30, 2024 @ 4:15am 
Originally posted by Cattrina:
Unfortunately that option has not been coded to the game, and since we modders have no access to change the code, this feature cannot be added. The closest thing we could do, is to make a NPC that comes to the player and thanks them for rebuilding the house and pays the player. The changing of hands cannot be done.
How do you do that ??? And thank you for your comment.
Cattrina Jan 30, 2024 @ 9:05am 
Originally posted by ceo60:
How do you do that ??? And thank you for your comment.

Well, it involves making a new mod for the game, using the Forgotten Construction Set that has been included in the game installation folder.

Next, one creates a new faction and add a campaign to that faction. The campaign leader would be the person coming to talk. The campaign is set to target characters and the occurrence to 100%.

The leader will get a EV_PLAYER_TALK_TO_ME dialogue where one writes the thank you message and for that line a DA_GIVE_MONEY function.

The leader also gets EV_I_SEE_NEUTRAL_SQUAD with TARGET_IF_PLAYER and TARGET_IN_TALKING_RANGE conditions. When those conditions are met, the dialogue line will trigger the EV_PLAYER_TALK_TO_ME event.

The campaign makes the leader walk to the player character, see them and talk to them and give then money.


After that we just need one more character, maybe a bartender which the player frequently speaks with. The bartender moonlights as a campaign triggerer, One extra dialogue line, which will only trigger DA_ASSAULT_PHASE (if I remember correctly that sets the campaign in motion. And if the trader AI is used, the campaign will be peaceful), Now there is no trigger for 'player has just rebuilt a house' but I think it might be possible to do with clever boolean usage, on this I have no direct guide, yet.
Last edited by Cattrina; Jan 30, 2024 @ 9:08am
ceo60 Jan 31, 2024 @ 3:57am 
That is a great idea of a mod, but that mod does not exist? And I don't have the knowledge to make it. Sounds like you do, maybe you could do it? Anyway thanks a lot for the info.
Cattrina Jan 31, 2024 @ 6:32am 
I am currently studying to become a programmer and our show of proof project just started. Which means I unfortunately won't have any time to mod for the next nine months at least.
ceo60 Feb 4, 2024 @ 11:37am 
Ok I understand, have a great day.
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Jan 29, 2024 @ 10:46am
Posts: 7