|
@@ -2,1782 +2,1857 @@
|
|
|
|
|
|
|
|
|
!! Piercings variables:
|
|
|
-!! pirsX: Which piercing is worn at position X
|
|
|
-!! X=
|
|
|
-!! A: Tongue
|
|
|
-!! B: Lip
|
|
|
-!! C: Ear
|
|
|
-!! D: Nose
|
|
|
-!! E: Eyebrow
|
|
|
-!! F: Nipple
|
|
|
-!! G: Pussy
|
|
|
-!! N: Navel
|
|
|
-!! pirsX = 10000: the body is pieced at X but no piercing is currently worn there
|
|
|
-
|
|
|
-menu_off = 1
|
|
|
+!! pcs_piercings[location]: Which piercing is worn at position X
|
|
|
+!! locations:
|
|
|
+!! 'ears'
|
|
|
+!! 'nose'
|
|
|
+!! 'brow'
|
|
|
+!! 'lip'
|
|
|
+!! 'tongue'
|
|
|
+!! 'navel'
|
|
|
+!! 'nipples'
|
|
|
+!! 'pussy'
|
|
|
+!! pcs_piercings[location] < 0: the body is pieced at location but no piercing is currently worn there
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+if $ARGS[0] = 'count':
|
|
|
+ !!Counting the tattoos and piercings just in case
|
|
|
+
|
|
|
+ gs 'tattoo_management', 'count'
|
|
|
+ gs 'piercing_management', 'count'
|
|
|
+
|
|
|
+ exit
|
|
|
+end
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
if $ARGS[0] = 'start':
|
|
|
- $location_type = 'indoors'
|
|
|
- $menu_loc = 'pirsingsalon'
|
|
|
- $menu_arg = 'start'
|
|
|
menu_off = 0
|
|
|
+ $location_type = 'indoors'
|
|
|
+ gs 'shortgs', 'setloc', 'pirsingsalon', 'start'
|
|
|
gs 'stat'
|
|
|
gs 'themes', 'indoors'
|
|
|
+
|
|
|
'<center><b>Tattoo & Piercing Salon</b></center>'
|
|
|
'<center><img src="images/locations/city/industrial/salon/pirsingstudia.jpg"></center>'
|
|
|
'Small studio with just one artist doing the tattoos and piercings.'
|
|
|
|
|
|
- '<center><table border=1><TH>View tattoos</TH><TH>View tattoos</TH><TH>View piercings</TH>'
|
|
|
- *p '<tr><TD><a href="exec:gt ''pirsingsalon'', ''arm''">Arm - 8,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''lip''">Lip - 5,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''pirsyaz''">Tongue - 5,000 <b>₽</b></a></TD></tr>'
|
|
|
- *p '<tr><TD><a href="exec:gt ''pirsingsalon'', ''ass''">Ass - 10,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''neck''">Neck - 8,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''pirsgub''">Lip - 6,000 <b>₽</b></a></TD></tr>'
|
|
|
- *p '<tr><TD><a href="exec:gt ''pirsingsalon'', ''back''">Back - 10,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''pubic''">Pubic - 20,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''pirsysh''">Ear - 3,000 <b>₽</b></a></TD></tr>'
|
|
|
- *p '<tr><TD><a href="exec:gt ''pirsingsalon'', ''belly''">Belly - 10,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''shoulder''">Shoulder - 8,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''pirsnos''">Nose - 5,000 <b>₽</b></a></TD></tr>'
|
|
|
- *p '<tr><TD><a href="exec:gt ''pirsingsalon'', ''breast''">Breasts - 15,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''side''">Side - 12,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''pirsbro''">Eyebrow - 5,000 <b>₽</b></a></TD></tr>'
|
|
|
- *p '<tr><TD><a href="exec:gt ''pirsingsalon'', ''chest''">Chest - 12000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''tramp''">Tramp stamp - 12,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''pirssos''">Nipple - 10,000 <b>₽</b></a></TD></tr>'
|
|
|
- *p '<tr><TD><a href="exec:gt ''pirsingsalon'', ''face''">Face - 10,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''under''">Under breast - 12,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''pirspyp''">Navel - 10,000 <b>₽</b></a></TD></tr>'
|
|
|
- *p '<tr><TD><a href="exec:gt ''pirsingsalon'', ''foot''">Foot - 8,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''wrist''">Wrist - 7,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''pirsvla''">Pussy - 25,000 <b>₽</b></a></TD></tr>'
|
|
|
- *p '<tr><TD><a href="exec:gt ''pirsingsalon'', ''leg''">Legs - 10,000 <b>₽</b></TD><TD><a href="exec:gt ''pirsingsalon'', ''hand''">Hand - 7,000 <b>₽</b></TD><TD></TD></tr></table></center>'
|
|
|
+ act 'Leave':
|
|
|
+ minut += 5
|
|
|
+ gs 'pirsingsalon', 'count'
|
|
|
+ gt 'city_industrial'
|
|
|
+ end
|
|
|
|
|
|
if hour < 12 or hour > 20:
|
|
|
- cls
|
|
|
+ *nl
|
|
|
'Shop is closing and you are asked to leave.'
|
|
|
-
|
|
|
- act 'Leave':
|
|
|
- minut += 5
|
|
|
- gs 'pirsingsalon', 'count'
|
|
|
- gt 'city_industrial'
|
|
|
- end
|
|
|
exit
|
|
|
end
|
|
|
|
|
|
- act 'Leave':
|
|
|
- minut += 5
|
|
|
- gs 'pirsingsalon', 'count'
|
|
|
- gt 'city_industrial'
|
|
|
+ $temp_table = '<center><table border=1>'
|
|
|
+ $temp_table += '<tr>'
|
|
|
+ $temp_table += '<th>'
|
|
|
+ $temp_table += 'View tattoos'
|
|
|
+ $temp_table += '</th>'
|
|
|
+ $temp_table += '<th>'
|
|
|
+ $temp_table += 'View tattoos'
|
|
|
+ $temp_table += '</th>'
|
|
|
+ $temp_table += '<th>'
|
|
|
+ $temp_table += 'View piercings'
|
|
|
+ $temp_table += '</th>'
|
|
|
+ $temp_table += '</tr>'
|
|
|
+
|
|
|
+ $temp_table += '<tr>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_hand''">Hand - 7,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_lip''">Lip - 5,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ if pcs_piercings['ears'] = 0:
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_ears''">Ear - 3,000 <b>₽</b></a>'
|
|
|
+ else
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_ears''">Ear - 1,000 <b>₽</b></a>'
|
|
|
+ end
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '</tr>'
|
|
|
+
|
|
|
+ $temp_table += '<tr>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_wrist''">Wrist - 7,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_belly''">Belly - 10,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ if pcs_piercings['nose'] = 0:
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_nose''">Nose - 5,000 <b>₽</b></a>'
|
|
|
+ else
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_nose''">Nose - 2,000 <b>₽</b></a>'
|
|
|
end
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '</tr>'
|
|
|
+
|
|
|
+ $temp_table += '<tr>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_ankle''">Ankle - 8,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_ass''">Ass - 10,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ if pcs_piercings['brow'] = 0:
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_brow''">Eyebrow - 5,000 <b>₽</b></a>'
|
|
|
+ else
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_brow''">Eyebrow - 2,000 <b>₽</b></a>'
|
|
|
+ end
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '</tr>'
|
|
|
+
|
|
|
+ $temp_table += '<tr>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_arm''">Arm - 8,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_face''">Face - 10,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ if pcs_piercings['lip'] = 0:
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_lip''">Lip - 6,000 <b>₽</b></a>'
|
|
|
+ else
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_lip''">Lip - 3,000 <b>₽</b></a>'
|
|
|
+ end
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '</tr>'
|
|
|
+
|
|
|
+ $temp_table += '<tr>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_shoulder''">Shoulder - 8,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_chest''">Chest - 12000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ if pcs_piercings['tongue'] = 0:
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_tongue''">Tongue - 7,000 <b>₽</b></a>'
|
|
|
+ else
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_tongue''">Tongue - 4,000 <b>₽</b></a>'
|
|
|
+ end
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '</tr>'
|
|
|
+
|
|
|
+ $temp_table += '<tr>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_neck''">Neck - 8,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_tramp''">Tramp stamp - 12,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ if pcs_piercings['navel'] = 0:
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_navel''">Navel - 8,000 <b>₽</b></a>'
|
|
|
+ else
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_navel''">Navel - 5,000 <b>₽</b></a>'
|
|
|
+ end
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '</tr>'
|
|
|
+
|
|
|
+ $temp_table += '<tr>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_back''">Back - 10,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_under''">Under breast - 12,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ if pcs_piercings['nipples'] = 0:
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_nipples''">Nipple - 10,000 <b>₽</b></a>'
|
|
|
+ else
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_nipples''">Nipple - 6,000 <b>₽</b></a>'
|
|
|
+ end
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '</tr>'
|
|
|
+
|
|
|
+ $temp_table += '<tr>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_leg''">Legs - 10,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_breast''">Breasts - 15,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ if pcs_piercings['pussy'] = 0:
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_pussy''">Pussy - 25,000 <b>₽</b></a>'
|
|
|
+ else
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''piercing_pussy''">Pussy - 10,000 <b>₽</b></a>'
|
|
|
+ end
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '</tr>'
|
|
|
+
|
|
|
+ $temp_table += '<tr>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_side''">Side - 12,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '<a href="exec: gt ''pirsingsalon'', ''tattoo_pussy''">Pubic - 20,000 <b>₽</b></a>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '<td>'
|
|
|
+ $temp_table += '</td>'
|
|
|
+ $temp_table += '</tr>'
|
|
|
+
|
|
|
+ $temp_table += '</table></center>'
|
|
|
+
|
|
|
+ '<<$temp_table>>'
|
|
|
+ killvar '$temp_table'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'count':
|
|
|
- !!Counting the tattoos and piercings just in case
|
|
|
|
|
|
- tattCount = 0
|
|
|
-
|
|
|
- if tatarm >= 1: tattCount += 1
|
|
|
- if tatass >= 1: tattCount += 1
|
|
|
- if tatback >= 1: tattCount += 1
|
|
|
- if tatblly >= 1: tattCount += 1
|
|
|
- if tatbrst >= 1: tattCount += 1
|
|
|
- if tatchst >= 1: tattCount += 1
|
|
|
- if tatfce >= 1: tattCount += 1
|
|
|
- if tatankle >= 1: tattCount += 1
|
|
|
- if tatleg >= 1: tattCount += 1
|
|
|
- if tatlip >= 1: tattCount += 1
|
|
|
- if tatneck >= 1: tattCount += 1
|
|
|
- if tatvag >= 1: tattCount += 1
|
|
|
- if tatlech >= 1: tattCount += 1
|
|
|
- if tatside >= 1: tattCount += 1
|
|
|
- if tatupb >= 1: tattCount += 1
|
|
|
- if tatunder >= 1: tattCount += 1
|
|
|
- if tatwrist >= 1: tattCount += 1
|
|
|
- if tathand >= 1: tattCount += 1
|
|
|
-
|
|
|
- pierWearCount = 0
|
|
|
-
|
|
|
- if pirsA > 0 and pirsA ! 10000: pierWearCount += 1
|
|
|
- if pirsB > 0 and pirsB ! 10000: pierWearCount += 1
|
|
|
- if pirsC > 0 and pirsC ! 10000: pierWearCount += 1
|
|
|
- if pirsD > 0 and pirsD ! 10000: pierWearCount += 1
|
|
|
- if pirsE > 0 and pirsE ! 10000: pierWearCount += 1
|
|
|
- if pirsF > 0 and pirsF ! 10000: pierWearCount += 1
|
|
|
- if pirsG > 0 and pirsG ! 10000: pierWearCount += 1
|
|
|
- if pirsN > 0 and pirsN ! 10000: pierWearCount += 1
|
|
|
-end
|
|
|
-
|
|
|
-if $ARGS[0] = 'pirsyaz':
|
|
|
- *clr
|
|
|
- cla
|
|
|
-
|
|
|
- i = 1
|
|
|
- :looptongue_pir
|
|
|
- *p '<a href="exec:gt ''pirsingsalon'', ''tongue_pir'', <<i>>"><img src="images/pc/body/piercings/a<<i>>.jpg" height="250" /></a>'
|
|
|
- i += 1
|
|
|
- if i <= 4:jump 'looptongue_pir'
|
|
|
|
|
|
- act 'Return':gt 'pirsingsalon', 'start'
|
|
|
+
|
|
|
+ !!========================================================================!!
|
|
|
+ !! !!
|
|
|
+ !! PIERCINGS !!
|
|
|
+ !! !!
|
|
|
+ !!========================================================================!!
|
|
|
+
|
|
|
+
|
|
|
+ !!----- Ears --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'piercing_ears':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ ps_total = func('piercing_management', 'totals', 'ears')
|
|
|
+ ps_i = 1
|
|
|
+ :loopears_pir
|
|
|
+ *p '<a href="exec:gt ''pirsingsalon'', ''piercing_ears2'', <<ps_i>>"><img height="250" src="<<func(''piercing_management'', ''ears_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'loopears_pir'
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'tongue_pir':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- i = ARGS[1]
|
|
|
- '<center><img src="images/pc/body/piercings/a<<i>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'piercing_ears2':
|
|
|
+ '<center><img src="<<func(''piercing_management'', ''ears_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if pirsA > 0:
|
|
|
- if dyneval('RESULT = PirsA<<i>>_owned') = 1:
|
|
|
- 'You already own this piercing.'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsyaz'
|
|
|
+ if pcs_piercings['ears_<<ARGS[1]>>_owned'] = 1:
|
|
|
+ 'You already own this piercing.'
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_ears'
|
|
|
+
|
|
|
+ elseif pcs_piercings['ears'] = 0:
|
|
|
+ if max(money, karta) < 3000:
|
|
|
+ 'You cannot afford to get your ears pierced with this piercing.'
|
|
|
else
|
|
|
if money >= 3000:
|
|
|
- act 'Buy this piercing for 3,000 <b>₽</b> (cash)':
|
|
|
- 'You buy the piercing.'
|
|
|
- cla
|
|
|
- money -= 3000
|
|
|
- dynamic 'pirsA<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsyaz'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough cash for this piercing.'
|
|
|
+ dynamic "
|
|
|
+ act 'Get your ears pierced with these earrings for 3,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_ears3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
if karta >= 3000:
|
|
|
- act 'Buy this piercing for 3,000 <b>₽</b> (card)':
|
|
|
- 'You buy the piercing.'
|
|
|
- cla
|
|
|
- karta -= 3000
|
|
|
- dynamic 'pirsA<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsyaz'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough money in your bank for this piercing.'
|
|
|
+ dynamic "
|
|
|
+ act 'Get your ears pierced with these earrings for 3,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_ears3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
- elseif (money >= 5000) or (karta >= 5000):
|
|
|
- if money >= 5000:
|
|
|
- act 'Get your tongue pierced with this piercing for 5,000 <b>₽</b> (cash)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- money -= 5000
|
|
|
- pirsA = i
|
|
|
- dynamic 'pirsA<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 5, 'tongue', 'pierce'
|
|
|
- '<center><img src="images/locations/city/industrial/salon/pirsing.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your tongue and inserts your chosen piercing.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+
|
|
|
+ else
|
|
|
+ if max(money, karta) < 1000:
|
|
|
+ 'You don''t have enough money for this piercing.'
|
|
|
+ else
|
|
|
+ if money >= 1000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 1,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_ears3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- end
|
|
|
- if karta >= 5000:
|
|
|
- act 'Get your tongue pierced with this piercing for 5,000 <b>₽</b> (card)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- karta -= 5000
|
|
|
- pirsA = i
|
|
|
- dynamic 'pirsA<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 5, 'tongue', 'pierce'
|
|
|
- '<center><img src="images/locations/city/industrial/salon/pirsing.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your tongue and inserts your chosen piercing.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+ if karta >= 1000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 1,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_ears3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
+ end
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_ears'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'piercing_ears3':
|
|
|
+ if pcs_piercings['ears'] = 0:
|
|
|
+ *clr
|
|
|
+ minut += 30
|
|
|
+ if $ARGS[2] = 'money': money -= 2000 else karta -= 2000
|
|
|
+
|
|
|
+ '<center><img src="<<func(''piercing_management'', ''ears_image'', ARGS[1])>>"></center>'
|
|
|
+ 'The tattooist disinfects the area, pierces your ears and inserts your chosen earrings.'
|
|
|
+
|
|
|
+ gs 'pain', 1, 'ears', 'pierce'
|
|
|
+
|
|
|
else
|
|
|
- 'You cannot afford to get your tongue pierced with this piercing.'
|
|
|
+ 'You buy the piercing.'
|
|
|
end
|
|
|
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsyaz'
|
|
|
+ if $ARGS[2] = 'money': money -= 1000 else karta -= 1000
|
|
|
+ gs 'piercing_management', 'add', 'ears', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'pirsgub':
|
|
|
- *clr
|
|
|
- cla
|
|
|
|
|
|
- i = 1
|
|
|
- :looplip_pir
|
|
|
- *p '<a href="exec:gt ''pirsingsalon'', ''lip_pir'', <<i>>"><img src="images/pc/body/piercings/b<<i>>.jpg" height="250" /></a>'
|
|
|
- i += 1
|
|
|
- if i <= 7:jump 'looplip_pir'
|
|
|
+ !!----- Nose --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'piercing_nose':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ ps_total = func('piercing_management', 'totals', 'nose')
|
|
|
+ ps_i = 1
|
|
|
+ :loopnose_pir
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''piercing_nose2'', <<ps_i>>"><img height="250" src="<<func(''piercing_management'', ''nose_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'loopnose_pir'
|
|
|
|
|
|
act 'Return':gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'lip_pir':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- i = ARGS[1]
|
|
|
- '<center><img src="images/pc/body/piercings/b<<i>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'piercing_nose2':
|
|
|
+ '<center><img src="<<func(''piercing_management'', ''nose_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if pirsB > 0:
|
|
|
- if dyneval('RESULT = PirsB<<i>>_owned') = 1:
|
|
|
- 'You already own this piercing.'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsgub'
|
|
|
+ if pcs_piercings['nose_<<ARGS[1]>>_owned'] = 1:
|
|
|
+ 'You already own this piercing.'
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_nose'
|
|
|
+
|
|
|
+ elseif pcs_piercings['nose'] = 0:
|
|
|
+ if max(money, karta) < 5000:
|
|
|
+ 'You cannot afford to get your nose pierced with this piercing.'
|
|
|
else
|
|
|
- if money >= 4000:
|
|
|
- act 'Buy this piercing for 4,000 <b>₽</b> (cash)':
|
|
|
- 'You buy the piercing.'
|
|
|
- cla
|
|
|
- money -= 4000
|
|
|
- dynamic 'pirsB<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsgub'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough cash for this piercing.'
|
|
|
+ if money >= 5000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get your nose pierced with these earrings for 5,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_nose3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- if karta >= 4000:
|
|
|
- act 'Buy this piercing for 4,000 <b>₽</b> (card)':
|
|
|
- 'You buy the piercing.'
|
|
|
- cla
|
|
|
- karta -= 4000
|
|
|
- dynamic 'pirsB<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsgub'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough money in your bank for this piercing.'
|
|
|
+ if karta >= 5000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get your nose pierced with these earrings for 5,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_nose3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
- elseif (money >= 6000) or (karta >= 6000):
|
|
|
- if money >= 6000:
|
|
|
- act 'Get your lip pierced with this piercing for 6,000 <b>₽</b> (cash)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- money -= 6000
|
|
|
- pirsB = i
|
|
|
- dynamic 'pirsB<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 2, 'lips', 'pierce'
|
|
|
- '<center><img src="images/locations/city/industrial/salon/pirsing2.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your lip and inserts your chosen piercing.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+
|
|
|
+ else
|
|
|
+ if max(money, karta) < 2000:
|
|
|
+ 'You don''t have enough money for this piercing.'
|
|
|
+ else
|
|
|
+ if money >= 2000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 2,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_nose3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- end
|
|
|
- if karta >= 6000:
|
|
|
- act 'Get your lip pierced with this piercing for 6,000 <b>₽</b> (card)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- karta -= 6000
|
|
|
- pirsB = i
|
|
|
- dynamic 'pirsB<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 2, 'lips', 'pierce'
|
|
|
- '<center><img src="images/locations/city/industrial/salon/pirsing2.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your lip and inserts your chosen piercing.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+ if karta >= 2000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 2,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_nose3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
+ end
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_nose'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'piercing_nose3':
|
|
|
+ if pcs_piercings['nose'] = 0:
|
|
|
+ *clr
|
|
|
+ minut += 30
|
|
|
+ if $ARGS[2] = 'money': money -= 3000 else karta -= 3000
|
|
|
+
|
|
|
+ '<center><img src="<<func(''piercing_management'', ''nose_image'', ARGS[1])>>"></center>'
|
|
|
+ 'The tattooist disinfects the area, pierces your nose and inserts your chosen piercing.'
|
|
|
+
|
|
|
+ gs 'pain', 2, 'nose', 'pierce'
|
|
|
+
|
|
|
else
|
|
|
- 'You cannot afford to get your lip pierced with this piercing.'
|
|
|
+ 'You buy the piercing.'
|
|
|
end
|
|
|
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsgub'
|
|
|
+ if $ARGS[2] = 'money': money -= 2000 else karta -= 2000
|
|
|
+ gs 'piercing_management', 'add', 'nose', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'pirsysh':
|
|
|
- *clr
|
|
|
- cla
|
|
|
|
|
|
- i = 1
|
|
|
- :loopears_pir
|
|
|
- *p '<a href="exec:gt ''pirsingsalon'', ''ears_pir'', <<i>>"><img src="images/pc/body/piercings/c<<i>>.jpg" height="250" /></a>'
|
|
|
- i += 1
|
|
|
- if i <= 24:jump 'loopears_pir'
|
|
|
+ !!----- Brow --------------------------------------------------
|
|
|
|
|
|
- act 'Return':gt 'pirsingsalon', 'start'
|
|
|
+if $ARGS[0] = 'piercing_brow':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ ps_total = func('piercing_management', 'totals', 'brow')
|
|
|
+ ps_i = 1
|
|
|
+ :loopbrow_pir
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''piercing_brow2'', <<ps_i>>"><img height="250" src="<<func(''piercing_management'', ''brow_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'loopbrow_pir'
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'ears_pir':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- i = ARGS[1]
|
|
|
- '<center><img src="images/pc/body/piercings/c<<i>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'piercing_brow2':
|
|
|
+ '<center><img src="<<func(''piercing_management'', ''brow_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if pirsC > 0:
|
|
|
- if dyneval('RESULT = PirsC<<i>>_owned') = 1:
|
|
|
- 'You already own these earrings.'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsysh'
|
|
|
+ if pcs_piercings['brow_<<ARGS[1]>>_owned'] = 1:
|
|
|
+ 'You already own this piercing.'
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_brow'
|
|
|
+
|
|
|
+ elseif pcs_piercings['brow'] = 0:
|
|
|
+ if max(money, karta) < 5000:
|
|
|
+ 'You cannot afford to get your brow pierced with this piercing.'
|
|
|
else
|
|
|
- if money >= 1000:
|
|
|
- act 'Buy this piercing for 1,000 <b>₽</b> (cash)':
|
|
|
- 'You buy the earrings.'
|
|
|
- cla
|
|
|
- money -= 1000
|
|
|
- dynamic 'pirsC<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsysh'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough cash for these earrings.'
|
|
|
+ if money >= 5000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get your brow pierced with these earrings for 5,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_brow3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- if karta >= 1000:
|
|
|
- act 'Buy these earrings for 1,000 <b>₽</b> (card)':
|
|
|
- 'You buy the earrings.'
|
|
|
- cla
|
|
|
- karta -= 1000
|
|
|
- dynamic 'pirsC<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsysh'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough money in your bank for these earrings.'
|
|
|
+ if karta >= 5000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get your brow pierced with these earrings for 5,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_brow3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
- elseif (money >= 3000) or (karta >= 3000):
|
|
|
- if money >= 3000:
|
|
|
- act 'Get your ears pierced with these earrings for 3,000 <b>₽</b> (cash)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- money -= 3000
|
|
|
- pirsC = i
|
|
|
- dynamic 'pirsC<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 1, 'ears', 'pierce'
|
|
|
- '<center><img src="images/pc/body/piercings/c<<i>>.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your ears and inserts your chosen earrings.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+
|
|
|
+ else
|
|
|
+ if max(money, karta) < 2000:
|
|
|
+ 'You don''t have enough money for this piercing.'
|
|
|
+ else
|
|
|
+ if money >= 2000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 2,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_brow3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- end
|
|
|
- if karta >= 3000:
|
|
|
- act 'Get your ears pierced with these earrings for 3,000 <b>₽</b> (card)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- karta -= 3000
|
|
|
- pirsC = i
|
|
|
- dynamic 'pirsC<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 1, 'ears', 'pierce'
|
|
|
- '<center><img src="images/pc/body/piercings/c<<i>>.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your ears and inserts your chosen earrings.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+ if karta >= 2000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 2,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_brow3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
+ end
|
|
|
+
|
|
|
+ act 'Return':gt 'pirsingsalon', 'piercing_brow'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'piercing_brow3':
|
|
|
+ if pcs_piercings['brow'] = 0:
|
|
|
+ *clr
|
|
|
+ minut += 30
|
|
|
+ if $ARGS[2] = 'money': money -= 3000 else karta -= 3000
|
|
|
+
|
|
|
+ '<center><img src="<<func(''piercing_management'', ''brow_image'', ARGS[1])>>"></center>'
|
|
|
+ 'The tattooist disinfects the area, pierces your brow and inserts your chosen piercing.'
|
|
|
+
|
|
|
+ gs 'pain', 3, 'eyebrows', 'pierce'
|
|
|
+
|
|
|
else
|
|
|
- 'You cannot afford to get your ears pierced with this earrings.'
|
|
|
+ 'You buy the piercing.'
|
|
|
end
|
|
|
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsysh'
|
|
|
+ if $ARGS[2] = 'money': money -= 2000 else karta -= 2000
|
|
|
+ gs 'piercing_management', 'add', 'brow', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'pirsnos':
|
|
|
- *clr
|
|
|
- cla
|
|
|
|
|
|
- i = 1
|
|
|
- :loopnose_pir
|
|
|
- *p '<a href="exec:gt ''pirsingsalon'', ''nose_pir'', <<i>>"><img src="images/pc/body/piercings/d<<i>>.jpg" height="250" /></a>'
|
|
|
- i += 1
|
|
|
- if i <= 7:jump 'loopnose_pir'
|
|
|
+ !!----- Lip --------------------------------------------------
|
|
|
|
|
|
- act 'Return':gt 'pirsingsalon', 'start'
|
|
|
+if $ARGS[0] = 'piercing_lip':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ ps_total = func('piercing_management', 'totals', 'lip')
|
|
|
+ ps_i = 1
|
|
|
+ :looplip_pir
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''piercing_lip2'', <<ps_i>>"><img height="250" src="<<func(''piercing_management'', ''lip_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looplip_pir'
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'nose_pir':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- i = ARGS[1]
|
|
|
- '<center><img src="images/pc/body/piercings/d<<i>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'piercing_lip2':
|
|
|
+ '<center><img src="<<func(''piercing_management'', ''lip_image'', ARGS[1])>>"></center>'
|
|
|
+
|
|
|
+ if pcs_piercings['lip_<<ARGS[1]>>_owned'] = 1:
|
|
|
+ 'You already own this piercing.'
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_lip'
|
|
|
|
|
|
- if pirsD > 0:
|
|
|
- if dyneval('RESULT = PirsD<<i>>_owned') = 1:
|
|
|
- 'You already own this piercing.'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsnos'
|
|
|
+ elseif pcs_piercings['lip'] = 0:
|
|
|
+ if max(money, karta) < 6000:
|
|
|
+ 'You cannot afford to get your lip pierced with this piercing.'
|
|
|
else
|
|
|
- if money >= 2000:
|
|
|
- act 'Buy this piercing for 2,000 <b>₽</b> (cash)':
|
|
|
- 'You buy the piercing.'
|
|
|
- cla
|
|
|
- money -= 2000
|
|
|
- dynamic 'pirsD<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsnos'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough cash for this piercing.'
|
|
|
+ if money >= 6000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get your lip pierced with this piercing for 6,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_lip3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- if karta >= 2000:
|
|
|
- act 'Buy this piercing for 2,000 <b>₽</b> (card)':
|
|
|
- 'You buy the piercing.'
|
|
|
- cla
|
|
|
- karta -= 2000
|
|
|
- dynamic 'pirsD<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsnos'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough money in your bank for this piercing.'
|
|
|
+ if karta >= 6000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get your lip pierced with this piercing for 6,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_lip3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
- elseif (money >= 5000) or (karta >= 5000):
|
|
|
- if money >= 5000:
|
|
|
- act 'Get your nose pierced with this piercing for 5,000 <b>₽</b> (cash)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- money -= 5000
|
|
|
- pirsD = i
|
|
|
- dynamic 'pirsD<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 2, 'nose', 'pierce'
|
|
|
- '<center><img src="images/pc/body/piercings/d<<i>>.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your nose and inserts your chosen piercing.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+
|
|
|
+ else
|
|
|
+ if max(money, karta) < 3000:
|
|
|
+ 'You don''t have enough money for this piercing.'
|
|
|
+ else
|
|
|
+ if money >= 3000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 3,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_lip3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- end
|
|
|
- if karta >= 5000:
|
|
|
- act 'Get your nose pierced with this piercing for 5,000 <b>₽</b> (card)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- karta -= 5000
|
|
|
- pirsD = i
|
|
|
- dynamic 'pirsD<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 2, 'nose', 'pierce'
|
|
|
- '<center><img src="images/pc/body/piercings/d<<i>>.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your nose and inserts your chosen piercing.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+ if karta >= 3000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 3,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_lip3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
+ end
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_lip'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'piercing_lip3':
|
|
|
+ if pcs_piercings['lip'] = 0:
|
|
|
+ *clr
|
|
|
+ minut += 30
|
|
|
+ if $ARGS[2] = 'money': money -= 3000 else karta -= 3000
|
|
|
+
|
|
|
+ '<center><img src="images/locations/city/industrial/salon/pirsing2.jpg"></center>'
|
|
|
+ 'The tattooist disinfects the area, pierces your lip and inserts your chosen piercing.'
|
|
|
+
|
|
|
+ gs 'pain', 2, 'lips', 'pierce'
|
|
|
+
|
|
|
else
|
|
|
- 'You cannot afford to get your lip pierced with this piercing.'
|
|
|
+ 'You buy the piercing.'
|
|
|
end
|
|
|
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsnos'
|
|
|
+ if $ARGS[2] = 'money': money -= 3000 else karta -= 3000
|
|
|
+ gs 'piercing_management', 'lip', 'ears', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'pirsbro':
|
|
|
- *clr
|
|
|
- cla
|
|
|
|
|
|
- i = 1
|
|
|
- :loopbrow_pir
|
|
|
- *p '<a href="exec:gt ''pirsingsalon'', ''brow_pir'', <<i>>"><img src="images/pc/body/piercings/e<<i>>.jpg" height="250" /></a>'
|
|
|
- i += 1
|
|
|
- if i <= 2:jump 'loopbrow_pir'
|
|
|
+ !!----- Tongue --------------------------------------------------
|
|
|
|
|
|
- act 'Return':gt 'pirsingsalon', 'start'
|
|
|
+if $ARGS[0] = 'piercing_tongue':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ ps_total = func('piercing_management', 'totals', 'tongue')
|
|
|
+ ps_i = 1
|
|
|
+ :looptongue_pir
|
|
|
+ *pl '<a href="exec: gt ''pirsingsalon'', ''piercing_tongue2'', <<ps_i>>"><img height="250" src="<<func(''piercing_management'', ''tongue_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptongue_pir'
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'brow_pir':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- i = ARGS[1]
|
|
|
- '<center><img src="images/pc/body/piercings/e<<i>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'piercing_tongue2':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
|
|
|
- if pirsE > 0:
|
|
|
- if dyneval('RESULT = PirsE<<i>>_owned') = 1:
|
|
|
- 'You already own this piercing.'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsbro'
|
|
|
+ '<center><img src="<<func(''piercing_management'', ''tongue_image'', ARGS[1])>>"></center>'
|
|
|
+
|
|
|
+ if pcs_piercings['tongue_<<ARGS[1]>>_owned'] = 1:
|
|
|
+ 'You already own this piercing.'
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_tongue'
|
|
|
+
|
|
|
+ elseif pcs_piercings['tongue'] = 0:
|
|
|
+ if max(money, karta) < 7000:
|
|
|
+ 'You cannot afford to get your tongue pierced with this piercing.'
|
|
|
else
|
|
|
- if money >= 2000:
|
|
|
- act 'Buy this piercing for 2,000 <b>₽</b> (cash)':
|
|
|
- 'You buy the piercing.'
|
|
|
- cla
|
|
|
- money -= 2000
|
|
|
- dynamic 'PirsE<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsbro'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough cash for this piercing.'
|
|
|
+ if money >= 7000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get your tongue pierced with this piercing for 7,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_tongue3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- if karta >= 2000:
|
|
|
- act 'Buy this piercing for 2,000 <b>₽</b> (card)':
|
|
|
- 'You buy the piercing.'
|
|
|
- cla
|
|
|
- karta -= 2000
|
|
|
- dynamic 'PirsE<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsbro'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough money in your bank for this piercing.'
|
|
|
+ if karta >= 7000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get your tongue pierced with this piercing for 7,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_tongue3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
- elseif (money >= 5000) or (karta >= 5000):
|
|
|
- if money >= 5000:
|
|
|
- act 'Get your brow pierced with this piercing for 5,000 <b>₽</b> (cash)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- money -= 5000
|
|
|
- PirsE = i
|
|
|
- dynamic 'PirsE<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 3, 'eyebrows', 'pierce'
|
|
|
- '<center><img src="images/pc/body/piercings/e<<i>>.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your brow and inserts your chosen piercing.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+
|
|
|
+ else
|
|
|
+ if max(money, karta) < 4000:
|
|
|
+ 'You don''t have enough money for this piercing.'
|
|
|
+ else
|
|
|
+ if money >= 4000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 4,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_tongue3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- end
|
|
|
- if karta >= 5000:
|
|
|
- act 'Get your brow pierced with this piercing for 5,000 <b>₽</b> (card)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- karta -= 5000
|
|
|
- PirsE = i
|
|
|
- dynamic 'PirsE<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 3, 'eyebrows', 'pierce'
|
|
|
- '<center><img src="images/pc/body/piercings/e<<i>>.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your brow and inserts your chosen piercing.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+ if karta >= 4000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 4,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_tongue3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
+ end
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_tongue'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'piercing_tongue3':
|
|
|
+ if pcs_piercings['tongue'] = 0:
|
|
|
+ *clr
|
|
|
+ minut += 30
|
|
|
+ if $ARGS[2] = 'money': money -= 3000 else karta -= 3000
|
|
|
+
|
|
|
+ '<center><img src="images/locations/city/industrial/salon/pirsing.jpg"></center>'
|
|
|
+ 'The tattooist disinfects the area, pierces your tongue and inserts your chosen piercing.'
|
|
|
+
|
|
|
+ gs 'pain', 5, 'tongue', 'pierce'
|
|
|
+
|
|
|
else
|
|
|
- 'You cannot afford to get your brow pierced with this piercing.'
|
|
|
+ 'You buy the piercing.'
|
|
|
end
|
|
|
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsbro'
|
|
|
+ if $ARGS[2] = 'money': money -= 4000 else karta -= 4000
|
|
|
+ gs 'piercing_management', 'add', 'tongue', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'pirssos':
|
|
|
- *clr
|
|
|
- cla
|
|
|
|
|
|
- i = 1
|
|
|
- :loopnip_pir
|
|
|
- *p '<a href="exec:gt ''pirsingsalon'', ''nip_pir'', <<i>>"><img src="images/pc/body/piercings/f<<i>>.jpg" height="250" /></a>'
|
|
|
- i += 1
|
|
|
- if i <= 7:jump 'loopnip_pir'
|
|
|
+ !!----- Navel --------------------------------------------------
|
|
|
|
|
|
- act 'Return':gt 'pirsingsalon', 'start'
|
|
|
+if $ARGS[0] = 'piercing_navel':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ ps_total = func('piercing_management', 'totals', 'navel')
|
|
|
+ ps_i = 1
|
|
|
+ :loopbelly_pir
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''piercing_navel2'', <<ps_i>>"><img height="250" src="<<func(''piercing_management'', ''navel_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'loopbelly_pir'
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'nip_pir':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- i = ARGS[1]
|
|
|
- '<center><img src="images/pc/body/piercings/f<<i>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'piercing_navel2':
|
|
|
+ '<center><img src="<<func(''piercing_management'', ''navel_image'', ARGS[1])>>"></center>'
|
|
|
+
|
|
|
+ if pcs_piercings['navel_<<ARGS[1]>>_owned'] = 1:
|
|
|
+ 'You already own this piercing.'
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_brow'
|
|
|
|
|
|
- if pirsF > 0:
|
|
|
- if dyneval('RESULT = PirsF<<i>>_owned') = 1:
|
|
|
- 'You already own this piercing.'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirssos'
|
|
|
+ elseif pcs_piercings['navel'] = 0:
|
|
|
+ if max(money, karta) < 8000:
|
|
|
+ 'You cannot afford to get your belly button pierced with this piercing.'
|
|
|
else
|
|
|
- if money >= 6000:
|
|
|
- act 'Buy these piercings for 6,000 <b>₽</b> (cash)':
|
|
|
- 'You buy the piercings.'
|
|
|
- cla
|
|
|
- money -= 6000
|
|
|
- dynamic 'pirsF<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirssos'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough cash for these piercings.'
|
|
|
+ if money >= 8000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get your belly button pierced with these earrings for 8,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_navel3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- if karta >= 6000:
|
|
|
- act 'Buy these piercings for 6,000 <b>₽</b> (card)':
|
|
|
- 'You buy the piercings.'
|
|
|
- cla
|
|
|
- karta -= 6000
|
|
|
- dynamic 'pirsF<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirssos'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough money in your bank for this piercing.'
|
|
|
+ if karta >= 8000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get your belly button pierced with these earrings for 8,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_navel3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
- elseif (money >= 10000) or (karta >= 10000):
|
|
|
- if money >= 10000:
|
|
|
- act 'Get your nipples pierced with these piercings for 10,000 <b>₽</b> (cash)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- money -= 10000
|
|
|
- pirsF = i
|
|
|
- dynamic 'pirsF<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 7, 'nipples', 'pierce'
|
|
|
- '<center><img src="images/pc/body/piercings/f<<i>>.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your nipples and inserts your chosen piercings.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+
|
|
|
+ else
|
|
|
+ if max(money, karta) < 5000:
|
|
|
+ 'You don''t have enough money for this piercing.'
|
|
|
+ else
|
|
|
+ if money >= 5000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 5,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_navel3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- end
|
|
|
- if karta >= 10000:
|
|
|
- act 'Get your nipples pierced with these piercings for 10,000 <b>₽</b> (card)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- karta -= 10000
|
|
|
- pirsF = i
|
|
|
- dynamic 'pirsF<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 7, 'nipples', 'pierce'
|
|
|
- '<center><img src="images/pc/body/piercings/f<<i>>.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your nipples and inserts your chosen piercings.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+ if karta >= 5000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 5,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_navel3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
+ end
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_navel'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'piercing_navel3':
|
|
|
+ if pcs_piercings['navel'] = 0:
|
|
|
+ *clr
|
|
|
+ minut += 30
|
|
|
+ if $ARGS[2] = 'money': money -= 3000 else karta -= 3000
|
|
|
+
|
|
|
+ '<center><img src="<<func(''piercing_management'', ''navel_image'', ARGS[1])>>"></center>'
|
|
|
+ 'The tattooist disinfects the area, pierces your belly button and inserts your chosen piercing.'
|
|
|
+ gs 'pain', 1, 'tummy', 'pierce'
|
|
|
+
|
|
|
else
|
|
|
- 'You cannot afford to get your nipples pierced with these piercings.'
|
|
|
+ 'You buy the piercing.'
|
|
|
end
|
|
|
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirssos'
|
|
|
+ if $ARGS[2] = 'money': money -= 5000 else karta -= 5000
|
|
|
+ gs 'piercing_management', 'add', 'navel', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'pirspyp':
|
|
|
- *clr
|
|
|
- cla
|
|
|
|
|
|
- i = 1
|
|
|
- :loopbelly_pir
|
|
|
- *p '<a href="exec:gt ''pirsingsalon'', ''belly_pir'', <<i>>"><img src="images/pc/body/piercings/n<<i>>.jpg" height="250" /></a>'
|
|
|
- i += 1
|
|
|
- if i <= 4:jump 'loopbelly_pir'
|
|
|
+ !!----- Nipples --------------------------------------------------
|
|
|
|
|
|
- act 'Return':gt 'pirsingsalon', 'start'
|
|
|
+if $ARGS[0] = 'piercing_nipples':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ ps_total = func('piercing_management', 'totals', 'nipples')
|
|
|
+ ps_i = 1
|
|
|
+ :loopnip_pir
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''piercing_nipples2'', <<ps_i>>"><img height="250" src="<<func(''piercing_management'', ''nipples_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'loopnip_pir'
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'belly_pir':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- i = ARGS[1]
|
|
|
- '<center><img src="images/pc/body/piercings/n<<i>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'piercing_nipples2':
|
|
|
+ '<center><img src="<<func(''piercing_management'', ''nipples_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if pirsN > 0:
|
|
|
- if dyneval('RESULT = PirsN<<i>>_owned') = 1:
|
|
|
- 'You already own this piercing.'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirspyp'
|
|
|
+ if pcs_piercings['nipples_<<ARGS[1]>>_owned'] = 1:
|
|
|
+ 'You already own this piercing.'
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_brow'
|
|
|
+
|
|
|
+ elseif pcs_piercings['nipples'] = 0:
|
|
|
+ if max(money, karta) < 10000:
|
|
|
+ 'You cannot afford to get your nipples pierced with this piercing.'
|
|
|
else
|
|
|
- if money >= 7000:
|
|
|
- act 'Buy this piercing for 7,000 <b>₽</b> (cash)':
|
|
|
- 'You buy the piercing.'
|
|
|
- cla
|
|
|
- money -= 7000
|
|
|
- dynamic 'PirsN<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirspyp'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough cash for this piercing.'
|
|
|
+ if money >= 10000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get your nipples pierced with these earrings for 10,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_nipples3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- if karta >= 7000:
|
|
|
- act 'Buy this piercing for 7,000 <b>₽</b> (card)':
|
|
|
- 'You buy the piercing.'
|
|
|
- cla
|
|
|
- karta -= 7000
|
|
|
- dynamic 'PirsN<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirspyp'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough money in your bank for this piercing.'
|
|
|
+ if karta >= 10000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get your nipples pierced with these earrings for 10,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_nipples3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
- elseif (money >= 10000) or (karta >= 10000):
|
|
|
- if money >= 10000:
|
|
|
- act 'Get your belly button pierced with this piercing for 10,000 <b>₽</b> (cash)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- money -= 10000
|
|
|
- PirsN = i
|
|
|
- dynamic 'PirsN<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 1, 'tummy', 'pierce'
|
|
|
- '<center><img src="images/pc/body/piercings/n<<i>>.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your belly button and inserts your chosen piercing.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+
|
|
|
+ else
|
|
|
+ if max(money, karta) < 6000:
|
|
|
+ 'You don''t have enough money for this piercing.'
|
|
|
+ else
|
|
|
+ if money >= 6000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 6,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_nipples3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- end
|
|
|
- if karta >= 10000:
|
|
|
- act 'Get your belly button pierced with this piercing for 10,000 <b>₽</b> (card)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- karta -= 10000
|
|
|
- PirsN = i
|
|
|
- dynamic 'PirsN<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 1, 'tummy', 'pierce'
|
|
|
- '<center><img src="images/pc/body/piercings/n<<i>>.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your belly button and inserts your chosen piercing.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+ if karta >= 6000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 6,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_nipples3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
+ end
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_nipples'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'piercing_nipples3':
|
|
|
+ if pcs_piercings['nipples'] = 0:
|
|
|
+ *clr
|
|
|
+ minut += 30
|
|
|
+ if $ARGS[2] = 'money': money -= 4000 else karta -= 4000
|
|
|
+
|
|
|
+ '<center><img src="<<func(''piercing_management'', ''nipples_image'', ARGS[1])>>"></center>'
|
|
|
+ 'The tattooist disinfects the area, pierces your nipples and inserts your chosen piercings.'
|
|
|
+ gs 'pain', 7, 'nipples', 'pierce'
|
|
|
+
|
|
|
else
|
|
|
- 'You cannot afford to get your belly button pierced with this piercing.'
|
|
|
+ 'You buy the piercing.'
|
|
|
end
|
|
|
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirspyp'
|
|
|
+ if $ARGS[2] = 'money': money -= 6000 else karta -= 6000
|
|
|
+ gs 'piercing_management', 'add', 'nipples', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'pirsvla':
|
|
|
- *clr
|
|
|
- cla
|
|
|
|
|
|
- i = 1
|
|
|
+ !!----- Pussy --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'piercing_pussy':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ ps_total = func('piercing_management', 'totals', 'pussy')
|
|
|
+ ps_i = 1
|
|
|
:looppubic_pir
|
|
|
- *p '<a href="exec:gt ''pirsingsalon'', ''pubic_pir'', <<i>>"><img src="images/pc/body/piercings/g<<i>>.jpg" height="250" /></a>'
|
|
|
- i += 1
|
|
|
- if i <= 10:jump 'looppubic_pir'
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''piercing_pussy2'', <<ps_i>>"><img height="250" src="<<func(''piercing_management'', ''pussy_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looppubic_pir'
|
|
|
|
|
|
act 'Return':gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'pubic_pir':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- i = ARGS[1]
|
|
|
- '<center><img src="images/pc/body/piercings/g<<i>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'piercing_pussy2':
|
|
|
+ '<center><img src="<<func(''piercing_management'', ''pussy_image'', ARGS[1])>>"></center>'
|
|
|
+
|
|
|
+ if pcs_piercings['pussy_<<ARGS[1]>>_owned'] = 1:
|
|
|
+ 'You already own this piercing.'
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_brow'
|
|
|
|
|
|
- if pirsG > 0:
|
|
|
- if dyneval('RESULT = PirsG<<i>>_owned') = 1:
|
|
|
- 'You already own this piercing.'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsvla'
|
|
|
+ elseif pcs_piercings['pussy'] = 0:
|
|
|
+ if max(money, karta) < 25000:
|
|
|
+ 'You cannot afford to get your pussy pierced with this piercing.'
|
|
|
else
|
|
|
- if money >= 10000:
|
|
|
- act 'Buy this piercing for 10,000 <b>₽</b> (cash)':
|
|
|
- 'You buy the piercing.'
|
|
|
- cla
|
|
|
- money -= 10000
|
|
|
- dynamic 'pirsG<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsvla'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough cash for this piercing.'
|
|
|
+ if money >= 25000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get your pussy pierced with these earrings for 25,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_pussy3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- if karta >= 10000:
|
|
|
- act 'Buy this piercing for 10,000 <b>₽</b> (card)':
|
|
|
- 'You buy the piercing.'
|
|
|
- cla
|
|
|
- karta -= 10000
|
|
|
- dynamic 'pirsG<<i>>_owned = 1'
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsvla'
|
|
|
- end
|
|
|
- else
|
|
|
- 'You don''t have enough money in your bank for this piercing.'
|
|
|
+ if karta >= 25000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get your pussy pierced with these earrings for 25,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_pussy3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
- elseif (money >= 25000) or (karta >= 25000):
|
|
|
- if money >= 25000:
|
|
|
- act 'Get your pussy pierced with this piercing for 25,000 <b>₽</b> (cash)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- money -= 25000
|
|
|
- pirsG = i
|
|
|
- dynamic 'pirsG<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 9, 'pubic', 'pierce'
|
|
|
- '<center><img src="images/pc/body/piercings/g<<i>>.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your pussy and inserts your chosen piercing.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+
|
|
|
+ else
|
|
|
+ if max(money, karta) < 10000:
|
|
|
+ 'You don''t have enough money for this piercing.'
|
|
|
+ else
|
|
|
+ if money >= 10000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 10,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'piercing_pussy3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- end
|
|
|
- if karta >= 25000:
|
|
|
- act 'Get your pussy pierced with this piercing for 25,000 <b>₽</b> (card)':
|
|
|
- cls
|
|
|
- minut += 30
|
|
|
- karta -= 25000
|
|
|
- pirsG = i
|
|
|
- dynamic 'pirsG<<i>>_owned = 1'
|
|
|
- pierWearCount += 1
|
|
|
- gs 'pain', 9, 'pubic', 'pierce'
|
|
|
- '<center><img src="images/pc/body/piercings/g<<i>>.jpg"></center>'
|
|
|
- gs 'stat'
|
|
|
- 'The tattooist disinfects the area, pierces your pussy and inserts your chosen piercing.'
|
|
|
-
|
|
|
- act 'Leave':gt 'pirsingsalon', 'start'
|
|
|
+ if karta >= 10000:
|
|
|
+ dynamic "
|
|
|
+ act 'Buy this piercing for 10,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'piercing_pussy3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
+ end
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'piercing_pussy'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'piercing_pussy3':
|
|
|
+ if pcs_piercings['pussy'] = 0:
|
|
|
+ *clr
|
|
|
+ minut += 30
|
|
|
+ if $ARGS[2] = 'money': money -= 15000 else karta -= 15000
|
|
|
+
|
|
|
+ '<center><img src="<<func(''piercing_management'', ''pussy_image'', ARGS[1])>>"></center>'
|
|
|
+ 'The tattooist disinfects the area, pierces your pussy and inserts your chosen piercing.'
|
|
|
+ gs 'pain', 9, 'pubic', 'pierce'
|
|
|
+
|
|
|
else
|
|
|
- 'You cannot afford to get your pussy pierced with this piercing.'
|
|
|
+ 'You buy the piercing.'
|
|
|
end
|
|
|
|
|
|
- act 'Return':gt 'pirsingsalon', 'pirsvla'
|
|
|
+ if $ARGS[2] = 'money': money -= 10000 else karta -= 10000
|
|
|
+ gs 'piercing_management', 'add', 'pussy', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'arm':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatarm = 0:
|
|
|
|
|
|
- n = 1
|
|
|
- :looptatarm
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''arm_get''"><img src="images/pc/body/tattoos/arms/tatarm<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 77:jump 'looptatarm'
|
|
|
+
|
|
|
+
|
|
|
+ !!========================================================================!!
|
|
|
+ !! !!
|
|
|
+ !! TATTOOS !!
|
|
|
+ !! !!
|
|
|
+ !!========================================================================!!
|
|
|
+
|
|
|
+
|
|
|
+ !!----- Ankle --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_ankle':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['ankle'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'ankle')
|
|
|
+ ps_i = 1
|
|
|
+ :looptatfoot
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_ankle2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''ankle_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatfoot'
|
|
|
*nl
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/arms/tatarm<<tatarm>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''ankle_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'arm_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/arms/tatarm<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_ankle2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''ankle_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 8000) and (karta < 8000):
|
|
|
+ if max(money, karta) < 8000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
if money >= 8000:
|
|
|
- act 'Get this tattoo 8,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatarm = n
|
|
|
- money -= 8000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 8,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_ankle3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
if karta >= 8000:
|
|
|
- act 'Get this tattoo 8,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatarm = n
|
|
|
- karta -= 8000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 8,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_ankle3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_ankle'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_ankle3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 8000 else karta -= 8000
|
|
|
+ gs 'tattoo_management', 'add', 'ankle', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'ass':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatass = 0:
|
|
|
|
|
|
- n = 1
|
|
|
- :looptatass
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''ass_get''"><img src="images/pc/body/tattoos/ass/tatass<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 25:jump 'looptatass'
|
|
|
- *nl
|
|
|
+ !!----- Arm --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_arm':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if tattoos['arm'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'arm')
|
|
|
+ ps_i = 1
|
|
|
+ :looptatarm
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_arm2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''arm_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatarm'
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/ass/tatass<<tatass>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''arm_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'ass_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/ass/tatass<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_arm2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''arm_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 10000) and (karta < 10000):
|
|
|
+ if max(money, karta) < 8000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
- if money >= 10000:
|
|
|
- act 'Get this tattoo 10,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatass = n
|
|
|
- money -= 10000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ if money >= 8000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 8,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_arm3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- if karta >= 10000:
|
|
|
- act 'Get this tattoo 10,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatass = n
|
|
|
- karta -= 10000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ if karta >= 8000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 8,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_arm3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_arm'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_arm3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 8000 else karta -= 8000
|
|
|
+ gs 'tattoo_management', 'add', 'arm', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'back':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatback = 0:
|
|
|
|
|
|
- n = 1
|
|
|
- :looptatback
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''back_get''"><img src="images/pc/body/tattoos/back/tatback<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 61:jump 'looptatback'
|
|
|
- *nl
|
|
|
+ !!----- Ass --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_ass':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['ass'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'ass')
|
|
|
+ ps_i = 1
|
|
|
+ :looptatass
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_ass'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''ass_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatass'
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/back/tatback<<tatback>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''ass_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'back_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/back/tatback<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_ass2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''ass_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 10000) and (karta < 10000):
|
|
|
+ if max(money, karta) < 10000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
if money >= 10000:
|
|
|
- act 'Get this tattoo 10,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatback = n
|
|
|
- money -= 10000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 10,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_ass3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
if karta >= 10000:
|
|
|
- act 'Get this tattoo 10,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatback = n
|
|
|
- karta -= 10000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 10,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_ass3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_ass'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_ass3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 10000 else karta -= 10000
|
|
|
+ gs 'tattoo_management', 'add', 'ass', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'belly':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatblly = 0:
|
|
|
|
|
|
- n = 1
|
|
|
- :looptatbelly
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''belly_get''"><img src="images/pc/body/tattoos/belly/tatblly<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 21:jump 'looptatbelly'
|
|
|
- *nl
|
|
|
+ !!----- Back --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_back':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['back'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'back')
|
|
|
+ ps_i = 1
|
|
|
+ :looptatback
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_back2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''back_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatback'
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/belly/tatblly<<tatblly>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''back_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'belly_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/belly/tatblly<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_back2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''back_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 10000) and (karta < 10000):
|
|
|
+ if max(money, karta) < 10000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
if money >= 10000:
|
|
|
- act 'Get this tattoo 10,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatblly = n
|
|
|
- money -= 10000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 10,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_back3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
if karta >= 10000:
|
|
|
- act 'Get this tattoo 10,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatblly = n
|
|
|
- karta -= 10000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 10,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_back3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_back'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_back3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 10000 else karta -= 10000
|
|
|
+ gs 'tattoo_management', 'add', 'back', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'breast':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatbrst = 0:
|
|
|
|
|
|
- n = 1
|
|
|
- :looptatbreast
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''breast_get''"><img src="images/pc/body/tattoos/breasts/tatbrst<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 11:jump 'looptatbreast'
|
|
|
+ !!----- Belly --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_belly':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['belly'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'belly')
|
|
|
+ ps_i = 1
|
|
|
+ :looptatbelly
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_belly2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''belly_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatbelly'
|
|
|
*nl
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/breasts/tatbrst<<tatbrst>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''belly_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'breast_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/breasts/tatbrst<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_belly2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''belly_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 15000) and (karta < 15000):
|
|
|
+ if max(money, karta) < 10000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
- if money >= 15000:
|
|
|
- act 'Get this tattoo 15,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatbrst = n
|
|
|
- money -= 15000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ if money >= 10000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 10,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_belly3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- if karta >= 15000:
|
|
|
- act 'Get this tattoo 15,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatbrst = n
|
|
|
- karta -= 15000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ if karta >= 10000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 10,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_belly3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_belly'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_belly3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 10000 else karta -= 10000
|
|
|
+ gs 'tattoo_management', 'add', 'belly', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'chest':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatchst = 0:
|
|
|
|
|
|
- n = 1
|
|
|
- :looptatchest
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''chest_get''"><img src="images/pc/body/tattoos/chest/tatchst<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 15:jump 'looptatchest'
|
|
|
+ !!----- Breast --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_breast':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['breast'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'breast')
|
|
|
+ ps_i = 1
|
|
|
+ :looptatbreast
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_breast2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''breast_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatbreast'
|
|
|
*nl
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/chest/tatchst<<tatchst>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''breast_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'chest_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/chest/tatchst<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_breast2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''breast_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 12000) and (karta < 12000):
|
|
|
+ if max(money, karta) < 15000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
- if money >= 12000:
|
|
|
- act 'Get this tattoo 12,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatchst = n
|
|
|
- money -= 12000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ if money >= 15000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 15,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_breast3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- if karta >= 12000:
|
|
|
- act 'Get this tattoo 12,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatchst = n
|
|
|
- karta -= 12000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ if karta >= 15000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 15,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_breast3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_breast'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_breast3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 15000 else karta -= 15000
|
|
|
+ gs 'tattoo_management', 'add', 'breast', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'face':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatfce = 0:
|
|
|
|
|
|
- n = 1
|
|
|
- :looptatface
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''face_get''"><img src="images/pc/body/tattoos/face/tatfce<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 8:jump 'looptatface'
|
|
|
- *nl
|
|
|
+ !!----- Chest --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_chest':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['chest'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'chest')
|
|
|
+ ps_i = 1
|
|
|
+ :looptatchest
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_chest2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''chest_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatchest'
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/face/tatfce<<tatfce>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''chest_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'face_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/face/tatfce<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_chest2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''chest_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 10000) and (karta < 10000):
|
|
|
+ if max(money, karta) < 12000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
- if money >= 10000:
|
|
|
- act 'Get this tattoo 10,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatfce = n
|
|
|
- money -= 10000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ if money >= 12000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 12,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_chest3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- if karta >= 10000:
|
|
|
- act 'Get this tattoo 10,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatfce = n
|
|
|
- karta -= 10000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ if karta >= 12000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 12,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_chest3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_chest'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_chest3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 12000 else karta -= 12000
|
|
|
+ gs 'tattoo_management', 'add', 'chest', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'foot':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatankle = 0:
|
|
|
|
|
|
- n = 1
|
|
|
- :looptatfoot
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''foot_get''"><img src="images/pc/body/tattoos/foot/tatankle<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 25:jump 'looptatfoot'
|
|
|
+ !!----- Face --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_face':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['face'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'face')
|
|
|
+ ps_i = 1
|
|
|
+ :looptatface
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_face2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''face_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatface'
|
|
|
*nl
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/foot/tatankle<<tatankle>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''face_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'foot_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/foot/tatankle<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_face2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''face_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 8000) and (karta < 8000):
|
|
|
+ if max(money, karta) < 10000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
- if money >= 8000:
|
|
|
- act 'Get this tattoo 8,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatankle = n
|
|
|
- money -= 8000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ if money >= 10000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 10,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_face3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
- if karta >= 8000:
|
|
|
- act 'Get this tattoo 8,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatankle = n
|
|
|
- karta -= 8000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ if karta >= 10000:
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 10,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_face3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_face'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_face3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 10000 else karta -= 10000
|
|
|
+ gs 'tattoo_management', 'add', 'face', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'hand':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tathand = 0:
|
|
|
|
|
|
- n = 1
|
|
|
+ !!----- Hand --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_hand':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['hand'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'hand')
|
|
|
+ ps_i = 1
|
|
|
:looptathand
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''hand_get''"><img src="images/pc/body/tattoos/hand/tathnd<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 9:jump 'looptathand'
|
|
|
- *nl
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_hand2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''hand_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptathand'
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/hand/tathnd<<tathand>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''hand_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'hand_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/hand/tathnd<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_hand2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''hand_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 7000) and (karta < 7000):
|
|
|
+ if max(money, karta) < 7000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
if money >= 7000:
|
|
|
- act 'Get this tattoo 7,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tathand = n
|
|
|
- money -= 7000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 7,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_hand3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
if karta >= 7000:
|
|
|
- act 'Get this tattoo 7,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tathand = n
|
|
|
- karta -= 7000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 7,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_hand3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_hand'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_hand3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 7000 else karta -= 7000
|
|
|
+ gs 'tattoo_management', 'add', 'hand', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'leg':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatleg = 0:
|
|
|
|
|
|
- n = 1
|
|
|
+ !!----- Leg --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_leg':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['leg'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'leg')
|
|
|
+ ps_i = 1
|
|
|
:looptatleg
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''leg_get''"><img src="images/pc/body/tattoos/legs/tatleg<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 47:jump 'looptatleg'
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_leg2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''leg_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatleg'
|
|
|
*nl
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/legs/tatleg<<tatleg>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''leg_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'leg_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/legs/tatleg<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_leg2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''leg_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 10000) and (karta < 10000):
|
|
|
+ if max(money, karta) < 10000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
if money >= 10000:
|
|
|
- act 'Get this tattoo 10,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatleg = n
|
|
|
- money -= 10000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 10,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_leg3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
if karta >= 10000:
|
|
|
- act 'Get this tattoo 10,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatleg = n
|
|
|
- karta -= 10000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 10,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_leg3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_leg'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_leg3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 10000 else karta -= 10000
|
|
|
+ gs 'tattoo_management', 'add', 'leg', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'lip':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatlip = 0:
|
|
|
|
|
|
- n = 1
|
|
|
+ !!----- Lip --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_lip':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['lip'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'lip')
|
|
|
+ ps_i = 1
|
|
|
:looptatlip
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''lip_get''"><img src="images/pc/body/tattoos/lip/tatlip<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 9:jump 'looptatlip'
|
|
|
- *nl
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_lip2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''lip_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatlip'
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/lip/tatlip<<tatlip>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''lip_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'lip_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/lip/tatlip<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_lip2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''lip_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 5000) and (karta < 5000):
|
|
|
+ if max(money, karta) < 5000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
if money >= 5000:
|
|
|
- act 'Get this tattoo 5,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatlip = n
|
|
|
- money -= 5000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 5,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_lip3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
if karta >= 5000:
|
|
|
- act 'Get this tattoo 5,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatlip = n
|
|
|
- karta -= 5000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 5,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_lip3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_lip'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_lip3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 5000 else karta -= 5000
|
|
|
+ gs 'tattoo_management', 'add', 'lip', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'neck':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatneck = 0:
|
|
|
|
|
|
- n = 1
|
|
|
+ !!----- Neck --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_neck':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['neck'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'neck')
|
|
|
+ ps_i = 1
|
|
|
:looptatneck
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''neck_get''"><img src="images/pc/body/tattoos/neck/tatnck<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 30:jump 'looptatneck'
|
|
|
- *nl
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_neck2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''neck_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatneck'
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/neck/tatnck<<tatneck>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''neck_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'neck_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/neck/tatnck<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_neck2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''neck_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 8000) and (karta < 8000):
|
|
|
+ if max(money, karta) < 8000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
if money >= 8000:
|
|
|
- act 'Get this tattoo 8,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatneck = n
|
|
|
- money -= 8000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 8,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_neck3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
if karta >= 8000:
|
|
|
- act 'Get this tattoo 8,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatneck = n
|
|
|
- karta -= 8000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 8,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_neck3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_neck'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_neck3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 8000 else karta -= 8000
|
|
|
+ gs 'tattoo_management', 'add', 'neck', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'pubic':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatvag = 0:
|
|
|
|
|
|
- n = 1
|
|
|
+ !!----- Pussy --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_pussy':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['pussy'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'pussy')
|
|
|
+ ps_i = 1
|
|
|
:looptatvag
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''vag_get''"><img src="images/pc/body/tattoos/pubic/tatvag<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 53:jump 'looptatvag'
|
|
|
- *nl
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_pussy2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''pussy_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatvag'
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/pubic/tatvag<<tatvag>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''pussy_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'vag_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/pubic/tatvag<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_pussy2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''pussy_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 20000) and (karta < 20000):
|
|
|
+ if max(money, karta) < 20000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
if money >= 20000:
|
|
|
- act 'Get this tattoo 20,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatvag = n
|
|
|
- money -= 20000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 20,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_pussy3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
if karta >= 20000:
|
|
|
- act 'Get this tattoo 20,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatvag = n
|
|
|
- karta -= 20000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 20,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_pussy3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_pussy'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_pussy3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 20000 else karta -= 20000
|
|
|
+ gs 'tattoo_management', 'add', 'pussy', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'shoulder':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatlech = 0:
|
|
|
|
|
|
- n = 1
|
|
|
+ !!----- shoulder --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_shoulder':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['shoulder'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'shoulder')
|
|
|
+ ps_i = 1
|
|
|
:looptatlech
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''shoulder_get''"><img src="images/pc/body/tattoos/shoulder/tatshldr<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 25:jump 'looptatlech'
|
|
|
- *nl
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_shoulder2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''shoulder_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatlech'
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/shoulder/tatshldr<<tatlech>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''shoulder_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'shoulder_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/shoulder/tatshldr<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_shoulder2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''shoulder_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 8000) and (karta < 8000):
|
|
|
+ if max(money, karta) < 8000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
if money >= 8000:
|
|
|
- act 'Get this tattoo 8,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatlech = n
|
|
|
- money -= 8000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 8,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_shoulder3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
if karta >= 8000:
|
|
|
- act 'Get this tattoo 8,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatlech = n
|
|
|
- karta -= 8000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 8,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_shoulder3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_shoulder'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_shoulder3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 8000 else karta -= 8000
|
|
|
+ gs 'tattoo_management', 'add', 'shoulder', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'side':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatside = 0:
|
|
|
|
|
|
- n = 1
|
|
|
+ !!----- Side --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_side':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['side'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'side')
|
|
|
+ ps_i = 1
|
|
|
:looptatside
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''side_get''"><img src="images/pc/body/tattoos/side/tatside<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 23:jump 'looptatside'
|
|
|
- *nl
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_side2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''side_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatside'
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/side/tatside<<tatside>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''side_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'side_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/side/tatside<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_side2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''side_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 12000) and (karta < 12000):
|
|
|
+ if max(money, karta) < 12000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
if money >= 12000:
|
|
|
- act 'Get this tattoo 12,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatside = n
|
|
|
- money -= 12000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 12,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_side3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
if karta >= 12000:
|
|
|
- act 'Get this tattoo 12,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatside = n
|
|
|
- karta -= 12000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 12,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_side3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_side'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_side3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 12000 else karta -= 12000
|
|
|
+ gs 'tattoo_management', 'add', 'side', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'tramp':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatupb = 0:
|
|
|
|
|
|
- n = 1
|
|
|
+ !!----- Tramp --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_tramp':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['tramp'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'tramp')
|
|
|
+ ps_i = 1
|
|
|
:looptatupb
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''tramp_get''"><img src="images/pc/body/tattoos/trampStamp/tatlowbck<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 32:jump 'looptatupb'
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_tramp2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''tramp_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatupb'
|
|
|
*nl
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/trampStamp/tatlowbck<<tatupb>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''tramp_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'tramp_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/trampStamp/tatlowbck<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_tramp2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''tramp_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 12000) and (karta < 12000):
|
|
|
+ if max(money, karta) < 12000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
if money >= 12000:
|
|
|
- act 'Get this tattoo 12,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatupb = n
|
|
|
- money -= 12000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 12,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_tramp3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
if karta >= 12000:
|
|
|
- act 'Get this tattoo 12,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatupb = n
|
|
|
- karta -= 12000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 12,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_tramp3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_tramp'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_tramp3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 12000 else karta -= 12000
|
|
|
+ gs 'tattoo_management', 'add', 'tramp', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'under':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatunder = 0:
|
|
|
|
|
|
- n = 1
|
|
|
+ !!----- Under --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_under':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['under'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'under')
|
|
|
+ ps_i = 1
|
|
|
:looptatunder
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''under_get''"><img src="images/pc/body/tattoos/underBreast/tatundbreast<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 22:jump 'looptatunder'
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_under2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''under_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatunder'
|
|
|
*nl
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/underBreast/tatundbreast<<tatunder>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''under_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'under_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/underBreast/tatundbreast<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_under2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''under_image'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 12000) and (karta < 12000):
|
|
|
+ if max(money, karta) < 12000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
if money >= 12000:
|
|
|
- act 'Get this tattoo 12,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatunder = n
|
|
|
- money -= 12000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 12,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_under3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
if karta >= 12000:
|
|
|
- act 'Get this tattoo 12,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatunder = n
|
|
|
- karta -= 12000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 12,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_under3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_under'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_under3':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 12000 else karta -= 12000
|
|
|
+ gs 'tattoo_management', 'add', 'under', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'wrist':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- if tatwrist = 0:
|
|
|
|
|
|
- n = 1
|
|
|
+ !!----- Wrist --------------------------------------------------
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_wrist':
|
|
|
+ menu_off = 1
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
+ if pcs_tattoos['wrist'] <= 0:
|
|
|
+ ps_total = func('tattoo_management', 'totals', 'wrist')
|
|
|
+ ps_i = 1
|
|
|
:looptatwrist
|
|
|
- *p '<a href="exec:n = <<n>> & gt ''pirsingsalon'', ''wrist_get''"><img src="images/pc/body/tattoos/wrists/tatwrst<<n>>.jpg" height="250" /></a>'
|
|
|
- n += 1
|
|
|
- if n <= 51:jump 'looptatwrist'
|
|
|
- *nl
|
|
|
+ *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_wrist2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''wrist_image'', ps_i)>>"></a>'
|
|
|
+ ps_i += 1
|
|
|
+ if ps_i <= ps_total: jump 'looptatwrist'
|
|
|
|
|
|
else
|
|
|
- '<center><img src="images/pc/body/tattoos/wrists/tatwrst<<tatwrist>>.jpg"></center>'
|
|
|
+ '<center><img src="<<func(''tattoo_management'', ''wrist_image'')>>"></center>'
|
|
|
'You already have this tattoo here.'
|
|
|
end
|
|
|
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'wrist_get':
|
|
|
- *clr
|
|
|
- cla
|
|
|
- '<center><img src="images/pc/body/tattoos/wrists/tatwrst<<n>>.jpg"></center>'
|
|
|
+if $ARGS[0] = 'tattoo_wrist2':
|
|
|
+ '<center><img src="<<func(''tattoo_management'', '' *p '<a href="exec: gt ''pirsingsalon'', ''tattoo_wrist2'', <<ps_i>>"><img height="250" src="<<func(''tattoo_management'', ''wrist_image'', ps_i)>>"></a>'
|
|
|
+'', ARGS[1])>>"></center>'
|
|
|
|
|
|
- if (money < 7000) and (karta < 7000):
|
|
|
+ if max(money, karta) < 7000:
|
|
|
'You cannot afford this tattoo.'
|
|
|
else
|
|
|
if money >= 7000:
|
|
|
- act 'Get this tattoo 7,000 <b>₽</b> (cash)':
|
|
|
- cla
|
|
|
- tatwrist = n
|
|
|
- money -= 7000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 7,000 <b>₽</b> (cash)': xgt 'pirsingsalon', 'tattoo_wrist3', <<ARGS[1]>>, 'money'
|
|
|
+ "
|
|
|
end
|
|
|
if karta >= 7000:
|
|
|
- act 'Get this tattoo 7,000 <b>₽</b> (card)':
|
|
|
- cla
|
|
|
- tatwrist = n
|
|
|
- karta -= 7000
|
|
|
- minut += 60
|
|
|
- gs 'stat'
|
|
|
-
|
|
|
- act 'Return': gt 'pirsingsalon', 'start'
|
|
|
- end
|
|
|
+ dynamic "
|
|
|
+ act 'Get this tattoo 7,000 <b>₽</b> (card)': xgt 'pirsingsalon', 'tattoo_wrist3', <<ARGS[1]>>, 'karta'
|
|
|
+ "
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ act 'Return': gt 'pirsingsalon', 'tattoo_wrist'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'tattoo_wrist2':
|
|
|
+ minut += 60
|
|
|
+ if $ARGS[2] = 'money': money -= 12000 else karta -= 12000
|
|
|
+ gs 'tattoo_management', 'add', 'wrist', ARGS[1]
|
|
|
+ gs 'stat'
|
|
|
+
|
|
|
act 'Return': gt 'pirsingsalon', 'start'
|
|
|
end
|
|
|
|
|
|
---- pirsingsalon ---------------------------------
|
|
|
|
|
|
+
|
|
|
+! Cleanup
|
|
|
+
|
|
|
+killvar 'ps_i'
|
|
|
+killvar 'ps_total'
|
|
|
+
|
|
|
+
|
|
|
+--- pirsingsalon ---------------------------------
|