Both of those are plain texts that I wrote just as I wrote this reply to indicate what has to be there.
"Spawn event" is non existent. I wrote that just for indication. you would place your spawn event there, whatever you like. e.g.
-
Time - Every 5.00 seconds of game time
or
-
Unit - A unit starts the effect of a spell
"Food for player" exists, but the syntax is VERY different. It is under Conditions > Integer Comparison.
You would get a "Left side", a "Right side" and a "comparator"
On the left side you go:
Player - Player Property >>> Current food for Player(X)
Now "Player(X)" also has to be set, it would be something like "Convert player index to player" where player index would be the PlayerNumber variable that I have used.
Right side you just put in 100
Comparator is inbetween the two, by default it should be "Equals to" you need to change that to "Less than"
At the end, it should look like:
-
If - do Then actions else do Else actions
-

If - Conditions
-


Food for Player(TempInt) is Less than 100
-

Then Actions
-

Else Actions
I am not working with WE at the moment, SO, those instructions are from my head, they may NOT be 100% accurate, actually I guarantee that there are some inconsistencies,
BUT! This should point you in the general direction of everything you need.
regards
-Ned