(self, stuff)
| 53 | self.imageId = fittingView.imageList.GetImageIndex("totalPrice_small", "gui") |
| 54 | |
| 55 | def getText(self, stuff): |
| 56 | if stuff.item is None or stuff.item.group.name == "Ship Modifiers": |
| 57 | return "" |
| 58 | |
| 59 | if hasattr(stuff, "isEmpty"): |
| 60 | if stuff.isEmpty: |
| 61 | return "" |
| 62 | |
| 63 | if isinstance(stuff, Module) and stuff.isMutated: |
| 64 | return "" |
| 65 | |
| 66 | priceObj = stuff.item.price |
| 67 | |
| 68 | if not priceObj.isValid(): |
| 69 | return False |
| 70 | |
| 71 | return formatPrice(stuff, priceObj) |
| 72 | |
| 73 | def delayedText(self, mod, display, colItem): |
| 74 | sPrice = ServicePrice.getInstance() |
nothing calls this directly
no test coverage detected