<<script>>Config.history.controls = false;<</script>>//关闭侧边后退按钮
/* Character State */
<<set $touxiang to 0>>//头像
<<set $mcnamef to "奎恩">>
<<set $mcnamel to "布莱恩">>
<<set $mcl to "布莱恩">>
<<set $mcx to "Q">>
<<set $force=10>>//力量
<<set $fly=10>>//敏捷
<<set $int=10>>//思维
<<set $exh=0>>//魔力
<<set $cor=0>>//墮落or美德
<<set $ganzhi=10>>//感知
<<set $charisma=10>>//魅力
<<set $az=0>>
<<set $xingfen to 0>>//兴奋
/* Initial State */
<<set $state=0>> //個人狀態
<<set $day =1>>//日
<<set $hour = 8>>//时
<<set $minute = 0>>//分
<<set $money to 500>>//钱
<<set $energy to 100>>//体力
/*Body State*/
<<set $hjob to 0>>
<<set $foot to 0>>
<<set $bsize to 2>>
<<set $body to 1>>
<<set $rouren=0>>//柔韧
<<set $hypno to 0>>
<<cacheaudio "testpattern" "https://static.wixstatic.com/mp3/3f7176_c9e30179617c438e9c83a1bacab42378.mp3">>
<style>img{
max-width:100%;
max-height:100%;
}
</style>
<<touxiangWidget>><br>
<<timeWidget>>
<<dayChangeWidget>>
<<if $day == 1>>
<<set $dayOfWeek = "Monday">>
<<elseif $day == 2>>
<<set $dayOfWeek = "Tuesday">>
<<elseif $day == 3>>
<<set $dayOfWeek = "Wednsday">>
<<elseif $day == 4>>
<<set $dayOfWeek = "Tursday">>
<<elseif $day == 5>>
<<set $dayOfWeek = "Friday">>
<<elseif $day == 6>>
<<set $dayOfWeek = "Saturday">>
<<elseif $day == 7>>
<<set $dayOfWeek = "Sunday">>
<<endif>><br>
<div class="TIME">//Time:$showHour:$showMinute//</div>
$dayOfWeek
<<if $state lte 0>><<set $state = 0>>
<<set $showstate = "Sober">>
<<elseif $state gte 5 and $state lt 10>>
<<set $showstate = "Tipsy">>
<<elseif $state gte 10 and $state lt 15>>
<<set $showstate = "Nearly Drunk">>
<<elseif $state gte 15 and $state lt 25>>
<<set $showstate = "Staggering">>
<<elseif $state >= 35>>
<<set $showstate = "Sick">>
<<endif>><br>
Cuurent State:$showstate<br>
Stamina<meter min="0" low="40" high="90" max="100" @value="$energy"></meter><br>
Excitement<meter min="0" low="40" high="90" max="100" @value="$xingfen"></meter><br>
Money:$money<br>
Flexibility:$rouren<br>
Intelligence:$int<br>
Strength:$force<br>
Agility:$fly<br>
Magic:$exh<br>
Charm:$charisma<br>
Corruption or Virtue:$cor<<widget "timeWidget">><<nobr>>
<<if $minute >= 60>>
<<set $hour += 1>>
<<set $minute = $minute - 60>>
<<endif>>
<<if $minute < 10>>
<<set $showMinute = '0' + $minute>>
<<else>>
<<set $showMinute = $minute>>
<<endif>>
<<if $hour >= 24>>
<<set $hour = $hour - 24>>
<<set $day +=1>>
<<set $hunt_bai to false>>
<<set $tzx_see to false>>
<<set $yuan_y to false>>
<<endif>>
<<if $hour < 10>>
<<set $showHour = '0' + $hour>>
<<else>>
<<set $showHour = $hour>>
<<endif>>
<</nobr>><</widget>>
<<widget "dayChangeWidget">><<nobr>>
<<if $day >= 8>>
<<set $day = 1>>
<<endif>>
<</nobr>><</widget>>
<<bodys>>
<<bsizes>><<hjobs>><<foots>><<rourens>>
身體:$showbody
抗性:$showbsize
手:$showhjob
足:$showfoot
柔韧:$showrouren
[[返回|$return]]
<img src="image\Room.jpg" width="500px">
Warm sunlight filtered through the gaps in the window, casting fine, scattered patches of light that adorned the tidy room. Since the last test, Xiao Yan had been cooped up in his room for over half a month. During that time, apart from eating and other daily necessities, he had almost lived a reclusive life of simplicity and meditation. Perhaps now was the time to find something to do.
<font color="#f44283"><i>(Do SomeThing)</i></font>
[[Rigorous training]]
[[Hang Out With Xuner]]
[[Fight With Xiao Ke]]
//身體狀態
<<widget "bodys">><<nobr>>
<<if $body ==1>>
<<set $showbody="状态1">>
<<elseif $body ==2>>
<<set $showbody="状态2">>
<<elseif $body ==3>>
<<set $showbody="状态3">>
<<elseif $body >=4>>
<<set $showbody="状态4">>
<</if>>
<</nobr>><</widget>>
<<widget "bsizes">><<nobr>>
<<if $bsize ==1>>
<<set $showbsize="状态1">>
<<elseif $bsize ==2>>
<<set $showbsize="状态2">>
<<elseif $bsize ==3>>
<<set $showbsize="状态3">>
<<elseif $bsize >=4>>
<<set $showbsize="状态4">>
<</if>>
<</nobr>><</widget>>
//手經驗
<<widget "hjobs">><<nobr>>
<<if $hjob ==0>>
<<set $showhjob="状态0">>
<<elseif $hjob gte 1 && $hjob lt 10>>
<<set $showhjob="状态1">>
<<elseif $hjob gte 10 && $hjob lt 20>>
<<set $showhjob="状态2">>
<<elseif $hjob gte 20 && $hjob lt 30>>
<<set $showhjob="状态3">>
<<elseif $hjob gte 30 && $hjob lt 40>>
<<set $showhjob="状态4">>
<<elseif $hjob gte 40>>
<<set $showhjob="状态5">>
<</if>>
<</nobr>><</widget>>
//足經驗
<<widget "foots">><<nobr>>
<<if $foot ==0>>
<<set $showfoot="状态0">>
<<elseif $foot gte 1 && $foot lt 10>>
<<set $showfoot="状态1">>
<<elseif $foot gte 10 && $foot lt 20>>
<<set $showfoot="状态2">>
<<elseif $foot gte 20 && $foot lt 30>>
<<set $showfoot="状态3">>
<<elseif $foot gte 30 && $foot lt 40>>
<<set $showfoot="状态4">>
<<elseif $foot gte 40>>
<<set $showfoot="状态5">>
<</if>>
<</nobr>><</widget>>
//身體柔韧度
<<widget "rourens">><<nobr>>
<<if $rouren ==0>>
<<set $showrouren="状态0">>
<<elseif $rouren gte 1 && $rouren lt 10>>
<<set $showrouren="状态1">>
<<elseif $rouren gte 10 && $rouren lt 20>>
<<set $showrouren="状态2">>
<<elseif $rouren gte 20 && $rouren lt 30>>
<<set $showrouren="状态3">>
<<elseif $rouren gte 30 && $rouren lt 40>>
<<set $showrouren="状态4">>
<<elseif $rouren gte 40>>
<<set $showrouren="状态5">>
<</if>>
<</nobr>><</widget>><img src="image\1.jpg" width="500px">
Looking at the glowing and even somewhat dazzling five characters on the test magic stele, the youth's face remained expressionless, with a hint of self-mockery at the corners of his lips. His tightly clenched hands caused his slightly sharp fingernails to deeply dig into his palms, bringing bursts of piercing pain.
"Xiao Yan, Power of Combat, Third Stage! Rank: Low!" Next to the test magic stele, a middle-aged man glanced at the information displayed on the stele and announced it in an indifferent tone.
As soon as the middle-aged man's words left his mouth, a wave of mockery stirred up unsurprisingly in the bustling square.
<<linkreplace "Continue" t8n>>
<img src="image\2.jpg" width="500px">
"Third Stage? Heh, just as I expected, this 'genius' has been marking time for another year!"
"Alas, this waste has completely disgraced our family."
"If it weren't for the clan leader being his father, such a waste would have been driven out of the family long ago to fend for himself; how else could he still have the opportunity to freeload in the clan?"
"Ah, the once-famous genius boy of Uton City, how has he fallen into such a state now?"
"Who knows? Maybe he did something shameful that angered the gods..."
The surrounding scornful laughter and regretful sighs fell on the ears of the youth, who stood still like a wooden stake, piercing his heart like sharp spikes, causing his breathing to become slightly rapid.
The youth slowly lifted his head, revealing a somewhat delicate and youthful face. His pitch-black eyes indifferently swept over the mocking peers around him, and the self-mockery at the corners of his mouth seemed to grow even more bitter.
<<linkreplace "[[Continue|選項4]]">>
<</linkreplace>>
<</linkreplace>>
-----------------------------------------------------
GoldSmith
<<linkreplace "Name">>JASON<</linkreplace>>,
力量+2 敏捷+2 感知+4 魔力+10
<<set $force +=2>>
<<set $fly +=2>>
<<set $charisma +=4>>
<<set $exh +=10>>
改变变量的数值这么写,去twine里看代码
还可以按钮按下增减数值[[加个属性|加属性][$fly +=1]]
[[返回|$return]][[休息半小时|$return][$minute+=30]]
[[休息1個小时|$return][$hour+=1]]
[[休息6個小时|$return][$hour+=6]]
[[返回|$return]]<<set setup.images to ["1.jpg", "2.jpg", "3.jpg", "4.jpg", "5.jpg", "6.jpg", "7.jpg", "8.jpg", "9.jpg"]>>
[img["img/sex/"+setup.images.random()]]
你感到血脉喷张
<<set $hour +=1>>
[[返回|$return]]<<=setup.ChooseVideo("img/做/帮.mp4",
"img/sex/KTV1.mp4",
"img/mz/Fr.mp4")>>
你想要做点什么
<<set $hour +=1>>
[[返回|$return]]我是手机
[[返回|$return]]我是颜料
[[返回|$return]]<div class="tw-passage">
<b>Dou QI Continent
[[Start]]
</b>
</div>简单的判断写法与用法
我的视频里有进阶版
B站 熔岩泡芙
[[training ground]]
[[禁止换行]]判断写太多会造成页面有些空行,这时你需要禁止换行用手动换行
判断会用到的
eq 就是 EQUAL等于
neq就是 NOT EQUAL不等于
gt 就是 GREATER THAN大于
lt 就是 LESS THAN小于
gte 就是 GREATER THAN OR EQUAL 大于等于
lte 就是 LESS THAN OR EQUAL 小于等于
[[Bedroom]]
<<if $rouren lte 40>>
<<set $hour +=6>>
<<set $energy -=50>>
You trained for most of the day, and your flexibility has improved.
<<else>>
<<set $rouren=40>>
In the quiet room, Yao Lao picked up the purple orchid grass with his left hand, his eyes slightly squinted. After a moment, he gently exhaled, and a somewhat pale flame suddenly surged from his left palm...
As soon as the flame appeared, the temperature in the room rose significantly.
Staring unblinkingly at the white flame, Xiao Yan felt somewhat shocked. Although he was not familiar with the alchemists' process of making medicine, the external release of Dou Qi transforming into substance was something even his father could not achieve...
With a calm expression, Yao Lao's white flame slightly fluttered, engulfing the purple orchid grass within it... The flames churned, and almost instantly, the purple orchid grass was burned into a small ball of green liquid...
You are already very flexible and cannot improve further.
<</if>>
[[training ground]]
"After this battle, you feel utterly exhausted, but the Dou Qi flowing between your muscles, bones, and meridians feels increasingly dense. Dragging your tired body, you return to the training ground, a circular hall with floor-to-ceiling glass doors on the outside that allow views of the nearby reservoir. The hall is filled with many large mats, which ensure that falling on them won't be painful."
<<switch $hour>>
<<case 20 21 22 23 0 1 2 3 4 5 6 7>>
You are already very tired; it's best to go back to your room to rest.
<<default>>
[[Practice][$rouren +=8]]
<</switch>>
[[Return to the Bedroom.]]
这里判断变量是否达到,显示不同内容
<<if $rouren lte 39>>
还没到离开的时候
[[training ground]]
<<else>>
你在此学会了几套简单的套路
是时候回家了
[[家]]
<</if>>模板就到这里结束吧
[[training ground]]
"After this battle, you feel utterly exhausted, but the Dou Qi flowing between your muscles, bones, and meridians feels increasingly dense. Dragging your tired body, you return to the training ground, a circular hall with floor-to-ceiling glass doors on the outside that allow views of the nearby reservoir. The hall is filled with many large mats, which ensure that falling on them won't be painful."
<img src="image\Room.jpg" width="500px">
[[Practice your skills secretly.][$rouren +=1]]
<<if $rouren gte 5>>
[[!Practice]]
<</if>>
[[Sleep]]
[[training ground]]<<set $day +=1>>
<<set $energy = 100>>
<<set $hour = 8>>
<<set $state -=10>>
Waking up feeling refreshed and clear-headed, <br>
<<if $hypno eq 1>>
you can't quite remember what you dreamed about last night.<br>
<</if>>
<<set $randomNumber to random(5)>>
<<if $az eq 1>>
<<if $randomNumber is 0>>
You felt as though you were confined in a sturdy cage.
<</if>>
<<if $randomNumber is 1>>
You don't remember your dream, but you have a strange feeling.
<</if>>
<<if $randomNumber is 2>>
Suddenly, you have a strong desire to learn.<br>
??
<</if>>
<<if $randomNumber is 3>>
It's odd..
<</if>>
<<if $randomNumber is 4>>
he next day quickly passes. <br>
You feel... drunk. You need to sober up, but you can't do anything about it."
<</if>>
<<if $randomNumber is 5>>
That feels not good.
<</if>>
<</if>>
<img src="image\Dream.jpg" width="500px">
[[Get Up|Get Up.]]加一个标签nobr<br>
这样<br>
这个片段就禁止自动换行了<br>
如要换行<br>
用br来换行
[[返回|$return]]<table border="2">
<th>
<img src="img\npc\00009.png" style="float:left;width:400px;"></th>
<th>$mcl<hr>
生日:11月11日 18歲<hr>
身高:170 34b、23、35<hr>
體重:48公斤<hr>
我是个人简介
虽然我也不知道写什么, 就这样吧
<hr>
力量:$force敏捷:$fly思维:$int
魔力:$exh墮落or美德:$cor
感知:$ganzhi柔韧度:$rouren
</th>
</table>
[[返回|$return]]<img src="image\Xun.jpg" width="500px">
Xun'er's eyes curved slightly, like a pair of beautiful crescents. She extended her fair and delicate hand, and as usual, carefully smoothed out the slightly wrinkled clothes for Xiao Yan.
Looking down at that exquisitely flawless little face, a strand of black hair fell on her smooth forehead, occasionally lifted by the breeze to reveal a pair of sparkling, large eyes.
The movement in her eyes was incredibly captivating. Nearby on the path, clan members occasionally passed by and saw Xun'er, who was tidying Xiao Yan's clothes like a little wife, all of them couldn't help but show faces full of envy.
Charm+4 Magic+10
<<set $charisma +=4>>
<<set $exh +=10>>
[[Bedroom]]我是一个示例
图片按钮的部件Under the watchful eyes filled with complex emotions, Xiao Yan and Xiao Ke had completed the pre-fight courtesies in the arena.
With palms slightly raised and a faint Dou Qi swirling around them, Xiao Ke took a deep breath, stomped on the ground, and charged straight at Xiao Yan.
The low-level fight lacked any dazzling movements; everything was a simple clash.
"Mountain Splitting Palm!"
Quickly closing the distance to Xiao Yan's side, Xiao Ke concentrated a bit of Dou Qi on his right palm and slashed fiercely towards Xiao Yan's chest.
Mountain Splitting Palm, a mid-level Yellow rank Dou Technique, could only be learned by clan members with at least a five-stage Dou Qi.
A breeze blew across Xiao Yan's forehead, lifting his hair and revealing his ink-black eyes. His eyelids fluttered, and he squinted slightly, watching the approaching palm.
<img src="image\Fight.jpg" width="500px">
Just as the palm was about to reach his shoulder, Xiao Yan calmly stepped to the left. A year of physical training had honed his reflexes to an exceptional level.
That single step was all it took to dodge Xiao Ke's attack. With a slight twist of his body, Xiao Yan's palm moved through Xiao Ke's arm like picking leaves through flowers, casually landing on his shoulder.
"Stone Shattering Palm!"
Stone Shattering Palm, a low-level Yellow rank Dou Technique, only required three stages of Dou Qi to learn.
With a "thump," a muffled sound echoed as Xiao Yan's strike hit. Xiao Ke's flushed face instantly turned pale. With a muffled groan, he staggered backward, finally losing his footing and falling flat on his back.
The arena fell silent, Xiao Ke's defeat clearly confirming certain truths.
<<timed 10s>>
[[training ground]]
<</timed>>
就这样啦,写在按钮上的
[[返回|$return]]
"The cultivation of the Initial Stage of Dou Qi mainly involves expanding the meridians and strengthening the body, laying the foundation for the condensation of Dou Qi inside the body in the future. Since the body's meridians are most fragile and malleable at this age, this cultivation process must be gradual and progressive, without the use of any external force. Otherwise, as the Dou Qi in the body becomes stronger over time, the meridians will not be able to withstand the increasingly powerful impacts of Dou Qi and will ultimately lead to fatal ruptures!" Yao Lao said with a grave expression.
Yao Lao glanced at Xiao Yan, whose face remained calm, and nodded in satisfaction, smiling, "For others, this is indeed the case, but you are different. The foundation within your body has been solid and reliable since three years ago, and over the years, your character has also been steadfast, never missing a day of practice. Therefore, I can unreservedly say that your foundation is excellent!"
<img src="image\P.jpg" width="500px">
Increase flexbility + 2
<<set $fly +=2>>
[[返回|$return]]Of course, the vast expanse of the Dou Qi Continent means that some ancient combat techniques, due to various reasons, have been lost and forgotten, only to be found by some fortunate individuals later on. The piece of black iron that Xiao Yan has acquired might just be a relic left behind by a predecessor...
Yao Lao flipped the iron piece and then chuckled after a moment, "Suction Palm: Xuan-class, Low Level!"
"Xuan-class, Low Level?" Xiao Yan's face brightened with joy. He hadn't expected that this random piece of junk he had bought would actually conceal a Xuan-class combat technique. He knew that in his own clan, the most profound technique was only of the Mid Xuan-class, and even then, only the clan leader and a few elders were qualified to learn it.
"Suction Palm: When mastered, it can suck up thousand-pound boulders. If facing an enemy, its fierce suction force can forcibly extract the blood from a person's body!"
"Extract the blood from the body?" Xiao Yan's face showed shock as he swallowed, somewhat amazed, "That's...incredible! Who could survive if their blood was pulled out of their body?"
"This technique can only be used against opponents of a lower or equal level to you. If you encounter someone stronger, they could use the force to close in on you, and then, unfortunately, you would be the one in trouble..." Yao Lao casually tossed the iron piece back, his tone indifferent, indicating that he wasn't highly impressed by this combat technique.
<img src="image\P1.jpg" width="500px">
U Increase Flexibility dramaticly
[[Return|$return]]<img src="image\3.jpg" width="500px">
"Hehe, little boy, it seems you need help, huh?"
Just as Xiao Yan was making a vow in his heart, a strange, hoarse laugh suddenly entered his ears.
His face changed, and Xiao Yan abruptly turned around, his hawk-like gaze sweeping behind him, but he found no one...
"Hehe, stop looking, it's on your finger."
Just when Xiao Yan thought it was an illusion, that bizarre laugh sounded again, seemingly out of nowhere.
His pupils constricted, and Xiao Yan's gaze suddenly fixed on the black, ancient ring on his right hand.
"Are you the one talking?" Xiao Yan suppressed the panic in his heart, striving to keep his voice calm.
"Not bad, little boy, your composure is quite good, not scared enough to jump off." From within the ring, a mocking laugh sounded.
"Who are you? Why are you in my ring? What do you want?"
[["Try to touch the ring"|選項4-1]]
<<set _suiji to random(1,10)>>
<<if _suiji lte 5>>
<img src="img\位置\城堡\门锁.jpg" width="500px">
<img src="image\4.jpg" width="500px">
In front of Xiao Yan, a black, ancient ring was currently hovering. What shocked him most was the transparent, aged figure that floated above the ring... "Who I am is not something you need to worry about for now, as long as I mean no harm to you. Alas, after so many years, I've finally found someone with a strong enough soul, truly fortunate, hehe. But still, I must thank the little boy for these three years of offerings, otherwise, I might still be asleep."
"Offerings?" Xiao Yan blinked in confusion, and moments later, his face suddenly turned grim. The chilly words squeezed out from between his teeth: "The combat power that mysteriously vanished from my body, was that your doing?"
"Hehe, I too was driven to desperation, little boy, don't blame me."
Gold +300 Corruption or Virtue +1
<<set $money +=300>>
<<set $cor -=1>>
<<else>>
<img src="image\4.jpg" width="500px">
In front of Xiao Yan, a black, ancient ring was currently hovering. What shocked him most was the transparent, aged figure that floated above the ring... "Who I am is not something you need to worry about for now, as long as I mean no harm to you. Alas, after so many years, I've finally found someone with a strong enough soul, truly fortunate, hehe. But still, I must thank the little boy for these three years of offerings, otherwise, I might still be asleep."
"Offerings?" Xiao Yan blinked in confusion, and moments later, his face suddenly turned grim. The chilly words squeezed out from between his teeth: "The combat power that mysteriously vanished from my body, was that your doing?"
"Hehe, I too was driven to desperation, little boy, don't blame me."
Gold +300 Corruption or Virtue +1
<<set $money +=300>>
<<set $cor -=1>>
<</if>>
[[Go Back to Ur Bedroom|Bedroom]]
<img src="img\位置\城堡\门锁.jpg" width="500px">
你心中的正义感不允许你撬锁,你自认是个正义的骑士
堕落or美德+1
<<set $cor +=1>>
[[繼續|Bedroom]]
[[選項4]]<<set $hypno to 1>>
变量改变
[[返回|$return]]<<set $az to 1>>
变量改变
[[返回|$return]]Jason
Hope U Have Fan! Still In Develop
<<link "Music On">>
<<audio "testpattern" play>>
<</link>>
<<link "Music Off">>
<<audio "testpattern" stop>>
<</link>> <<type 90ms>>
这是一个打字机的效果,可以控制时间
<</type>>
可以是s可以是ms<font color="#f44283"><i>(谨慎选择,对后续剧情产生影响)</i></font>
<video width="700" height="700" controls autoplay>
<source src="
img/sex/KTV1.mp4">
</video>
[[Bedroom]][[文本加颜色与斜体]]
[[Fight With Xiao Ke]]
[[打字机效果]]
[[居中]]
[[标题]]
[[倒计时]]
[[返回|$return]]<center>
我是居中,图文皆可
</center><h1>我是标题</h1>
<div class="tw-passage">
<div class="center txtme">好吧。。。我相信你... </div>
<div class="center txtme">[[Bedroom]]</div>
<img src="img\start\地图map-g0daa81c87_1920.jpg" width="auto">
</div><<widget "touxiangWidget">>
<<if $touxiang eq 0>>
<img src="img\npc\00009.png">
<</if>>
<<if $touxiang eq 1>>
<img src="img\npc\02.png">
<</if>>
<<if $touxiang eq 2>>
<img src="img\npc\03.png">
<</if>>
<<if $touxiang eq 3>>
<img src="img\npc\06.png">
<</if>>
<<if $touxiang eq 4>>
<img src="img\npc\04.png">
<</if>>
<<if $touxiang eq 5>>
<img src="img\npc\05.png">
<</if>>
<</widget>>
<img src="image\Start.jpg" width="500px">
Named the Dou Qi Continent, it lacked the typical magical elements seen in novels. Here, Dou Qi was the sole focus!
On this continent, the cultivation of Dou Qi had reached its peak through the efforts of countless generations, and because of its continual proliferation, it had even spread into everyday life among the populace, making Dou Qi indispensable.
Due to the extreme proliferation of Dou Qi, numerous cultivation methods had branched from this main line. Naturally, some were stronger than others.
[[Main Player:XiaoYan]]点击播放音频,点击关闭音频,音频文件放html同目录
故事片段中
<<link "Start audio!">>
<<audio "testpattern" play>>
<</link>>
<<link "Stop audio!">>
<<audio "testpattern" stop>>
<</link>>
[[Bedroom]]<<xingfenWidget>>
体力值:<progress min="0" low="40" high="90" max="100" @value="$energy"></progress>$energy
[[改变|$return][$energy+=10]]
[[改变|$return][$energy -=10]]
<p>
兴奋值:<meter min="0" low="40" high="90" max="100" @value="$xingfen"></meter>$xingfen
</p>
value的数值可以直接写@加变量,
限制变量数值超出我写了个widget组件,最上面那行代码就是
[[改变|$return][$xingfen+=10]]
[[改变|$return][$xingfen -=10]]
[[Bedroom]]
<img src="image\Practice.jpg" width="500px">
In a secluded small forest at the top of the back mountain, Xiao Yan's feet were planted in the soil like tree stumps, his toes gripping the ground, his jaw clenched, and sweat streamed across his forehead. On his bare upper body, clad only in shorts, numerous blue bruises densely covered his skin.
Behind Xiao Yan, Yao Lao, in his soul form, was seated on a large boulder. At this moment, he was looking solemnly at Xiao Yan, who was gritting his teeth in perseverance, and gently waved his hand.
As Yao Lao waved his hand, the air slightly fluctuated, and a pale red Dou Qi ribbon violently shot out from his palm, striking Xiao Yan's shoulder like a whip, immediately leaving a long blue bruise.
His mouth trembled violently, and he gasped for air through his teeth. Xiao Yan felt his shoulder suddenly go numb, and intense, burning pain drilled straight into his heart. Under this severe pain, even the tips of his toes started to weaken, nearly causing him to collapse.
After the intense pain, the thin stream of Dou Qi rushing through his body seemed more vigorous than usual, stimulated by the pain. It joyously flowed through the channels and acupoints in his shoulder, bringing a slight coolness that slowly permeated into his bones and muscles, quietly strengthening them...
Strength+2 Flexibility+2
<<set $force +=2>>
<<set $fly +=2>>
[[Bedroom]]<<widget "xingfenWidget">>
<<if $xingfen >= 100>>
<<set $xingfen=100>>
<</if>>
<<if $xingfen <= 0>>
<<set $xingfen=0>>
<</if>>
<</widget>>
<<silently>>
你永远不会看到这些!
<</silently>>
→ 倒计时计时器
<<set $seconds to 10>>\
倒计时: <span id="countdown">$seconds 剩余秒</span>!\
<<silently>>
<<repeat 1s>>
<<set $seconds to $seconds - 1>>
<<if $seconds gt 0>>
<<replace "#countdown">>$seconds 剩余秒<</replace>>
<<else>>
<<replace "#countdown">>太晚了<</replace>>
/* 在这里做一些有用的事情 */
<<stop>>
<</if>>
<</repeat>>
<</silently>>
[[Bedroom]]<<set _classes = ["灰色", "褐色", "蓝色", "绿色"]>>''选择类别:'' <<listbox "$class">>
<<optionsfrom _classes>>
<</listbox>>
''你所选的:'' <span id="class-info">(没有什么)</span><<script>>
$(document).one(":passagerender", function (event) {
/* Initial display of text pulled from the "Class Info X" passages. */
$(event.content).find("#class-info").empty().wiki("<<include 'Class Info " + State.variables.class + "'>>");
/* Trigger text display upon listbox change. */
$(event.content).find("#listbox-class").on("change", function (event) {
/* Fade out text. */
$("#class-info").fadeOut(500, function () {
/* Update text and then fade it back in. */
$("#class-info").empty().wiki("<<include 'Class Info " + State.variables.class + "'>>").fadeIn(500);
});
});
});
<</script>>
[[Bedroom]]褐色
001
[[灰内]]
蓝
绿色
[[绿内]]
灰色内部
[[返回|$return]]绿色内部
[[返回|$return]]Still In Development~