Template:General data table: Difference between revisions

Cargostore parentobject, and hierarchy
(Now stores Tier)
(Cargostore parentobject, and hierarchy)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=GeneralData|Image=File|ObjectID=String|DisplayName=Wikitext|PlainName=String|DisplayChar=Wikitext|Commerce=Float|Weight=Integer|Tier=Integer}} [[Category:Cargo Store Templates]]
<noinclude>{{#cargo_declare:_table=GeneralData|Image=File|ObjectID=String|DisplayName=Wikitext|PlainName=String|DisplayChar=Wikitext|Commerce=Float|Weight=Integer|Tier=Integer|ParentObject=String (hierarchy;allowed values=*InorganicObject
**Item
***NotakeItem
***Food
****Snack
*****Preservable
****Organ
*****BaseBreatherGland
****Raw Meat
****Mushroom
***Corpse
***MeleeWeapon
***MissileWeapon
***Armor
***Shield
***NaturalWeapon
***FungalInfection
***Vessel
***Token
***Deed
***Book
***LightSource
***WaterContainer
***Tool
***BaseRecoiler
***Argyve&#39;s Data Disk
***Medication
***Scrap
***Trinket
***Copper Nugget
***Gemstone
***Energy Cell
***Liquid Fueled Energy Cell
***BaseCybernetics2Equipment_1point
***BaseCybernetics2Equipment_2point
***BaseCybernetics2Equipment_3point
***BaseCybernetics2Equipment_4point
***BaseCyberneticsCreditWedge
***Security Card
**Wall
**BaseThrownWeapon
***Grenade
**Furniture
***Table
***Door
***NotakeFurniture
****HighTechInstallation
***BaseHydraulicPipe
***BaseChair
***BaseBed
***Chest
***Sign
***Switch
***Village Monument
***Orrery
**Statue
***Six Day Stilt statue
**Baetyl
**Web
**Relief
***Relief1
***Relief2
**Stairs
***StairsDown
*InertObject
**Gas
**Space-Time Anomaly
*Plant
**ActivePlant
***BasePlant
****BaseAloe
****Lagroot
***BaseFungus
****LiquidLichen
*****LiquidLichen Minor
****FungusPuffer
**Watervine
*Fungus
*Creature
**Animal
***BaseAnimal
****BaseCat
*****Ray Cat
****BaseBear
****BaseAntelope
****Boar
****BaseDog
****Goatfolk
*****Goatfolk Savage
*****Goatfolk Shaman
****BaseSlugsnout
***BaseInsect
***BaseCrab
***BaseOoze
****BaseSludge
***BaseReptile
****BaseTortoise
***BaseFish
***BaseSpider
***BaseBird
***BaseWorm
****BaseSnail
****BaseSlug
**Robot
***BaseRobot
****BarathrumiteRobot
****Scrapbot
****TinkerTurret
*****HostileTurret
******WeaponEmplacement
****Turret Tinker
****BaseMiner
**Humanoid
***BaseHumanoid
****BaseTrueKin
****Cragmensch
****Dromad
****Glow Wight
****Naphtaali
****Snapjaw
*****Snapwjaw Troglodyte
****Troll
*****Troll King
****BaseSightless
****Trash Monk
****Glittermensch
****BaseIssachari
****Mechanimist
*****Mechanimist Zealot
*****Mechanimist Temple Paladin
******Mechanimist Warden
*****Mechanimist Priest 1
****NPC
*****BaseArconaut
*****Urshiib
******Barathrumite
*****HumanTinker
******HumanTinker_Village0
*****BaseFarmer
******BaseWatervineFarmer
*****BaseHunter
*****BaseMerchant
******CrabFarmer
****BaseHindren
*****HindrenVillager
*****HindrenScout
***BaseApe
****Albino ape
****BaseBaboon
*****Baboon
**BaseNest
**MutatedPlant
***MutatedBush
***MutatedSucculent
****SapientMutatedSucculent
***MutatedFlower
****SapientMutatedFlower
****Glowpad
***MutatedVine
****SapientMutatedVine
****Plant Turret
***MutatedTree
**MutatedFungus
***SapientMutatedFungus}} [[Category:Cargo Store Templates]]


Please don't actually call this. This is a helper template.  
Please don't actually call this. This is a helper template.  


This declares the GeneralData cargo table, which stores the generic data that all items have( page name, ID, and Image). This makes querying for these common things easier instead of manually determining which table to query from.</noinclude>
This declares the GeneralData cargo table, which stores the generic data that all items have( page name, ID, and Image). This makes querying for these common things easier instead of manually determining which table to query from.</noinclude>