Increase default bomb countdown
Because of how the countdown works, the fuse was one tick shorter than intended; this should fix that and allow players to push a lit bomb exactly once before having to retreat
This commit is contained in:
parent
6e7092d38b
commit
a125a1475d
2 changed files with 4 additions and 9 deletions
|
@ -357,7 +357,7 @@
|
|||
(define alive? (spawn ^cell #t))
|
||||
(define countdown (spawn ^cell -1))
|
||||
(define pushed? (spawn ^cell))
|
||||
(define* (light-fuse #:optional (time 2))
|
||||
(define* (light-fuse #:optional (time 3))
|
||||
($ countdown time))
|
||||
(match-lambda*
|
||||
(('type) 'bomb)
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
83,128,82,84,92,85,24,24,24,24,24,24,20,24,24,24,24,107,83,83,
|
||||
24,24,24,86,89,105,24,24,24,87,103,102,103,102,103,88,24,24,24,24,
|
||||
24,18,24,86,150,101,88,24,87,104,191,151,130,109,189,85,24,19,24,24,
|
||||
24,24,24,106,91,110,85,24,24,130,209,130,110,131,89,105,24,24,24,24,
|
||||
24,24,24,106,91,110,85,24,106,130,209,130,110,131,89,105,24,24,24,24,
|
||||
102,102,102,104,169,189,85,24,86,150,151,149,171,151,190,101,103,103,103,103
|
||||
</data>
|
||||
</layer>
|
||||
|
@ -33,15 +33,10 @@
|
|||
<object id="57" type="brick" gid="23" x="112" y="224" width="16" height="16"/>
|
||||
<object id="58" type="bomb" gid="51" x="96" y="16" width="16" height="16"/>
|
||||
<object id="60" type="gem" gid="29" x="80" y="32" width="16" height="16"/>
|
||||
<object id="61" type="switched-emitter" gid="48" x="128" y="208" width="16" height="16">
|
||||
<properties>
|
||||
<property name="interval" type="int" value="1"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="62" type="floor-switch" gid="25" x="112" y="176" width="16" height="16">
|
||||
<properties>
|
||||
<property name="target-x" type="int" value="8"/>
|
||||
<property name="target-y" type="int" value="13"/>
|
||||
<property name="target-x" type="int" value="7"/>
|
||||
<property name="target-y" type="int" value="12"/>
|
||||
</properties>
|
||||
</object>
|
||||
</objectgroup>
|
||||
|
|
Loading…
Add table
Reference in a new issue