(typeid)
| 194 | nonmarket.add(typeid) |
| 195 | |
| 196 | def getItemAttrs(typeid): |
| 197 | attrs = {} |
| 198 | cursor.execute(QUERY_TYPEID_ATTRIBS, (typeid,)) |
| 199 | for row in cursor: |
| 200 | attrs[row[0]] = row[1] |
| 201 | cursor.execute(QUERY_TYPEID_BASEATTRIBS, (typeid,)) |
| 202 | for row in cursor: |
| 203 | if row[0] is not None: |
| 204 | attrs["volume"] = row[0] |
| 205 | if row[1] is not None: |
| 206 | attrs["mass"] = row[1] |
| 207 | if row[2] is not None: |
| 208 | attrs["capacity"] = row[2] |
| 209 | return attrs |
| 210 | |
| 211 | def suggestMktGrp(typeid, mode="grp"): |
| 212 | typecat = globalmap_typeid_categoryid[typeid] |
no outgoing calls
no test coverage detected