I've been playing Crawl for a few years now off and on, but haven't been particularly involved in the community until now. I just got my first 3 rune win recently, followed by a 7 rune DEWz who died of overconfidence while clearing Zot:5(if Tomb wasn't too hard, how could Zot be hard? he said before doing stupid things and dying). Anyway, it seemed like a good time to try my hand at contributing some vaults, and then maybe contributing some code. The code block below has my first attempt. The idea is for a vault which might contain a lot of pieces of armor that the player is looking for in the form of the equipment of a deceased adventurer. However, the adventurer died fighting jellies, meaning that a) the equipment is damaged, and b) there are some jellies (and oozes) in the room. I've placed it relatively early in the dungeon so that the jellies are formidable and the loot might well be worth it.
The one problem I've been having is that the corpse doesn't seem to load correctly. Any advice on that would be appreciated. Also, please let me know any feedback you might have.
- Code:
NAME: lasty_cornered_adventurer
TAGS: no_monster_gen
DEPTH: D:2-5
MONS: jelly, jelly, ooze
: dgn.delayed_decay(_G, 'A', 'human corpse')
KMONS: A = toadstool
KITEM: A = damaged shield / nothing, damaged helmet / nothing, % / nothing, \
% / nothing, % / nothing, any damaged armour, \
any damaged weapon good_item
KFEAT: B = altar_jiyva
NSUBST: C = 2:2 / *:.
NSUBST: D = 5:1 / *:W
SUBST: 1 = 13
MAP
xxxxxxxxxxxxxx
xx.xx.xxAxx.xx
xx..D..CC...xx
xx...D..D...xx
@.....D....DBx
xx.D..D..D..xx
xx.....D...Dxx
xx.xx.xx.xx.xx
xxxxxxxxxxxxxx
ENDMAP