Prevent bestowal of red keys
This commit is contained in:
parent
0e1e577281
commit
effa166c67
@ -31,6 +31,8 @@ function on_ready_force_floor(me, level) {
|
|||||||
let item = me.cell.get_item();
|
let item = me.cell.get_item();
|
||||||
if (! item)
|
if (! item)
|
||||||
return;
|
return;
|
||||||
|
if (item.type.name === 'key_red')
|
||||||
|
return;
|
||||||
if (level.attempt_take(actor, item) && actor.ignores(me.type.name)) {
|
if (level.attempt_take(actor, item) && actor.ignores(me.type.name)) {
|
||||||
// If they just picked up suction boots, they're no longer sliding
|
// If they just picked up suction boots, they're no longer sliding
|
||||||
// TODO this feels hacky, shouldn't the slide mode be erased some other way?
|
// TODO this feels hacky, shouldn't the slide mode be erased some other way?
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user