coral: added comment

The intention of the underscore was not clear at a first glance. To avoid people thinking it's a bug and accidentally renaming it, it's commented now.
install-platforms
David Dormagen 2017-07-09 17:52:14 +02:00
parent b1542a3338
commit c3fbdd538a
1 changed files with 4 additions and 1 deletions

View File

@ -182,4 +182,7 @@ protected func ControlUse(object clonk, int iX, int iY)
return true;
}
func NutritionalValue_() { return 5; }
// this.NutritionalValue will the set to this function once the coral starts floating and
// can be collected by a Clonk.
// Otherwise, fish would eat fixed corals - that's not intended.
public func NutritionalValue_() { return 5; }