Opened 10 years ago

Closed 10 years ago

#921 closed bug (fixed (in master))

Torches only restocked in general store as quantity 1

Reported by: ChodTheWacko Owned by: magnate
Milestone: 3.1.2 beta Keywords: stores
Cc:

Description

When the general store restocks torches, it only restocks a single torch. Happens on head revisions.

Change History (4)

comment:1 Changed 10 years ago by magnate

  • Keywords stores added
  • Milestone changed from Triage to 3.1.2 beta

comment:2 follow-up: Changed 10 years ago by ChodTheWacko

It's happening because the cost of torches jumped up from 1 to 42 (!!!).
and mass_produce() doesn't call mass_roll() to increase quantity unless the cost is
<= 20.

Side note: It's a bit weird for torches to cost 42 gold pieces and flasks of oil only cost 3.

comment:3 in reply to: ↑ 2 Changed 10 years ago by magnate

  • Owner set to magnate
  • Status changed from new to assigned

Replying to ChodTheWacko:

It's happening because the cost of torches jumped up from 1 to 42 (!!!).
and mass_produce() doesn't call mass_roll() to increase quantity unless the cost is
<= 20.

Side note: It's a bit weird for torches to cost 42 gold pieces and flasks of oil only cost 3.

Hmmm. This shouldn't be happening - it may be a side effect of them getting BRAND_FIRE. Will investigate.

comment:4 Changed 10 years ago by magnate

  • Resolution set to fixed
  • Status changed from assigned to closed

r1584 merged in [7dac0b6] (SVN r1585)

Note: See TracTickets for help on using tickets.