glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] teleporters [edit]


From: Leo Wandersleb
Subject: Re: [glob2-devel] teleporters [edit]
Date: Tue, 06 Feb 2007 23:43:00 +0100
User-agent: Icedove 1.5.0.9 (X11/20061220)

if(wheat_gradient > 240)
    use old algo
else
    
if(255-teleporter_gradient+255-teleporters_wheat_level+teleporters_delay<255-wheat_gradient)
        walk the teleporters gradient

255-teleporter_gradient = distance to teleporter
255-teleporters_wheat_level = distance of the TPs to the nearest wheat
teleporters_delay = time spent in the tp-system
255-wheat_gradient = direct walking distance




reply via email to

[Prev in Thread] Current Thread [Next in Thread]