Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
347d02b
rename affects -> effects, add new parameters
dinchak Jul 23, 2025
4f155f4
battlefield updates
dinchak Sep 4, 2025
28c0458
gamepad updates, change default font
dinchak Sep 14, 2025
138c5a3
remove log
dinchak Sep 14, 2025
265e85a
add my turn indicator
dinchak Sep 14, 2025
67783c7
added export/import of localStorage settings
dinchak Sep 14, 2025
3fedd9f
added hotkeys to move forward/backward in combat
dinchak Sep 14, 2025
2ce8e30
add my turn indicator to modals
dinchak Sep 15, 2025
2ba3c79
settings overlay fixes
dinchak Sep 15, 2025
11e1cd9
score fixes
dinchak Sep 15, 2025
49ffe83
new hud chat log
dinchak Sep 15, 2025
3e450df
misc updates
dinchak Sep 15, 2025
339c4fc
disable tabs for now
dinchak Sep 15, 2025
22063ed
fix render failure
dinchak Sep 17, 2025
b3c1f5e
fix item stack refresh issue
dinchak Sep 17, 2025
fa431f7
added additional helpfile display attributes
dinchak Sep 30, 2025
6cfb88e
pop ui mode on modal close
dinchak Oct 1, 2025
ddb1e43
fit wider labels
dinchak Oct 1, 2025
23a89f7
battlefield layout updates
dinchak Dec 6, 2025
c711fb0
layout updates
dinchak Dec 8, 2025
a1be157
layout updates
dinchak Dec 9, 2025
d41cf7a
inventory screen updates
dinchak Dec 10, 2025
35643df
add basic trade modal
dinchak Dec 10, 2025
9e442a2
rename game modal -> player modal
dinchak Dec 10, 2025
6268877
refactored game modals
dinchak Dec 10, 2025
e65ad48
add trade modal
dinchak Dec 10, 2025
e7f951c
added popover for charmie targetting
dinchak Dec 10, 2025
942696c
trade improvements
dinchak Dec 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions WEBSOCKET_PROTOCOL.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ The server responds with the requested information, which the client can then ca
The protocol includes several other messages to enhance the client experience:

* **`room.describe`**: Provides a detailed description of the current room, including an ASCII map.
* **`entity.attack`** and **`affect.cure`**: Trigger client-side animations for combat and healing.
* **`entity.attack`** and **`effect.cure`**: Trigger client-side animations for combat and healing.
* **`channel.msg`**: Handles all chat and communication channels.
* **`map.settings`**: Configures the client's map display.
* **`help.topics`**, **`help.entry`**, **`help.search`**: Provide access to the in-game help system.
Expand Down Expand Up @@ -506,7 +506,7 @@ Notifies the client that an entity has been attacked, for animation purposes.

---

### `affect.cure`
### `effect.cure`

Notifies the client that an entity has been healed, for animation purposes.

Expand All @@ -517,7 +517,7 @@ Notifies the client that an entity has been healed, for animation purposes.
*Example:*
```json
{
"cmd": "affect.cure",
"cmd": "effect.cure",
"msg": {
"target": 12345,
"amount": 10
Expand Down
3 changes: 2 additions & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
}
},
"lib": ["es2015", "dom"]
},
"exclude": ["node_modules", "dist"]
}
51 changes: 42 additions & 9 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,6 @@ onBeforeUnmount(() => {
--n-label-font-size: 16px;
}

// .selected {
// box-shadow: 0 0 5px #f8ff25;
// color: #f8ff25;
// }

body, html {
margin: 0;
padding: 0;
Expand All @@ -128,12 +123,9 @@ body, html {
line-height: 1.1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
height: 100%;
}

//*, * > * {
//overflow: auto;
//}

::-webkit-scrollbar {
background: transparent;
}
Expand Down Expand Up @@ -171,4 +163,45 @@ body, html {
b {
font-weight: normal !important;
}

.modal-close-button {
margin: 0;
padding: 5px;
background-color: #18181b;
border: 1px solid #18181b;
border-radius: 4px;
position: absolute;
top: 10px;
right: 10px;
font-size: 32px;
z-index: 2;
line-height: 16px;
cursor: pointer;
transition: all 0.3s;
&:hover {
border: 1px solid rgb(119 69 69);
background-color: rgb(45 27 27 / 90%);
}
}

.modal-keyboard-toggle {
margin: 0 5px 0 0;
padding: 5px;
background-color: #18181b;
border: 1px solid #18181b;
border-radius: 4px;
position: absolute;
top: 10px;
right: 44px;
font-size: 32px;
z-index: 2;
line-height: 16px;
cursor: pointer;
transition: all 0.3s;
&:hover, &.active {
border: 1px solid rgb(69 119 69);
background-color: rgb(27 45 27 / 90%);
}
}

</style>
2 changes: 1 addition & 1 deletion src/assets/icons/backpack.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/icons/battle-gear.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/icons/character.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/icons/exit-door.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/icons/skills.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading