[wpdev-commits] xmlscripts/scripts/commands export.py,1.8,1.9
Brought to you by:
rip,
thiagocorrea
From: Richard M. <dr...@us...> - 2004-07-13 19:54:47
|
Update of /cvsroot/wpdev/xmlscripts/scripts/commands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27690/commands Modified Files: export.py Log Message: Doors/Gates will no longer be exported. Same goes to corpses. Index: export.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/export.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** export.py 13 Jul 2004 06:41:21 -0000 1.8 --- export.py 13 Jul 2004 19:54:38 -0000 1.9 *************** *** 46,50 **** # BaseID's not to save. ! nonsaves = ['gem','ore_gem','wood_gem'] def exportcmd( socket, command, arguments ): --- 46,74 ---- # BaseID's not to save. ! # World Gems ! # Doors/Gates ! nonsaves = [ \ ! 'gem', 'ore_gem', 'wood_gem', \ ! '675','676','677','678','679','67a','67b','67c','67d','67e','67f','680','681','682', \ ! '683','684','685','686','687','688','689','68a','68b','68c','68d','68e','68f','690', \ ! '691','692','693','694','695','696','697','698','699','69a','69b','69c','69d','69e', \ ! '69f','6a0','6a1','6a2','6a3','6a4','6a5','6a6','6a7','6a8','6a9','6aa','6ab','6ac', \ ! '6ad','6ae','6af','6b0','6b1','6b2','6b3','6b4','6b5','6b6','6b7','6b8','6b9','6ba', \ ! '6bb','6bc','6bd','6be','6bf','6c0','6c1','6c2','6c3','6c4','6c5','6c6','6c7','6c8', \ ! '6c9','6ca','6cb','6cc','6cd','6ce','6cf','6d0','6d1','6d2','6d3','6d4','6d5','6d6', \ ! '6d7','6d8','6d9','6da','6db','6dc','6dd','6de','6df','6e0','6e1','6e2','6e3','6e4', \ ! '6e5','6e6','6e7','6e8','6e9','6ea','6eb','6ec','6ed','6ef','6f0','6f1','6f2','6f3','6f4', \ ! '824','825','826','827','828','829','82a','82b','82c','82d','82e','82f','830','831','832', \ ! '833','839','83a','83b','83c','83d','83e','83f','840','841','842','843','844','845','846', \ ! '847','848','84c','84d','84e','84f','850','851','852','853','854','855','856','857','858', \ ! '859','85a','85b','866','867','868','869','86a','86b','86c','86d','86e','86f','870','871', \ ! '872','873','874','875','1fed','1fee','1fef','1ff0','1ff1','1ff2','1ff3','1ff4','1ff5','1ff6', \ ! '1ff7','1ff8','1ff9','1ffa','1ffb','1ffc','e8','e9','ea','eb','ec','ed','ef','f0','f1','f2','f3','f4', \ ! 'f5','f6','f7','314','315','316','317','318','319','31a','31b','31c','31d','31e','31f','320', \ ! '321','322','323','324','325','326','327','328','329','32a','32b','32c','32d','32e','32f', \ ! '330','331','332','333','334','335','336','337','338','339','33a','33b','33c','33d','33e', \ ! '33f','340','341','342','343','344','345','346','347','348','349','34a','34b','34c','34d', \ ! '34e','34f','350','351','352','353','354','355','356','357','358','359','35a','35b','35c', \ ! '35d','35e','35f','360','361','362','363' ] def exportcmd( socket, command, arguments ): *************** *** 138,142 **** i = 0 while item: ! if not item.baseid in nonsaves and len( item.spawnregion ) == 0: # Build our string if format == 1: # Sphere 51a --- 162,166 ---- i = 0 while item: ! if ( not item.baseid in nonsaves or not item.corpse ) and len( item.spawnregion ) == 0 : # Build our string if format == 1: # Sphere 51a |