Šī lapa labāk darbojas, ja pārlūkam ir iespējots JavaScript.
Sākums
Izpētīt
Palīdzība
Pierakstīties
chemicalcrux
/
satiate
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Kods
Problēmas
3
Izmaiņu pieprasījumi
0
Laidieni
5
Vikivietne
Aktivitāte
Pārlūkot izejas kodu
Allow text to contain HTML tags
tags/v0.1.3
Fen Dweller
pirms 6 gadiem
vecāks
7b59b7919a
revīzija
2374ee0bdb
2 mainītis faili
ar
2 papildinājumiem
un
2 dzēšanām
Apvienotais skats
Salīdzināšanas iespējas
Rādīt statistiku
Lejupielādēt ielāpa failu
Lejupielādēt izmaiņu failu
+1
-1
satiate.js
+1
-1
stories/demo.js
+ 1
- 1
satiate.js
Parādīt failu
@@ -54,7 +54,7 @@ function print(lines) {
const log = document.querySelector("#log");
const log = document.querySelector("#log");
const div = document.createElement("div");
const div = document.createElement("div");
div.
textContent
= line;
div.
innerHTML
= line;
bigDiv.appendChild(div);
bigDiv.appendChild(div);
});
});
+ 1
- 1
stories/demo.js
Parādīt failu
@@ -13,7 +13,7 @@ stories.push({
state.player.stats.number = {name: "Number", type: "counter", value: 0, max: 10, color: "rgb(255,255,255)"};
state.player.stats.number = {name: "Number", type: "counter", value: 0, max: 10, color: "rgb(255,255,255)"};
},
},
"intro": () => {
"intro": () => {
print(["don't fall down the stairs ok"]);
print(["
<b>
don't fall down the stairs ok
</b>
"]);
}
}
},
},
"sounds": [
"sounds": [
Rakstīt
Priekšskatītījums
Notiek ielāde…
Atcelt
Saglabāt