From f6ccf8d807888f39ac070d07b4d0ee13dff29fe6 Mon Sep 17 00:00:00 2001 From: AINDUSTRIES Date: Thu, 3 Sep 2026 02:35:36 +0200 Subject: [PATCH] Changed default rarity and display for base weapons --- skins.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/skins.py b/skins.py index d85f847..3892e93 100644 --- a/skins.py +++ b/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