Skip to content

Commit ef718a1

Browse files
committed
bug: do not let wand of ice pile up blocks of ice on top of each other until we run out of slots
1 parent 1299fe4 commit ef718a1

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

python/things/items/barrel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def tp_init(name, text_long_name):
7474
my.is_obs_ai(self, True)
7575
my.is_obs_shoving(self, True)
7676
my.is_obs_spawn_monst(self, True)
77+
my.is_only_one_per_tile(self, True)
7778
my.is_shovable(self, True)
7879
my.is_very_combustible(self, True)
7980
my.normal_placement_rules(self, True)

python/things/items/block_of_ice.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def tp_init(name, text_long_name):
8787
my.is_obs_shoving(self, True)
8888
my.is_obs_spawn_monst(self, True)
8989
my.is_obs_throwing(self, True)
90+
my.is_only_one_per_tile(self, True) # so wands of ice do not pile these up
9091
my.is_shovable_and_sticky(self, True) # so a dogman in ice is also shoved
9192
my.is_shovable(self, True)
9293
my.is_tickable(self, True) # So it can interact with fire

python/things/items/brazier.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def tp_init(name, text_long_name, tiles=[]):
4444
my.is_obs_ai(self, True)
4545
my.is_obs_shooting(self, True)
4646
my.is_obs_throwing(self, True)
47+
my.is_only_one_per_tile(self, True)
4748
my.is_shovable(self, True)
4849
my.light_color(self, "orange")
4950
my.light_dist(self, 2)

0 commit comments

Comments
 (0)