Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.

MakeTechKnown

From AGEWiki

Jump to: navigation, search

MakeTechKnown

Syntax  

MakeTechKnown = <RIUID>; <Change/Ignore/Replace> [;DiscoveryPerc] [;RunScript]

Description

Modify the status of a research item

How the script command can be used:
  1. Make an unknown RI known.
  2. Make an unknown RI mastered.
    (Parameter DiscoveryPerc = 100).
  3. Change the Discovery Percentage of an known RI by a given value.
    (Parameter "Change", DiscoveryPerc = X)
  4. Set the Discovery Percentage of an known RI to a value.
    (Parameter "Replace", DiscoveryPerc = X)
  5. Make a known RI mastered.
    (Parameter "Change" or "Replace", DiscoveryPerc = 100)
  6. Add an RI to the Faction if not known yet and give the base progression from the RI DB, otherwise (if already known) do nothing.
    (Parameter "Ignore", no DiscoveryPerc parameter.)



 

Parameters

<RIUID>;

Valid Alias (UID) of the Research Item

<Change/Ignore/Replace>

One of:

  • Change: Has only an effect then the RI is already known: If the string parameter "Change" is given, the Discovery Percentage of the RI will be CHANGED by DiscoveryPerc.
  • Ignore: Has only an effect then the RI is already known: If the string parameter "Ignore" is given, the script command will be aborted if the RI is already known.
  • Replace: Has only an effect then the RI is already known: If the string parameter "Replace" is given, the Discovery Percentage of the RI will be SET to DiscoveryPerc.
[;DiscoveryPerc]

Integer (1 to 100)

The RI is made known and the Discovery Percentage set go the given value. Otherwise the Base Progress Value from the RI definition will be used.
[;RunScript]

If the keyword 'RunScript' is added the script (if any) will be run if the RI is made _mastered_ (by setting the Discovery Percentage to 100). The Faction Modifiers will be applied in all cases

Forums