Halls Hopper
Posts: 79
Joined: Sunday, 24th November 2013, 04:12
Made a new Ossuary, but it crashes Crawl
- Code:
AME: ossuary_monty_demons
WEIGHT: 40
ORIENT: encompass
TAGS: no_item_gen no_monster_gen
KFEAT: ^ = dart trap w:1 / arrow trap w:1 / nothing w:15
KITEM: " = any scroll w:2 / any scroll q:2 w:3 / \
any potion w:4 / any potion q:2 w:6
: dgn.delayed_decay(_G, '%', 'human corpse')
MONS: mummy
KMONS: z = kobold zombie w:2 / human zombie w:1 / nothing w:6
KMONS: ? = shadow imp / nothing
: ossuary_setup_features(_G)
MAP
xxxxxxxxxxxxxxxxxxxxxx
x.........<A.........x
x....................x
x^^^cccccccccccccc^^^x
x^^^ccc""""""""ccc^^^x
xzzzcccccc++cccccczzzx
xzzzc%...????...%czzzx
x^^^cccc.????.cccc^^^x
x.z^c%..........%c^z^x
x^z^cccccc++cccccc^z^x
x^z^c1..........1c^z^x
x^^^cccc......cccc^^^x
xzzzc1..........1czzzx
xzzzcccccc++cccccczzzx
x^^^c1..........1c^^^x
x^^^cccc......cccc^^^x
xzzzc1..........1czzzx
x^^^cccccc++cccccc^^^x
x.....zzzzzzzzzz.....x
x.....zzzzzzzzzz.....x
x....................x
xxxxxxxxxxxxxxxxxxxxxx
ENDMAP
I originally suspected I was using the delayed decay function wrong, but removing that line doesn't fix the problem. Do you see any obvious flaws here?