// Tag schema. All tags that are used must be declared in the schema. // // Syntax: // {a, b} = a set of tags // a = on the left-hand side of “->”, a set of one tag can omit the braces // ?{a, b} = must have one or none of these tags (one, optional) // 1{a, b} = must have one and only one of these tags (one, required) // +{a, b} = must have one or more of these tags // !{a, b} = must not have any of these tags // A= This is a set being labelled with the single letter on the left-hand side // of “=”. It can then be substituted on the right-hand side for a set, using // the same syntax, so +A would be one or more tags from that named set. // // -> If ALL the tags are present on the left, then the rule holds on the right. If // no arrow is present in a rule, it holds for ALL tagged models. // // Comments, as you may have guessed, start with “//” G={male, female, unisex} collectible -> 1{poster, magazine, comic, encyclopedia, trading-card} ?{western, scifi, 50s} ?{pre, post} ?{electronics, pottery, wood, cloth, mechanical} ?{christian, occult} ?{br} {br} -> ?{broken} ?{heavy} ?{toy, sport} ?{container} pre -> ?{luxury, secured} post -> *{useful, valuable} condition -> 1{poor, broken, fair, good, excellent, mint} clothing -> +G {armor, clothing} -> 1{feet, legs, torso, body, eyes, head} armor -> !{clothing} accessory -> 1{wrist, finger, neck, waist} accessory -> !{clothing} {clothing, body, female} -> 1{jumpsuit, outfit, dress} {clothing, body, male} -> 1{jumpsuit, outfit} {clothing, legs, female} -> 1{pants, skirt} {clothing, legs, male} -> 1{pants} jewelry -> 1{accessory} chest -> 1{coat, shirt} currency -> 1{cash, metals, casino} publication -> 1{book, magazine, newspaper, manuscript} memorabilia -> 1{collectible} cons -> 1{cons:35mm, cons:battery, cons:polaroid} cons -> 1{battery, drug, food, film, ammo} drug -> ?{alcohol} food -> 1{fresh,prepared,preserved} {food, preserved} -> ?{candy, packaged, ration} {food, fresh} -> 1{meat, dairy, vegetable, fruit, baked} candy -> 1{food} A={ammo:22, ammo:30, ammo:308, ammo:357, ammo:38, ammo:44, ammo:45, ammo:fusion, ammo:laser, ammo:pulse, ammo:shell} F={pistol, rifle, shotgun, smg} M={knife, club, axe, spear, sword, mace} weapon -> 1{M, F, explosive} melee -> 1M firearm -> 1F firearm -> 1{br} // firearms can be broken shotgun -> 1{ammo:shell} firearm -> 1A ammo -> 1A ammo -> ?{bundled} melee -> 1{weapon} firearm -> 1{weapon} explosive -> 1{weapon} lockpicking -> 1{criminal} safecracking -> 1{criminal}