Changed default rarity and display for base weapons

This commit is contained in:
2026-09-03 02:35:36 +02:00
parent 4ae964c90f
commit f6ccf8d807

View File

@@ -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