2 ms·
The flashlight should be automatically on in this case: flashlight_on :- at(flashlight,holding), at(battery,holding). This condition is checked when you t
by klibertp 1y ago
The flashlight should be automatically on in this case:
flashlight_on :- at(flashlight,holding), at(battery,holding).
This condition is checked when you try to reach "woods" and "woods_1". (And that's the only place you can test if the flashlight is on, because it's otherwise not checked and doesn't change any of the descriptions.) The flashlight doesn't save you from dying in the "deepforest_X".