Helltweaks: improve lava river
The lava river will now draw another river, until a certain amount of map locations have been turned into lava, so you don't get a teensy "river" made out of 2 lava pools. Add a lua selection method to count the number of locations in the selection.
This commit is contained in:
@@ -1153,6 +1153,15 @@ Example:
|
||||
local s = selection.negate();
|
||||
|
||||
|
||||
=== numpoints
|
||||
|
||||
Return the number of points in the selection.
|
||||
|
||||
Example:
|
||||
|
||||
local n = sel:numpoints();
|
||||
|
||||
|
||||
=== percentage
|
||||
|
||||
Each selected location has a percentage chance of being selected in the new selection.
|
||||
|
||||
Reference in New Issue
Block a user