mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
ABM without_neighbors (#14116)
This commit is contained in:
parent
c1ea49940b
commit
d08d34d803
16 changed files with 347 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue