Hello,
I found the idea of this Jam interesting and so I tested Adventuron a bit to see how it would work and I probably found a bug when I implemented a block for not wearing something. The "block_when_not_worn" doesn't work, at least as I expect it to work. The other blocks like "block_when_not_carried" worked fine. Here test code for an example where the player should be able to enter the next location if they wear the suit, which doesn't work. The Carrying-Block works without problems.
##################################################
## bug demonstration of "block_when_not_worn"
## test with
## s, take suit, s, wear suit, s
##################################################
start_at = beach
redescribe = auto_beta
game_information {
game_name = WornBlock
game_version = 0.1.0
}
game_settings {
rewind_enabled = true
rollback_enabled = true
imply_header_from_location_id = true
}
locations {
beach : location ;
under_water : location ;
}
connections {
from, direction, to = [
beach, south, under_water,
]
}
objects {
diving_suit : object "a diving suit" wearable = "true" at = "beach";
}
barriers {
space_block : block {
block_when_not_worn = diving_suit
#block_when_not_carried = diving_suit
location = under_water
message = No diving suit.
show_blocked_exit = true
}
}
