Skip to content

Commit

Permalink
Merge pull request #18 from 11BelowStudio/develop
Browse files Browse the repository at this point in the history
1.3.4 - the tooltips are readable again!
  • Loading branch information
11BelowStudio authored Sep 16, 2024
2 parents 2c9cd49 + fbae0e0 commit ae76124
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 37 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## 1.3.4

*16/9/2024*

* Found workaround for issue which turned the helpful tooltips on the stamina/magic bars into unreadable black rectangles.

## 1.3.3

*24/7/2024*
Expand All @@ -10,7 +16,7 @@

*27/6/2024*

* MUDKIP now recognizes the stamina update thing from `fightbrief` (hopefully)
* MUDKIP now recognizes the stamina update messages from `fightbrief` (hopefully)

## 1.3.1

Expand Down
44 changes: 18 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,17 @@

## Multi User Dungeon Kool Informational Package (for playing MUD2 with Mudlet)

**MUDKIP** is a plucky little [Mudlet](https://www.mudlet.org) package
I bodged together, which adds some Kool Informational Panels
that might be of use whilst one is playing *MUD2*.
**MUDKIP** is a plucky little [Mudlet](https://www.mudlet.org) package I bodged together, which adds some Kool Informational Panels that might be of use whilst one is playing *MUD2*.

It adds some gauges at the bottom to show your current stamina
and magic (assuming you have any magic) at a glance, and adds
a status bar across the top with the raw stats on them (along
with afflictions, the dreamword, current points, etc.)
It adds some gauges at the bottom to show your current stamina and magic (assuming you have any magic) at a glance, and adds a status bar across the top with the raw stats on them (along with afflictions, the dreamword, current points, etc.)

This is a plugin for Mudlet, *not a standalone MUD client!*
Please ensure you have Mudlet installed and are using Mudlet.

And, again, this is *only intended to be used for MUD2!*
This is very unlikely to work on any other MUD, so don't try it.

also yes, we have auto-updates now (very nice)
also yes, we have auto-updates (very nice)

![a screenshot of MUDKIP being used in mudlet](/docs/readme.png)

Expand All @@ -39,17 +34,17 @@ Open your MUD2 profile in mudlet and enter this command:

## Usage

The main thing *MUDKIP* does is add the status indicators
mentioned above. It shows your stats at a glance, current
status afflictions, current weather, time until the next reset,
and the most recent dreamword you received.
The main thing *MUDKIP* does is add the status indicators mentioned above, showing:

The only automation it currently offers is sending a `fes`
every so often whilst in-game (to obtain the current status of
your persona), and an alias for saying the dreamword (if known)
* Your stats (stamina, magic, strength, dexterity, points)
* Current status afflictions (if any)
* The weather
* Time until the next reset
* Most recent dreamword (if known)

**MUDKIP** unfortunately does *not* offer those bells and
whistles like speedwalking, fancy maps, re-fighting, etc.
The only automation it currently offers is sending a `fes` every so often whilst in-game (to update the stats), and an alias for saying the dreamword (if known)

**MUDKIP** unfortunately does *not* offer those bells and whistles like speedwalking, fancy maps, re-fighting, etc.

### Aliases

Expand Down Expand Up @@ -79,19 +74,16 @@ whistles like speedwalking, fancy maps, re-fighting, etc.

## Final thoughts, how to contribute, thanks, things like that

*MUDKIP* is still a bit scuffed, and some of the implementation
details could use a bit of cleaning up. If you do want to help
out, feel free to open a PR on the `develop` branch.
*MUDKIP* is still a bit scuffed, and some of the implementation details could use a bit of cleaning up.
If you do want to help out, feel free to open a PR on the `develop` branch.

This package was built using [muddler](https://github.com/demonnic/muddler),
in case you were wondering.
Consider taking a look at the documentation of muddler
if you wish to contribute to the development of *MUDKIP*.
This package was built using [muddler](https://github.com/demonnic/muddler), in case you were wondering.
Consider taking a look at the documentation of muddler if you wish to contribute to the development of *MUDKIP*.

## CHANGELOG

* **1.3.3** (`24/7/2024`)
* Made MUDKIP look a bit less horrible on Mudlet 4.18.3
* **1.3.4** (`16/9/2024`)
* Found workaround for issue which turned the helpful tooltips on the stamina/magic bars into unusable black rectangles.

See [CHANGELOG.md](https://github.com/11BelowStudio/MUDKIP_Mud2/blob/main/CHANGELOG.md) for the full changelog.

Expand Down
2 changes: 1 addition & 1 deletion mfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"package": "MUDKIP_Mud2",
"version": "1.3.3",
"version": "1.3.4",
"author": "11BelowStudio",
"title": "Multi User Dungeon Kool Informational Package (for playing MUD2 with Mudlet)",
"outputFile": true,
Expand Down
18 changes: 9 additions & 9 deletions src/scripts/MUDKIP_Mud2/UI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ M2UI.topPanel =
}
)

local tooltipStyles = Geyser.StyleSheet:new([[
QToolTip {
background-color: LightYellow;
color: black;
}
]])

M2UI.stambar =
Geyser.Gauge:new(
{
Expand All @@ -39,10 +46,7 @@ M2UI.stambar =
},
M2UI.bottomPanel
)

--M2UI.stambar.text:setStyleSheet([[
-- qproperty-font: ]].. getFontSize() .. [[pt ]]..getFont()..[[;
--]])
M2UI.stambar.text:setStyleSheet(tooltipStyles:getCSS());

M2UI.magicbar =
Geyser.Gauge:new(
Expand All @@ -54,11 +58,7 @@ M2UI.magicbar =
},
M2UI.bottomPanel
)


--M2UI.magicbar.text:setStyleSheet([[
-- qproperty-font: ]].. getFontSize() .. [[pt ]]..getFont()..[[;
--]])
M2UI.magicbar.text:setStyleSheet(tooltipStyles:getCSS());


M2UI.stambar:setColor("#00cc00")
Expand Down

0 comments on commit ae76124

Please sign in to comment.