You can list items in `.fishop`
Buy with `.fibuy`
See your inventory with `.finv`
Equip with `.fiuse`
Items are defined in items: array at the bottom of fish.yml
Items will show up in your .fili and bonuses will show up when you do .fish
The migrations for quests were meant to be sorted in 4c2b42ab7f
but it kind of decided to be very stupid.
25 lines
682 B
SQL
25 lines
682 B
SQL
START TRANSACTION;
|
|
ALTER TABLE userfishstats DROP COLUMN bait;
|
|
|
|
ALTER TABLE userfishstats DROP COLUMN pole;
|
|
|
|
ALTER TABLE userquest ALTER COLUMN progress TYPE integer;
|
|
|
|
CREATE TABLE userfishitem (
|
|
|
|
id integer GENERATED BY DEFAULT AS IDENTITY,
|
|
userid numeric(20,0) NOT NULL,
|
|
itemtype integer NOT NULL,
|
|
itemid integer NOT NULL,
|
|
isequipped boolean NOT NULL,
|
|
usesleft integer,
|
|
expiresat timestamp without time zone,
|
|
CONSTRAINT pk_userfishitem PRIMARY KEY (id)
|
|
);
|
|
|
|
CREATE INDEX ix_userfishitem_userid ON userfishitem (userid);
|
|
|
|
INSERT INTO "__EFMigrationsHistory" (migrationid, productversion)
|
|
VALUES ('20250327001838_fishitems', '9.0.1');
|
|
|
|
COMMIT;
|