mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-11 14:34:40 +00:00
Shortcut to Grenade (#1010)
* routine that finds, equips, and draws a grenade if the user has it; moved handling of ObjectHeldMessage from SessionActor to PlayerControl; placed a arm movement restriction condition * loading of, and adding and removing of shortcuts to/from both the database and the client hotbar * player-driven sanity tests to reload otherwise unavailable hotbar shortcuts; revamp to CreateShortcutMessage
This commit is contained in:
parent
1369da22f0
commit
630c2809cb
18 changed files with 1032 additions and 313 deletions
|
|
@ -0,0 +1,9 @@
|
|||
CREATE TABLE IF NOT EXISTS "shortcut" (
|
||||
"avatar_id" INT NOT NULL REFERENCES avatar (id),
|
||||
"slot" SMALLINT NOT NULL,
|
||||
"purpose" SMALLINT NOT NULL,
|
||||
"tile" VARCHAR(20) NOT NULL,
|
||||
"effect1" VARCHAR(3),
|
||||
"effect2" TEXT,
|
||||
UNIQUE(avatar_id, slot)
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue