----------Description----------

     Simple RPG game I made in 24 hours and about 300 lines of code.

----------Loot Tables and Other Information----------

Towns:

     Towns in LOAH are all the same with 4 different options: Talk, Shop, Rob, Rest.

Talking in a town brings up one of the random speech options in your "log"

Shopping in a town will bring up the "Shop" menu.  Here you can buy different items

-Hp up.  this item starts at $5 and goes up by $1 every purchase, it increases max hp by 1

-Dmg up. this item starts at $10 and goes up by $1 every purchase, it increases your max possible damage by 1.

Robbing a town has a 2 in 10 chance to yield $1, and an 8 in 10 chance to damage the player by 1.

Resting in a town will bring your health back up to max.

Town locations:

2,0 - West Lindenburg

3,0 - East Lindenburg

2,7 - Mt. Lucius Encampment

-10, 5 - Great Valley Refuge

20, 20 - Twin Peaks Bridge

19, 19 - Base of Twin Peaks

-100, - 100 - The Solar Army Castle

45, 7 - Exile Camp

-30, -30 - City of Hope


Enemies: 

Enemies will randomly spawn in the map. once defeated enemies will always drop 5 coins. You can run from enemies just by clicking a movement arrow like you normally would move.

Attacking: 

When you attack an enemy you will randomly deal damage between 0 and your max damage displayed on the top of the screen.  However the enemy will always deal their max damage displayed on the bottom of the "battle" panel. 

Possible spawns: 

(Damage, Health)

[2, 2]

[1, 2]

[5, 10]

[3, 16]

[5, 2]

[7, 1]

[3, 9]

[2, 6]

[1, 22]

[5, 6]

[7, 7]

Download

Download
Life Of A Hobbit Source Code (Html with JS) 10 kB

Install instructions

1. Download the "Life Of A Hobbit Source Code" 

2. Either:

     a. Run in any updated browser

     b. Edit source code in any text editor and have some fun

Leave a comment

Log in with itch.io to leave a comment.