Commit graph

22 commits

Author SHA1 Message Date
Patrick Marsee
ed7fe60a6d Added conditional evaluation to dialogs. Conditionals for the NPC have been tested, for the player have not. 2019-05-31 21:37:52 -04:00
Patrick Marsee
b332d579e9 Added simple scripting for yaml files. 2019-05-30 15:44:29 -04:00
Patrick Marsee
8355dccb33 added "info" and "wear" use functions, and fixed many bugs related to storing things by ID. 2019-05-28 14:23:15 -04:00
Patrick Marsee
1b41c46105 Fixed list of persistent objects not being updated when things are removed from the level. 2019-05-24 14:06:34 -04:00
e81345e793 The player can now have simple conversations with NPCs. 2019-05-20 21:13:56 -04:00
e0b88e7a45 Line of sight now works, and is required to look at things. Foundations for NPCs has also been laid. 2019-05-15 17:56:16 -04:00
267f0e9123 Things are now identified by unique integer IDs rather than by name, allowing multiple things to go by the same name. 2019-05-15 01:37:35 -04:00
Patrick Marsee
20812b362f Fixed an issue with one of the test maps. 2019-05-14 16:23:39 -04:00
2719075a33 Containers now work. Discovered issue with loading saved games. 2019-03-14 19:52:58 -04:00
eeab517213 YAML maps can now be loaded, and they work well. 2019-03-09 19:50:31 -05:00
adfb6b83f4 All map files converted to new YAML standard. 2019-03-09 19:08:46 -05:00
c5029ac0fc Added yaml constructor to Item 2019-03-08 00:38:57 -05:00
Patrick Marsee
f80b9092a9 Added an examples of test1.xml in .json and .yml for comparison. 2019-03-07 22:08:12 -05:00
Patrick Marsee
b5930957e5 Spaces in the map layout now mean "e" or "0" (context dependent). The testing maps have been changed to reflect this. 2019-02-21 10:52:30 -05:00
Patrick Marsee
3dc9b3b2bb Fixed issue with colors bleeding off the bottom of the map 2019-02-18 12:46:09 -05:00
2e16a345a8 Updated test maps to newer map file standard. 2019-02-07 13:20:52 -05:00
36676e05ef Overloading a built-in command no longer causes infinite recursion, built-in commands are not lost when overloaded, and multiple commands can be overloaded in the same way. Using an alias to overload a command is still dangerous. 2019-02-06 22:01:33 -05:00
bc70bad1c7 Added ability to make batch functions in the shell, and did some reworking of the event system in gamebase to allow it 2019-02-06 18:29:43 -05:00
Patrick Marsee
9055d8b257 Added quote support for shell.py, so spaces can be put in single arguments 2019-02-06 12:47:48 -05:00
e96bdfaead Fixed color clearing ANSI codes still appearing when colors are off 2019-02-01 09:37:46 -05:00
Patrick Marsee
ab5d01908e Added colors to shell and gameshell 2019-01-19 19:23:04 -05:00
565b6ba903 Initial commit 2019-01-18 14:56:51 -05:00