Commit Graph

517 Commits

Author SHA1 Message Date
Yohann D'ANELLO 0da7486750 Navigate through inventory menu 2020-12-04 16:31:15 +01:00
Yohann D'ANELLO a68b3a6d08 Display full inventory 2020-12-04 16:28:37 +01:00
Yohann D'ANELLO fbfcd5dae0 Inventory title 2020-12-04 16:02:03 +01:00
Yohann D'ANELLO cdd527a7fd Close the inventory using the same key 2020-12-04 14:57:53 +01:00
Yohann D'ANELLO 067570fd1a The inventory is a popup 2020-12-04 14:51:41 +01:00
Yohann D'ANELLO 39af791012 We can open an empty inventory! 2020-12-04 14:45:18 +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
ynerant 268e2d0dd2 Merge branch 'fix-lag' into 'master'
Fix lag when monsters try to move in a random direction

Closes #25

See merge request ynerant/squirrel-battle!32
2020-12-02 16:07:13 +01:00
Yohann D'ANELLO da0d7e7055 Fix lag when monsters try to move in a random direction 2020-12-02 16:04:43 +01:00
Yohann D'ANELLO 654bab7c1d Translate sun flower messages 2020-12-01 17:12:22 +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
ynerant e5886bbe44 Merge branch 'translations' into 'master'
Translations

Closes #14

See merge request ynerant/squirrel-battle!31
2020-11-28 16:23:12 +01:00
Yohann D'ANELLO 9f0a29302d Add german translation 2020-11-28 16:22:06 +01:00
Yohann D'ANELLO 6b09d488b6 Documentation on translation 2020-11-28 16:00:17 +01:00
Yohann D'ANELLO aade89de7b Tests and the CI are compiling messages 2020-11-28 14:10:31 +01:00
Yohann D'ANELLO f78c73a703 Tests and the CI are compiling messages 2020-11-28 14:02:23 +01:00
Yohann D'ANELLO a34dae2ad0 Compile messages on setup 2020-11-28 13:49:28 +01:00
Yohann D'ANELLO 5ce62c15f7 Include locale files in Python setup script 2020-11-28 03:23:04 +01:00
Yohann D'ANELLO 7c0cf3e029 CLI to manage messages 2020-11-28 03:21:20 +01:00
Yohann D'ANELLO 8aad15f07b Move translation files in the module 2020-11-28 03:04:28 +01:00
Yohann D'ANELLO ffc8b90441 Create functions that call xgettext or msgfmt 2020-11-28 02:54:04 +01:00
Yohann D'ANELLO 7d02604407 Clean the translation module 2020-11-28 02:00:09 +01:00
Yohann D'ANELLO 138b2c6d54 Logs are capitalized 2020-11-28 01:25:35 +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 d2d74c97a4 Settings menu was not translated 2020-11-27 22:19:41 +01:00
Yohann D'ANELLO f07324662a Cover the language change 2020-11-27 21:56:25 +01:00
Yohann D'ANELLO 31b7ece449 Main menu width must be updated when the language got changed 2020-11-27 21:51:54 +01:00
Yohann D'ANELLO c151e0f656 Menu items are translated 2020-11-27 21:44:17 +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
Yohann D'ANELLO e3be4b4f3f First setup for translation 2020-11-27 20:32:40 +01:00
Yohann D'ANELLO cb18b3881f Fix Debian package version 2020-11-27 19:42:45 +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
ynerant 7bd74af1ad Merge branch 'v3.14.1' into 'master'
Release v3.14.1

See merge request ynerant/squirrel-battle!30
2020-11-27 18:27:55 +01:00
Yohann D'ANELLO d85ee1758f Release v3.14.1 2020-11-27 18:27:28 +01:00
ynerant ec4ac13231 Merge branch 'error-messages' into 'master'
Error messages

Closes #24 et #17

See merge request ynerant/squirrel-battle!29
2020-11-27 18:22:10 +01:00
Yohann D'ANELLO b0e352444b Test loading wrong saves 2020-11-27 18:16:54 +01:00
Yohann D'ANELLO 5faebfe556 Test message display 2020-11-27 18:12:27 +01:00
Yohann D'ANELLO 25ba94b9ac Game displays an error message when a save file could not be loaded. 2020-11-27 18:09:08 +01:00
eichhornchen d987e60006 Added some documentation for menudisplay 2020-11-27 18:00:54 +01:00
eichhornchen ca86572677 Added a weapon class and a sword subclass 2020-11-27 17:56:01 +01:00
eichhornchen 3f301423fb Added a menudisplay class for menus with a value such as the menu of the merchants 2020-11-27 17:54:55 +01:00
Yohann D'ANELLO be9c726fa0 Display message in bold format 2020-11-27 17:54:31 +01:00
eichhornchen bad56ba442 Added the merchants in the texturepack 2020-11-27 17:54:03 +01:00
Yohann D'ANELLO fb8d8f033b Popup border color is red 2020-11-27 17:52:26 +01:00
Yohann D'ANELLO b7f61d9485 Close popup if there is a message 2020-11-27 17:35:51 +01:00
Yohann D'ANELLO 5cdb12e8a8 Display a message on a popup 2020-11-27 17:32:26 +01:00
eichhornchen 4fdf08cab9 Added a currency : the hazel (for hazelnuts). The player and the merchants possess a certain quantity of hazel 2020-11-27 17:11:59 +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