Good, so the problem is that infected people who are infected do not get infected. If they do not become infected, they obviously cannot infect mosquitoes, which then cannot infect other people. This means that the problem is probably in this line:
if who < initial-infected-people
- who, , , - . , ( - ), . , 5. , , < 5. , . , , , .
, ask-n-of, . - :
breed [humans human]
breed [mosquitoes mosquito]
breed [deads dead]
globals [
total-human ;; Total number of agents that are human
total-mosquito ;; Total number of mosquitoes that are human
]
humans-own [
kill ;; Agent-subset of mosquitoes within vision
infected-human? ;; If true, human is infected
susceptible-human? ;; If true, human is susceptible
]
mosquitoes-own [
infected-mosquito? ;; If true, mosquito is infected
susceptible-mosquito? ;; If true, mosquito is susceptible
]
to setup
...
set total-human <some number> (or put on a slider)
set total-mosquito <some number> (or put on a slider)
create-humans total-human [<code for shape, position etc]
ask n-of initial-infected-people humans [set infected-person? TRUE]
create-mosquitoes total-mosquito [<code for shape, position etc>]
...
end