risinglegends.git
15 months agoyou can now flee a battle
xangelo [Fri, 2 Jun 2023 18:44:04 +0000 (14:44 -0400)]
you can now flee a battle

15 months agowhen armour is destroyed, it gets removed from your inventory
xangelo [Fri, 2 Jun 2023 18:39:54 +0000 (14:39 -0400)]
when armour is destroyed, it gets removed from your inventory

15 months agoqol: force max size for equipped item grid
xangelo [Fri, 2 Jun 2023 17:28:49 +0000 (13:28 -0400)]
qol: force max size for equipped item grid

This is still a WIP.. I think once we add actual icons we can skip the
naming/background-image thing

15 months agomerge stats + inventory tab into Profile
xangelo [Fri, 2 Jun 2023 16:45:49 +0000 (12:45 -0400)]
merge stats + inventory tab into Profile

There's now a single page you can go to that will display all of your
equipment/stats. Eventually it will also display all your skills. The
idea is that this is your "Character Sheet" and you only really need to
mess with this.

You can filter between your armour/weapons/spells

15 months agoqol: display date/time of messages in chat
xangelo [Fri, 2 Jun 2023 10:12:22 +0000 (06:12 -0400)]
qol: display date/time of messages in chat

15 months agotest functionality for server broadcast
xangelo [Fri, 2 Jun 2023 10:03:13 +0000 (06:03 -0400)]
test functionality for server broadcast

15 months agosupport weapons/spells and dual-weilding
xangelo [Fri, 2 Jun 2023 09:31:25 +0000 (05:31 -0400)]
support weapons/spells and dual-weilding

This allows you to equipment items to either hand and adds support for
two-handed weapons. This also includes the initial pass at spells which
can be equipped to either hand.

15 months agoqol: display the "fight again" option after you win
xangelo [Fri, 2 Jun 2023 08:20:13 +0000 (04:20 -0400)]
qol: display the "fight again" option after you win

If you defeat the monster, it displays the "fight again" option which
lets you pick a new monster to fight, defaulting to the one you just
fought.

15 months agochat qol fixes
xangelo [Fri, 2 Jun 2023 08:01:26 +0000 (04:01 -0400)]
chat qol fixes

- 30 message chat history as long as the server doesn't reboot
- can't send empty messages
- no more autocomplete in the chat textbox

15 months agowip: support spells
xangelo [Thu, 1 Jun 2023 20:35:36 +0000 (16:35 -0400)]
wip: support spells

Right now its using the existing item system and just added a new type.

Will definitely need to make it so that you can't equip spells AND
swords at the same time.

15 months agoqol: cache last selected monster in memory
xangelo [Thu, 1 Jun 2023 20:06:44 +0000 (16:06 -0400)]
qol: cache last selected monster in memory

Once you fight a monster, the next time you visit a screen that has that
monster on it, it will auto select it.

15 months agofix: cache main map screen
xangelo [Thu, 1 Jun 2023 19:59:33 +0000 (15:59 -0400)]
fix: cache main map screen

Since there's only a single map, and really they won't be changing on
the fly anyway.. once its loaded it's cached until you reload the page.
The "Cache" is just an in-memory `Map` object that contains the final
HTML to build the map page.

15 months agobug: clear map before attempting reload
xangelo [Thu, 1 Jun 2023 19:55:31 +0000 (15:55 -0400)]
bug: clear map before attempting reload

15 months agocities are now in the database
xangelo [Thu, 1 Jun 2023 19:42:55 +0000 (15:42 -0400)]
cities are now in the database

That means that all "locations" are defined and tied to a city in the
database.

All players are placed in `windcross` which is the default city

Windcross has two "EXPLORE" locations: alley_1, forest_1

All monsters are divided into those two areas

Eventually we'll have to allow players to move across cities

15 months agohealing costs 10g if you have it, otherwise free
xangelo [Thu, 1 Jun 2023 18:48:04 +0000 (14:48 -0400)]
healing costs 10g if you have it, otherwise free

15 months agolist online players
xangelo [Thu, 1 Jun 2023 17:57:55 +0000 (13:57 -0400)]
list online players

15 months agoimport item csv as seed
xangelo [Thu, 1 Jun 2023 17:43:40 +0000 (13:43 -0400)]
import item csv as seed

15 months agofinalized build
xangelo [Thu, 1 Jun 2023 17:15:09 +0000 (13:15 -0400)]
finalized build

15 months agoswap to using env file
xangelo [Thu, 1 Jun 2023 16:35:53 +0000 (12:35 -0400)]
swap to using env file

15 months agofix green for progress bars
xangelo [Thu, 1 Jun 2023 16:25:41 +0000 (12:25 -0400)]
fix green for progress bars

15 months agocsv parsing for monsters
xangelo [Thu, 1 Jun 2023 16:09:29 +0000 (12:09 -0400)]
csv parsing for monsters

15 months agoprep for dev release
xangelo [Thu, 1 Jun 2023 15:08:15 +0000 (11:08 -0400)]
prep for dev release

15 months agodisplay individual progress bars for AP
xangelo [Thu, 1 Jun 2023 14:41:00 +0000 (10:41 -0400)]
display individual progress bars for AP

Includes some additional progress-bar fixes across the boards because
they were getting hard to read.

15 months agocompleted functionality for Armour Points (AP)
xangelo [Wed, 31 May 2023 20:26:33 +0000 (16:26 -0400)]
completed functionality for Armour Points (AP)

Each piece of armour has its own pool of "Armour Points". When you take
damage, the monster targets specific pieces (HEAD | ARMS | CHEST | LEGS)
that correspond with those pieces of armour. The armour takes damage,
depleting its AP.

When that particular piece is out of AP then your HP gets damaged
directly.

As well, monsters have their own AP setting that corresponds ot the same
pieces. When you attack, you get to target the specific item you want.

15 months agosupport for weapons
xangelo [Wed, 31 May 2023 14:45:40 +0000 (10:45 -0400)]
support for weapons

15 months agosupport for equipping items
xangelo [Tue, 30 May 2023 19:16:39 +0000 (15:16 -0400)]
support for equipping items

15 months agoinit
xangelo [Tue, 30 May 2023 17:52:04 +0000 (13:52 -0400)]
init