A-0.06.53

This commit is contained in:
rixty 2021-08-07 20:34:20 +02:00
parent 5432dac8ce
commit 031a9744ef
10 changed files with 153 additions and 84 deletions

View File

@ -5,7 +5,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04 requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h01 set_status=h01
@ -16,7 +16,7 @@ unset_status=h05
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,PM requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
@ -28,7 +28,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -40,7 +40,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -54,7 +54,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04 requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h02 set_status=h02
@ -65,7 +65,7 @@ unset_status=h06
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,PM requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
@ -77,7 +77,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -89,7 +89,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -101,9 +101,9 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04 requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h03 set_status=h03
@ -114,7 +114,7 @@ unset_status=h07
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04,PM requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
@ -126,7 +126,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -138,7 +138,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -152,7 +152,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04 requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h04 set_status=h04
@ -163,7 +163,7 @@ unset_status=h08
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04,PM requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
@ -175,7 +175,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -187,7 +187,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -201,7 +201,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04 requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h05 set_status=h05
@ -212,7 +212,7 @@ unset_status=h09
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04,PM requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
@ -224,7 +224,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -236,7 +236,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -250,7 +250,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04 requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h06 set_status=h06
@ -261,7 +261,7 @@ unset_status=h10
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04,PM requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
@ -273,7 +273,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -285,7 +285,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -309,9 +309,9 @@ unset_status=h11
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h10,h05,h12,h01,h02,h03,h04,PM requires_not_status=h06,h07,h08,h09,h10,h05,h12,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
set_status=PM set_status=PM
@ -322,7 +322,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h05,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h10,h05,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -334,7 +334,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h05,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h10,h05,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -348,7 +348,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04 requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h08 set_status=h08
@ -359,7 +359,7 @@ unset_status=h12
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04,PM requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
@ -371,7 +371,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -383,7 +383,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -397,7 +397,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h05,h02,h03,h04 requires_not_status=h06,h07,h08,h09,h10,h11,h12,h05,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h09 set_status=h09
@ -410,7 +410,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h05,h03,h04 requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h05,h03,h04
requires_status=sleep requires_status=sleep
set_status=h10 set_status=h10
@ -423,7 +423,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h05,h04 requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h05,h04
requires_status=sleep requires_status=sleep
set_status=h11 set_status=h11
@ -436,7 +436,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h05 requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h05
requires_status=sleep requires_status=sleep
set_status=h12 set_status=h12

View File

@ -31,6 +31,12 @@ Alpha 0.07
* set the grass disappearing in winter * set the grass disappearing in winter
* changed the day/night cycle, with the sunrise and sunset change time according to the season. now the day/night cycle changes every in-game half hour * changed the day/night cycle, with the sunrise and sunset change time according to the season. now the day/night cycle changes every in-game half hour
* set the change of weather conditions that are activated every in-game 2 hours * set the change of weather conditions that are activated every in-game 2 hours
* every time the character sleeps the time goes forward by 8 hours and the game save is turned on
* when the character sleeps a description of a dream will appear (random)
Known BUGS
* when, while sleeping, you switch from one day to another, in the time menu the day changes after 7 seconds, instead of instantaneously (it is a known bug, because every event that changes the time, date, season and year is always updated every 7 seconds)
............................................ ............................................

View File

@ -1,8 +0,0 @@
#this scales art to width of flare window
#scale_gfx=true
caption_margins=5,65
#caption_background=0,0,0,200
[scene]
pause=8s

9
cutscenes/sleep1.txt Normal file
View File

@ -0,0 +1,9 @@
#this scales art to width of flare window
#scale_gfx=true
caption_margins=5,65
#caption_background=0,0,0,200
[scene]
caption=You dream that someone has a crush on you, and that keeps you up late at night talking. Also, a ghost of someone who was killed by an old farm owner visits you.
pause=8s

9
cutscenes/sleep2.txt Normal file
View File

@ -0,0 +1,9 @@
#this scales art to width of flare window
#scale_gfx=true
caption_margins=5,65
#caption_background=0,0,0,200
[scene]
caption=You dream of a sick person who keeps complaining, also, a vampiric tries to enchant you to be his slave
pause=8s

9
cutscenes/sleep3.txt Normal file
View File

@ -0,0 +1,9 @@
#this scales art to width of flare window
#scale_gfx=true
caption_margins=5,65
#caption_background=0,0,0,200
[scene]
caption=You dream you're a magician dabbling in black magic and you accidentally summon a demon/evil that's more powerful than you anticipated and all hell breaks loose. Literally.
pause=8s

View File

@ -588,8 +588,7 @@ type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
repeat=true repeat=true
requires_not_status=h05,h06,h07,h08,h09,h10,h12,h01,h02,h03,h04,AM,m00,m10,m20,m30,m40 requires_status=new_day
requires_status=h11
set_status=new_date set_status=new_date
[event] [event]
@ -1783,6 +1782,16 @@ requires_status=savegame
save_game=true save_game=true
set_status=sleep set_status=sleep
[event]
# restore hp-mp
type=event
location=0,0,0,0
activate=on_load
delay=8ms
requires_status=sleep
power=000
msg=your Life and Fatigue are restored
[event] [event]
# savegame3 # savegame3
type=event type=event
@ -1808,7 +1817,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04 requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h01 set_status=h01
@ -1819,7 +1828,7 @@ unset_status=h05
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,PM requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
@ -1831,7 +1840,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -1843,7 +1852,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -1857,7 +1866,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04 requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h02 set_status=h02
@ -1868,7 +1877,7 @@ unset_status=h06
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,PM requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
@ -1880,7 +1889,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -1892,7 +1901,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h05,h07,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -1904,9 +1913,9 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04 requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h03 set_status=h03
@ -1917,7 +1926,7 @@ unset_status=h07
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04,PM requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
@ -1929,7 +1938,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -1941,7 +1950,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h05,h08,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -1955,7 +1964,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04 requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h04 set_status=h04
@ -1966,7 +1975,7 @@ unset_status=h08
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04,PM requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
@ -1978,7 +1987,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -1990,7 +1999,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h05,h09,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -2004,7 +2013,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04 requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h05 set_status=h05
@ -2015,7 +2024,7 @@ unset_status=h09
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04,PM requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
@ -2027,7 +2036,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -2039,7 +2048,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h05,h10,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -2053,7 +2062,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04 requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h06 set_status=h06
@ -2064,7 +2073,7 @@ unset_status=h10
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04,PM requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
@ -2076,7 +2085,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -2088,7 +2097,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h05,h11,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -2112,9 +2121,9 @@ unset_status=h11
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h10,h05,h12,h01,h02,h03,h04,PM requires_not_status=h06,h07,h08,h09,h10,h05,h12,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
set_status=PM set_status=PM
@ -2125,7 +2134,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h05,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h10,h05,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -2137,7 +2146,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h05,h12,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h10,h05,h12,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -2151,7 +2160,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04 requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h08 set_status=h08
@ -2162,7 +2171,7 @@ unset_status=h12
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04,PM requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04,PM
requires_status=sleep requires_status=sleep
@ -2174,7 +2183,7 @@ unset_status=AM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -2186,7 +2195,7 @@ unset_status=PM
type=event type=event
location=0,0,0,0 location=0,0,0,0
activate=static activate=static
delay=7s delay=7ms
repeat=true repeat=true
requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04,AM requires_not_status=h06,h07,h08,h09,h10,h11,h05,h01,h02,h03,h04,AM
requires_status=sleep requires_status=sleep
@ -2200,7 +2209,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h05,h02,h03,h04 requires_not_status=h06,h07,h08,h09,h10,h11,h12,h05,h02,h03,h04
requires_status=sleep requires_status=sleep
set_status=h09 set_status=h09
@ -2213,7 +2222,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h05,h03,h04 requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h05,h03,h04
requires_status=sleep requires_status=sleep
set_status=h10 set_status=h10
@ -2226,7 +2235,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h05,h04 requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h05,h04
requires_status=sleep requires_status=sleep
set_status=h11 set_status=h11
@ -2239,7 +2248,7 @@ location=0,0,0,0
activate=static activate=static
delay=7ms delay=7ms
repeat=true repeat=true
cutscene=cutscenes/sleep.txt script=script/sleep.txt
requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h05 requires_not_status=h06,h07,h08,h09,h10,h11,h12,h01,h02,h03,h05
requires_status=sleep requires_status=sleep
set_status=h12 set_status=h12

View File

@ -1,5 +1,7 @@
# Power Definitions # Power Definitions
INCLUDE powers/sleep.txt
# 000
INCLUDE powers/clock.txt INCLUDE powers/clock.txt
# 100 # 100
INCLUDE powers/years.txt INCLUDE powers/years.txt

11
powers/sleep.txt Normal file
View File

@ -0,0 +1,11 @@
# Power Definitions
[power]
id=000
type=fixed
icon=11
name=Rejuvenation Potion
new_state=instant
passive=true
post_effect=mp_regen,99999,1s
post_effect=hp_regen,99999,1s

22
script/sleep.txt Normal file
View File

@ -0,0 +1,22 @@
[event]
# chance_exec = 100/3
chance_exec=33
set_status=cutscene_lock
cutscene=cutscenes/sleep1.txt
[event]
# chance_exec = 100/2
chance_exec=50
requires_not_status=cutscene_lock
set_status=cutscene_lock
cutscene=cutscenes/sleep2.txt
[event]
# chance_exec = 100/1
chance_exec=100
requires_not_status=cutscene_lock
set_status=cutscene_lock
cutscene=cutscenes/sleep3.txt
[event]
unset_status=cutscene_lock