This system was PoE but it didn't work. Nothing was true limiting, the only thing it did was force players to come back frequently for supplies.
System itself wasn't well received by players and it was removed in sequel.
It is good though to mention how camping/resting worked in PoE2.
a) Characters could receive injuries in combat (generally from falling at zero HP or less). This was the main reason for resting (spells were recovered after every fight).
b) Many areas disallowed camping/resting, notably when hostile creatures remained on your local map/area.
c) You needed food/drink when resting, which was very common and it was mostly about choosing what long buff you would gain from resting (in addition to removing injuries).
Note : there is a visible concept of date/time in Pillars of Eternity 1-2. Whereas Larian's engine does not have an overt time system: it is event-triggered or situational.
In BG3, food could also be used for resting and other limits. Short rests could be temporary local campfires that could trigger some companion dialogues.