Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion _datafiles/html/public/_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@
</div>
</nav>

<div id="content-container" class="content-container">
<div id="content-container" class="content-container" data-path="{{ .PATH }}">
{{end}}
10 changes: 7 additions & 3 deletions _datafiles/html/public/static/css/gomud.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,15 @@ nav {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
justify-content: flex-start;
align-items: center;
padding: 20px;
}

.content-container[data-path="/"] {
justify-content: center
}

.overlay, .underlay {
width: 90%;
max-width: 1200px;
Expand All @@ -143,8 +147,6 @@ nav {
}

.overlay {
height: auto;
max-height: 800px;
overflow-y: auto;
}

Expand All @@ -153,6 +155,8 @@ nav {
max-height: 200px;
}



.play-button img {
width: 100%;
max-width: 300px;
Expand Down
162 changes: 1 addition & 161 deletions _datafiles/world/default/ansi-aliases.yaml
Original file line number Diff line number Diff line change
@@ -1,166 +1,6 @@
# Look up the numeric codes if it's easier here: https://en.wikipedia.org/wiki/ANSI_escape_code
# Also useful: https://www.hackitu.de/termcolor256/
# Under 3-bit and 4-bit colors (Until 256 color support added)
color8:
table-title: 2
userid: black
username: 93 # Bright yellow
username-aggro: red
username-downed: 90 # Bright black
mobname: 14
mobname-aggro: 91 # Bright red
mobname-downed: red
petname: 3
spellname: magenta
spell-text: magenta
nameprefix-pet: 92
role: 90
role-admin: 91
role-mod: 31
role-user: 32
role-guest: 90
command: 6
command-admin: 9
skill: 93
container: 94 # Bright blue
exit: 92 # Bright green
secret-exit: 90 # Bright black
zone: red
map-shop: 2
map-bank: 92
map-you: 96
map-secret: 90 # Bright black
map-temple: 90 # Bright black BG
mapbg-temple: 97 # Bright black
map-water: 94 # Bright blue
map-shore: 94 # Bright blue
map-forest: 2
map-trainer: 94 # Bright blue
map-player: 93 # Bright yellow
map-friend: 93 # Bright green
map-mob: 91 # Bright red
map-npc: 36 # Bright cyan
map-here: 95 # Bright magenta
room-description: white-bold
room-description-dark: white
map-default: 90
map-room: 97 # Bright white
map-target: 91 # Bright red
map-city: 97 # Bright white
map-snow: 97 # Bright white
map-house: 3
map-mountains: 3
map-wall: cyan # Bright black
map-legend: 90
trail-dead: 90
trail-weak: 37
trail-good: 32
trail-warm: 31
trail-hot: 91
item: 2
itemname: 2
itemdesc: 2
item-stashed: 8
questname: 6
xp: 93 # Bright yellow
experience: 93 # Bright yellow
gold: 93 # Bright yellow
stat: 35 # Magenta
statmod: 36 # Bright cyan
damage: 91 # Bright red
healing: 2
shop-qty: 97 # Bright white
shop-name: 2
shop-price: 93
shop-trade: 2
shop-pet-type: 3
shop-enchantment: 4
uses-left: 90 # Bright black
holy: 96 # Bright cyan
good: 36 # cyan
virtuous: 94 # bright blue
lawful: 37 # green
neutral: 90 # bright black
misguided: 33 # yellow
corrupt: 35 # magenta
evil: 91 # bright red
unholy: 31 # red
item-nothing: 90 # Bright black
item-flags: 90 # Bright black
item-enchanted: 6
item-cursed: red
item-bonus-damage: 6-bold
name-flags-wrapper: black-bold
name-flags: black-bold
room-title: magenta
room-zone: red
health-good: 92 # Bright green
health-ok: 32 # green
health-mid: 33 # yellow
health-bad: 31 # red
health-danger: 91 # bright red
health-100: 92
health-90: 92
health-80: 32
health-70: 32
health-60: 33
health-50: 33
health-40: 33
health-30: 31
health-20: 31
health-10: 91
health-0: 91
health-dead: 8
mana-100: 95
mana-90: 35
mana-80: 35
mana-70: 35
mana-60: 35
mana-50: 35
mana-40: 35
mana-30: 35
mana-20: 35
mana-10: 95
mana-0: 8
suggested-text: 90
night: blue
day: 96
day-dusk: 3
enters-message: 8
leaves-message: 8
spell-neutral: white
spell-helpful: 2
spell-harmful: red
questflag: 3
highlight: 90
saytext: 13 # bright magenta
saytext-mob: 13 # bright magenta
alert-5: 9
alert-4: 1
alert-3: 1
alert-2: 1
alert-1: 1
noun: 7
mail-border: 12
mail-title: 14
mail-title-read: 6
mail-date: 13
mail-date-read: 5
mail-message: 11
mail-message-read: 3
mail-note: 10
mail-note-read: 2
mutator: 10
buff: 4
buff-text: 14
script-text: 10
broadcast-prefix: 8
broadcast-body: 13
mob-corpse: 8
user-corpse: 8
tip-text: 5
character-joined: 5
color256:
colors:
table-title: 2
userid: black
username: 11 # Bright yellow
Expand Down
162 changes: 1 addition & 161 deletions _datafiles/world/empty/ansi-aliases.yaml
Original file line number Diff line number Diff line change
@@ -1,166 +1,6 @@
# Look up the numeric codes if it's easier here: https://en.wikipedia.org/wiki/ANSI_escape_code
# Also useful: https://www.hackitu.de/termcolor256/
# Under 3-bit and 4-bit colors (Until 256 color support added)
color8:
table-title: 2
userid: black
username: 93 # Bright yellow
username-aggro: red
username-downed: 90 # Bright black
mobname: 14
mobname-aggro: 91 # Bright red
mobname-downed: red
petname: 3
spellname: magenta
spell-text: magenta
nameprefix-pet: 92
role: 90
role-admin: 91
role-mod: 31
role-user: 32
role-guest: 90
command: 6
command-admin: 9
skill: 93
container: 94 # Bright blue
exit: 92 # Bright green
secret-exit: 90 # Bright black
zone: red
map-shop: 2
map-bank: 92
map-you: 96
map-secret: 90 # Bright black
map-temple: 90 # Bright black BG
mapbg-temple: 97 # Bright black
map-water: 94 # Bright blue
map-shore: 94 # Bright blue
map-forest: 2
map-trainer: 94 # Bright blue
map-player: 93 # Bright yellow
map-friend: 93 # Bright green
map-mob: 91 # Bright red
map-npc: 36 # Bright cyan
map-here: 95 # Bright magenta
room-description: white-bold
room-description-dark: white
map-default: 90
map-room: 97 # Bright white
map-target: 91 # Bright red
map-city: 97 # Bright white
map-snow: 97 # Bright white
map-house: 3
map-mountains: 3
map-wall: cyan # Bright black
map-legend: 90
trail-dead: 90
trail-weak: 37
trail-good: 32
trail-warm: 31
trail-hot: 91
item: 2
itemname: 2
itemdesc: 2
item-stashed: 8
questname: 6
xp: 93 # Bright yellow
experience: 93 # Bright yellow
gold: 93 # Bright yellow
stat: 35 # Magenta
statmod: 36 # Bright cyan
damage: 91 # Bright red
healing: 2
shop-qty: 97 # Bright white
shop-name: 2
shop-price: 93
shop-trade: 2
shop-pet-type: 3
shop-enchantment: 4
uses-left: 90 # Bright black
holy: 96 # Bright cyan
good: 36 # cyan
virtuous: 94 # bright blue
lawful: 37 # green
neutral: 90 # bright black
misguided: 33 # yellow
corrupt: 35 # magenta
evil: 91 # bright red
unholy: 31 # red
item-nothing: 90 # Bright black
item-flags: 90 # Bright black
item-enchanted: 6
item-cursed: red
item-bonus-damage: 6-bold
name-flags-wrapper: black-bold
name-flags: black-bold
room-title: magenta
room-zone: red
health-good: 92 # Bright green
health-ok: 32 # green
health-mid: 33 # yellow
health-bad: 31 # red
health-danger: 91 # bright red
health-100: 92
health-90: 92
health-80: 32
health-70: 32
health-60: 33
health-50: 33
health-40: 33
health-30: 31
health-20: 31
health-10: 91
health-0: 91
health-dead: 8
mana-100: 95
mana-90: 35
mana-80: 35
mana-70: 35
mana-60: 35
mana-50: 35
mana-40: 35
mana-30: 35
mana-20: 35
mana-10: 95
mana-0: 8
suggested-text: 90
night: blue
day: 96
day-dusk: 3
enters-message: 8
leaves-message: 8
spell-neutral: white
spell-helpful: 2
spell-harmful: red
questflag: 3
highlight: 90
saytext: 13 # bright magenta
saytext-mob: 13 # bright magenta
alert-5: 9
alert-4: 1
alert-3: 1
alert-2: 1
alert-1: 1
noun: 7
mail-border: 12
mail-title: 14
mail-title-read: 6
mail-date: 13
mail-date-read: 5
mail-message: 11
mail-message-read: 3
mail-note: 10
mail-note-read: 2
mutator: 10
buff: 4
buff-text: 14
script-text: 10
broadcast-prefix: 8
broadcast-body: 13
mob-corpse: 8
user-corpse: 8
tip-text: 5
character-joined: 5
color256:
colors:
table-title: 2
userid: black
username: 11 # Bright yellow
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
)

require (
github.com/GoMudEngine/ansitags v1.0.0
github.com/GoMudEngine/ansitags v1.1.0
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dlclark/regexp2 v1.7.0 // indirect
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
Expand All @@ -29,3 +29,4 @@ require (
github.com/pkg/errors v0.9.1
gopkg.in/yaml.v2 v2.4.0
)

Loading
Loading