43 lines
1.4 KiB
Ruby
43 lines
1.4 KiB
Ruby
p "Playing HCGframe : HumanPrisonTorturer.rb"
|
|
if $game_map.threat
|
|
SndLib.sys_buzzer
|
|
$game_map.popup(0,"QuickMsg:Lona/incombat#{rand(2)}",0,0)
|
|
return
|
|
end
|
|
if get_character(0).summon_data == nil
|
|
get_character(0).set_summon_data({:SexTradeble => true})
|
|
elsif get_character(0).summon_data[:SexTradeble] == nil
|
|
get_character(0).summon_data[:SexTradeble] = true
|
|
end
|
|
$story_stats["HiddenOPT1"] = "0"
|
|
$story_stats["HiddenOPT1"] = "1" if $game_player.actor.stat["Prostitute"] ==1 && get_character(0).summon_data[:SexTradeble]
|
|
#make store [算了,交易,賣身<r=HiddenOPT1>]
|
|
|
|
call_msg("TagMapHumanPrisonCave:HumanPrisonCave/Guard_begin1#{npc_talk_style}")
|
|
call_msg("TagMapNoerMarket:Lona/MarketOpt")
|
|
|
|
|
|
if $game_temp.choice == 1
|
|
manual_barters("HumanPrisonTorturer")
|
|
end
|
|
|
|
if $game_temp.choice == 2 && get_character(0).summon_data[:SexTradeble]
|
|
get_character(0).summon_data[:SexTradeble] = false
|
|
$game_temp.choice == 0
|
|
call_msg("commonNPC:RandomNpc/WhoreWork#{talk_style}")
|
|
call_msg("commonNPC:RandomNpc/choosed")
|
|
$game_player.actor.sta -=1 #WhoreWorkCost
|
|
temp_vs1=rand(30) #性交易難度
|
|
if $game_actors[1].sexy > temp_vs1
|
|
$game_actors[1].mood +=10
|
|
call_msg("commonNPC:RandomNpc/WhoreWork_win")
|
|
play_sex_service_menu(get_character(0),1.1)
|
|
else
|
|
$game_actors[1].mood -=3
|
|
call_msg("commonNPC:RandomNpc/WhoreWork_failed")
|
|
end
|
|
end
|
|
|
|
$story_stats["HiddenOPT1"] = "0"
|
|
$game_temp.choice = -1
|