Function get_object_gold_value

Source
pub fn get_object_gold_value(index: u16) -> i16
Expand description

Get the gold value of the object at a certain index in the read object list.

This is used solely to get the gold value of gold. It is not used for other objects.

index The index of the object.

Returns the gold value.