Can I use Debug Enabler to change a lot's value in game?

The original catch all. General game help, banter, things you should probably put in the correct forum, This is the place.
Post Reply
User avatar
kimlupai
Reactions:
Posts: 406
Joined: December 28th, 2011, 6:00 pm

Can I use Debug Enabler to change a lot's value in game?

Post by kimlupai » March 29th, 2024, 12:38 pm

I'm being a bit of a lazy chicken here. I've recently started a game in the CC world of Niua Simoa. The sim I'm playing is one who came with the world and he's pretty broke at the moment. I'd like to him to save up and move to a new lot but the one I want costs 80,000 simoleons for the empty lot. Now I like giving my sims a challenge but that's a little more of a challenge than I wanted so I wondered if there was any way to lower the value of the lot.

I clicked on the ground of the lot > NRaas > Debug Enabler and there is an option to 'set value'. I'm a bit too chicken to just jump in and change the setting in game as I really don't want to corrupt anything. So because I'm a lazy chicken, I thought I'd ask here if anyone has used this option, and if it would do what I want, ie set the empty lot value to something like 14,700 simoleons?

If anyone does know, thank you for enabling the lazy chicken to continue being lazy, if no one knows, I guess I'll have to become a get off my lazy butt and test myself chicken.

Thank you.

User avatar
CardinalSims
Reactions:
Posts: 572
Joined: May 12th, 2021, 3:12 am
Answers: 13

Can I use Debug Enabler to change a lot's value in game?

Post by CardinalSims » March 29th, 2024, 7:18 pm

Set Value is intended to be used on objects, not lots- even if it appears in the menu for the latter. Lot value calculates itself, so cannot be manipulated in that way.

I think the simplest way to achieve this would be to use the freerealestate cheat, then deduct the 14.7k from your sim's funds. This often becomes my solution for lots that have used a lot of clutter decor in order to look run down but actually inflated the price beyond reason, when one doesn't want to pay for each individual patch of weeds :p

User avatar
kimlupai
Reactions:
Posts: 406
Joined: December 28th, 2011, 6:00 pm

Can I use Debug Enabler to change a lot's value in game?

Post by kimlupai » March 29th, 2024, 8:50 pm

Thank you for the reply, I'm kind of sad that set value doesn't apply to the lot value but oh well. The freerealestate cheat and deduct funds idea is a great alternative. Thank you for enabling the lazy chicken. :D

As a follow up question. I have been trying to figure out if a sim's bills take into account the value of the lot as it's something I've never really thought about before. I found a thread on MTS here where DigitalChaos set out the formula used for calculating bills but I found the wording a little ambiguous (because I have a weird brain).

How the game caclulates bills: Sims3.Gameplay.Core.Mailbox.CreateRegularBillForHousehold(): (as of patch 1.34.27)

kPercentageOfWealthBilled = 0.045f;

uint num = (uint) (activeHousehold.ComputeNetWorthOfObjectsInHousehold(true) * kPercentageOfWealthBilled);
num += (uint) activeHousehold.UnpaidBills;
int valueOfAllVacationHomes = activeHousehold.RealEstateManager.GetValueOfAllVacationHomes();


So, the value is based on:
  1. 4.5% of the networth of all object in the household
  2. The value of all of you vacation homes
  3. The amount on any unpaid bills (which would include the above)
The NetWorthOfObjectsInHousehold makes sense (kind of, is it just objects like buy mode furniture, sim created paintings etc, or does it include build mode walls, floors, windows etc as well) but does kPercentageOfWealthBilled mean just the amount in household funds or is it the household funds plus the lot value? Including the lot value in the PercentageOfWealthBilled doesn't really make sense as potentially you'd be counting the objects value twice but wealth (to me) does mean the value of everything the sim owns.

This isn't really a huge deal, if the bills don't include the lot value then that makes it easier for my sim but on the other hand if it is included... well I like being mean to my sims. I'm just curious now.

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7619
Joined: December 30th, 2011, 6:00 pm
Answers: 82
Contact:

Can I use Debug Enabler to change a lot's value in game?

Post by Chain_Reaction » March 30th, 2024, 12:00 am

kimlupai wrote:
March 29th, 2024, 8:50 pm
The NetWorthOfObjectsInHousehold makes sense (kind of, is it just objects like buy mode furniture, sim created paintings etc, or does it include build mode walls, floors, windows etc as well)
From a quick search it seems to include everything but most build mode things with the exception of doors and windows. The majority of build mode stuff is handled by the engine so I don't see how the function could be counting those.
kimlupai wrote:
March 29th, 2024, 8:50 pm
but does kPercentageOfWealthBilled mean just the amount in household funds or is it the household funds plus the lot value?
It means 4.5% of whatever value NetWorthOfObjectsInHousehold returns.

puzzlezaddict
Reactions:
Posts: 1257
Joined: June 22nd, 2018, 6:00 pm
Answers: 50

Can I use Debug Enabler to change a lot's value in game?

Post by puzzlezaddict » March 30th, 2024, 1:32 am

I tested a few things because I was curious, and walls, wallpaper, foundations, and stairs don't count. Fireplaces do, even though they're part of the "unfurnished" cost of the build, so yeah, it seems like "objects" means everything that isn't the basic frame of the house. The cost of the lot isn't factored in either.

The bills were always 1.3% of the total value of the objects, not 4.5%, so I don't know how that value is supposed to be used. One §5,000 fireplace led to a bill of §65; ten led to a bill of §650. The walls/wallpaper/etc. I tested had no effect.

User avatar
kimlupai
Reactions:
Posts: 406
Joined: December 28th, 2011, 6:00 pm

Can I use Debug Enabler to change a lot's value in game?

Post by kimlupai » March 30th, 2024, 10:21 am

Thank you all for taking the time and trouble to answer my questions. From a player standpoint, I must admit I'm a bit surprised that the cost of the lot and the fabric of the house aren't included in the bill calculation. Although I guess it makes sense from a coding standpoint if the walls etc are handled by the engine. Got to love this game.

Thank you again.

Post Reply