Remove property

From Kolmafia
Revision as of 00:25, 20 August 2020 by imported>Fredg1 (return value)
Jump to navigation Jump to search

Function Syntax

string remove_property(string prop )

  • prop is the property to remove.

string remove_property(string prop ,boolean global )

  • prop is the property to remove.
  • global if true, look for the property specifically in the global map. If false or not included will look at the user map.

If prop is a built-in property, resets to default. Otherwise, removes from the user map, or global if global is true. The return value is the value the property had prior to being reset.

See Also

Miscellaneous_Functions#Property_Functions()