ゲームに役立つ設定ファイル例を挙げていきましょう。
設定ファイルはtile版やconsole版ならsettings/init.txtを編集するか、webtileなら(edit rc)のリンクから編集できます。
: if you.race() == "Ogre" or you.race() == "Troll" then autopickup_exceptions ^= <large rock : end
item_slot ^= ration:e item_slot ^= scroll of identify:r
"rr"で鑑定したり(0.21以降の場合)"ee"で食料を食べたりできるようになります。
{ add_autopickup_func(function(it, name) if it.is_useless then return end if it.class(true) == "armour" then local good_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves", boots="Boots"} st, _ = it.subtype() if good_slots[st] ~= nil and items.equipped_at(good_slots[st]) == nil then return true end end end) }