Topic: [Fixed - persists 3.70-beta3] spinning 100m of yarn overflows and produces 14.7m  (Read 325 times)


Plotinus

  • Honorary Lifetime Supporter
  • Member
  • *
  • Posts: 312
    • View Profile
    • Goal-Fish - a smart todo list
« on: July 11, 2021, 12:51:39 PM »
I start with 57  bundles of flax fibre, and I start to spin it with a spindle.

Code: [Select]
(143270):99h0:[#]{0347055F}      | TEXTILECRAFT OPTIONS: Spin yarn
(575757):99h0:[_]{0347055F}      | You can spin 100 m of yarn on one go.
(

I select the maximum, which uses up 20 bundles of flax fibre and produces 14.7 metres, not the promised 100 metres.

I do this again and get another 14.7 metres of linen yarn.

With my last 17 bundles of flax fibre, it tells me I can produce 85 metres and I successfuly do this. So I get a lot more yarn out of the 17 bundles of flax than I get out of 20 bundles of flax.

My 14.7 metres of linen yarn weighs 0.6 kg and my 85m of yarn weighs 0.5 kg, so I think there is something wrong with the way the lengths are displayed.
« Last Edit: July 19, 2021, 09:15:00 AM by Sami »

Plotinus

  • Honorary Lifetime Supporter
  • Member
  • *
  • Posts: 312
    • View Profile
    • Goal-Fish - a smart todo list
« Reply #1 on: July 11, 2021, 12:56:20 PM »
I tried changing units to imperial and my 831m of yarn is now 249 feet long and weighs 1.1 lb, but my 14.7 m of yarn is 44 m long and weighs 1.3 lb

So the problem is that it overflowed, so the maximum amount of yarn you can make should be 85 metres, not 100 metres, which is 255 feet

[1] I used 2m of it to make a loop snare

Sami

  • UnReal World creator
  • Administrator
  • Member
  • *****
  • Posts: 950
  • UnReal World creator
    • View Profile
    • UnReal World
« Reply #2 on: July 19, 2021, 09:14:31 AM »
Yep. It was overflow as the internal length value is char type.
Will set the maximum to 240 feet, for a nice round value in metric system too.

Fixed - persists in 3.70beta3.
- Sami | UnReal World creator