Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0009043Dwarf FortressDwarf Mode -- Transport/Haulingpublic2015-08-14 12:272017-04-01 01:59
Larix2 
 
normalminoralways
newopen 
PCWindowsXP
0.40.24 
 
0009043: Minecarts retain rider's weight after a ride
If a minecart is ridden to a route stop and the rider dismounts, the cart's listed weight still includes the weight of the rider.
Order cart movement via riding. Let the rider dismount. Check the cart's weight.
An empty maple cart by itself weighs 21kg. When ridden by an 88kg (with clothes) dwarf, it shows 109 kg during _and after_ the ride. Looking at the empty cart via "k" will show the erroneous excessive weight, dwarfs get slowed down significantly by the "invisible dwarf" in the cart when hauling it and pressure plates calibrated to only trigger on a dwarf-bearing cart will still be triggered or kept active by the empty cart.

A new ride order updates the weight to account for the weight of the new rider instead of the old, but further vehicle movement or hauling events tend to have no effect, the erroneous weight stays intact. The only sure way to reset the empty cart to its proper empty weight seems to be saving/restoring the game.

I've only checked normal (non-lethal) dismounting when bumping into a wall at a route stop, not collisions that throw a dwarf out of a cart.

Save:http://dffd.bay12games.com/file.php?id=11060 [^]
No tags attached.
related to 0005088confirmed Loci Dropping items from inside a bag had no effect on move speed until bag was dropped and picked up 
Issue History
2015-08-14 12:27Larix2New Issue
2015-08-14 12:30Larix2Tag Attached: minecart
2015-08-25 19:28lethosorTag Detached: minecart
2016-07-18 14:36LociRelationship addedrelated to 0005088
2017-04-01 01:59Larix2Note Added: 0036390
2017-04-01 02:01Larix2Note Edited: 0036390bug_revision_view_page.php?bugnote_id=0036390#r14689

Notes
(0036390)
Larix2   
2017-04-01 01:59   
(edited on: 2017-04-01 02:01)
Update for 0.43.05

The bug still exists, but i had some interesting new findings:

New save here:
http://dffd.bay12games.com/file.php?id=12802 [^]

Hotkey F2, Route 10

Commands are: ride south from 1, push east from 3, ride north from 4, push west from 2 (expanded a two-stop track, thus the messy stop order).

All pressure plates react on track vehicles only, the northern and southern one are 100+, the eastern one 1000+. On each cycle i've observed so far, the northern plate always activates, the southern one never (neither does the eastern one). In both cases, a pushed wooden cart passes over them, which should have a weight of 24.

It looks like

***
Minecarts preserve the rider's weight as part of their "empty" weight if they are "measured" (via 'k'-view tile command or pressure plate) during the ride.
***

The ride over the "unmeasured" western side properly resets cart weight when the ride stops, the ride on the eastern side preserves rider weight (can be observed after riding/pushing at stops 2 and 1) because the pressure plate checks the weight; that it fails to trigger the 1000+ condition is immaterial.