mmm
Code:
Add Farm
Events
Unit - A unit Finishes construction
Conditions
(Unit-type of (Constructed structure)) Equal to Resource House
Actions
Unit Group - Add (Constructed structure) to Unit_Group
Set Player = (Owner of (Constructed structure))
Trigger - Turn on Income
Code:
Remove Farm
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Resource House
Actions
Unit Group - Remove (Dying unit) from Unit_group
Code:
Income
Events
Time - Every 9.00 seconds of game time
Conditions
Actions
Player - Add (5 x (Number of units in Unit_Group)) to Player Current gold
Player - Add (7 x (Number of units in Unit_Group)) to Player Current lumber
Income isn't initially on
Player is a player variable
and
Unit_Group... is a unit group variable
hope this helps.
_________________

Quote:
(22:35:51) GeorgeMots: a gay just hiy on me...
(22:36:07) Lanaya: Good
(22:36:17) Lanaya: you look gay enough :O
(22:36:25) GeorgeMots: Fuck you!
(22:36:30) Lanaya: XD
(22:36:31) Lanaya: hahaha
(22:36:47) Lanaya: is he intoxicated? o.o
(22:37:01) GeorgeMots: no, he looks more like my sister
(22:37:16) Lanaya: great. no problem then right?