UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / 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
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targetted for
    Not determined
  • Status
    Open
  • 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
    x86
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
In equipment_missions.ufo the comment says

> // 1b. Select an ammo:<BR>
> // There is an equal probability to get any ammo in equipment definition that fits the weapon obtained in 1.a.<BR>
> // The number of ammo added (weapon being already loaded) is the number entered in equipment definition.<BR>
> // Note that writing 'plaspistol_ammo 0' is not the same than writing nothing: in first case weapon will be<BR>
> // loaded, in last case it won't.<BR>

This:<BR>
<BR>
> item (plasrifle 100)
> item (plasrifle_ammo 1)
<BR>
correctly always gives a Plasma Rifle which is already loaded and an additional ammo.<BR>

If I understood the comment correctly, this<BR>
<BR>
> item (plasrifle 100)
> item (plasrifle_ammo 0)
<BR>
should give a Plasma Rifle which is already loaded, but no additional ammo, while writing<BR>
<BR>
> item (plasrifle 100)
> // item (plasrifle_ammo 1)
<BR>
should give a Plasma Rifle without any ammo.<BR>
<BR>
Right now, while the first case (standard) works fine, in the latter two cases the alien will simply get no Plasma Rifle at all.<BR>
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif