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

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:
~ 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
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.

Shadowrun Fiction, updated 4/10/15: Pananagutan - A Limited-Ongoing Tale
"An inability to handle mathematics or politics is a sign of a subnormal mind." -- The Wyrm Ouroboros
"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