Subversion Repository Public Repository

Nextrek

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
90
91
92
93
94
95
[_tb_system_call storage=system/_000_shop.ks]

*top_shop

[cm  ]
[tb_start_tyrano_code]
[if exp="f.regalo05==1"]
[image storage="default/regalo_05.png" layer=1 page=fore visible=true width="100" height="100" x="50" y="300" ]
[else]
[endif]
[_tb_end_tyrano_code]

[tb_start_tyrano_code]
[ptext layer=1 page=fore text=&f.fitness size=24 x=130 y=5 color=black bold=true ]
[ptext layer=1 page=fore text=&f.cultura size=24 x=420 y=5 color=black bold=true ]
[ptext layer=1 page=fore text=&f.money size=24 x=670 y=5 color=black bold=true ]
[ptext layer=1 page=fore text=&f.energia size=24 x=940 y=5 color=black bold=true ]
[_tb_end_tyrano_code]

[tb_ptext_hide  time="0"  ]
[tb_ptext_show  x="0"  y="200"  size="30"  color="0xffffff"  time="0"  text="Acquistati"  face="spyagency3_1"  anim="false"  edge="undefined"  shadow="undefined"  ]
[tb_ptext_show  x="300"  y="200"  size="30"  color="0xffffff"  time="0"  text="Q."  face="spyagency3_1"  anim="false"  edge="undefined"  shadow="undefined"  ]
[button  storage="00_shop.ks"  target="*caramella"  graphic="regalo_05.png"  width="128"  height="128"  x="658"  y="194"  _clickable_img=""  name="img_14"  ]
[button  storage="00_shop.ks"  target=""  graphic="regalo_04.png"  width="96"  height="96"  x="1118"  y="404"  _clickable_img=""  name="img_15"  ]
[button  storage="00_shop.ks"  target=""  graphic="regalo_06.png"  width="78"  height="128"  x="799"  y="539"  _clickable_img=""  name="img_16"  ]
[button  storage="00_shop.ks"  target=""  graphic="regalo_03.png"  width="70"  height="116"  x="624"  y="377"  _clickable_img=""  name="img_17"  ]
[button  storage="00_shop.ks"  target=""  graphic="regalo_01.png"  width="80"  height="80"  x="731"  y="745"  _clickable_img=""  name="img_18"  ]
[button  storage="00_shop.ks"  target=""  graphic="regalo_02.png"  width="80"  height="80"  x="1163"  y="746"  _clickable_img=""  name="img_19"  ]
[s  ]
[tb_show_message_window  ]
*caramella

[tb_ptext_show  x="1476"  y="164"  size="30"  color="0xffffff"  time="0"  text="Caramella: 1 $"  anim="false"  face="spyagency3_1"  edge="undefined"  shadow="undefined"  ]
[glink  color="black"  storage="00_shop.ks"  size="20"  text="Acquista"  x="1475"  y="230"  width=""  height=""  _clickable_img=""  target="*acquista_caramella"  ]
[glink  color="black"  storage="00_shop.ks"  size="20"  x="1475"  text="Annulla"  y="300"  width=""  height=""  _clickable_img=""  ]
[s  ]
*annulla

[jump  storage="00_shop.ks"  target="*top_shop"  ]
[s  ]
*acquista_caramella

[jump  storage="00_shop.ks"  target="*oggetto_gia_in_possesso"  cond="f.regalo05==1"  ]
[jump  storage="00_shop.ks"  target="*no_soldi"  cond="f.money<0"  ]
[tb_eval  exp="f.regalo05=1"  name="regalo05"  cmd="="  op="t"  val="1"  val_2="undefined"  ]
[tb_eval  exp="f.money-=1"  name="money"  cmd="-="  op="t"  val="1"  val_2="undefined"  ]
[tb_eval  exp="f.energia-=5"  name="energia"  cmd="-="  op="t"  val="5"  val_2="undefined"  ]
[tb_start_tyrano_code]
[freeimage layer = 1]

[_tb_end_tyrano_code]

[jump  storage="00_shop.ks"  target="*top_shop"  ]
[s  ]
*no_soldi

[chara_show  name="Deva"  time="250"  wait="true"  storage="chara/1/Deva_14.png"  width="1594"  height="2050"  left="26"  top="7"  reflect="false"  ]
[tb_show_message_window  ]
[tb_start_text mode=1 ]
Oops... pare che qualcuno non abbia più un soldo![p]
[_tb_end_text]

[tb_hide_message_window  ]
[chara_hide  name="Deva"  time="250"  wait="true"  pos_mode="true"  ]
[tb_start_tyrano_code]
[freeimage layer = 1]

[_tb_end_tyrano_code]

[jump  storage="00_shop.ks"  target="*top_shop"  ]
[s  ]
*mappa_sceglie_stanza

[tb_ptext_hide  time="0"  ]
[tb_image_hide  time="0"  ]
[cm  ]
[jump  storage="00_start_stanza_atleta.ks"  target="*stanza_atleta_top"  cond="f.mc_stanza=='atletico'"  ]
[jump  storage="00_start_stanza_colto.ks"  target="*stanza_colto_top"  cond="f.mc_stanza=='colto'"  ]
[s  ]
*oggetto_gia_in_possesso

[chara_show  name="Deva"  time="250"  wait="true"  storage="chara/1/Deva_09.png"  width="1176"  height="1512"  left="-77"  top="27"  reflect="false"  ]
[tb_show_message_window  ]
[tb_start_text mode=1 ]
Ingordo! Hai già questo oggetto![p]
[_tb_end_text]

[tb_hide_message_window  ]
[chara_hide  name="Deva"  time="250"  wait="true"  pos_mode="true"  ]
[tb_start_tyrano_code]
[freeimage layer = 1]

[_tb_end_tyrano_code]

[jump  storage="00_shop.ks"  target="*top_shop"  ]

Commits for Nextrek/Furry/data/scenario/000_shop.ks

Diff revisions: vs.
Revision Author Commited Message
1343 DBraccini picture DBraccini Mon 16 Mar, 2020 16:23:53 +0000