Thread: DOE: Locations Extension
-
August 9th, 2016, 07:14 #531
Looks like there's something in SWv4.2.5 that broke something - let me see what I can find
Dulux-Oz
√(-1) 2^3 Σ Π
...And it was Delicious!
Alpha-Geek
ICT Professional
GMing Since 1982
NSW, Australia, UTC +10
LinkedIn Profile: www.linkedin.com/in/mjblack
Watch our games on Twitch: www.twitch.tv/dulux_oz
Support Me on Patreon: www.patreon.com/duluxoz
Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz
-
August 13th, 2016, 16:15 #532
I searched through the thread and oddly didn't find anything, but is there any way to get the inventory screen markup percentages to round numbers? I tried to sell a suit of armor for 420 gp and then it ended up being 381.8181818181818 gp or something on the characters inventory. Selling it back left him with 789.6364646464 gp, which is of course unusable. Not asking it to automatically figure out change, just put 382 instead of 381.8181818.
-
August 13th, 2016, 16:34 #533
That rounding error is one that I've been struggling with. The problem is with the precision that the lua scripting code uses for all its mathematical operations (ie its inbuilt to the engine0. The question in automatically having a rounding function is "round it to what?" Sure, we could round to the nearest 0.01 for decimal systems, but if you're using 240 pennies to the pound, or even 20 silver to the gold or 5 gold to the platinum - well, they've all got different rounding values.
So I'm still trying to work out how to go about it - and yes, it is tied up with figuring out change
So, for the moment, round it manually (and I'd round it in the favor of the shopkeeper, obviously) - I'll try to get something sorted to do it automatically (when I figure out what needs to be done exactly).Dulux-Oz
√(-1) 2^3 Σ Π
...And it was Delicious!
Alpha-Geek
ICT Professional
GMing Since 1982
NSW, Australia, UTC +10
LinkedIn Profile: www.linkedin.com/in/mjblack
Watch our games on Twitch: www.twitch.tv/dulux_oz
Support Me on Patreon: www.patreon.com/duluxoz
Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz
-
August 13th, 2016, 17:48 #534
-
August 13th, 2016, 19:03 #535
What about just truncating? I know it's not perfect, but unlike today's world, would have they really been doing something like, "I'll give you 30% of list price, so that 281 gold, 4 silver and 3 copper."
Now, in a non-fantasy setting... my logic is bogus, but....
Maybe an option for number of decimal places? Or, how about you just write a sub-routine to read the GMs mind?
There's a quote I;ve heard a lot lately (must be some TV commercial), but it goes back to my early days of engineering "Perfect is the enemy of good enough."
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
August 14th, 2016, 03:19 #536
Yeah, but what do I use as the "rounding factor" - that was the point of mentioning the different currencies in my previous post.
And as far as reading the GM's mind... My God, Mr Bigglesworth, they're on to us! Quick! To the secret volcano lair! Curse you, Lord E, I'll get you next time!Dulux-Oz
√(-1) 2^3 Σ Π
...And it was Delicious!
Alpha-Geek
ICT Professional
GMing Since 1982
NSW, Australia, UTC +10
LinkedIn Profile: www.linkedin.com/in/mjblack
Watch our games on Twitch: www.twitch.tv/dulux_oz
Support Me on Patreon: www.patreon.com/duluxoz
Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz
-
August 14th, 2016, 03:52 #537
You're right that their is no good rounding factor, or even number of decimal places. That's why I would take a cheaters way out and just truncate the numbers (drop all decimal places).
p.s. have you notices I put Nair in Mr. Bigglesworth's shampoo?
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
August 14th, 2016, 03:54 #538
Oh, I see you have...
https://animalia-life.com/data_image...phynx-cat1.jpg
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
August 14th, 2016, 04:44 #539
Dulux-Oz
√(-1) 2^3 Σ Π
...And it was Delicious!
Alpha-Geek
ICT Professional
GMing Since 1982
NSW, Australia, UTC +10
LinkedIn Profile: www.linkedin.com/in/mjblack
Watch our games on Twitch: www.twitch.tv/dulux_oz
Support Me on Patreon: www.patreon.com/duluxoz
Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz
-
August 17th, 2016, 16:40 #540
Am I understanding this correctly, that I can create links down the Location's Tree but not up? If I link A "country" (a Location) to a "River" (another Location), I can not reverse the direction and put a link in the "River" to the "country"? is this the "loop" to which you are refering? I think I answered my own question in the asking, haha, sorry!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks