-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTamaGUNchi functions.txt
89 lines (61 loc) · 2.41 KB
/
TamaGUNchi functions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
:: continuer
<<silently>>
<<if $caca>> <<set $saleté++>> <<set $humeur-->> <<set $amour-->> <<endif>>
<<if $malade>> <<set $amour-->> <<set $énergie = $énergie -2>> <<set $humeur-->> <<endif>>
<<set $link="link loop">>
<<if $amourEstInit and (Math.random()*5 lt 1)>> <<set $link = "link événement random">> <<endif>>
<<if $saleté gt 5>> <<set $link = "link malade">> <<endif>>
<<if $estomac gt 5 and $cacaEstInit>> <<set $link = "link caca">> <<endif>>
<<endsilently>><<display $link>>
::get rencontre random
<<if $lRencontre.length gt 0>>
<<silently>>
<<set $index = Math.floor(Math.random() * $lRencontre.length)>>
<<set $goto = $lRencontre[$index]>>
<<endsilently>><<display $goto>>
<<else>>
Hummm....
On aurait dit qu'il allait se passer quelque chose, mais finalement non. Bizarre.
BUG_ME
[[Continuer|loop]]
<<endif>>
::get main storyline
<<if $lMain.length gt 0>>
<<silently>>
<<set $index = Math.floor(Math.random() * $lMain.length)>>
nombre pigé=<<print $index+"">>
ce que c'est: <<print $lMain[$index]>>
<<set $goto = $lMain[$index]>>
<<set $lMain.splice($index,1)>>
<<endsilently>><<display $goto>>
<<else>>
Il n'y a rien à faire. Ton fusil s'ennuie un peu...
<<set $humeur-->>
[[fin temporaire]]
<<endif>>
:: get amour
<<if $amourEstInit>>Amour: <<print $amour+"">><<endif>>
:: get humeur
<<silently>> <<if $humeur lt 0>> <<set $humeur = 0>> <<endif>>
<<if $humeur gt 4>> <<set $humeur = 4>> <<endif>>
<<endsilently>><<if $humeurEstInit>>Humeur: <<print $humeur+"">>/4<<endif>>
:: get énergie
<<silently>> <<if $énergie lt 0>> <<set $énergie = 0>> <<endif>>
<<if $énergie gt 4>> <<set $énergie = 4>> <<endif>>
<<endsilently>><<if $énergieEstInit>>Énergie: <<print $énergie+"">>/4<<endif>>
:: get faim
<<silently>> <<if $faim lt 0>> <<set $faim = 0>> <<endif>>
<<if $faim gt 4>> <<set $faim = 4>> <<endif>>
<<endsilently>><<if $faimEstInit>>Faim: <<print $faim+"">>/4<<endif>>
:: get caca
<<if $cacaEstInit and $caca>>Ton fusil a fait caca (et il trempe dedans) --> [[Nettoyer]] <<endif>>
:: get malade
<<if $malade>>Ton fusil est malade --> [[Soigner]] <<endif>>
:: get type fusil
<<silently>>
<<set $nom = "pistolet">>
<<if $typeFusil eq 1>> <<set $nom = "fusil de chasse">> <<endif>>
<<if $typeFusil eq 2>> <<set $nom = "mitraillette">> <<endif>>
<<if $typeFusil eq 3>> <<set $nom = "sniper">> <<endif>>
<<if $typeFusil eq 4>> <<set $nom = "bazooka">> <<endif>>
<<endsilently>><<print $nom+"">>