mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-13 09:18:05 -04:00
Increase the likelihood of some behaviors not being available at all in a configuration.
This commit is contained in:
parent
2b970bc65a
commit
e6922f86c3
@ -994,7 +994,7 @@ opencomputers {
|
||||
# if there are a total of 10 behaviors available, 0.5 means there will
|
||||
# be 5 trigger inputs, triggers being the inputs that can be activated
|
||||
# via nanomachines.
|
||||
triggerQuota: 0.5
|
||||
triggerQuota: 0.4
|
||||
|
||||
# The relative number of connectors based on the number of available
|
||||
# behaviors (see triggerQuota).
|
||||
|
@ -173,7 +173,7 @@ class NeuralNetwork(controller: ControllerImpl) extends Persistable {
|
||||
class ConnectorNeuron extends Neuron {
|
||||
val inputs = mutable.ArrayBuffer.empty[Neuron]
|
||||
|
||||
override def isActive = inputs.exists(_.isActive)
|
||||
override def isActive = inputs.forall(_.isActive)
|
||||
}
|
||||
|
||||
class BehaviorNeuron(val provider: BehaviorProvider, val behavior: Behavior) extends ConnectorNeuron
|
||||
|
Loading…
x
Reference in New Issue
Block a user