Yohann D'ANELLO
4cd4bc9005
Display the current floor in the StatsDisplay
2021-01-06 15:17:02 +01:00
Eichhornchen
2dc178d67c
Merge branch 'equipment' into doc
2021-01-06 14:49:09 +01:00
eichhornchen
4ad7d6c37c
Added rings that can augment the player's statistics. Also added a new statistic : xp_buff, which helps the player level up sooner.
2021-01-06 11:44:52 +01:00
eichhornchen
a9aeb9ca3a
Repaired the use functionnality of the main item, as well as the load system for Armor items.
2021-01-06 11:13:17 +01:00
eichhornchen
424044a5e4
Added an overpowered eagle boss. To avoid seing it too often, entities now have a certain chance of being spawned. Closes #19 .
2021-01-05 19:40:11 +01:00
eichhornchen
4bddf076ea
Fighting now takes into account the constitution. Closes #51
2021-01-05 19:18:25 +01:00
eichhornchen
9b8dfb00da
Added critical hit system: the player and rabbit entities have a chance of making x4 damage! Closes #52
2021-01-05 19:08:29 +01:00
Yohann D'ANELLO
6b7f8867fa
Tile colors can be overwritten
2020-12-26 14:02:35 +01:00
Yohann D'ANELLO
9a56b4d7e9
Navigate through different maps while climbing ladders
2020-12-26 01:08:43 +01:00
Yohann D'ANELLO
8636d571b5
Add ladders in the map
2020-12-26 00:52:47 +01:00
Nicolas Margulies
762bed888a
Working visibility (at least relatively good), but a few lines untested
2020-12-18 21:21:00 +01:00
Yohann D'ANELLO
b876dab156
Register Trumpet as savable entity
2020-12-18 18:13:39 +01:00
Yohann D'ANELLO
0394c5d15d
Linting
2020-12-18 17:46:38 +01:00
Yohann D'ANELLO
fe769c4488
We can equip items
2020-12-18 17:30:03 +01:00
eichhornchen
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 .
2020-12-18 17:29:59 +01:00
Nicolas Margulies
86628fdea6
Working visibility and displaying it, still need to hide things that aren't visible
2020-12-18 17:04:45 +01:00
eichhornchen
8ecbf13eae
Being able to calculate paths is now a property of fighting entities.
2020-12-18 15:31:23 +01:00
Nicolas Margulies
62ce2b5c71
Merge remote-tracking branch 'origin/master' into lighting
2020-12-17 21:24:32 +01:00
eichhornchen
646e0063be
Fixed grammar, unified the docstring's format and added documentation to some classes that did not have any. Closes #32 .
2020-12-13 21:29:25 +01:00
Yohann D'ANELLO
288a6ac2c9
Some translations were missing concerning sunflowers, fixes #44
2020-12-12 17:39:12 +01:00
Yohann D'ANELLO
fb926f8c84
Always use predefined map in game unit tests
2020-12-11 19:27:57 +01:00
Nicolas Margulies
1cf5e7bd8b
First implementation of visibility, not tested, nor used for now
2020-12-11 19:23:21 +01:00
Yohann D'ANELLO
e91deccb6f
Merge branch 'master' into map_generation
...
# Conflicts:
# squirrelbattle/interfaces.py
2020-12-11 19:02:45 +01:00
Charles Peyrat
7667079aa3
Changed Map.large_neighbourhood so we can also request only immediate neighbours, ignoring diagonals
2020-12-11 18:33:16 +01:00
Charles Peyrat
d3c14a48ee
Add docstring for Map.large_neighbourhood
2020-12-11 17:46:49 +01:00
Yohann D'ANELLO
7179346e2b
Add a InventoryHolder superclass for player and merchants
2020-12-11 17:20:50 +01:00
Charles Peyrat
3a8549cfcc
Added a method to interfaces.Map to get the neighbours of a given tile
2020-12-11 17:09:27 +01:00
Yohann D'ANELLO
4dbd4f7912
Don't buy hearts, use them instant instead. Fixes #38
2020-12-09 16:57:46 +01:00
Yohann D'ANELLO
19b82ff71a
Test merchants
2020-12-09 15:32:37 +01:00
Yohann D'ANELLO
2bb99a707e
Merchant inventory is well-saved
2020-12-07 21:48:56 +01:00
Yohann D'ANELLO
57fab7db51
Linting
2020-12-07 21:22:06 +01:00
eichhornchen
8540a8f354
Work in progress on printing a store menu. Its buggy though
2020-12-07 20:54:53 +01:00
eichhornchen
d39427f978
Merge branch 'master' into village
2020-12-06 11:50:11 +01:00
eichhornchen
866af98fe4
Merging master into village, conflicts were solved
2020-12-06 11:43:48 +01:00
eichhornchen
ba68e68584
Added a Gamemode for selling interfaces, as well as the base of the player/merchant interaction, related to issue #18
2020-12-05 21:43:13 +01:00
Yohann D'ANELLO
ea672272f5
Add body snatch potion
2020-12-05 14:20:58 +01:00
eichhornchen
3886bee1ba
Friendly entities are now a subclass of fighting entities, and can die. The T key is now used to talk to friendly entities
2020-12-04 00:27:25 +01:00
Yohann D'ANELLO
29142cd91c
Merge remote-tracking branch 'origin/master' into village
...
# Conflicts:
# squirrelbattle/display/texturepack.py
# squirrelbattle/interfaces.py
2020-12-01 17:07:40 +01:00
Yohann D'ANELLO
70ae60b9a4
Translate entities
2020-11-27 22:33:58 +01:00
Yohann D'ANELLO
8f85093eb8
One string was missing
2020-11-27 22:21:52 +01:00
Yohann D'ANELLO
4287b4f045
Add possibility to change the language
2020-11-27 20:53:24 +01:00
Yohann D'ANELLO
2498fd2a61
Translate strings
2020-11-27 20:42:19 +01:00
eichhornchen
fbd9f0045b
Friendly entities can now talk to the player, a sunflower entity was added to test this new feature. Related to issue #22
2020-11-27 18:38:48 +01:00
eichhornchen
76bbee7e6d
Added a merchant class and a talk_to method to interact with friendly entities
2020-11-27 16:56:22 +01:00
Yohann D'ANELLO
0d3e33d960
Declare the license, we use GNU GPL
2020-11-27 16:33:17 +01:00
Yohann D'ANELLO
fb3f3ee5e8
Beaver is a tiger
2020-11-20 18:02:08 +01:00
eichhornchen
6b72f4b284
Added a friendly entity class.
2020-11-20 17:42:56 +01:00
Nicolas Margulies
1e5bb26f57
Test logs
2020-11-19 20:02:44 +01:00
Nicolas Margulies
6e71146aa2
First pass on the logs
...
The newly-added logs manage a list of messages. Entities do register a
message to it when hitting each other. Display is created, but not yet
added to the layout actually displayed.
2020-11-19 12:03:05 +01:00
Yohann D'ANELLO
d0ee9ec562
Rename dungeonbattle to squirrelbattle
2020-11-19 02:18:16 +01:00