7fb743eb72Switching up start_x and start_y so the player spawn is correctly set
Charles Peyrat
2020-12-11 17:02:22 +01:00
bbe37eab97Listen for clicks, detect which display was clicked
Yohann D'ANELLO
2020-12-11 16:56:22 +01:00
b9b776b7adPlayer now pays for what he buys and buying a heart does not put it in the inventory. Solves #38 and #36
eichhornchen
2020-12-11 16:49:17 +01:00
7ba49277a9Added a symbol for hazels in the ascii texturepack
eichhornchen
2020-12-11 15:52:36 +01:00
8751120fe1Merge master into map_generation, there were some commit behind
Yohann D'ANELLO
2020-12-11 02:17:00 +01:00
7db2dd2b46Merge branch 'master' into map_generation
Yohann D'ANELLO
2020-12-11 02:14:47 +01:00
29798c135eSyntax change for the failsafe
Charles Peyrat
2020-12-11 01:24:20 +01:00
45120d0c2bIntegrating procedural generation into the game
Charles Peyrat
2020-12-11 01:13:00 +01:00
302017222dFixing the sampling of the starting position that caused out of bounds error
Charles Peyrat
2020-12-11 01:11:07 +01:00
021731b740Switching up the tiles used during generation to the correct ones
Charles Peyrat
2020-12-11 01:09:49 +01:00
d40a61554eChanging the way the tile matrix is declared so that every column is represented by a different list
Charles Peyrat
2020-12-11 01:04:30 +01:00
53cb6a89aeMerge branch '35-better-pathfinding' into 'master'
nicomarg
2020-12-10 22:31:40 +01:00
01cc77e146Fixed a bug when trying to pathfind when player is surrounded by inaccessible tiles
Nicolas Margulies
2020-12-10 22:28:12 +01:00
cc6033e8e4New pathfinding that avoids most of the mobs getting stuck, closes#35
Nicolas Margulies
2020-12-10 22:21:09 +01:00
6d4c0b2ca3Testing the merchant must handle two cases: the bought item is a heart or not
Yohann D'ANELLO
2020-12-09 17:04:29 +01:00
4dbd4f7912Don't buy hearts, use them instant instead. Fixes#38
Yohann D'ANELLO
2020-12-09 16:57:46 +01:00
2d5a2e4c87Display hazels in the StatsDisplay
Yohann D'ANELLO
2020-12-09 16:54:53 +01:00
7cfe55f42cAdded a failsafe for cases where the walker population randomly dies out
Charles Peyrat
2020-12-07 00:24:31 +01:00
2a1be4233bFixed syntax error in Walker.split
Charles Peyrat
2020-12-07 00:18:32 +01:00
32e6eab943Added import enum.auto to mapgeneration.randomwalk
Charles Peyrat
2020-12-06 23:55:57 +01:00
d39427f978Merge branch 'master' into village
eichhornchen
2020-12-06 11:50:11 +01:00
866af98fe4Merging master into village, conflicts were solved
eichhornchen
2020-12-06 11:43:48 +01:00
38842cee68There was a import error
eichhornchen
2020-12-05 21:50:02 +01:00
ba68e68584Added a Gamemode for selling interfaces, as well as the base of the player/merchant interaction, related to issue #18
eichhornchen
2020-12-05 21:43:13 +01:00
6fa11d9dfeMerge branch 'body-snatch' into 'master'
ynerant
2020-12-05 14:52:47 +01:00
f8ca5b2cc5Recalculate the path finder when the player exchanges its body
Yohann D'ANELLO
2020-12-05 14:48:43 +01:00
7ad2cad77cAdd a message in the logs when a body-snap potion is used
Yohann D'ANELLO
2020-12-05 14:47:54 +01:00
f39113fd0bTest body snatch potion, fixes#34
Yohann D'ANELLO
2020-12-05 14:39:33 +01:00
c38f8cdc53Save the inventory of the player when saving the game, fixes#33
Yohann D'ANELLO
2020-12-05 14:35:59 +01:00
f887a1f0aaEntity name is a parameter since it can be changed through body snatch potion
Yohann D'ANELLO
2020-12-05 14:25:22 +01:00
ea672272f5Add body snatch potion
Yohann D'ANELLO
2020-12-05 14:20:58 +01:00
3985751bd1Merge branch 'stack-items' into 'master'
ynerant
2020-12-05 13:45:53 +01:00
ca2ae15117Stack items in the inventory, closes#29
Yohann D'ANELLO
2020-12-05 13:42:33 +01:00
4d60e95165Merge branch 'inventory' into 'master'
ynerant
2020-12-05 13:28:05 +01:00
fb8b2aff01The player must be alive to interact with the inventory
Yohann D'ANELLO
2020-12-05 13:20:52 +01:00
bc40f8d0e6Some translations were missing in the settings menu
Yohann D'ANELLO
2020-12-05 13:19:04 +01:00
27fd73c96bAdd log messages when a bomb is exploding
Yohann D'ANELLO
2020-12-04 17:10:23 +01:00
056ca5cca8Ensure that the inventory is not empty before interacting with an item
Yohann D'ANELLO
2020-12-04 17:01:00 +01:00
c7545e53f7Items can be dropped/equipped/used
Yohann D'ANELLO
2020-12-04 16:53:27 +01:00
0da7486750Navigate through inventory menu
Yohann D'ANELLO
2020-12-04 16:31:15 +01:00
a68b3a6d08Display full inventory
Yohann D'ANELLO
2020-12-04 16:28:37 +01:00
428bbae736Added base files for map generation and main loop for random walk generation
Charles Peyrat
2020-12-04 16:02:48 +01:00
fbfcd5dae0Inventory title
Yohann D'ANELLO
2020-12-04 16:02:03 +01:00
cdd527a7fdClose the inventory using the same key
Yohann D'ANELLO
2020-12-04 14:57:53 +01:00
067570fd1aThe inventory is a popup
Yohann D'ANELLO
2020-12-04 14:51:41 +01:00
39af791012We can open an empty inventory!
Yohann D'ANELLO
2020-12-04 14:41:59 +01:00
3886bee1baFriendly entities are now a subclass of fighting entities, and can die. The T key is now used to talk to friendly entities
eichhornchen
2020-12-04 00:27:25 +01:00
268e2d0dd2Merge branch 'fix-lag' into 'master'
ynerant
2020-12-02 16:07:13 +01:00
da0d7e7055Fix lag when monsters try to move in a random direction
Yohann D'ANELLO
2020-12-02 16:04:43 +01:00
1ba6b1fbecPrototype of web streaming
webserver
Yohann D'ANELLO
2020-12-02 16:01:32 +01:00
654bab7c1dTranslate sun flower messages
Yohann D'ANELLO
2020-12-01 17:12:22 +01:00
29142cd91cMerge remote-tracking branch 'origin/master' into village
Yohann D'ANELLO
2020-12-01 17:07:40 +01:00
e5886bbe44Merge branch 'translations' into 'master'
ynerant
2020-11-28 16:23:12 +01:00
9f0a29302dAdd german translation
Yohann D'ANELLO
2020-11-28 16:22:06 +01:00
6b09d488b6Documentation on translation
Yohann D'ANELLO
2020-11-28 16:00:17 +01:00
aade89de7bTests and the CI are compiling messages
Yohann D'ANELLO
2020-11-28 14:10:31 +01:00
f78c73a703Tests and the CI are compiling messages
Yohann D'ANELLO
2020-11-28 14:02:23 +01:00
a34dae2ad0Compile messages on setup
Yohann D'ANELLO
2020-11-28 13:49:28 +01:00