I have been trying to alter the sleep script in The Bare Necessities mod for some time now. It should all be very simple, but I cannot get it into effect. All I am trying to do is alter the light sleep penalty from every 8 hours, to every 12 hours. This way I don't basically have a constant debuff.
This is the relevant part of the script:
FATIGUE SCRIPT
; when player is awake
if ( GetPCSleep != 1 )
; set the hour
if ( TimerSet != 1 )
set GameHourLocal to GameHour
set TimerSet to 1
endif
; count hours passed since recorded time
set HoursPassed to ( GameHour - GameHourLocal )
; if midnight passes, GameHour will become zero, time passed will become negative. Adds 24 to correct.
if ( HoursPassed < 0 )
set HoursPassed to ( HoursPassed + 24 )
endif
; if more than 8 hours passed since GameHour set, adds 1 to tired global and applies penalties
if ( HoursPassed >= 8 )
set BN_TiredGlobal to ( BN_TiredGlobal + 1 )
set BN_TiredPenaltyApply to 1
set TimerSet to 0
endif
endif
I changed it from 8 to 12 in the script. Yet when I go ingame, it's every 8 hours...
Am i missing something?