Scrap

From Caves of Qud Wiki
Revision as of 16:22, 5 August 2021 by Teamtoto (talk | contribs) (fix query)
Jump to navigation Jump to search
This article is a stub. You can help Caves of Qud Wiki by expanding it.
This article is a stub. You can help Caves of Qud Wiki by expanding it.

This information is reliable as of patch 2.0.202.22. If this is no longer the current patch, you can help by updating it.
As of Patch This information is reliable as of patch 2.0.202.22.

Scrap are items that generally have one or two guaranteed type of bits. There is regular scrap, and medical scrap. Medical scrap is much rarer.

Scrap can be obtained as random loot, by using Scavenger to rifle through piles of trash, or by having said skill and killing robots. Legendary Barathrumites and tinkers will also sell scrap.

Scrap

Error 1054: Unknown column 'Bits' in 'field list' (localhost)

Function: CargoSQLQuery::run Query: SELECT CONCAT("{{favilink id|", `IT`.`ObjectID`, "}}") AS `Scrap`,CONCAT("{{Bits|", Bits, "}}") AS `Bits` FROM `ItemsTable` `IT` LEFT OUTER JOIN `GeneralData` `GD` ON ((`IT`.`ObjectID`=`GD`.`ObjectID`)) WHERE `IT`.`_pageNamespace`='0' AND `IT`.`Bits` <> AND ParentObject IN ( SELECT `_value` FROM `GeneralData__ParentObject__hierarchy` WHERE `_left` >= ( SELECT `_left` FROM `GeneralData__ParentObject__hierarchy` WHERE `_value` = 'Scrap' ) AND `_right` <= ( SELECT `_right` FROM `GeneralData__ParentObject__hierarchy` WHERE `_value` = 'Scrap' ) ) AND NOT `GD`.`ObjectID` LIKE 'Med%' ORDER BY `Bits` LIMIT 100

Medical Scrap

Error 1054: Unknown column 'Bits' in 'field list' (localhost)

Function: CargoSQLQuery::run Query: SELECT CONCAT("{{favilink id|", `IT`.`ObjectID`, "}}") AS `Scrap`,CONCAT("{{Bits|", Bits, "}}") AS `Bits` FROM `ItemsTable` `IT` LEFT OUTER JOIN `GeneralData` `GD` ON ((`IT`.`ObjectID`=`GD`.`ObjectID`)) WHERE `IT`.`_pageNamespace`='0' AND `IT`.`Bits` <> AND ParentObject IN ( SELECT `_value` FROM `GeneralData__ParentObject__hierarchy` WHERE `_left` >= ( SELECT `_left` FROM `GeneralData__ParentObject__hierarchy` WHERE `_value` = 'Scrap' ) AND `_right` <= ( SELECT `_right` FROM `GeneralData__ParentObject__hierarchy` WHERE `_value` = 'Scrap' ) ) AND `GD`.`ObjectID` LIKE 'Med%' ORDER BY `Bits` LIMIT 100