View Single Post
The Wyrm Ouroboros
Member
 
Join Date: Oct 2013
Posts: 37

Old April 25th, 2020, 11:47 AM
Bah!! Bah, I say to you, sir!!

After all, if the contents are being stored in a seperate pocket dimension, why is there weight at all??

Truth is, I was going to try to compute the 'percentage weight shunted', but I figured that was just too much a pain in my tuckus, so ...

edit: ... so I went ahead and did so anyhow.

Change the weight-negation text to the following:
Quote:
~ Our contents' weight caps out!
if (field[gearNet].value >= field[gWeight].value ) then
field[gearNet].value = ( ( field[gearNet].value - field[gWeight].value ) / field[gHeldMaxWt].value ) * ( field[abValue].value - field[gWeight].value ) + field[gWeight].value
endif
This divides the carried weight by the maximum carried weight. The item will always weigh the baseline, but the 'weight of the portal' is a percentage of the weight carried.

Dragonlance Fiction: Childe Lydia to the Dark Tower Came

"Look, I could kill you, but then I'd have to fill out paperwork. I hate paperwork. Even more than I hate you." -- Phineas Phentari

Last edited by The Wyrm Ouroboros; April 25th, 2020 at 03:53 PM.
The Wyrm Ouroboros is offline   #3 Reply With Quote