Commit Graph

622 Commits

Author SHA1 Message Date
bff3f1c309 fix more advance_time calls 2024-11-10 00:32:17 -05:00
dba3a95282 fix more advance_time calls 2024-11-10 00:32:17 -05:00
413fc9e0f5 fix more advance_time cases 2024-11-10 00:32:17 -05:00
5cc4898bf7 fix advancee_time behavior of more actions 2024-11-10 00:32:17 -05:00
f5ed2bf48d fix replay behavior of item stats window buttons 2024-11-10 00:32:17 -05:00
ab2911aa57 fix an advance_time case 2024-11-10 00:32:17 -05:00
d3d9b1bbfe after advance_time with wrong args, print last action type 2024-11-10 00:32:17 -05:00
beefc428c7 missing advance_time print last command 2024-11-10 00:32:17 -05:00
eaa6384fee fix some advance_time cases 2024-11-10 00:32:17 -05:00
d5aa280e4a record and validate advance_time() calls with --advance-time 2024-11-10 00:32:17 -05:00
8ff38f2147 record and replay cancelling item target mode 2024-11-10 00:32:17 -05:00
4d908b42ea remove duplicate include 2024-11-10 00:32:17 -05:00
d76787932d Make check_for_intel() call automatically
This will avoid future repeats of the situation where it took way too long
to figure out why a unit test wasn't working
2024-09-21 20:57:22 -04:00
8a522bdcbf Fix #444: win-scons include Visual Studio debug symbols 2024-09-17 20:48:32 -04:00
d60d759e1a Delete an obsolete TODO
This random number was probably to randomly choose between the "darn" and "dang" sounds, which no longer exist in Blades of Exile.
2024-09-10 22:18:59 -04:00
9fed4fc799 Recharge: Melt chance and shop customization
For the recharge spell, there is now a chance for the item to melt if you try to charge it too much.
For recharge shops, it is now possible to configure how much they are willing to charge an item,
as well as how many charges are given per payment.
2024-09-10 22:18:59 -04:00
4df389db6d Use proper type and name 2024-09-10 22:18:59 -04:00
da21e7d775 Add new recharge spell (only an item spell currently) 2024-09-10 22:18:59 -04:00
54d769a4d1 Experimental: Identify spell now brings up shop-like identify interface 2024-09-10 22:18:59 -04:00
a4231005f6 Add a new "rechargeable" flag to items
A way to set this flag is not yet exposed in the scenario editor.
The flag is intended only for non-stackable items, but this currently isn't enforced.
Items now have a maximum number of charges, which is equal to their default number set in the item record.
Enchanted items with charges are now rechargeable.
2024-09-10 22:18:59 -04:00
753dbbcc59 Add a new dialogue mode to recharge items
This is currently useless, as exhausting an item's charges currently deletes it, but it is part of a work in progress
2024-09-10 22:18:59 -04:00
6965b822dc Gather all enchantment info into a single place
This also resolves several TODO notes about duplicate code and makes cPresetItem::ability an eEnchant
2024-09-10 22:18:59 -04:00
71a9d11cd0 Gather all alchemy info into a single place 2024-09-10 22:18:59 -04:00
65229026d8 Close #433: record and replay continue/escape during step-through. 2024-09-08 18:40:06 -04:00
0da680fed5 framerate-limit special node step-through 2024-09-08 18:40:06 -04:00
0d5b169606 record and replay monster menu item 2024-09-05 09:25:21 -04:00
977724dc31 record and replay parrying 2024-09-05 09:25:21 -04:00
8caef91caf record and replay toggle active 2024-09-05 09:25:21 -04:00
6b7b42951d handle all wait types in one action 2024-09-05 09:25:21 -04:00
4e37a0c796 record and replay closing the map 2024-09-05 09:25:21 -04:00
e7a56f08a2 use text for bool representations 2024-09-03 00:08:26 -04:00
4e66edc7e3 prefer lexical_cast over stringstream in record/replay 2024-09-03 00:08:26 -04:00
9573b47e70 only record user-triggered set_stat_window 2024-09-03 00:08:26 -04:00
846789df73 record and replay buying and info of shop items 2024-09-03 00:08:26 -04:00
a483aff1ac record and replay switching between item/quest/spec items 2024-09-03 00:08:26 -04:00
1cc3ca8c5c record and replay showing item info 2024-09-03 00:08:26 -04:00
69dc482997 record and replay using special items 2024-09-03 00:08:26 -04:00
4c67d7220e record and replay scrollbar movement from user input 2024-09-03 00:08:26 -04:00
4f50667e78 throw error for unknown replay actions 2024-09-03 00:08:26 -04:00
3b028e1717 fix #418 2024-09-03 00:08:26 -04:00
342ec3a17e record and replay end_shop_mode 2024-09-03 00:08:26 -04:00
7a5c865779 record and replay dialog choices 2024-09-03 00:08:26 -04:00
7791380a9a refactor dialogue word button on/off colors to constants 2024-09-03 00:08:26 -04:00
9b862d848f record dialogue and shop help buttons 2024-09-03 00:08:26 -04:00
d8e5a415a2 record and replay talk to npc 2024-09-03 00:08:26 -04:00
17070a5db6 record and replay begin talk mode 2024-09-03 00:08:26 -04:00
556e5786bb record and replay interrupting a special node 2024-09-03 00:08:26 -04:00
aa047401f7 record and replay trading pc places 2024-09-03 00:08:26 -04:00
e12838a04e record and replay showing PC info 2024-09-03 00:08:26 -04:00
9eba2ab4e5 record and replay clicking a PC's HP or SP
printing the SP value was broken, so I also fixed it
2024-09-03 00:08:26 -04:00