Get dwelling

From Kolmafia
Jump to navigation Jump to search

Function Syntax

item get_dwelling()

Returns the item corresponding with your dwelling (the item used to get the dwelling). Note that if you have no dwelling, this function will return $item[big rock].

Code Samples

Informs you what your current dwelling is.

item house = get_dwelling();
if (house == $item[big rock])
   print("You currently do not have a house, you should use the Newbiesport™ Tent.", "red");
else print("You are currently using "+house+" for housing.","blue");

See Also

get_campground() | map_to_file()