Previously, QBE suppressed the commerce property from being returned for natural weapons (and possibly other things). However, it appears that NaturalWeapon now has Physics.takeable = 'true', which throws a wrench in that old logic, and causes all natural weapons to have commerce info populated on the wiki. Likely, this is not desirable, but we will need to figure out what new logic to use if we want to suppress this info again.
|
if self.part_Physics_Takeable is not None and self.part_Physics_Takeable == 'false': |
|
if value == 0.01: |
|
# ignore for non-takeable objects that inherit 0.01 from PhysicalObject |
|
return None |
Previously, QBE suppressed the
commerceproperty from being returned for natural weapons (and possibly other things). However, it appears that NaturalWeapon now has Physics.takeable = 'true', which throws a wrench in that old logic, and causes all natural weapons to have commerce info populated on the wiki. Likely, this is not desirable, but we will need to figure out what new logic to use if we want to suppress this info again.qud-wiki/qbe/qudobject_wiki.py
Lines 176 to 179 in 18bbd1d