February 5th, 2004, 01:59 AM
|
Corporal
|
|
Join Date: Mar 2003
Location: United States
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Unusual New Propulsion Idea
Quote:
Originally posted by Ed Kolis:
If amount(suns in system) = 0 then
ship.movement.bonus = 0
else
ship.movement.solarpanel.bonus = ship.equipment.solarpanel.level
end if
be easier? )
|
Or perhaps the even shorter:
ship.movement.solarpanel.bonus = Iif(amount(suns in system) > 0, ship.equipment.solarpanel.level, 0)
|