Viewing Issue Simple Details
[ Jump to Notes ]
[ Wiki ]
|
[ View Advanced ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0005196 |
[DCSS] Bug Report |
minor |
always |
2012-01-10 11:30 |
2012-01-10 11:30 |
|
Reporter |
dk |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
open |
|
Status |
new |
|
Product Branch |
0.10 ancient branch |
|
Summary |
0005196: Bug in the lua-player_los-trigger when changing level. |
Description |
Consider the vault I attached. Upon seeing any tree of this vault, you get the message "I see a tree!", as intended. Now go one level down or up and get back the vault. Now the message is displayed 4 times: "I see a tree! x4" |
Additional Information |
|
Tags |
No tags attached. |
|
Attached Files |
dk_test.des [^] (518 bytes) 2012-01-10 11:30 [Show Content] [Hide Content]{{
function callback.los_test(data, triggerable, triggerer, marker, ev)
if you:turns() == data.turns then
return
end
data.turns = you:turns()
crawl.mpr("I see a tree!")
end
}}
NAME: dk_los_test
DEPTH: 1-27
{{
local los_marker = TriggerableFunction:new{
func="callback.los_test",
repeated=true,
data={turns=0}
}
los_marker:add_triggerer(DgnTriggerer:new {
type="player_los"})
lua_marker('t', los_marker)
}}
MAP
.....
.t.t.
.....
.t.t.
.....
ENDMAP
|
|