avatar to main merge

I have completed the character creation screen on the avatar branch and am preparing to merge it into main.
This commit is contained in:
pricewowen
2026-05-23 23:24:36 -06:00
parent 8957ecb81d
commit 61f98866e8
39 changed files with 2361 additions and 436 deletions

View File

@@ -1,8 +1,32 @@
insert into shop_items (id, name, type, price, image_path)
-- Character layer styles sold in the shop (id = variant id, type = layer id).
delete from public.user_items
where item_id in ('hat_blue', 'glasses_round', 'room_sunset');
delete from public.shop_items
where id in ('hat_blue', 'glasses_round', 'room_sunset');
insert into public.shop_items (id, name, type, price, image_path)
values
('hat_blue', 'Blue Hat', 'accessory', 20, '/items/hat-blue.png'),
('glasses_round', 'Round Glasses', 'accessory', 30, '/items/glasses-round.png'),
('room_sunset', 'Sunset Room', 'background', 40, '/backgrounds/room-sunset.png')
('pants-1', 'Pants 1', 'pants', 20, '/character/pants/pants-1.png'),
('pants-2', 'Pants 2', 'pants', 25, '/character/pants/pants-2.png'),
('pants-3', 'Pants 3', 'pants', 30, '/character/pants/pants-3.png'),
('shoes-1', 'Shoes 1', 'shoes', 20, '/character/shoes/shoes-1.png'),
('shoes-2', 'Shoes 2', 'shoes', 25, '/character/shoes/shoes-2.png'),
('shoes-3', 'Shoes 3', 'shoes', 30, '/character/shoes/shoes-3.png'),
('torso-1', 'Torso 1', 'torso', 25, '/character/torso/torso-1.png'),
('torso-2', 'Torso 2', 'torso', 30, '/character/torso/torso-2.png'),
('torso-3', 'Torso 3', 'torso', 35, '/character/torso/torso-3.png'),
('torso-4', 'Torso 4', 'torso', 40, '/character/torso/torso-4.png'),
('eyes-1', 'Eyes 1', 'eyes', 15, '/character/eyes/eyes-1.png'),
('eyes-2', 'Eyes 2', 'eyes', 20, '/character/eyes/eyes-2.png'),
('head-1', 'Head 1', 'head', 30, '/character/head/head-1.png'),
('head-2', 'Head 2', 'head', 35, '/character/head/head-2.png'),
('head-3', 'Head 3', 'head', 40, '/character/head/head-3.png'),
('head-4', 'Head 4', 'head', 45, '/character/head/head-4.png'),
('head-5', 'Head 5', 'head', 50, '/character/head/head-5.png'),
('head-6', 'Head 6', 'head', 55, '/character/head/head-6.png'),
('head-7', 'Head 7', 'head', 60, '/character/head/head-7.png')
on conflict (id) do update
set
name = excluded.name,