d49c138257
Merge branch 'master' into 'ladders'
ynerant2021-01-06 17:29:26 +01:00
0c2b10b031
Use ternary conditions to gain coverage
Yohann D'ANELLO
2021-01-06 17:21:17 +01:00
887a190f11
Less complexity on the handle key function
Yohann D'ANELLO
2021-01-06 17:00:43 +01:00
41548504de
Test ladders
Yohann D'ANELLO
2021-01-06 16:09:53 +01:00
a48e6325fe
Add log message when the player switches floor
Yohann D'ANELLO
2021-01-06 15:55:44 +01:00
15ef6af998
Put the texturepack in alphabetical order again.
Eichhornchen
2021-01-06 15:49:54 +01:00
4cd4bc9005
Display the current floor in the StatsDisplay
Yohann D'ANELLO
2021-01-06 15:17:02 +01:00
d06a405120
Use a key to use ladders
Yohann D'ANELLO
2021-01-06 14:55:16 +01:00
2dc178d67c
Merge branch 'equipment' into doc
Eichhornchen
2021-01-06 14:49:09 +01:00
77d501c389
Merge branch 'master' into doc
Eichhornchen
2021-01-06 14:39:23 +01:00
10788a24ec
Pin Sphinx version
Yohann D'ANELLO
2021-01-06 13:53:42 +01:00
4ad7d6c37c
Added rings that can augment the player's statistics. Also added a new statistic : xp_buff, which helps the player level up sooner.
eichhornchen
2021-01-06 11:44:52 +01:00
a9aeb9ca3a
Repaired the use functionnality of the main item, as well as the load system for Armor items.
eichhornchen
2021-01-06 11:13:17 +01:00
f3fe04e13a
The player now has two hands and a slot for a helmet and a chestplate. Accordingly, new classes of items have been added.
eichhornchen
2021-01-06 10:46:36 +01:00
601062237d
Repairing part of the tests.
eichhornchen
2021-01-05 19:50:25 +01:00
424044a5e4
Added an overpowered eagle boss. To avoid seing it too often, entities now have a certain chance of being spawned. Closes#19.
eichhornchen
2021-01-05 19:40:11 +01:00
3ace133037
Critical hit chance is now displayed along with the other stats.
eichhornchen
2021-01-05 19:23:25 +01:00
4bddf076ea
Fighting now takes into account the constitution. Closes#51
eichhornchen
2021-01-05 19:18:25 +01:00
9b8dfb00da
Added critical hit system: the player and rabbit entities have a chance of making x4 damage! Closes#52
eichhornchen
2021-01-05 19:07:15 +01:00
2f95ce3d5f
Merge branch 'familiars' into 'master'
eichhornchen
2021-01-05 11:03:39 +01:00
de3aba396d
Re-changed familiar's inheritance from friendlyEntity to FightingEntity (just a leftover from debug)
eichhornchen
2020-12-31 14:51:17 +01:00
fe769c4488
We can equip items
Yohann D'ANELLO
2020-12-18 17:30:03 +01:00
dadafc84eb
Added a familiar class that follows the player around and hits monsters when it sees one. Added a trumpet, an instance of familiar. Closes#46.
eichhornchen
2020-12-18 17:29:59 +01:00
5fbb918132
Add walls even to map borders
Charles Peyrat
2020-12-18 17:05:50 +01:00
86628fdea6
Working visibility and displaying it, still need to hide things that aren't visible
Nicolas Margulies
2020-12-18 17:04:45 +01:00
330d78702a
Merge branch 'capitalism' into 'master'
ynerant
2020-12-18 16:44:55 +01:00
77f52b6276
Screen is refreshed only when pads are all refreshed, fixes#50
Yohann D'ANELLO
2020-12-18 16:40:52 +01:00
5ae49e71ff
Display the amount of hazels in the store menu, closes#49
Yohann D'ANELLO
2020-12-18 15:36:25 +01:00
8ecbf13eae
Being able to calculate paths is now a property of fighting entities.
eichhornchen
2020-12-18 15:31:23 +01:00
46ce7c33bf
Merchant menu is updated through its update function, and does not access globally to the Game instance
Yohann D'ANELLO
2020-12-18 15:15:47 +01:00
85870494a0
More generic display update
Yohann D'ANELLO
2020-12-18 15:07:09 +01:00
b8d32b29c8
Test selling items
Yohann D'ANELLO
2020-12-18 02:17:06 +01:00
c55a7451e7
Display more precisely where we are in the store menu
Yohann D'ANELLO
2020-12-18 01:50:11 +01:00
9a556ba669
We can now buy items to merchants, closes#47
Yohann D'ANELLO
2020-12-18 01:05:50 +01:00
a5890a341d
Display inventory menu next to the merchant menu
Yohann D'ANELLO
2020-12-17 23:46:20 +01:00
62ce2b5c71
Merge remote-tracking branch 'origin/master' into lighting
Nicolas Margulies
2020-12-17 21:24:32 +01:00
646e0063be
Fixed grammar, unified the docstring's format and added documentation to some classes that did not have any. Closes#32.
eichhornchen
2020-12-13 21:29:25 +01:00
3f62fbaa2b
Merge branch 'erase-pads' into 'master'
ynerant
2020-12-12 21:20:45 +01:00
599f75b676
Erase pad before resizing, fixes#45
Yohann D'ANELLO
2020-12-12 21:19:55 +01:00
cd5b7086f2
Merge branch 'wait' into 'master'
ynerant
2020-12-12 18:16:31 +01:00
18ca083ba2
Added a connexity test
Charles Peyrat
2020-12-11 18:59:07 +01:00
81de0d8eb0
Merge branch 'mouse_interaction' into 'master'
ynerant
2020-12-11 18:47:20 +01:00
a4a10e340d
Test clicking on the merchant pad
Yohann D'ANELLO
2020-12-11 18:44:05 +01:00
53d090a9c8
Merge branch 'master' into 'mouse_interaction'
ynerant
2020-12-11 18:38:13 +01:00
f453b82a58
Test clicking on the screen
Yohann D'ANELLO
2020-12-11 18:33:47 +01:00
7667079aa3
Changed Map.large_neighbourhood so we can also request only immediate neighbours, ignoring diagonals
Charles Peyrat
2020-12-11 18:33:16 +01:00
9d3e8a9822
Merge branch 'village' into 'master'
eichhornchen
2020-12-11 18:23:10 +01:00
d9912cacad
Listen to mouse clicks in the main loop
Yohann D'ANELLO
2020-12-11 18:17:59 +01:00