Commit Graph

73 Commits

Author SHA1 Message Date
David Gay f197a2c846
Bump version number 2023-10-16 23:42:41 -04:00
David Gay 899494df2c
Add missing Npc persona to ignored test 2023-10-16 23:42:20 -04:00
David Gay 040f4a56bf
Update changelog for 0.0.2 2023-10-16 23:35:18 -04:00
David Gay e7927fd2c7 Add changelog 2023-10-16 20:45:41 -04:00
David Gay 635c330c62 Add installation and usage to readme, plus other updates 2023-10-16 20:32:35 -04:00
David Gay f0133044c2 Limit human strength to 18 2023-10-16 16:53:12 -04:00
David Gay a86e904527 Add NPC personality and disposition to persona generation 2023-10-16 16:51:39 -04:00
David Gay f2c4ff6921 NPC personalities 2023-10-16 16:30:23 -04:00
David Gay 84837a689e Make random tables a static collection 2023-10-16 16:26:29 -04:00
David Gay 5ecd591a49 CSV output for random henchmen 2023-10-16 15:48:29 -04:00
David Gay 152cc94968 Add level limit data 2023-10-16 15:02:43 -04:00
David Gay ffe54d30c1 Use signed ints for ability scores 2023-10-16 14:09:14 -04:00
David Gay 686726b414 Racial ability score min/max (male only) 2023-10-16 13:41:08 -04:00
David Gay e7f14e4fca Fix data files: can't use + sign with integers 2023-10-15 02:49:29 -04:00
David Gay 327af68c9d Add some simple debug logging 2023-10-15 02:47:38 -04:00
David Gay 0c1fc5be9d Add racial modifiers when generating henchmen 2023-10-15 01:49:19 -04:00
David Gay 1591a38ea4 Hook up races 2023-10-15 01:36:37 -04:00
David Gay 47ee997edc Data: Fix orc PC charisma mod 2023-10-15 00:50:30 -04:00
David Gay 7f9a561200 Fix data: magic_user -> magic-user 2023-10-15 00:47:35 -04:00
David Gay 5d1efac842 Races struct and data 2023-10-15 00:42:39 -04:00
David Gay 22465e9005 Draft some code of breaking up the NPC ability score generation 2023-10-15 00:33:38 -04:00
David Gay aa7a297ddf Remove colons from henchman ability score output 2023-10-15 00:23:42 -04:00
David Gay 3449e96574 Add NPC-specific class ability score modifiers when generating henchmen 2023-10-14 21:09:30 -04:00
David Gay 214f4a53e7 cargo fmt 2023-10-14 21:09:01 -04:00
David Gay 761877d316 Refactor NPC ability score modifiers to use a HashMap 2023-10-14 21:08:54 -04:00
David Gay d3997133f8 Tests and TODOs 2023-10-14 20:28:03 -04:00
David Gay b71ea4d941 First parts of generating henchman ability scores 2023-10-14 20:01:53 -04:00
David Gay 6b54a012bb Fix AbilityScoreCollection: should not contain vectors 2023-10-14 19:51:36 -04:00
David Gay b924ea0b80 Remove unused imports 2023-10-14 19:20:00 -04:00
David Gay 6d619c28cc Hack class lookups by downcasing for now 2023-10-14 19:18:44 -04:00
David Gay 83f0d8e32c Add TODO to investigate usefulness of load_class() 2023-10-14 19:00:33 -04:00
David Gay c220702eef Improve class data loading 2023-10-14 18:44:13 -04:00
David Gay f585f5db85 Partial implementation of Class struct 2023-10-14 17:56:07 -04:00
David Gay 916a0e84ce Whitespace 2023-10-14 16:01:51 -04:00
David Gay c6dce99457 Start adding npcs module 2023-10-07 02:06:40 -04:00
David Gay 410ce9ff54 Clean up rules lib mod list 2023-10-07 01:50:00 -04:00
David Gay 31974e9bc0 Add AbilityScoreCollection 2023-10-07 01:49:49 -04:00
David Gay c0b927e3ee Fix roll_table doc example 2023-10-07 01:02:31 -04:00
David Gay 6baac3a221 Get Classes working in random henchman generation 2023-10-07 00:25:20 -04:00
David Gay 0b63b04784 Add classes and ability scores 2023-10-06 23:35:30 -04:00
David Gay 4ce7a6f13b Change binary to consume our library 2023-10-06 22:27:02 -04:00
David Gay 97deb52933 Make dice and random_tables public library mods 2023-10-06 21:04:15 -04:00
David Gay f5ff673c69 Add class determination to henchman generation 2023-10-06 01:34:08 -04:00
David Gay dd4f6493b7 Add hl_non_magic table 2023-10-04 00:31:57 -04:00
David Gay 0d236f4acc Improve readme 2023-10-02 04:06:28 -04:00
David Gay 75ed579cf1 cargo fmt 2023-10-02 03:45:42 -04:00
David Gay 9454f88c23 Use commas instead of newlines when building a string from a nested table 2023-10-02 03:44:02 -04:00
David Gay 958dbb4919 Magic maps and random magic command 2023-10-02 03:34:44 -04:00
David Gay 7040967f59 Expand on random tables 2023-10-02 03:26:41 -04:00
David Gay 212abf5f02 Couple comments 2023-10-02 03:07:44 -04:00