Change the kind of non-copper walls to inert
This commit is contained in:
parent
c4b308232f
commit
51bc034756
5 changed files with 42 additions and 47 deletions
|
@ -547,7 +547,7 @@ the default ORIENTATION value of 'orthogonal' is supported."
|
|||
(y-loop (1+ y))))
|
||||
bv))
|
||||
|
||||
(define obj:wall:brick 1)
|
||||
(define obj:wall:inert 1)
|
||||
(define obj:wall:copper 2)
|
||||
(define obj:player-spawn 3)
|
||||
(define obj:exit 4)
|
||||
|
@ -579,7 +579,7 @@ the default ORIENTATION value of 'orthogonal' is supported."
|
|||
(#f #f)
|
||||
("wall"
|
||||
(match (assq-ref (tile-properties tile) 'kind)
|
||||
("brick" (list x y obj:wall:brick))
|
||||
("inert" (list x y obj:wall:inert))
|
||||
("copper" (list x y obj:wall:copper))
|
||||
(kind (error "unsupported wall kind" kind))))
|
||||
("exit" (list x y obj:exit))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue