summaryrefslogtreecommitdiff
path: root/bonnie-bee/flower.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2021-10-21 19:33:42 -0400
committerDavid Thompson <dthompson@vistahigherlearning.com>2021-10-21 19:33:42 -0400
commit10b02b1fb15b76c8037760f2a3e8dc3601759f28 (patch)
tree130d2531d8abf7d4b63873ed938959b57e354fd8 /bonnie-bee/flower.scm
parentac7bd2ccf3111575a549366e66bbf19b75785cf8 (diff)
Add roughly finished level.
Diffstat (limited to 'bonnie-bee/flower.scm')
-rw-r--r--bonnie-bee/flower.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/bonnie-bee/flower.scm b/bonnie-bee/flower.scm
index 2c018e9..13d8c10 100644
--- a/bonnie-bee/flower.scm
+++ b/bonnie-bee/flower.scm
@@ -38,10 +38,13 @@
(define-method (on-collide (flower <flower>) (bullet <bullet>))
(cond
- ((player-bullet? bullet)
+ ((player-primary-bullet? bullet)
(damage flower 1)
(kill-bullet bullet)
#t)
+ ((player-bomb-bullet? bullet)
+ (damage flower 5)
+ (kill-bullet bullet))
((and (not (pollen-enabled?)) (enemy-bullet? bullet))
(damage flower 1000)
(kill-bullet bullet))