Makes it easier to edit science definitions.
KSP Forum Thread: http://forum.kerbalspaceprogram.com/index.php?/topic/160151-0/
Download Latest Release: https://github.com/Sigma88/Sigma-SciDefRenamer/releases/latest
Dev version: https://github.com/Sigma88/Sigma-SciDefRenamer/tree/Development
SigmaSciDefRenamer { }
This is the root node, you can add as many as you want, and they can be modified using ModuleManager patches.
The root node can contain the following functions:
-
Copy
SigmaSciDefRenamer { Rename { SOURCE = old_planet_name NEW = new_planet_name } }
Creates a new set of science definitions, copied from planet
SOURCE
, and assigns them to planetNEW
. -
Delete
SigmaSciDefRenamer { Delete { NAME = planet_name } }
Deletes all science definitions of planet
NAME
. -
Rename
SigmaSciDefRenamer { Rename { OLD = old_planet_name NEW = new_planet_name } }
Changes all science defs from planet
OLD
to planetNEW
. -
Replace
SigmaSciDefRenamer { Replace { FIND = string_to_be_replaced REPLACE = replacement_string PLANET = planet_name } }
Finds and replaces string
FIND
with stringREPLACE
in the key.String
PLANET
is optional, if omitted the changes will apply to all planets. -
Swap
SigmaSciDefRenamer { Swap { THIS = planet_name THAT = planet_name } }
Swaps the science definitions of planets
THIS
andTHAT
. -
Text
SigmaSciDefRenamer { Text { FIND = string_to_be_replaced REPLACE = replacement_string PLANET = planet_name } }
Finds and replaces string
FIND
with stringREPLACE
in the science report text.String
PLANET
is optional, if omitted the changes will apply to all planets.
NOTE: -
You can fit multiple functions in a single SciDefRenamer node.
-
Functions will be executed in order.