home *** CD-ROM | disk | FTP | other *** search
- if(_Y - "40" < getProperty("../Schiff1", _Y) and getProperty("../Schiff1", _Y) < _Y + "40")
- {
- if(_X + "400" >= getProperty("../Schiff1", _X) and getProperty("../Schiff1", _X) >= _X - "400")
- {
- set("../:Energie",eval("../:Energie") - "1000");
- }
- }
-