2020
2121 < div class ="greeting ">
2222 < div >
23- < div class ="name "> WurstScript</ div >
23+ < h1 class ="name "> WurstScript</ h1 >
2424 < div class ="tagline "> Efficient. Innovative. Delicious.</ div >
2525 < a class ="btn btn-primary "> Get Started</ a >
2626 </ div >
3232 </ div >
3333
3434 < div class ="news ">
35- < div class ="title "> Latest Updates</ div >
35+ < h2 class ="title "> Latest Updates</ h2 >
3636 < div class ="cards ">
3737 {% assign posts = site.news | sort: 'date' | reverse %}
3838 {% for post in posts %}
@@ -47,6 +47,59 @@ <h3>{{ post.title }}</h3>
4747 </ div >
4848 </ div >
4949
50+ < div class ="why-wurst ">
51+ < h2 class ="title "> Why Wurst?</ h2 >
52+
53+ < p > WurstScript is a programming language and modding toolkit used to create Warcraft III maps wit ease.
54+ It supports Warcraft III reforged and older versions by emitting either Jass or Lua code.</ p >
55+
56+ < div class ="tabbed ">
57+ < input type ="radio " id ="tab1 " name ="css-tabs " checked >
58+ < input type ="radio " id ="tab2 " name ="css-tabs ">
59+ < input type ="radio " id ="tab3 " name ="css-tabs ">
60+
61+ < ul class ="tabs ">
62+ < li class ="tab "> < label for ="tab1 "> Syntax & Features</ label > </ li >
63+ < li class ="tab "> < label for ="tab2 "> Compiletime</ label > </ li >
64+ < li class ="tab "> < label for ="tab3 "> Optimizations</ label > </ li >
65+ </ ul >
66+
67+ < div class ="tab-content ">
68+ < h4 > WurstScript is a strongly typed language with indentation syntax. </ h4 >
69+ < pre class ="language-wurst ">
70+ < code class ="language-wurst "> init
71+ EventListener.onCast(ABIL_ID) caster ->
72+ forUnitsOfPlayer(caster.getOwner()) u ->
73+ u..addMana(100)
74+ ..addHP(100)
75+ ..addEffect(Abilities.faerieFireTarget, AttachmentPoints.chest)
76+ </ code >
77+ </ pre >
78+ </ div >
79+
80+ < div class ="tab-content ">
81+ < h4 > WurstScript supports interpreting code at compiletime. This includes the generation of map data objects, such as units, abilities and items.</ h4 >
82+ < pre class ="language-wurst ">
83+ < code class ="language-wurst "> constant UNIT_ID = compiletime(UNIT_ID_GEN.next)
84+
85+ @compiletime
86+ function createUnit()
87+ new ZombieDefinition(UNIT_ID, UnitIds.dalaranmutant)
88+ ..setName("Custom Unit")
89+ ..setArmorType(ArmorType.Unarmored)
90+ ..setAttack1TargetsAllowed(commaList(TargetsAllowed.ground, TargetsAllowed.structure, TargetsAllowed.debris))
91+ </ code >
92+ </ pre >
93+
94+ < div class ="tab-content ">
95+ < h4 > New age bullshit</ h4 >
96+ < p > Our conversations with other pilgrims have led to an awakening of pseudo-astral consciousness. Who are we? Where on the great myth will we be re-energized? We are at a crossroads of complexity and stagnation.</ p >
97+ < p > Eons from now, we dreamers will exist like never before as we are aligned by the cosmos. We are being called to explore the stratosphere itself as an interface between nature and complexity. We must learn how to lead infinite lives in the face of bondage.</ p >
98+ < p > Generated by the < a href ="http://sebpearce.com/bullshit/ "> New Age Bullshit Generator</ a > </ p >
99+ </ div >
100+ </ div >
101+ </ div >
102+
50103 </ div >
51104
52105
@@ -93,7 +146,9 @@ <h2 class="title">{{ page.heading }}</h2>
93146 < script type ="text/javascript " src ="{{ '/assets/plugins/jquery-1.12.3.min.js' | prepend: site.baseurl }} "> </ script >
94147 < script type ="text/javascript " src ="{{ '/assets/plugins/bootstrap/js/bootstrap.min.js' | prepend: site.baseurl }} "> </ script >
95148 < script type ="text/javascript " src ="{{ '/assets/plugins/jquery-match-height/jquery.matchHeight-min.js' | prepend: site.baseurl }} "> </ script >
149+ < script type ="text/javascript " src ="{{ '/assets/plugins/prism/prism.min.js' | prepend: site.baseurl }} "> </ script >
96150 < script type ="text/javascript " src ="{{ '/assets/js/instantsearch.min.js' | prepend: site.baseurl }} "> </ script >
151+ < script type ="text/javascript " src ="{{ '/assets/js/wurst.js' | prepend: site.baseurl }} "> </ script >
97152 < script type ="text/javascript " src ="{{ '/assets/js/main.js' | prepend: site.baseurl }} "> </ script >
98153 < script type ="text/javascript " src ="{{ '/assets/js/buttons.js' | prepend: site.baseurl }} "> </ script >
99154 < script type ="application/ld+json ">
0 commit comments