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 (
|
CREATE TABLE IF NOT EXISTS skins (
|
||||||
id uuid DEFAULT gen_random_uuid() PRIMARY KEY,
|
id uuid DEFAULT gen_random_uuid() PRIMARY KEY,
|
||||||
weapon uuid REFERENCES weapons(id),
|
weapon uuid REFERENCES weapons(id) NOT NULL,
|
||||||
rarity uuid REFERENCES rarity(id),
|
rarity uuid REFERENCES rarity(id) NOT NULL,
|
||||||
paint_index integer NOT NULL,
|
paint_index integer NOT NULL,
|
||||||
display varchar NOT NULL,
|
display varchar NOT NULL,
|
||||||
min_float float NOT NULL,
|
min_float float NOT NULL,
|
||||||
@@ -47,9 +47,9 @@ for raw in content:
|
|||||||
for weapon in weapons.keys():
|
for weapon in weapons.keys():
|
||||||
skin = {
|
skin = {
|
||||||
"weapon": weapons[weapon],
|
"weapon": weapons[weapon],
|
||||||
"rarity": rarity["Covert"],
|
"rarity": rarity["Stock"],
|
||||||
"paint_index": 0,
|
"paint_index": 0,
|
||||||
"display": "Default",
|
"display": "",
|
||||||
"min_float": 0,
|
"min_float": 0,
|
||||||
"max_float": 0,
|
"max_float": 0,
|
||||||
"legacy": True
|
"legacy": True
|
||||||
|
|||||||
Reference in New Issue
Block a user