mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
ABM without_neighbors (#14116)
This commit is contained in:
@@ -63,6 +63,9 @@ public:
|
||||
// Set of required neighbors (trigger doesn't happen if none are found)
|
||||
// Empty = do not check neighbors
|
||||
virtual const std::vector<std::string> &getRequiredNeighbors() const = 0;
|
||||
// Set of without neighbors (trigger doesn't happen if any are found)
|
||||
// Empty = do not check neighbors
|
||||
virtual const std::vector<std::string> &getWithoutNeighbors() const = 0;
|
||||
// Trigger interval in seconds
|
||||
virtual float getTriggerInterval() = 0;
|
||||
// Random chance of (1 / return value), 0 is disallowed
|
||||
|
Reference in New Issue
Block a user