<script>
const myAudio = document.getElementById('myAudio');
const muteButton = document.getElementById('muteButton');
muteButton.addEventListener('click', () => {
if (myAudio.muted) {
myAudio.muted = false;
muteButton.textContent = 'Mute';
} else {
myAudio.muted = true;
muteButton.textContent = 'Unmute';
}
});
</script><h1 style="font-size:clamp(.8rem, 1.8vw, 2rem); ">(text-colour:#EE4B2B)[|text>[]]</h1>|supplies>[(display:"supplies")]
||=
<audio id="myAudio" autoplay loop><source src="https://dirtsta.sh/monster/Gv1low.m4a" type="audio/mpeg"></audio><button id="muteButton">Mute</button>
|tools>[(display:"tools"]
||=
|img>[<img src="https://dirtsta.sh/monster/monsterv2.png" width="100%">]
||||||||||||=
(set:$strength to 5)(set:$speed to 5)(set:$timer to 1)(live: 10s)[(set:$hunger to it +1)(replace:?feed)[(display:"feed")]]Hunger: (meter: bind $hunger, 100, "=X=", "$hunger", (gradient: 90, 0, red, 1, orange))(live: 5s)[(if:$hunger>5)[(set:$rage to it +$timer)(if:$rage>99)[(goto:"end1")]](if:$hunger>10)[(set:$rage to it +$timer)(set:$timer to it +1)]]Rage: (meter: bind $rage, 100, "=X=", "$rage", (gradient: 90, 0, #702963, 1, black))|moves>[(display:"moves")](replace:?supplies)[(display:"supplies")](replace:?tools)[(display:"tools")](replace:?img)[<img src="https://dirtsta.sh/monster/monsterv2.png"width="500vw">]
(link:"Hunt")[(replace:?text)[Choose your Prey](replace:?moves)[(display:"hunt")]]
(link:"Scrounge")[(replace:?text)[Pick a Target](replace:?moves)[(display:"scrounge")]]
(link:"Shop")[(replace:?text)[Always open for buisness](replace:?moves)[(display:"shop")]]
|pray>[(link:"Pray")[(replace:?text)[(either:[Gouger of fortune and all that brings light],[May all that are, have been and ever will be, be food for the void],[Cleanser of man, ender of all])](replace:?moves)[(live:5s)[(stop:)(if:$rage>0)[(set:$rage to it - 10)](if:$rage <0)[(set:$rage to 0)](set:$timer to 1)(replace:?moves)[(display:"moves")]]]]]
|feed>[(if:$meat is >0)[(if:$hunger>0)[(link-rerun:"Feed")[(if:$hunger is>0)[(replace:?text)[Offering Consumed](set:$hunger to it -1)](set:$meat to it -1)(replace:?meat)[Meat: $meat](replace:?feed)[(display:"feed")]]]]](replace:?img)[](if:$knife is true)[(set:$strength to 8)](else:)[(set:$strength to 5)](if:$bait>0)[(set:$speed to 9)(set:$bait to it -1)](else:)[(set:$speed to 5)(replace:?tools)[(display:"tools")]](set:$rat to (dm:"Creature:","Rat","Meat:",1,"Strength:",1,"Speed:",7,"Gold:",0))(set:$human to (dm:"Creature:","Human","Meat:",10,"Strength:",10,"Speed:",5,"Gold:",(either:1,2,3,4,5)))(set:$cat to (dm:"Creature:","Cat","Meat:",3,"Strength:",4,"Speed:",8,"Gold:",0))(set:$dog to (dm:"Creature:","Dog","Meat:",4,"Strength:",6,"Speed:",6,"Gold:",0))(set:$crow to (dm:"Creature:","Crow","Meat:",2,"Strength:",3,"Speed:",10,"Gold:",(either:0,1,2)))(set:$pigeon to (dm:"Creature:","Pigeon","Meat:",1,"Strength:",2,"Speed:",8,"Gold:",0))|huntpick>[Hunt:
||=
(set:$hunt1 to (either:$rat,$human,$cat,$dog,$crow,$pigeon))(if:$hunt1 is $human)[<img src="https://dirtsta.sh/monster/human1.png"width="50vw">](if:$hunt1 is $rat)[<img src="https://dirtsta.sh/monster/rat1.png"width="50vw">](if:$hunt1 is $cat)[<img src="https://dirtsta.sh/monster/cat1.png"width="50vw">](if:$hunt1 is $dog)[<img src="https://dirtsta.sh/monster/dog1.png"width="50vw">](if:$hunt1 is $crow)[<img src="https://dirtsta.sh/monster/crow1.png"width="50vw">](if:$hunt1 is $pigeon)[<img src="https://dirtsta.sh/monster/pigeon1.png"width="50vw">](link:"$hunt1")[(show:?hunt1)(hide:?huntpick)]
||=
(set:$hunt2 to (either:$rat,$human,$cat,$dog,$crow,$pigeon))(if:$hunt2 is $human)[<img src="https://dirtsta.sh/monster/human1.png"width="50vw">](if:$hunt2 is $rat)[<img src="https://dirtsta.sh/monster/rat1.png"width="50vw">](if:$hunt2 is $cat)[<img src="https://dirtsta.sh/monster/cat1.png"width="50vw">](if:$hunt2 is $dog)[<img src="https://dirtsta.sh/monster/dog1.png"width="50vw">](if:$hunt2 is $crow)[<img src="https://dirtsta.sh/monster/crow1.png"width="50vw">](if:$hunt2 is $pigeon)[<img src="https://dirtsta.sh/monster/pigeon1.png"width="50vw">](link:"$hunt2")[(show:?hunt2)(hide:?huntpick)]
||=
(set:$hunt3 to (either:$rat,$human,$cat,$dog,$crow,$pigeon))(if:$hunt3 is $human)[<img src="https://dirtsta.sh/monster/human1.png"width="50vw">](if:$hunt3 is $rat)[<img src="https://dirtsta.sh/monster/rat1.png"width="50vw">](if:$hunt3 is $cat)[<img src="https://dirtsta.sh/monster/cat1.png"width="50vw">](if:$hunt3 is $dog)[<img src="https://dirtsta.sh/monster/dog1.png"width="50vw">](if:$hunt3 is $crow)[<img src="https://dirtsta.sh/monster/crow1.png"width="50vw">](if:$hunt3 is $pigeon)[<img src="https://dirtsta.sh/monster/pigeon1.png"width="50vw">](link:"$hunt3")[(show:?hunt3)(hide:?huntpick)]
|==|
(link:"Go Back")[(replace:?moves)[(display:"moves")]]](hidden:)|hunt1>[
|=
(live:.3s)[<h1 style="font-size:clamp(.8rem, 1.8vw, 2rem); ">$hunt1</h1>](if:$hunt1's "Creature:" is "Rat")[(replace:?img)[<img src="https://dirtsta.sh/monster/rat1.png"width="500vw">]](if:$hunt1's "Creature:" is "Cat")[(replace:?img)[<img src="https://dirtsta.sh/monster/cat1.png"width="500vw">]](if:$hunt1's "Creature:" is "Crow")[(replace:?img)[<img src="https://dirtsta.sh/monster/crow1.png"width="500vw">]](if:$hunt1's "Creature:" is "Pigeon")[(replace:?img)[<img src="https://dirtsta.sh/monster/pigeon1.png"width="500vw">]](if:$hunt1's "Creature:" is "Dog")[(replace:?img)[<img src="https://dirtsta.sh/monster/dog1.png"width="500vw">]](if:$hunt1's "Creature:" is "Human")[(replace:?img)[<img src="https://dirtsta.sh/monster/human1.png"width="500vw">]]
|==
(link:"Attack")[(set:$attack to it +(either:0,0,1,2,0,0,0,0))(if:$hunt1's "Strength:" >$strength)[(set:$attack to it +(either:0,1,1,2))](if:$hunt1's "Speed:" >$speed)[(set:$attack to it +(either:0,1,1,2))](if:$attack > 2)[(either:[(replace:?moves)[(display:"encounter")]],[(set:$infamy to it +1)(replace:?text)[Your Prey Escaped](replace:?moves)[(display:"moves")]])](else:)[(replace:?text)[You Kill your Prey](if:$hunt1's "Creature:" is "Crow")[(set:$feathers to it +1)](if:$hunt1's "Creature:" is "Pigeon")[(set:$feathers to it +1)](if:$hunt1's "Creature:" is "Rat")[(set:$rattails to it +1)](set:$attack to 0)(set:$meat to it + $hunt1's "Meat:")(set:$gold to it + $hunt1's "Gold:")(replace:?moves)[(display:"moves")]]]
(link:"Lure")[(replace:?text)[//wistle//](animate:?text, "shudder")(set:$hunt1's "Speed:" to it /2)(hide:?hunt1)[(live:5s)[(stop:)(either:[(show:?hunt1)(replace:?text)[Your Prey Comes Closer]],[(show:?hunt1)(replace:?text)[Your Prey Comes Closer]],[(show:?hunt1)(replace:?text)[Your Prey Comes Closer]],[(show:?hunt1)(replace:?text)[Your Prey Comes Closer]],[(set:$infamy to it +1)(replace:?text)[Your Prey Escaped](replace:?moves)[(display:"moves")]],[(replace:?moves)[(display:"encounter")]])]]]
(link:"Stalk")[(replace:?text)[You follow your prey](set:$hunt1's "Strength:" to it /2)(hide:?hunt1)[(live:5s)[(stop:)(either:[(show:?hunt1)(replace:?text)[You Spot an Opening]],[(show:?hunt1)(replace:?text)[You Spot an Opening]],[(show:?hunt1)(replace:?text)[You Spot an Opening]],[(show:?hunt1)(replace:?text)[You Spot an Opening]],[(set:$infamy to it +1)(replace:?text)[Your Prey Escaped](replace:?moves)[(display:"moves")]],[(replace:?moves)[(display:"encounter")]])]]]
|=
]
(hidden:)|hunt2>[
|=
(live:.3s)[<h1 style="font-size:clamp(.8rem, 1.8vw, 2rem); ">$hunt2</h1>](if:$hunt2's "Creature:" is "Rat")[(replace:?img)[<img src="https://dirtsta.sh/monster/rat1.png"width="500vw">]](if:$hunt2's "Creature:" is "Cat")[(replace:?img)[<img src="https://dirtsta.sh/monster/cat1.png"width="500vw">]](if:$hunt2's "Creature:" is "Crow")[(replace:?img)[<img src="https://dirtsta.sh/monster/crow1.png"width="500vw">]](if:$hunt2's "Creature:" is "Pigeon")[(replace:?img)[<img src="https://dirtsta.sh/monster/pigeon1.png"width="500vw">]](if:$hunt2's "Creature:" is "Dog")[(replace:?img)[<img src="https://dirtsta.sh/monster/dog1.png"width="500vw">]](if:$hunt2's "Creature:" is "Human")[(replace:?img)[<img src="https://dirtsta.sh/monster/human1.png"width="500vw">]]
|==
(link:"Attack")[(set:$attack to it +(either:0,0,1,2,0,0,0,0))(if:$hunt2's "Strength:" is >$strength)[(set:$attack to it +(either:0,1,1,2))](if:$hunt2's "Speed:" is >$speed)[(set:$attack to it +(either:0,1,1,2))](if:$attack > 2)[(either:[(replace:?moves)[(display:"encounter")]],[(set:$infamy to it +1)(replace:?text)[Your Prey Escaped](replace:?moves)[(display:"moves")]])](else:)[(replace:?text)[You Kill your Prey](if:$hunt2's "Creature:" is "Crow")[(set:$feathers to it +1)](if:$hunt2's "Creature:" is "Pigeon")[(set:$feathers to it +1)](if:$hunt2's "Creature:" is "Rat")[(set:$rattails to it +1)](set:$meat to it + $hunt2's "Meat:")(set:$gold to it + $hunt2's "Gold:")(replace:?moves)[(display:"moves")]]]
(link:"Lure")[(replace:?text)[//wistle//](animate:?text, "shudder")(set:$hunt2's "Speed:" to it /2)(hide:?hunt2)[(live:5s)[(stop:)(either:[(show:?hunt2)(replace:?text)[Your Prey Comes Closer]],[(show:?hunt2)(replace:?text)[Your Prey Comes Closer]],[(show:?hunt2)(replace:?text)[Your Prey Comes Closer]],[(show:?hunt2)(replace:?text)[Your Prey Comes Closer]],[(set:$infamy to it +1)(replace:?text)[Your Prey Escaped](replace:?moves)[(display:"moves")]],[(replace:?moves)[(display:"encounter")]])]]]
(link:"Stalk")[(replace:?text)[You follow your prey](set:$hunt2's "Strength:" to it /2)(hide:?hunt2)[(live:5s)[(stop:)(either:[(show:?hunt2)(replace:?text)[You Spot an Opening]],[(show:?hunt2)(replace:?text)[You Spot an Opening]],[(show:?hunt2)(replace:?text)[You Spot an Opening]],[(show:?hunt2)(replace:?text)[You Spot an Opening]],[(set:$infamy to it +1)(replace:?text)[Your Pray Escaped](replace:?moves)[(display:"moves")]],[(replace:?moves)[(display:"encounter")]])]]]
|=
](hidden:)|hunt3>[
|=
(live:.3s)[<h1 style="font-size:clamp(.8rem, 1.8vw, 2rem); ">$hunt3</h1>](if:$hunt3's "Creature:" is "Rat")[(replace:?img)[<img src="https://dirtsta.sh/monster/rat1.png"width="500vw">]](if:$hunt3's "Creature:" is "Cat")[(replace:?img)[<img src="https://dirtsta.sh/monster/cat1.png"width="500vw">]](if:$hunt3's "Creature:" is "Crow")[(replace:?img)[<img src="https://dirtsta.sh/monster/crow1.png"width="500vw">]](if:$hunt3's "Creature:" is "Pigeon")[(replace:?img)[<img src="https://dirtsta.sh/monster/pigeon1.png"width="500vw">]](if:$hunt3's "Creature:" is "Dog")[(replace:?img)[<img src="https://dirtsta.sh/monster/dog1.png"width="500vw">]](if:$hunt3's "Creature:" is "Human")[(replace:?img)[<img src="https://dirtsta.sh/monster/human1.png"width="500vw">]]
|==
(link:"Attack")[(set:$attack to it +(either:0,0,1,2,0,0,0,0))(if:$hunt3's "Strength:" is >$strength)[(set:$attack to it +(either:0,1,1,2))](if:$hunt3's "Speed:" is >$speed)[(set:$attack to it +(either:0,1,1,2))](if:$attack > 2)[(either:[(replace:?moves)[(display:"encounter")]],[(set:$infamy to it +1)(replace:?text)[Your Prey Escaped](replace:?moves)[(display:"moves")]])](else:)[(replace:?text)[You Kill your Prey](if:$hunt3's "Creature:" is "Crow")[(set:$feathers to it +1)](if:$hunt3's "Creature:" is "Pigeon")[(set:$feathers to it +1)](if:$hunt3's "Creature:" is "Rat")[(set:$rattails to it +1)](set:$meat to it + $hunt3's "Meat:")(set:$gold to it + $hunt3's "Gold:")(replace:?moves)[(display:"moves")]]]
(link:"Lure")[(replace:?text)[//wistle//](animate:?text, "shudder")(set:$hunt3's "Speed:" to it /2)(hide:?hunt3)[(live:5s)[(stop:)(either:[(show:?hunt3)(replace:?text)[Your Prey Comes Closer]],[(show:?hunt3)(replace:?text)[Your Prey Comes Closer]],[(show:?hunt3)(replace:?text)[Your Prey Comes Closer]],[(show:?hunt3)(replace:?text)[Your Prey Comes Closer]],[(set:$infamy to it +1)(replace:?text)[Your Prey Escaped](replace:?moves)[(display:"moves")]],[(replace:?moves)[(display:"encounter")]])]]]
(link:"Stalk")[(replace:?text)[You follow your prey](set:$hunt3's "Strength:" to it /2)(hide:?hunt3)[(live:5s)[(stop:)(either:[(show:?hunt3)(replace:?text)[You Spot an Opening]],[(show:?hunt3)(replace:?text)[You Spot an Opening]],[(show:?hunt3)(replace:?text)[You Spot an Opening]],[(show:?hunt3)(replace:?text)[You Spot an Opening]],[(set:$infamy to it +1)(replace:?text)[Your Prey Escaped](replace:?moves)[(display:"moves")]],[(replace:?moves)[(display:"encounter")]])]]]
|=
](if:$meat is >0)[(if:$hunger>0)[(link-rerun:"Feed")[(if:$hunger is>0)[(set:$hunger to it -1)](set:$meat to it -1)(replace:?meat)[Meat: $meat](replace:?feed)[(display:"feed")]]]](set:$rat to (dm:"Creature:","Rat","Meat:",1,"Strength:",1,"Speed:",7))(set:$human to (dm:"Creature:","Human","Meat:",10,"Strength:",10,"Speed:",5))(set:$cat to (dm:"Creature:","Cat","Meat:",3,"Strength:",4,"Speed:",8))(set:$dog to (dm:"Creature:","Dog","Meat:",4,"Strength:",6,"Speed:",6))(set:$crow to (dm:"Creature:","Crow","Meat:",2,"Strength:",3,"Speed:",10))(set:$pigeon to (dm:"Creature:","Pigeon","Meat:",1,"Strength:",2,"Speed:",8))|huntpick>[Hunt:
|=
(set:$hunt1 to (either:$rat,$human,$cat,$dog,$crow,$pigeon))(link:"$hunt1")[(show:?hunt1)(hide:?huntpick)]
|=
(set:$hunt2 to (either:$rat,$human,$cat,$dog,$crow,$pigeon))(link:"$hunt2")[(show:?hunt2)(hide:?huntpick)]
|=
(set:$hunt3 to (either:$rat,$human,$cat,$dog,$crow,$pigeon))(link:"$hunt3")[(show:?hunt3)(hide:?huntpick)]
|==|
(link:"Go Back")[(replace:?moves)[(display:"moves")]]](hidden:)|hunt1>[(live:.3s)[$hunt1]
(link:"Attack")[(if:$hunt1's "Strength:" is >5)[(if:$hunt1's "Speed:" is >5)[(either:[(set:$meat to it +$hunt1's "Meat:")(replace:?moves)[(display:"moves")]],[(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]],[(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]],[(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]])](else:)[(either:[(set:$meat to it +$hunt1's "Meat:")(replace:?moves)[(display:"moves")]],,[(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]][(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]])]](else:)[(set:$meat to it +$hunt1's "Meat:")(replace:?moves)[(display:"moves")]]]
(link:"Lure")[(set:$hunt1's "Speed:" to it /2)(hide:?hunt1)[(live:5s)[(stop:)(show:?hunt1)]]]
(link:"Stalk")[(set:$hunt1's "Strength:" to it /2)(hide:?hunt1)[(live:5s)[(stop:)(show:?hunt1)]]]]
(hidden:)|hunt2>[(live:.3s)[$hunt2]
(link:"Attack")[(if:$hunt2's "Strength:" is >5)[(if:$hunt2's "Speed:" is >5)[(either:[(set:$meat to it +$hunt2's "Meat:")(replace:?moves)[(display:"moves")]],[(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]],[(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]],[(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]])](else:)[(either:[(set:$meat to it +$hunt2's "Meat:")(replace:?moves)[(display:"moves")]],[(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]],[(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]])]](else:)[(set:$meat to it +$hunt2's "Meat:")(replace:?moves)[(display:"moves")]]]
(link:"Lure")[(set:$hunt2's "Speed:" to it /2)(hide:?hunt2)[(live:5s)[(stop:)(show:?hunt2)]]]
(link:"Stalk")[(set:$hunt2's "Strength:" to it /2)(hide:?hunt2)[(live:5s)[(stop:)(show:?hunt2)]]]]
(hidden:)|hunt3>[(live:.3s)[$hunt3]
(link:"Attack")[(if:$hunt3's "Strength:" is >5)[(if:$hunt3's "Speed:" is >5)[(either:[(set:$meat to it +$hunt3's "Meat:")(replace:?moves)[(display:"moves")]],[(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]],[(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]],[(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]])](else:)[(either:[(set:$meat to it +$hunt3's "Meat:")(replace:?moves)[(display:"moves")]],[(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]],[(set:$infamy to it + 1)(replace:?moves)[(display:"moves")]])]](else:)[(set:$meat to it +$hunt3's "Meat:")(replace:?moves)[(display:"moves")]]]
(link:"Lure")[(set:$hunt3's "Speed:" to it /2)(hide:?hunt3)[(live:5s)[(stop:)(show:?hunt3)]]]
(link:"Stalk")[(set:$hunt3's "Strength:" to it /2)(hide:?hunt3)[(live:5s)[(stop:)(show:?hunt3)]]]](replace:?img)[]|scavenge>[(link:"Pickpocket")[(replace:?img)[<img src="https://dirtsta.sh/monster/human1.png"width="500vw">](replace:?text)[You wait for a distraction](hide:?scavenge)(live:(either:2s,5s,7s,10s))[(replace:?moves)[(display:"swipe")](stop:)]]
(link:"Break in")[(replace:?moves)[(display:"break in")]]
(link:"Go Back")[(replace:?moves)[(display:"moves")]]](if:$hammer is true)[(display:"holywater")](else:)[(replace:?text)[You steal a hammer](set:$hammer to true)(replace:?moves)[(display:"moves")]](if:$holywater is true)[(display:"screwdriver")](else:)[(replace:?text)[You steal a bottle of holy water](set:$holywater to true)(replace:?moves)[(display:"moves")]](if:$screwdriver is true)[(display:"bible")](else:)[(replace:?text)[You steal a screwdriver](set:$screwdriver to true)(replace:?moves)[(display:"moves")]](if:$bible is true)[(display:"cross")](else:)[(replace:?text)[you steal a bible](set:$bible to true)(replace:?moves)[(display:"moves")]](if:$cross is true)[(set:$gold to it +1)(replace:?moves)[(display:"moves")]](else:)[(replace:?text)[You steal a cross](set:$cross to true)(replace:?moves)[(display:"moves")]](if:$infamy>10)[(goto:"end3")](display:(either:"cop","priest","doctor","clerk"))(replace:?img)[<img src="https://dirtsta.sh/monster/copv1.png"width="500vw">](if:$infamy <5)[(replace:?text)[You there! Show yourself. What are you up to over there?]
|choice1>[(link:"Just out for a walk officer")[(replace:?text)[Well you should mind yourself, been hearing of peculiar happenings in the area.](show:?choice2)(hide:?choice1)]
(link:"None of your buisness pig")[(replace:?text)[I'll be keeping an eye on you.](set:$infamy to it +1)(replace:?moves)[(display:"moves")]]](hidden:)|choice2>[(link:"Will do")[(replace:?text)[You have a goodnight.](replace:?moves)[(display:"moves")]]
(link:"Gobbledygook!")[(either:[(replace:?text)[Probably true, have a goodnight.](set:$infamy to it -1)(replace:?main)[(display:"moves")]],[(replace:?text)[Best to be vigilant, you never know whose out here.](set:$infamy to it +1)(replace:?moves)[(display:"moves")]])]]]
(if:$infamy>4)|choice3>[(replace:?text)[Hand where I can see them! Show me some identification. Now!](link:"Just need to reach down to get my wallet")[(show:?choice4)(hide:?choice3)]
(link:"Don't have any identification on me")[(show:?choice5)(hide:?choice3)]](hidden:)|choice4>[(replace:?text)[No sudden moves]
(link:"Show Identification")[(set:$infamy to it +2)(replace:?moves)[(display:"moves")]]
(if:$gold>4)[(link:"Offer Bribe")[(set:$gold to it -5)(set:$infamy to it -1)(replace:?text)[You're welcome](replace:?moves)[(display:"moves")]]]](hidden:)|choice5>[(replace:?text)[Maybe I should have you come down to the station](link:"I live near by, you could come with me to get my identification")[(set:$meat to it +10)(replace:?moves)[(display:"moves")]]
(link:"Like to see you try")[(goto:"end3")]
(if:$gold>4)[(link:"Offer Bribe")[(set:$gold to it -5)(set:$infamy to it -1)(replace:?text)[Your welcome](replace:?moves)[(display:"moves")]]]](replace:?img)[<img src="https://dirtsta.sh/monster/priestv1.png"width="500vw">](if:$infamy <5)[(replace:?text)[You gave me quite a startle, What are you doing out at this ungodly hour?]
|choice1>[(link:"What about yourself Father?")[(replace:?text)[A member of my parish passed, I delivered their last rights.](show:?choice2)(hide:?choice1)]
(link:"Couldn't sleep")[(replace:?text)[Warm up some milk in that case, the dark is where the demons roam.](set:$infamy to it +1)(replace:?moves)[(display:"moves")]]](hidden:)|choice2>[(link:"May they rest in peace")[(replace:?text)[That is between them and the lord.](replace:?moves)[(display:"moves")]]
(link:"Where is the body now?")[(either:[(replace:?text)[At the end of the street, Kind of you to pay respects.](if:$infamy>0)[(set:$infamy to it -1)](set:$meat to it +10)(replace:?moves)[(display:"moves")]],[(replace:?text)[They are lying in their bed surrounded by their loved ones. Perhaps you should head back to your bed.](set:$infamy to it +1)(replace:?moves)[(display:"moves")]])]
(if:$cross is true)[](else:)[(link:"I have lost my cross, perhaps with one I could pray again")[(replace:?text)[Here my child, take mine](set:$cross to true)(replace:?moves)[(display:"moves")]]]]](if:$infamy>4)|choice3>[(replace:?text)[By the grace of god, what possesses you to act antithetical to the Lord's wishes?](link:"Your god means nothing to me")[(show:?choice4)(hide:?choice3)]
(link:"Forgive me father")[(show:?choice5)(hide:?choice3)]](hidden:)|choice4>[(replace:?text)[Blasphemy!](link:"I have met a true god, pray that you never do")[(set:$infamy to it +1)(replace:?moves)[(display:"moves")]]
(if:$cross is true)[](else:)[(link:"I have lost my cross, perhaps with one I could pray again")[(replace:?text)[here my child, take mine](set:$cross to true)(replace:?moves)[(display:"moves")]]]](hidden:)|choice5>[(replace:?text)[It is not for me to forgive, that is between you and the lord](link:"Thank you father")[(replace:?text)[Thank the lord](replace:?moves)[(display:"moves")]]
(if:$cross is true)[](else:)[(link:"I have lost my cross, perhaps with one I could pray again")[(replace:?text)[Here my son, take mine](set:$cross to true)(replace:?moves)[(display:"moves")]]]](replace:?img)[<img src="https://dirtsta.sh/monster/doctorv1.png"width="500vw">](if:$infamy <5)[(replace:?text)[You don't look so good, are you feeling aright?]
|choice1>[(link:"Just tired")[(replace:?text)[Those bags under your eyes are the result of more than one missed nights' sleep.](show:?choice2)(hide:?choice1)]
(link:"That's a rude thing to say")[(replace:?text)[My apoligies.](replace:?moves)[(display:"moves")]]](hidden:)|choice2>[(link:"I'll get some rest")[(replace:?text)[You do that.](replace:?moves)[(display:"moves")]]
(link:"I can sleep in hell")[(either:[(replace:?text)[Those who are destined for it should not want to hasten their arrival.](set:$infamy to it +1)(replace:?moves)[(display:"moves")]],[(replace:?text)[Should you choose to want to sleep in this life drop by my office.](replace:?moves)[(display:"moves")]])]]]
(if:$infamy>4)|choice3>[(replace:?text)[How does one make sense of a world so illogical?](link:"Death helps to keep things in perspective")[(show:?choice4)(hide:?choice3)]
(link:"Sounds like you need a Doctor, Doctor")[(show:?choice5)(hide:?choice3)]](hidden:)|choice4>[(replace:?text)[My life's work is to prevent death](link:"A futile endeavor")[(replace:?text)[So far](set:$infamy to it +1)(replace:?moves)[(display:"moves")]]
(link:"A noble calling")[(replace:?text)[I wonder](replace:?moves)[(display:"moves")]]](hidden:)|choice5>[(replace:?text)[What is the use of a Doctor that cannot even cure their own aliments?](link:"Have you considered a career change?")[(replace:?text)[I do like gardenning](replace:?moves)[(display:"moves")]]
(link:"Helping others could be the cure")[(replace:?text)[Thanks for your help](replace:?moves)[(display:"moves")]]](replace:?img)[<img src="https://dirtsta.sh/monster/clerkv1.png"width="500vw">](if:$infamy <5)[(replace:?text)[I see you out here alot, everything okay?]
|choice1>[(link:"Must have been someone else")[(replace:?text)[No, it was definelty you.](show:?choice2)(hide:?choice1)]
(link:"Just getting some air")[(replace:?text)[The air around here stinks at night. Don't know what it is.](replace:?moves)[(display:"moves")]]](hidden:)|choice2>[(link:"I said it must have been someone else")[(replace:?text)[Alright, it was someone else i guess.](replace:?moves)[(display:"moves")]]
(link:"Stop watching me")[(replace:?text)[Oh, so it was you then?](set:$infamy to it +1)(replace:?moves)[(display:"moves")]]]](if:$infamy>4)|choice3>[(replace:?text)[Always out here making trouble](link:"Are you asking for trouble?")[(replace:?text)[Try me](show:?choice4)(hide:?choice3)]
(link:"No trouble")[(replace:?text)[Better not be](replace:?moves)[(display:"moves")]]](hidden:)|choice4>[(link:"Here's trouble")[(goto:"end4")]
(link:"You first")[(replace:?text)[I'll show you trouble](set:?infamy to it +1)(replace:?moves)[(display:"moves")]]]An endless void that consumes all cannot be quelled.
a force feeling of gravity, wind and will pulls you into the abyss.
The last thing you feel is cold.
(link:"try again?")[(restart:)]With no better options, knowing the eventually of entering the void seems worse then entering it now. Your existence fades as will soon the world.
(link:"Try again?")[(rerun:)]
(live:.6s)[(if:$swipe is false)[(replace:?text)[Too slow]](replace:?moves)[(display:"moves")](stop:)](set:$swipe to false)(link:"SWIPE!")[(set:$swipe to true)(replace:?moves)[(replace:?text)[You stole sucessfully](display:(either:"hammer","screwdriver","bible","holywater","cross","gold"))]](else:)[(either:[(set:$swipe to false)(replace:?text)[Empty pocket](set:$infamy to it +1)(replace:?moves)[(display:"moves")]],[(set:$swipe to false)(replace:?moves)[(display:"encounter")]])](live:1s)[$building1](live:1s)[$building2](live:1s)[$building3](replace:?text)[You steal some gold](set:$gold to it +1)(replace:?moves)[(display:"moves")]You think that you can save yourself. All you've done is prolong your suffering.
(link:"try again?")[(restart:)]The cop makes quick work of your feeble self. You try to warn them, but soon after all is consumed.
(link:"try again?")[(restart:)]<h1 style="font-size:clamp(.6rem, 1vw, 1rem);"><center>(text-colour:white)+(bg:red)[//An Alchemist by trade, you dabbled in the occult to draw forth a dark entity. You were attempting to harness it’s power to create electricity. You had not considered from where the entity drew it's power. You were not prepared for it’s immense hunger. You could exorcise the entity, but you'd need some supplies.//]</center>
(text-colour:red)[Exorcism ingredients: 5 Feather, 3 Rat Tails, Hammer, Screwdriver, Bible, Holy Water, Cross]
The entity’s (text-colour:red)[hunger] grows over time. If left unchecked it’s (text-colour:magenta)[rage] begins to increase. If it's rage grows to (text-colour:magenta)[100] the world ends. The only thing that quells it’s hunger is (text-colour:red)[fresh meat]. You can obtain meat by ''hunting'', ''scrounging'',''shopping'', or from'' encounters''. Failing these tasks will increase your(text-colour:red)[ infamy]. If you become too infamous you will be caught. If you have meat you will have the option to “(text-colour:red)[Feed]” the entity.
(text-colour:red)[Hunting]
In the city prey are slim pickings. When you choose to “(text-colour:red)[Hunt]” you will see three options of prey with their stats displayed. If you do not want to hunt any of them you can “Go Back” to the main menu. Each prey has a “(text-colour:red)[Strength]” and a “(text-colour:red)[Speed]” stat. If either of these stats are greater than your's, your chance of failing an attack against them increases. If both stats are greater than yours, your chance of failing an attack against them increases greatly. You get one chance to “(text-colour:red)[Attack]” your prey. You can “(text-colour:red)[Lure]” or “(text-colour:red)[Stalk]” your prey before attacking. Luring your target cuts their “(text-colour:red)[Speed]” in half and stalking cuts their “(text-colour:red)[Strength]” in half. These moves both have a chance of failing but can increase your chance of successfully attacking your prey. You can augment your stats with different items.
(text-colour:red)[Scrounge]
There are two ways to scrounge; “(text-colour:red)[Pickpocket]” or “(text-colour:red)[Break In]”.
“(text-colour:red)[Pickpocket]” requires good timing. You can obtain supplies and cash from pickpocketing.
“(text-colour:red)[Break in]” gives you the option of three buildings. Each building has a difficulty level; the higher the difficulty, the harder it is to break into. Supplies that increase your strength and speed increase your chances of successfully breaking in. Before you break into a target you can scope it out to halve it’s difficulty. Scoping out the target has a chance to fail. You can obtain meat, cash and supplies from breaking in.
(text-colour:red)[Shop]
The shop is open all night. They sell food and supplies for cash.
(text-colour:red)[Pray]
Praying to the entity reduces it's (text-colour:magenta)[rage]. It also resets the rate by which it's rage increases.
(text-colour:red)[Encounter]
Encounters are random events you will have with doctors, priests, shopkeepers and cops. They can happen any time you fail an action. Depending on the choices you make you can increase or decrease your infamy, obtain meat or obtain supplies through encounters. The types of encounters you have will depend on your infamy level. Characters will be more hostile the higher your infamy.
(text-colour:red)[Exorcise]
If you collect all the supplies required, you will be able to exorcise the entity.</h1>You charge at the shopkeep but they were prepared for that. Not a drop of your blood made it inside their store. If only they could understand the calamity that awaits them.
(link:"try again?")[(restart:)](replace:?img)[<img src="https://dirtsta.sh/monster/clerkv1.png"width="500vw">](if:$gold >4)[(link:"Buy a Steak for 5 Dollars")[(set:$meat to it+5)(set:$gold to it-5)(replace:?tools)[(display:"tools")](replace:?supplies)[(display:"supplies")](replace:?moves)[(display:"shop")]]](else:)[//Buy a Steak for 5 Dollars//]
(if:$gold >9)[(link:"Buy 5 Bait for 10 Dollars")[(set:$bait to it +5)(set:$speed to 9)(replace:?tools)[(display:"tools")](replace:?supplies)[(display:"supplies")](set:$gold to it-10)(replace:?moves)[(display:"shop")]]](else:)[//Buy 5 Bait for 10 Dollars//]
(if:$gold >14)[(if:$hammer is true)[](else:)[(link:"Buy a hammer for 15 Dollars")[(set:$hammer to true)(set:$gold to it-15)(set:$strength to 8)(replace:?tools)[(display:"tools")](replace:?supplies)[(display:"supplies")](replace:?moves)[(display:"shop")]]]](else:)[//Buy a Hammer for 15 Dollars//]
(if:$gold >19)[(if:$knife is true)[](else:)[(link:"Buy a knife for 20 Dollars")[(set:$knife to true)(set:$strength to 8)(replace:?tools)[(display:"tools")](set:$gold to it-20)(replace:?tools)[(display:"tools")](replace:?supplies)[(display:"supplies")(replace:?moves)[(display:"shop")]]]]](else:)[//Buy a Knife for 20 Dollars//]
(if:$gold >24)[(if:$screwdriver is true)[](else:)[(link:"Buy a Screwdriver for 25 Dollars")[(set:$screwdriver to true)(set:$gold to it-25)(replace:?tools)[(display:"tools")](replace:?supplies)[(display:"supplies")(replace:?moves)[(display:"shop")]]]]](else:)[//Buy a Screwdriver for 25 Dollars//]
(link:"Go Back")[(replace:?text)[Shop again soon!](replace:?moves)[(display:"moves")]]||=
''(link-rerun:" ? ")[(dialog: [(display:"instructions")])]''
Strength: $strength
Speed: $speed
Infamy: $infamy
Cash: $gold
|meat>[Meat: $meat]
(if:$feathers>4)[(if:$rattails>2)[(if:$hammer is true)[(if:$holywater is true)[(if:$screwdriver is true)[(if:$bible is true)[(if:$cross is true)[(goto:"end")]]]]]]](link:"Hold up")[(replace:?text)[HEY YOU!](hide:?scavenge)(live:2s)[(stop:)(set:$chance to (either:1,2))(if:$chance is 1)[(display:(either:"hammer","screwdriver","bible","holywater","cross","gold"))](else:)[(either:[(replace:?text)[You get beat up](set:$infamy to it +1)(replace:?moves)[(display:"moves")]],[(replace:?moves)[(display:"encounter")]])]]]<script>
// Get the video element
var videoPlayer = document.getElementById('myPlayer');
// Define the URL of your second video
var secondVideoSrc = "https://dirtsta.sh/monster/gvloop.mp4"; // <-- REPLACE THIS
// Keep track of which video is playing/has played
var isFirstVideo = true;
// Add an event listener for when the video ends
videoPlayer.addEventListener('ended', function() {
if (isFirstVideo) {
// Change the source to the second video
videoPlayer.src = secondVideoSrc;
// The original <source> tag is no longer used once .src is set directly.
// SET THE SECOND VIDEO TO LOOP
videoPlayer.loop = true;
// Load the new video
videoPlayer.load();
// Play the new video
videoPlayer.play();
// Update the flag
isFirstVideo = false;
}
// No 'else' needed here if the second video loops indefinitely.
// The 'ended' event will fire for the second video, but since isFirstVideo is false,
// this block won't re-execute. The videoPlayer.loop = true will handle its looping.
});
// Optional: If the initial video might not autoplay due to browser restrictions,
// you might want to trigger play() explicitly after a user interaction or ensure
// the 'muted' attribute is present if autoplaying with sound.
// For simplicity, this example relies on the 'autoplay' attribute.
</script>
<video id="myPlayer" height="800vh" autoplay>
<source src="https://dirtsta.sh/monster/gvopen.mp4" type="video/mp4">
Your browser does not support the video tag.
</video><audio autoplay loop>
<source src="https://dirtsta.sh/monster/Gv1low.m4a" type="audio/mpeg"></audio>
(click-goto: ?Page, "main")#loading-screen {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #f0f0f0; /* Light gray background */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 9999; /* Ensure it's on top of everything */
transition: opacity 1s ease-out; /* Smooth transition when fading out */
}
/* Loading Spinner (simple CSS spinner) */
.loading-spinner {
border: 8px solid #f3f3f3; /* Light grey */
border-top: 8px solid #3498db; /* Blue */
border-radius: 50%;
width: 60px;
height: 60px;
animation: spin 2s linear infinite;
margin-bottom: 20px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Hide the loading screen */
#loading-screen.hidden {
opacity: 0;
visibility: hidden;
}
/* Adjust body overflow once loading is complete */
body.loaded {
overflow: auto;
}
/* General content styling (optional) */
#main-content {
padding: 20px;
font-family: Arial, sans-serif;
line-height: 1.6;
}
#main-content img,
#main-content video {
max-width: 100%;
height: auto;
display: block; /* Helps with layout */
margin-bottom: 20px;
border: 1px solid #ddd;
box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}
<script>
document.addEventListener("DOMContentLoaded", function() {
const loadingScreen = document.getElementById("loading-screen");
const mainContent = document.getElementById("main-content");
const images = document.querySelectorAll("#main-content img");
const videos = document.querySelectorAll("#main-content video");
let itemsToLoad = images.length + videos.length;
let loadedItems = 0;
function itemLoaded() {
loadedItems++;
if (loadedItems === itemsToLoad) {
// All images and videos are loaded
// Add a slight delay for a smoother transition/spinner visibility
setTimeout(() => {
loadingScreen.classList.add("hidden"); // Start fade out
// After the transition, remove the loading screen and show content
loadingScreen.addEventListener("transitionend", function() {
loadingScreen.style.display = "none";
mainContent.style.display = "block";
document.body.classList.add("loaded"); // Re-enable scrolling
}, { once: true }); // Ensure the event listener runs only once
}, 500); // 500ms delay before fading out
}
}
// Handle image loading
if (images.length === 0 && videos.length === 0) {
// No images or videos, proceed immediately
itemLoaded();
} else {
images.forEach(image => {
if (image.complete) {
// Image is already in cache
itemLoaded();
} else {
image.addEventListener("load", itemLoaded);
image.addEventListener("error", function() {
console.error("Error loading image:", image.src);
itemLoaded(); // Still count as loaded to avoid infinite loop
});
}
});
// Handle video loading
videos.forEach(video => {
// The 'canplaythrough' event fires when the browser estimates it can play
// the video to the end without stopping for buffering.
video.addEventListener("canplaythrough", itemLoaded);
video.addEventListener("error", function() {
console.error("Error loading video:", video.src);
itemLoaded(); // Still count as loaded
});
// For videos that might be cached or very small, canplaythrough might fire
// before the event listener is attached if not careful.
// A common workaround is to check readyState, though canplaythrough is generally more robust.
if (video.readyState >= 4) { // HAVE_ENOUGH_DATA
itemLoaded();
}
});
}
});
</script>
<div id="loading-screen">
<div class="loading-spinner"></div>
<p>Loading content...</p>
</div>
<div id="main-content" style="display: none;">
<p>//loading...//</p>
<h2>Images:</h2>
<img src="https://dirtsta.sh/monster/copv1.png" alt="Placeholder Image 1" width="600" height="400">
<img src="https://dirtsta.sh/monster/doctorv1.png" alt="Placeholder Image 2" width="400" height="300">
<img src="https://dirtsta.sh/monster/priestv1.png" alt="Placeholder Image 3" width="800" height="500">
<h2>Video:</h2>
<video controls width="640" height="360" preload="auto">
<source src="https://dirtsta.sh/monster/open2.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<p>More of your website content goes here...</p>
</div>border-style: inset;
border-radius: .2rem;
background-color: #000;=><=
(float-box: "=XX=","Y")[(t8n: "fade")+(transition-time:5s)[<img src="https://dirtsta.sh/monster/gorgevoidtitle.PNG"width="80%">]
(t8n: "fade")+(transition-time:10s)[(link:"Start Game")[(goto:"open")]
(link-rerun:"Instructions")[(dialog: [(display:"instructions")])]]]
<link rel="prefetch" href="https://dirtsta.sh/monster/copv1.png" /><link rel="prefetch" href="https://dirtsta.sh/monster/doctorv1.png" /><link rel="prefetch" href="https://dirtsta.sh/monster/priestv1.png" /><link rel="prefetch" href="https://dirtsta.sh/monster/clerkv1.png" /><link rel="prefetch" href="https://dirtsta.sh/monster/cat1.png" /><link rel="prefetch" href="https://dirtsta.sh/monster/rat1.png" /><link rel="prefetch" href="https://dirtsta.sh/monster/crow1.png" /><link rel="prefetch" href="https://dirtsta.sh/monster/pigeon1.png" /><link rel="prefetch" href="https://dirtsta.sh/monster/dog1.png" /><link rel="prefetch" href="https://dirtsta.sh/monster/human1.png" /><link rel="prefetch" href="https://dirtsta.sh/monster/gvopen.mp4" /><link rel="prefetch" href="https://dirtsta.sh/monster/gvloop.mp4" />
(if:$knife is true)[<img src="https://dirtsta.sh/monster/knife.png"width="30vw"> ](if:$hammer is true)[<img src="https://dirtsta.sh/monster/hammer.png"width="30vw"> ](if:$screwdriver is true)[<img src="https://dirtsta.sh/monster/screwdriver.png"width="40vw"> ](if:$holywater is true)[<img src="https://dirtsta.sh/monster/holywater.png"width="40vw"> ](if:$bible is true)[<img src="https://dirtsta.sh/monster/bible.png"width="50vw"> ](if:$cross is true)[<img src="https://dirtsta.sh/monster/cross.png"width="35vw"> ](if:$feathers>0)[<img src="https://dirtsta.sh/monster/feather.png"width="30vw">: $feathers ](if:$rattails>0)[<img src="https://dirtsta.sh/monster/rattails.png"width="40vw">: $rattails ](if:$bait>0)[<img src="https://dirtsta.sh/monster/bait.png"width="50vw">: $bait](set:$church to (dm:" ","Church","Difficulty:",2,"Meat:",0,"Gold:",(either:2,5,8)))(set:$townhouse to (dm:" ","Townhouse","Difficulty:",(either:1,2,3),"Meat:",(either:0,1,2,3),"Gold:",(either:0,1,2,3)))(set:$bungalow to (dm:" ","Bungalow","Difficulty:",(either:4,5,6),"Meat:",(either:2,3,4,4,5),"Gold:",(either:5,6,7)))(set:$mansion to (dm:" ","Mansion","Difficulty:",10,"Meat:",10,"Gold:",15))(if:$knife is true)[(set:$strength to 8)](else:)[(set:$strength to 5)](if:$bait>0)[(set:$speed to 9)(set:$bait to it -1)](else:)[(set:$speed to 5)(replace:?tools)[(display:"tools")]]|buildpick>[
||=
(set:$building1 to (either:$townhouse,$bungalow,$mansion,$church))
(if:$building1 is $bungalow)[<img src="https://dirtsta.sh/monster/bungalow.png"width="50vw">](if:$building1 is $townhouse)[<img src="https://dirtsta.sh/monster/townhouse.png"width="50vw">](if:$building1 is $mansion)[<img src="https://dirtsta.sh/monster/mansion.png"width="50vw">](if:$building1 is $church)[<img src="https://dirtsta.sh/monster/church.png"width="50vw">](link:"$building1")[(show:?building1)(hide:?buildpick)]
||=
(set:$building2 to (either:$townhouse,$bungalow,$mansion))
(if:$building2 is $bungalow)[<img src="https://dirtsta.sh/monster/bungalow.png"width="50vw">](if:$building2 is $townhouse)[<img src="https://dirtsta.sh/monster/townhouse.png"width="50vw">](if:$building2 is $mansion)[<img src="https://dirtsta.sh/monster/mansion.png"width="50vw">](if:$building2 is $church)[<img src="https://dirtsta.sh/monster/church.png"width="50vw">]
(link:"$building2")[(show:?building2)(hide:?buildpick)]
||=
(set:$building3 to (either:$townhouse,$bungalow,$mansion))
(if:$building3 is $bungalow)[<img src="https://dirtsta.sh/monster/bungalow.png"width="50vw">](if:$building3 is $townhouse)[<img src="https://dirtsta.sh/monster/townhouse.png"width="50vw">](if:$building3 is $mansion)[<img src="https://dirtsta.sh/monster/mansion.png"width="50vw">](if:$building3 is $church)[<img src="https://dirtsta.sh/monster/church.png"width="50vw">](link:"$building3")[(show:?building3)(hide:?buildpick)]
|=|
(link:"Go Back")[(replace:?moves)[(display:"moves")]]](hidden:)|building1>[
|=
<h1 style="font-size:clamp(.8rem, 1.8vw, 2rem); ">$building1</h1>
|=
(if:$building1 is $bungalow)[<img src="https://dirtsta.sh/monster/bungalow.png"width="500vw">](if:$building1 is $townhouse)[<img src="https://dirtsta.sh/monster/townhouse.png"width="500vw">](if:$building1 is $mansion)[<img src="https://dirtsta.sh/monster/mansion.png"width="500vw">](if:$building1 is $church)[<img src="https://dirtsta.sh/monster/church.png"width="500vw">]
|=
(link:"Break in")[(set:$chance to ($attack+$speed/2-5)+(either:1,2,3,4,5,6,7,8,9,10))(if:$building1's "Difficulty:">$chance)[(either:[(replace:?text)[You get spotted](set:$infamy to it +1)(replace:?moves)[(display:"moves")]],[(replace:?moves)[(display:"encounter")]])](else:)[(replace:?text)[You sucessfully broke in](set:$gold to it + $building1's "Gold:")(set:$meat to it + $building1's "Meat:")(if:$building1's " " is "Church")[(either:[(display:"cross"],[(display:"holywater")])](replace:?moves)[(display:"moves")]]]
(link:"Scope out")[(replace:?text)[You scope out your target](hide:?building1)(live:5s)[(stop:)(set:$chance to (either:1,1,1,1,1,2))(if:$chance is 1)[(set:$building1's "Difficulty:" to it/2)(show:?building1)](else:)[(either:[(replace:?text)[You get spotted](set:$infamy to it +1)(replace:?moves)[(display:"moves")]],[(replace:?moves)[(display:"encounter")]])]]]
|=
](hidden:)|building2>[
|=
<h1 style="font-size:clamp(.8rem, 1.8vw, 2rem); ">$building2</h1>
|=
(if:$building2 is $bungalow)[<img src="https://dirtsta.sh/monster/bungalow.png"width="500vw">](if:$building2 is $townhouse)[<img src="https://dirtsta.sh/monster/townhouse.png"width="500vw">](if:$building2 is $mansion)[<img src="https://dirtsta.sh/monster/mansion.png"width="500vw">](if:$building2 is $church)[<img src="https://dirtsta.sh/monster/church.png"width="500vw">]
|=
(link:"Break in")[(set:$chance to ($attack+$speed/2-5)+(either:1,2,3,4,5,6,7,8,9,10))(if:$building2's "Difficulty:">$chance)[(either:[(replace:?text)[You get spotted](set:$infamy to it +1)(replace:?moves)[(display:"moves")]],[(replace:?moves)[(display:"encounter")]])](else:)[(replace:?text)[You sucessfully broke in](set:$gold to it + $building2's "Gold:")(set:$meat to it + $building2's "Meat:")(if:$building2's " " is "Church")[(either:[(display:"cross"],[(display:"holywater")])](replace:?moves)[(display:"moves")]]]
(link:"Scope out")[(replace:?text)[You scope out your target](hide:?building2)(live:5s)[(stop:)(set:$chance to (either:1,1,1,1,1,2))(if:$chance is 1)[(set:$building2's "Difficulty:" to it/2)(show:?building2)](else:)[(either:[(replace:?text)[You get spotted](set:$infamy to it +1)(replace:?moves)[(display:"moves")]],[(replace:?moves)[(display:"encounter")]])]]]
|=
](hidden:)|building3>[
|=
<h1 style="font-size:clamp(.8rem, 1.8vw, 2rem); ">$building3</h1>
|=
(if:$building3 is $bungalow)[<img src="https://dirtsta.sh/monster/bungalow.png"width="500vw">](if:$building3 is $townhouse)[<img src="https://dirtsta.sh/monster/townhouse.png"width="500vw">](if:$building3 is $mansion)[<img src="https://dirtsta.sh/monster/mansion.png"width="500vw">](if:$building3 is $church)[<img src="https://dirtsta.sh/monster/church.png"width="500vw">]
|=
(link:"Break in")[(set:$chance to ($attack+$speed/2-5)+(either:1,2,3,4,5,6,7,8,9,10))(if:$building3's "Difficulty:">$chance)[(either:[(replace:?text)[You get spotted](set:$infamy to it +1)(replace:?moves)[(display:"moves")]],[(replace:?moves)[(display:"encounter")]])](else:)[(replace:?text)[You sucessfully broke in](set:$gold to it + $building3's "Gold:")(set:$meat to it + $building3's "Meat:")(if:$building3's " " is "Church")[(either:[(display:"cross"],[(display:"holywater")])](replace:?moves)[(display:"moves")]]]
(link:"Scope out")[(replace:?text)[You scope out your target](hide:?building3)(live:5s)[(stop:)(set:$chance to (either:1,1,1,1,1,2))(if:$chance is 1)[(set:$building3's "Difficulty:" to it/2)(show:?building3)](else:)[(either:[(replace:?text)[You get spotted](set:$infamy to it +1)(replace:?moves)[(display:"moves")]],[(replace:?moves)[(display:"encounter")]])]]]
|=
]