Request for alternative No-20K handout

<< < (3/8) > >>

J. M. Pescado:
Quote from: SnootCB on 2008 June 30, 03:57:43

What about a slider thingamajig, like the one used when buying groceries or paying the gypsy?  That way a sim moving out of the lot could have any amount in the range of nothing to all of the household funds.  Perhaps whatever system the gypsy uses could be modified for this purpose.  But since I'm not a modder, I'm pretty much blowing smoke out my butt.
The problem is that the range of monies involved exceeds the integer range alotted to those dialog formats.

Quote from: SnootCB on 2008 June 30, 03:57:43

I've never even used the money order thing; I usually just stash expensive "gifts" in inventory for extra cash.
Yeah, the money-order thing predates NL, though, so this was in the age of inventorylessness.

SnootCB:
Quote from: J. M. Pescado on 2008 June 30, 03:59:30

Quote from: SnootCB on 2008 June 30, 03:57:43

What about a slider thingamajig, like the one used when buying groceries or paying the gypsy?  That way a sim moving out of the lot could have any amount in the range of nothing to all of the household funds.  Perhaps whatever system the gypsy uses could be modified for this purpose.  But since I'm not a modder, I'm pretty much blowing smoke out my butt.
The problem is that the range of monies involved exceeds the integer range alotted to those dialog formats.


*shrugs* Oh, well.  Reason #372 why I rely on modders that are more awesome than me to do the real thinking.

jfade:
Quote from: J. M. Pescado on 2008 June 30, 03:59:30

Quote from: SnootCB on 2008 June 30, 03:57:43

What about a slider thingamajig, like the one used when buying groceries or paying the gypsy?  That way a sim moving out of the lot could have any amount in the range of nothing to all of the household funds.  Perhaps whatever system the gypsy uses could be modified for this purpose.  But since I'm not a modder, I'm pretty much blowing smoke out my butt.
The problem is that the range of monies involved exceeds the integer range alotted to those dialog formats.
Couldn't you show the dialog repeatedly until the user submits it with a value of 0? Like you could have it go from 0 to 30k, then if they wanted to give 50k, they select 30, then 20, then 0? Or wouldn't that work? I'm not sure because I've honestly never used that dialog before in any hack attempts. :P

Inge:
Pescado, I already have a BHAV for users to choose a flexible number - using More and Less to change in increments.  If you like I can adapt it for this purpose, with suitable parameter intake and Temp returns, and you can call it from your existing No-20-K at suitable points?  It would save you having to redesign the wheel, and me having to try and work out HTF all that moving out stuff works :D

For instance...

Parameters:
1) Suggested thousands (from your normal no-20k calculations)
2) Suggested units (from your normal no-20k calculations)
3) Max thousands
4) Max units

Returns
T0 = requested thousands
T1 = requested units

J. M. Pescado:
This sounds amazingly Byzantine and backwards. I suspect there's a better way. I could just make the amount of money taken equal to zero, and therefore, the amount of money the character possesses after moving out is equal to zero + the value of sculptures and paintings in his inventory if any sculptures or paintings are present in the inventory. Therefore, you can then decide how much money he takes with him through the simple expedient of stuffing crap into their inventory. Given that players already behave in such a manner, this is quite simple and natural. Is there really any other reason someone would stuff buy mode sculptures into their inventory anyway?

Navigation

[0] Message Index

[#] Next page

[*] Previous page