Simple SVG thumbnails at /shop/room-night.svg and /shop/room-forest.svg.
44 lines
1.4 KiB
SQL
44 lines
1.4 KiB
SQL
-- 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', 'room-space', 'room-neon');
|
|
|
|
delete from public.shop_items
|
|
where id in (
|
|
'hat_blue',
|
|
'glasses_round',
|
|
'room_sunset',
|
|
'room-space',
|
|
'room-neon',
|
|
'pants-1',
|
|
'pants-2',
|
|
'shoes-1',
|
|
'shoes-2',
|
|
'torso-1',
|
|
'torso-2',
|
|
'eyes-1',
|
|
'eyes-2',
|
|
'head-1',
|
|
'head-2'
|
|
);
|
|
|
|
insert into public.shop_items (id, name, type, price, image_path)
|
|
values
|
|
('pants-3', 'Pants 3', 'pants', 30, '/character/pants/pants-3.png'),
|
|
('shoes-3', 'Shoes 3', 'shoes', 30, '/character/shoes/shoes-3.png'),
|
|
('torso-3', 'Torso 3', 'torso', 35, '/character/torso/torso-3.png'),
|
|
('torso-4', 'Torso 4', 'torso', 40, '/character/torso/torso-4.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'),
|
|
('room-night', 'Starlit Night', 'room', 40, '/shop/room-night.svg'),
|
|
('room-forest', 'Mystic Forest', 'room', 50, '/shop/room-forest.svg')
|
|
on conflict (id) do update
|
|
set
|
|
name = excluded.name,
|
|
type = excluded.type,
|
|
price = excluded.price,
|
|
image_path = excluded.image_path;
|