diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-27 21:04:35 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-27 21:04:35 +0100 |
commit | 1068b22f3bd82d3de62d6ec512508e87d99fd715 (patch) | |
tree | 267f507f796ccb35c0a150a0a076fa12a04e829c /crawl-ref/source/mon-info.cc | |
parent | 0eb3a62c89500bc0bf48a6fdac65210b18a38e93 (diff) | |
download | crawl-ref-1068b22f3bd82d3de62d6ec512508e87d99fd715.tar.gz crawl-ref-1068b22f3bd82d3de62d6ec512508e87d99fd715.zip |
Actually load new moninf library.
As a first test that this works, add the following to your .crawlrc:
<
function test_mon()
local m = monster.get_monster_at(1, 0)
if m then
crawl.mpr("damage: " .. m:damage_desc())
else
crawl.mpr("no monster")
end
end
>
Bind the macro "===test_mon" to some key, stand to the left of a
creature, and invoke the macro.
Diffstat (limited to 'crawl-ref/source/mon-info.cc')
0 files changed, 0 insertions, 0 deletions