home *** CD-ROM | disk | FTP | other *** search
- # Droids Cog Script
- #
- # D0_skyway.cog
- #
- # Goals for catapult
- #
- #
- #
- #
- #
- # [MT]
- #
- #
- # (C) 1997 LucasLearningLimited. All Rights Reserved
-
-
-
- symbols
- message startup
-
- //message user0 #player has fixed generator once
- message user1 #player has retrieved info crystal
-
- end
-
- ## Code Section
- code
-
- startup:
- player=getlocalplayerthing();
- if (dwCheckDroidCaps(1048576)!=0) SetInv(player, 3, 1);
- if (dwCheckDroidCaps(524288)!=0) SetInv(player, 2, 1);
- if ( (dwCheckDroidCaps(32)!=0)||(dwCheckDroidCaps(262144)!=0) )SetInv(player, 5, 1);
- if (dwCheckDroidCaps(2048)!=0) SetInv(player, 7, 1);
- if (dwGetArmstrength() > 8) SetInv(player, 6, 1); //arm strength 130 or greater
- // if (dwGetArmStrength() > 6) SetInv(player, 6, 1);
- return;
-
- //user0:
- // SetInv(player, 3, 1); #player has fixed generator
- // return;
-
- user1:
- SetInv(player, 4, 1); #player has retrieved crystal
- return;
-
-
-
- end
-
-
-
-
-