Changed default rarity and display for base weapons
This commit is contained in:
8
skins.py
8
skins.py
@@ -3,8 +3,8 @@ import psycopg2, json
|
||||
"""
|
||||
CREATE TABLE IF NOT EXISTS skins (
|
||||
id uuid DEFAULT gen_random_uuid() PRIMARY KEY,
|
||||
weapon uuid REFERENCES weapons(id),
|
||||
rarity uuid REFERENCES rarity(id),
|
||||
weapon uuid REFERENCES weapons(id) NOT NULL,
|
||||
rarity uuid REFERENCES rarity(id) NOT NULL,
|
||||
paint_index integer NOT NULL,
|
||||
display varchar NOT NULL,
|
||||
min_float float NOT NULL,
|
||||
@@ -47,9 +47,9 @@ for raw in content:
|
||||
for weapon in weapons.keys():
|
||||
skin = {
|
||||
"weapon": weapons[weapon],
|
||||
"rarity": rarity["Covert"],
|
||||
"rarity": rarity["Stock"],
|
||||
"paint_index": 0,
|
||||
"display": "Default",
|
||||
"display": "",
|
||||
"min_float": 0,
|
||||
"max_float": 0,
|
||||
"legacy": True
|
||||
|
||||
Reference in New Issue
Block a user