Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Dungeons-of-Kathallion/Bane-Of-Wargs
Browse files Browse the repository at this point in the history
  • Loading branch information
OcelotWalrus committed Dec 22, 2024
2 parents bffe819 + c5ff4ff commit 38aee9c
Show file tree
Hide file tree
Showing 7 changed files with 255 additions and 21 deletions.
1 change: 1 addition & 0 deletions copyright
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Comment: N.M.I. == No More Information (about)
Files: *
Copyright: Cromha <enderman.quickly@gmail.com>
bane-of-wargs contributors (see credits.txt)
R.I.P. ASCII art of mount death was made by mfj.
License: GPL-3+

Files: data/*
Expand Down
1 change: 1 addition & 0 deletions credits.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Artwork
jah (GPL-3+)
jrei (GPL-3+)
mga (GPL-3+)
mfj (GPL-3+)
nic (GPL-3+)
sk (GPL-3+)
valkyrie (GPL-3+)
Expand Down
20 changes: 20 additions & 0 deletions data/mounts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ Warg:
stats:
agility addition: .35
resistance addition: .15
health: 200
levels:
max level: 25
level stat additions:
agility addition: .025
resistance addition: .015
mph addition: .25
health addition: 12
description: "Wargs are at first Orks mounts but they can be tamed and then used to fight against Orks. Wargs are fast and agile mounts."
White Warg:
name: White Warg
Expand All @@ -52,12 +54,14 @@ White Warg:
stats:
agility addition: .27
resistance addition: .24
health: 250
levels:
max level: 55
level stat additions:
agility addition: .015
resistance addition: .01
mph addition: .2
health addition: 6
description: "Wargs are at first Orks mounts but they can be tamed and then used to fight against Ork. Wargs are fast and agile mounts."
Bear:
name: Bear
Expand All @@ -75,12 +79,14 @@ Bear:
stats:
agility addition: -0.15
resistance addition: .25
health: 300
levels:
max level: 8
level stat additions:
agility addition: .015
resistance addition: .15
mph addition: .2
health addition: 25
description: "Bears are very big and powerful animals that are very hard to train; they required lot of work."
Goat Steed:
name: Goat Steed
Expand All @@ -100,12 +106,14 @@ Goat Steed:
stats:
agility addition: .15
resistance addition: .15
health: 150
levels:
max level: 17
level stat additions:
agility addition: .015
resistance addition: .015
mph addition: .25
health addition: 8
description: >
For a long time, dwarfs have been training and breeding goats, in order to make them a cavalry mount.
These goats are a unique breed between goats and wild boars.
Expand All @@ -127,12 +135,14 @@ Dwarf Boar:
stats:
agility addition: .1
resistance addition: .2
health: 300
levels:
max level: 15
level stat additions:
agility addition: .01
resistance addition: .02
mph addition: .1
health addition: 15
description: >
Wild boars have been since a long time ago, been trained and bred by dwarfs, making them one of their
favorite cavalry mount. They often use boars for long travels in mountains.
Expand All @@ -153,12 +163,14 @@ Horse:
stats:
agility addition: .1
resistance addition: .23
health: 170
levels:
max level: 13
level stat additions:
agility addition: .015
resistance addition: .005
mph addition: .25
health addition: 10
description: "There are many different species of horses that you can find in the Kathallion Plains. This is a generic horse that you can find almost anywhere in the Kathallion Plains."
Friesian Horse:
name: Friesian Horse
Expand All @@ -176,12 +188,14 @@ Friesian Horse:
stats:
agility addition: .14
resistance addition: .31
health: 200
levels:
max level: 18
level stat additions:
agility addition: .016
resistance addition: .007
mph addition: .26
health addition: 13
description: "Friesian Horses are breeds who are known for their docile ,energetic and swift high-stepping trot. They are often used by knights."
Shire Horse:
name: Shire Horse
Expand All @@ -199,12 +213,14 @@ Shire Horse:
stats:
agility addition: .14
resistance addition: .31
health: 200
levels:
max level: 17
level stat additions:
agility addition: .015
resistance addition: .02
mph addition: .15
health addition: 13
description: "Shire Horses are tall horses that are often used by farmers to labor their lands. Despite that, they are also great horses for knights. "
Camel:
name: Camel
Expand All @@ -224,12 +240,14 @@ Camel:
stats:
agility addition: .07
resistance addition: .38
health: 200
levels:
max level: 10
level stat additions:
agility addition: .011
resistance addition: .023
mph addition: .1
health addition: 20
description: >
Camels are mounts used by the merchants of the Gerud Valleys, who often need to cross the whole Gerud Desert
and sometimes the Badlands to get to their destination.
Expand All @@ -249,12 +267,14 @@ Donkey:
stats:
agility addition: .09
resistance addition: .35
health: 100
levels:
max level: 15
level stat additions:
agility addition: .01
resistance addition: .021
mph addition: .13
health addition: 8
description: >
Donkeys are not from the Stall Island, but some explorer brought them a few centuries ago and they're now often used by
merchants that want to cross the difficult Goro Mounts or the wild Mangrove Wastes.
2 changes: 2 additions & 0 deletions schemas/mounts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ stable:
stats:
agility addition: num()
resistance addition: num()
health: int()
levels:
max level: int()
level stat additions:
agility addition: num()
resistance addition: num()
mph addition: num()
health addition: int()
description: str()
14 changes: 14 additions & 0 deletions source/battle.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# source imports
import text_handling
import item_handling
import logger_sys
from colors import *
from terminal_handling import cout, cinput
# external imports
Expand Down Expand Up @@ -805,6 +806,19 @@ def fight(
player["health"] += random.randint(0, 3)
enemies_remaining -= 1
cout(f"You killed {text_handling.a_an_check(enemy_singular)}!")
if player["current mount"] != " ":
current_mount = str(player["current mount"])
current_mount_type = str(player["mounts"][current_mount]["mount"])
player["mounts"][current_mount]["last day health automatically reduced"] = round(
player["elapsed time game days"], 2
)
to_be_removed = round(
mounts[current_mount_type]["feed"]["feed needs"] * 1.75
)
player["mounts"][current_mount]["current health"] -= to_be_removed
logger_sys.log_message(
f"INFO: removed {to_be_removed} health points from player current mount {current_mount}"
)
time.sleep(2)
still_playing = False
turn = True
Expand Down
Loading

0 comments on commit 38aee9c

Please sign in to comment.