TrashMonks / qud-wiki

Desktop app for creating and updating the official Caves of Qud wiki
https://wiki.cavesofqud.com/
GNU Affero General Public License v3.0
11 stars 3 forks source link

Determine New Logic for NaturalWeapon Commerce #89

Open egocarib opened 3 months ago

egocarib commented 3 months ago

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.

https://github.com/TrashMonks/qud-wiki/blob/18bbd1df25306a70030e130a5d859331d8f4ac10/qbe/qudobject_wiki.py#L176-L179