Enno Rehling
d56eee9687
BUG 2504: skeletons can learn.
...
There was a mixup between the AI feature and the race capability, so I cleared up the code a little bit.
It's annoying that these flags are in the same int.
2019-02-16 20:14:34 +01:00
Enno Rehling
6608f1b1ab
Merge branch 'develop'
2018-05-18 15:34:50 +02:00
Enno Rehling
87914a7b5b
delete XML Strings.
2018-05-17 23:27:29 +02:00
Enno Rehling
0a9f8bf662
merge from develop
2018-05-15 21:59:01 +02:00
Enno Rehling
269030082c
remove struct equipment from the code entirely.
2018-05-15 21:51:47 +02:00
Enno Rehling
2be0e9bd41
customize equipment for each game, in Lua.
...
no more equipment.xml for e3
2018-05-13 21:58:01 +02:00
Enno Rehling
85cf8da383
rename canteach/canlearn to teach/learn
...
race/function is never used (and there is no namedragon function).
2018-05-10 20:37:37 +02:00
Enno Rehling
ad0491cecb
Merge branch 'develop'
2018-05-10 20:03:16 +02:00
Enno Rehling
b0012eeae0
familiars do not need the default value in XML (bad XML).
2018-05-10 20:02:53 +02:00
Enno Rehling
907348adfc
merge race xml changes (teach, migrants, floating point)
2018-05-09 22:21:50 +02:00
Enno Rehling
c05a65b881
expat parses (most of) races.
...
fix canteach flag in XML.
2018-05-09 22:16:30 +02:00
Enno Rehling
8c7b890f3e
set the default unarmed modifiers for races.
2018-05-09 20:56:38 +02:00
Enno Rehling
ae3c0b099f
spells do not have a function element in XML
2018-05-08 23:10:51 +02:00
Enno Rehling
cd2435dbb0
spell xml does not define an index attribute
2018-05-06 09:00:11 +02:00
Enno Rehling
837ab325f9
XML simplificatio: unified system for masking races on modifiers.
2018-04-29 13:46:17 +02:00
Enno Rehling
3cb1d1a071
simplify race masking for weapon modifiers.
2018-04-29 13:13:10 +02:00
Enno Rehling
346f56ebdb
merge conflict description namespace vs. xinclude removal and new potion names.
2018-03-11 09:19:16 +01:00
Enno Rehling
bf21f24f98
BUG 2426: E3 hat kein RC_TEMPLATE, split potion names and descriptions
2018-03-11 09:02:02 +01:00
Enno Rehling
6c572c6287
rename potion: p14 to healing
...
fix use_item message crash
2018-02-17 20:35:00 +01:00
Enno Rehling
96062f6f85
rename p2->lifepotion (WdL)
2018-02-17 10:45:56 +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
28252fda7b
bug 2197: fix E3 potion text.
2017-12-26 16:09:15 +01:00
Enno Rehling
714e44cd71
BUG 2392: remove minskill attribute from any weapons.
2017-12-17 10:19:07 +01:00
Enno Rehling
77921a94ba
BUG 1986: Jedes Magiegebiet kann Vertraute rufen.
2017-12-11 19:47:57 +01: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
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
8344f41a70
allow GIVE for juju, ghast, skelord, too.
...
make the tests nicer.
2017-07-15 12:28:26 +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
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
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
2eb88c472c
have I bollocksed up the deny/allow rules? looks like it
2017-02-28 14:22:59 +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
6e27adb892
remove pointless <resourcelimit/> wrapper from XML.
2017-02-26 14:00:20 +01:00