UFO: Alien Invasion Issue Tracker
Go to the previous open issue
Go to the previous issue (open or closed)
Please log in to bookmark issues
Open Bug report #5015 code for mission equipment works not as specified
Go to the next issue (open or closed)
Go to the next open issue
In equipment_missions.ufo the comment says > // 1b. Select an ammo:
> // There is an equal probability to get any ammo in equipment definition that fits the weapon obtained in 1.a.
> // The number of ammo added (weapon being already loaded) is the number entered in equipment definition.
> // Note that writing 'plaspistol_ammo 0' is not the same than writing nothing: in first case weapon will be
> // loaded, in last case it won't.

> item (plasrifle 100) > item (plasrifle_ammo 1)
correctly always gives a Plasma Rifle which is already loaded and an additional ammo.
If I understood the comment correctly, this

> item (plasrifle 100) > item (plasrifle_ammo 0)
should give a Plasma Rifle which is already loaded, but no additional ammo, while writing

> item (plasrifle 100) > // item (plasrifle_ammo 1)
should give a Plasma Rifle without any ammo.

Right now, while the first case (standard) works fine, in the latter two cases the alien will simply get no Plasma Rifle at all.
Steps to reproduce this issue
Nothing entered.
Comments (2)
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targetted for
    Not determined
  • Status
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)