Commit Graph

431 Commits

Author SHA1 Message Date
Enno Rehling 96062f6f85 rename p2->lifepotion (WdL) 2018-02-17 10:45:56 +01:00
Enno Rehling 4f63cf12b2 firesword, magical damage 2018-02-07 19:35:24 +01:00
Enno Rehling 5a3978566a adamantium and laen weapons are magical. 2018-02-07 18:46:31 +01:00
Enno Rehling 1ee6f5444a finish XInclude removal project.
reduce number of XML files for E3.
2018-02-06 21:28:55 +01:00
Enno Rehling df255b886a verify xml loading, fix remaining files for e2. 2018-02-06 18:46:28 +01:00
Enno Rehling 434b7ae29e convert all of E2 to new config loading. 2018-02-05 19:35:15 +01:00
Enno Rehling da02c1b92e Use custom URI schemes for config files.
TODO: XML files need to be rebased, XIncludes replaced.
2018-02-05 17:46:11 +01:00
Enno Rehling 961c6e0130 delete unused XML files 2018-02-05 17:41:35 +01:00
Steffen Mecke c6a459c918 fixed typo for sound_out 2018-02-01 11:33:11 +01:00
Enno Rehling 1eaa1e6d84 BUG 2405: use mistletoe to create effect, use effect to flee from battle. 2018-01-21 18:07:49 +01:00
Enno Rehling 787abc90cf provide more missing messages in test setups. 2018-01-14 11:58:22 +01:00
Enno Rehling 4eb4c61d37 BUG 2387 some tweaks to the first draft. 2018-01-02 20:34:42 +01:00
Enno Rehling 0440fcc11c bug 2400: magicbag preservation 2017-12-31 13:14:44 +01:00
Enno Rehling 0686e6ceba bug 2399: %% typo. 2017-12-31 11:57:57 +01:00
Enno Rehling fc570d2ec7 bug 2402: xmas fix 2017-12-31 11:36:47 +01:00
Enno Rehling cff4e12fbd celan up tests, rename test_cleanup -> test_teardown. 2017-12-27 19:58:39 +01:00
Enno Rehling 28252fda7b bug 2197: fix E3 potion text. 2017-12-26 16:09:15 +01:00
Enno Rehling e9508d6f8e bug 2218: make maelstrom curseinfo not be a dupe of spelllinfo. 2017-12-25 21:59:01 +01:00
Enno Rehling cba452786f BUG 2396: insect recruit messages fixed, and tests added. 2017-12-22 11:15:17 +01:00
Enno Rehling 714e44cd71 BUG 2392: remove minskill attribute from any weapons. 2017-12-17 10:19:07 +01:00
Enno Rehling 63c066dfe3 BUG 2387: Zauberbeutel braucht kein notlost Attribut. 2017-12-16 20:29:07 +01:00
Enno Rehling 77921a94ba BUG 1986: Jedes Magiegebiet kann Vertraute rufen. 2017-12-11 19:47:57 +01:00
Enno Rehling 9f391039b5 more bsdstring removal, str_replace, unit tests. 2017-12-11 18:20:21 +01:00
Enno Rehling b337373bc9 shorten some names, too many messages with the same prefix are inefficient. 2017-10-16 20:38:52 +02:00
Enno Rehling e2f6ada862 limit equipment names to 15 byte plus nul. 2017-09-18 17:46:26 +02:00
Enno Rehling 455e03fa05 try and make coverity understand the equipment trie.
shorten names.
2017-09-17 20:42:43 +02:00
Enno Rehling 46b065dd29 BUG 2203: Schattenrichter sind gewichtslos 2017-09-04 20:08:56 +02:00
Enno Rehling aa27c91a6e BUG 2289: Beschreibung "Opfere Kraft" 2017-08-27 17:11:07 +02:00
Steffen Mecke 4fe72b5d28 BUG 2350: read studyspeed correctly and fix orcs 2017-08-01 22:09:57 +02:00
Enno Rehling 3445e376e0 allow GIVE PERSON for undead race, too 2017-07-22 12:36:01 +02:00
Enno Rehling f8de1bf29e remove default values from XML (capacity=1) 2017-07-17 16:11:00 +02:00
Enno Rehling 5f463fbc4c btype->cons->maxsize does not matter if it's not a multi-stage building (castle, watch). 2017-07-17 14:06:25 +02:00
Enno Rehling 3c2754071d this test fails when btype->maxsize isn't used as a limit for building. 2017-07-17 14:01:08 +02:00
Enno Rehling f934e4d5e3 remove unused ECF_KEEP_ITEM flag. 2017-07-17 12:31:47 +02:00
Enno Rehling 427d32c9d2 Merge pull request #708 from ennorehling/2331-undead-give
BUG 2331: allow GIVE for undead.
2017-07-15 12:44:47 +02:00
Enno Rehling 8344f41a70 allow GIVE for juju, ghast, skelord, too.
make the tests nicer.
2017-07-15 12:28:26 +02:00
Enno Rehling a0afa1f225 Merge pull request #707 from ennorehling/develop
BUG 2256: kill the FFL_NEWID flag
2017-07-09 15:50:07 +02:00
Enno Rehling 518db87015 eliminate unused message 2017-07-09 15:41:11 +02:00
Enno Rehling 2107a84b0d also allow GIVE for ghouls and skeletons. 2017-07-09 15:25:33 +02:00
Enno Rehling 60efb12d70 Zombies koennen Personen gebn 2017-07-09 13:37:46 +02:00
Enno Rehling bcf103f581 fix raindance_effect message in E2 2017-06-11 15:17:04 +02:00
Enno Rehling 7806f4991f store calendar configuration nin JSON, not XML. 2017-05-07 17:46:51 +02:00
Enno Rehling 80d696d02a remove the funcpointer from struct spell. 2017-04-30 22:15:18 +02:00
Enno Rehling 976b23be72 refactor E3 to use the same raindance/harvest spells as E2.
only indirect effects are different.
2017-04-30 21:39:08 +02:00
Enno Rehling bd9968c266 set the callback, remove lua_callspell from XML.
WIP: some spells cannot find their lua callback.
2017-04-30 21:38:44 +02:00
Enno Rehling 7a289ceb86 simplify building_taxes, eliminate dead lua callbacks. 2017-04-29 19:21:48 +02:00
Enno Rehling a313e78de5 move building names from function to construction data. 2017-04-26 21:44:24 +02:00
Enno Rehling b06e93db7a BUG 2317: wyrms in E2 didn't move 2017-04-17 16:50:15 +02:00
Enno Rehling 7c680481de iron golems can build dwarf armor in E3. 2017-04-02 15:43:14 +02:00
Enno Rehling e72155a563 WIP: reimplemented production modifiers.
The system itself seems to work, but some Lua tests are still failing.
2017-04-02 14:43:53 +02:00
Enno Rehling 4115b321b3 add tests for additional (race-related) production rules. 2017-03-30 21:00:35 +02:00
Enno Rehling e50d5a812e remove unused error message. 2017-03-30 20:41:17 +02:00
Enno Rehling f2bb51b3ab Merge branch 'master' into develop
Conflicts:
	res/adamantium.xml
	res/core/resources/laen.xml
	scripts/tests/common.lua
	scripts/tests/e2/adamantium.lua
	scripts/tests/e2/e2features.lua
	scripts/tests/e2/items.lua
	scripts/tests/items.lua
	src/bind_unit.c
	src/economy.test.c
	src/kernel/resources.c
	src/util/attrib.c
2017-03-26 21:01:21 +02:00
Enno Rehling e114aa2854 also add +1 when producing adamantium in mines 2017-03-26 20:32:09 +02:00
Enno Rehling 39a5b55753 bugfix? mine grants +1 to laen production.
not certain that this is actually a bug.
2017-03-26 17:40:13 +02:00
Enno Rehling 27d66adc74 eliminate duplicate keyword warning 2017-03-18 21:33:47 +01:00
Enno Rehling beb498d70c remove leftover code/data for artrewards. 2017-03-16 19:40:51 +01:00
Enno Rehling b3e929891d Merge branch 'master' into develop 2017-03-11 07:22:49 +01:00
Enno Rehling 8b9f0f0894 BUG 2307: report mallorn trees as Mallorn in the CR.
for legacy compatibility, we cannot call them Mallornbaeume.
2017-03-10 23:18:09 +01:00
Enno Rehling 7022ae05bd Merge branch 'master' into develop
Conflicts:
	src/kernel/item.c
	src/modules/arena.c
2017-03-06 22:20:22 +01:00
Enno Rehling 4d07782e7d Merge branch 'master' into develop
Conflicts:
	scripts/tests/e2/init.lua
	scripts/tests/e3/init.lua
	src/economy.c
	src/economy.test.c
2017-03-06 06:27:31 +01:00
Enno Rehling cdb65dfd36 Turns out: We did not have a singular form of sapling. 2017-03-05 18:57:28 +01:00
Enno Rehling aa662e65d2 eliminate R_PERSON hack. 2017-03-05 13:58:11 +01:00
Enno Rehling caa8159428 eliminate duplicate string definition 2017-03-05 09:52:17 +01:00
Enno Rehling acfb666539 remove rtype->uget funpointer, and lua callbacks.
fix a missing lua_pop that trashed the heap.
2017-03-04 20:59:43 +01:00
Enno Rehling 50bdc71c1b kill lua_canuse_item and itype->canuse 2017-03-04 17:27:13 +01:00
Enno Rehling d976ee6f67 special cases, not callbacks, for money and horses. 2017-03-03 19:17:20 +01:00
Enno Rehling 591a5b67d3 add missing files 2017-03-03 16:38:28 +01:00
Enno Rehling 6e8e163099 make item allow/deny XML easier to read, fix code 2017-03-03 09:56:27 +01:00
Enno Rehling e2e602e7ba fix off-by-one calendar, bug 2288 2017-03-01 08:28:15 +01:00
Enno Rehling 2eb88c472c have I bollocksed up the deny/allow rules? looks like it 2017-02-28 14:22:59 +01:00
Enno Rehling 9871d6f23f remove unused files 2017-02-28 04:03:36 +01:00
Enno Rehling 75ce6fd23a regaura=1 is default 2017-02-28 03:49:47 +01:00
Enno Rehling 49d8a03eca remote the item_type.use funpointer. 2017-02-27 20:41:05 +01:00
Enno Rehling 9d09574d5e enable process_orders to be done in steps.
by checking before turn_end(), we can sense temporary attributes and curses on a unit before they age away.
2017-02-27 19:35:14 +01:00
Enno Rehling 1b93c14806 Test E2 items in E2 only.
Remove eye of demon (broken item).
2017-02-27 18:50:48 +01:00
Enno Rehling 1a0992e37b remove remainders of the arena.
Auge des Drachens haben noch einige Spieler, darf nicht gelöscht werden.
move item tests to tests/items.lua
2017-02-27 18:21:41 +01:00
Enno Rehling 108501e398 tests for more items 2017-02-27 15:14:52 +01:00
Enno Rehling 60c2f1e807 test the birthday amulet 2017-02-27 14:01:41 +01:00
Enno Rehling 604b574d0f fix potion-use? need more testing 2017-02-27 11:39:55 +01:00
Enno Rehling 44c3838d79 WIP: itype->use elimination. 2017-02-27 04:22:28 +01:00
Enno Rehling b8ffc20d87 remove item_useonother callbacks (use is fine).
add a test for foolpotion.
2017-02-26 19:54:58 +01:00
Enno Rehling 6e27adb892 remove pointless <resourcelimit/> wrapper from XML. 2017-02-26 14:00:20 +01:00
Enno Rehling c3b0b9e8b3 fix missing limit-flags. 2017-02-26 13:47:22 +01:00
Enno Rehling 84c6a4b7b5 remove last vestiges of the rm_* material names 2017-02-25 21:25:55 +01:00
Enno Rehling d039ca2b2e fix display of sapling and mallornsapling.
remove mateiral from XML where it's not needed.
2017-02-25 21:07:13 +01:00
Enno Rehling 25d3aacffa remove artrewards, they predate my backups 2017-02-24 14:38:08 +01:00
Enno Rehling 2d4b61afa9 the artacademy was E2-only 2017-02-24 14:32:18 +01:00
Enno Rehling 794dae11cf remove artsculpture and genericbuilding.
deal with buildings having an unknown type.
2017-02-24 14:29:14 +01:00
Enno Rehling bd59271b71 Samen-Definition normalisiert (mit XML/Lua).
Tests repariert.
MACHE Samen gibt es in E3 nicht.
2017-02-23 22:30:19 +01:00
Enno Rehling 6ce487e485 MACHE Samen geht in E3 nicht. limited ist unnoetig 2017-02-23 22:19:48 +01:00
Enno Rehling f06d86007c seed normalization (broken) 2017-02-23 22:08:16 +01:00
Enno Rehling 5e2903258c kill old <guard/> element from XML 2017-02-23 14:45:19 +01:00
Enno Rehling 3274065004 reduce complexity of building_protection. 2017-02-22 19:38:46 +01:00
Enno Rehling bfb5a9b692 set age_unit and name_unit funpointers in rc_create.
no more <function/> in XML races.
rename juju-zombie => juju.
2017-02-20 22:07:36 +01:00
Enno Rehling 7e4b0ac717 fix XML file 2017-02-20 21:21:05 +01:00
Enno Rehling a1dc3dc8e4 remove race.age from XML data (set in rc_create) 2017-02-20 21:19:58 +01:00
Enno Rehling 4bd295e3b2 remove the nearly unused illusion race 2017-02-20 20:42:31 +01:00
Enno Rehling 5ba3d76efb remove race.init_familiar funpointer 2017-02-20 09:32:03 +01:00
Enno Rehling 04154628e6 remove funpointer for spoils 2017-02-20 09:18:04 +01:00