(charID, itemID)
| 432 | |
| 433 | @staticmethod |
| 434 | def addImplant(charID, itemID): |
| 435 | char = eos.db.getCharacter(charID) |
| 436 | if char.ro: |
| 437 | pyfalog.error("Trying to add implant to read-only character") |
| 438 | return |
| 439 | |
| 440 | implant = es_Implant(eos.db.getItem(itemID)) |
| 441 | char.implants.makeRoom(implant) |
| 442 | char.implants.append(implant) |
| 443 | eos.db.commit() |
| 444 | |
| 445 | @staticmethod |
| 446 | def removeImplant(charID, implant): |
no test coverage detected