140 lines
6.4 KiB
Ruby
140 lines
6.4 KiB
Ruby
p "Playing HCGframe : Command_Excretion.rb"
|
|||
|
|
$game_portraits.lprt.hide
|
||
|
|
$game_temp.choice = -1 #還原OPTION
|
||
|
|
temp_vag_cums =$game_player.actor.cumsMeters["CumsCreamPie"]
|
||
|
|
temp_anal_cums =$game_player.actor.cumsMeters["CumsMoonPie"]
|
||
|
|
temp_groin_cums = $game_player.actor.cumsMeters["CumsCreamPie"] + $game_player.actor.cumsMeters["CumsMoonPie"]
|
||
|
|
temp_milk_level = $game_player.actor.lactation_level
|
||
|
|
tmpCanPeePoo = ($game_player.actor.urinary_level >=300 && $game_player.actor.allow_pee_function?) || ($game_player.actor.defecate_level >=300 && $game_player.actor.allow_poo_function?)
|
||
|
|
tmpCanPeePoo ? $story_stats["HiddenOPT1"] = "1" : $story_stats["HiddenOPT1"] = "0"
|
||
|
|
temp_groin_cums >=1 ? $story_stats["HiddenOPT2"] = "1" : $story_stats["HiddenOPT2"] = "0"
|
||
|
|
temp_milk_level >=300 ? $story_stats["HiddenOPT3"] = "1" : $story_stats["HiddenOPT3"] = "0"
|
||
|
|
|
||
|
|
|
||
|
|
slotList = $data_system.equip_type_name
|
||
|
|
!equip_slot_removetable?("MH") ? equips_MH_id = -1 : equips_MH_id = $game_player.actor.equips[slotList["MH"]].item_name #0
|
||
|
|
!equip_slot_removetable?("SH") ? equips_SH_id = -1 : equips_SH_id = $game_player.actor.equips[slotList["SH"]].item_name #1
|
||
|
|
!equip_slot_removetable?("Top") ? equips_Top_id = -1 : equips_Top_id = $game_player.actor.equips[slotList["Top"]].item_name #2
|
||
|
|
!equip_slot_removetable?("Mid") ? equips_Mid_id = -1 : equips_Mid_id = $game_player.actor.equips[slotList["Mid"]].item_name #3
|
||
|
|
!equip_slot_removetable?("Bot") ? equips_Bot_id = -1 : equips_Bot_id = $game_player.actor.equips[slotList["Bot"]].item_name #4
|
||
|
|
!equip_slot_removetable?("TopExt") ? equips_TopExt_id = -1 : equips_TopExt_id = $game_player.actor.equips[slotList["TopExt"]].item_name #5
|
||
|
|
!equip_slot_removetable?("MidExt") ? equips_MidExt_id = -1 : equips_MidExt_id = $game_player.actor.equips[slotList["MidExt"]].item_name #6
|
||
|
|
!equip_slot_removetable?("Hair") ? equips_Hair_id = -1 : equips_Hair_id = $game_player.actor.equips[slotList["Hair"]].item_name #7
|
||
|
|
!equip_slot_removetable?("Head") ? equips_Head_id = -1 : equips_Head_id = $game_player.actor.equips[slotList["Head"]].item_name #8
|
||
|
|
!equip_slot_removetable?("Neck") ? equips_Neck_id = -1 : equips_Neck_id = $game_player.actor.equips[slotList["Neck"]].item_name #14
|
||
|
|
!equip_slot_removetable?("Vag") ? equips_Vag_id = -1 : equips_Vag_id = $game_player.actor.equips[slotList["Vag"]].item_name #15
|
||
|
|
!equip_slot_removetable?("Anal") ? equips_Anal_id = -1 : equips_Anal_id = $game_player.actor.equips[slotList["Anal"]].item_name #16
|
||
|
|
tmp_fucker_id = nil
|
||
|
|
$game_map.npcs.each do |event|
|
||
|
|
next if event.summon_data == nil
|
||
|
|
#next if event.summon_data[:NapFucker] == nil
|
||
|
|
#next if !event.summon_data[:NapFucker]
|
||
|
|
next if event.npc.target != nil
|
||
|
|
next if !["Human","Moot","Deepone"].include?(event.npc.race)
|
||
|
|
next if event.npc.friendly?($game_player) || event.npc.master == $game_player
|
||
|
|
next if event.actor.action_state != nil && event.actor.action_state !=:none
|
||
|
|
next if !event.near_the_target?($game_player,5)
|
||
|
|
next if !event.actor.target.nil?
|
||
|
|
next if event.opacity != 255
|
||
|
|
next if event.actor.sensors[0].get_signal(event,$game_player)[2] <=15 #[target,distance,signal_strength,sensortype]
|
||
|
|
event.summon_data[:NapFucker] = false
|
||
|
|
tmp_fucker_id = event.id
|
||
|
|
end
|
||
|
|
|
||
|
|
if $game_player.actor.urinary_level + $game_player.actor.defecate_level < 600
|
||
|
|
$game_message.add("\\t[commonCommands:Lona/Excretion_end_NoExcretion]")
|
||
|
|
$game_map.interpreter.wait_for_message
|
||
|
|
portrait_hide
|
||
|
|
cam_center(0)
|
||
|
|
return
|
||
|
|
end
|
||
|
|
|
||
|
|
$story_stats["dialog_dress_out"] = 0
|
||
|
|
if !$game_player.innocent_spotted? || !tmp_fucker_id.nil?
|
||
|
|
$game_message.add("\\t[commonCommands:Lona/Excretion_begin2]")
|
||
|
|
$game_map.interpreter.wait_for_message
|
||
|
|
else
|
||
|
|
$game_message.add("\\t[commonCommands:Lona/Bath_begin3_FuckerSight#{talk_style}]") if $game_player.actor.stat["Exhibitionism"] !=1
|
||
|
|
$game_message.add("\\t[commonCommands:Lona/Bath_begin3_FuckerSight_slut]") if $game_player.actor.stat["Exhibitionism"] ==1
|
||
|
|
$game_map.interpreter.wait_for_message
|
||
|
|
case $game_player.actor.stat["persona"] #主角處於視線下 檢測PERSONA來決定屬性變化
|
||
|
|
when "typical"
|
||
|
|
$game_player.actor.mood -=rand(10)+5
|
||
|
|
when "gloomy"
|
||
|
|
$game_player.actor.mood -=rand(5)+3
|
||
|
|
when "tsundere"
|
||
|
|
$game_player.actor.mood -=rand(10)+20
|
||
|
|
when "slut"
|
||
|
|
$game_player.actor.mood +=rand(10)+5
|
||
|
|
end
|
||
|
|
$game_player.actor.mood +=rand(10)+20 if $game_player.actor.stat["Exhibitionism"] ==1
|
||
|
|
end
|
||
|
|
chcg_background_color(0,0,0,0,7)
|
||
|
|
|
||
|
|
|
||
|
|
if equips_MidExt_id != -1#檢查裝備 並脫裝
|
||
|
|
$game_player.actor.change_equip("MidExt", nil)
|
||
|
|
SndLib.sound_equip_armor(125)
|
||
|
|
player_force_update
|
||
|
|
wait(30)
|
||
|
|
end
|
||
|
|
if equips_Bot_id != -1#檢查裝備 並脫裝
|
||
|
|
$game_player.actor.change_equip("Bot", nil)
|
||
|
|
SndLib.sound_equip_armor(125)
|
||
|
|
player_force_update
|
||
|
|
wait(30)
|
||
|
|
end
|
||
|
|
if equips_Vag_id != -1#檢查裝備 並脫裝
|
||
|
|
$game_player.actor.change_equip("Vag", nil)
|
||
|
|
SndLib.sound_equip_armor(100)
|
||
|
|
player_force_update
|
||
|
|
wait(30)
|
||
|
|
end
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
load_script("Data/HCGframes/Command_Collect_Pee.rb") if $game_player.actor.urinary_level >=300 && $game_player.actor.allow_pee_function?
|
||
|
|
load_script("Data/HCGframes/Command_Collect_Poo.rb") if $game_player.actor.defecate_level >=300 && $game_player.actor.allow_poo_function?
|
||
|
|
chcg_background_color(0,0,0,255,-7)
|
||
|
|
|
||
|
|
Audio.se_stop
|
||
|
|
|
||
|
|
$game_message.add("\\t[commonCommands:Lona/Excretion_end]")
|
||
|
|
$game_map.interpreter.wait_for_message
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
if tmp_fucker_id == nil
|
||
|
|
#if !Input.press?(:SHIFT)
|
||
|
|
if equips_Vag_id != -1#檢查裝備 並穿裝
|
||
|
|
$game_player.actor.change_equip("Vag", $data_ItemName[equips_Vag_id])
|
||
|
|
SndLib.sound_equip_armor(100)
|
||
|
|
player_force_update
|
||
|
|
wait(30)
|
||
|
|
end
|
||
|
|
if equips_Bot_id != -1#檢查裝備 並穿裝
|
||
|
|
$game_player.actor.change_equip("Bot", $data_ItemName[equips_Bot_id])
|
||
|
|
SndLib.sound_equip_armor(100)
|
||
|
|
player_force_update
|
||
|
|
wait(30)
|
||
|
|
end
|
||
|
|
if equips_MidExt_id != -1#檢查裝備 並穿裝
|
||
|
|
$game_player.actor.change_equip("MidExt", $data_ItemName[equips_MidExt_id])
|
||
|
|
SndLib.sound_equip_armor(100)
|
||
|
|
player_force_update
|
||
|
|
wait(30)
|
||
|
|
end
|
||
|
|
#end
|
||
|
|
else # not nil
|
||
|
|
get_character(tmp_fucker_id).opacity = 255
|
||
|
|
get_character(tmp_fucker_id).animation = nil
|
||
|
|
get_character(tmp_fucker_id).npc.stat.set_stat("mood",0) #so they dont yell for help
|
||
|
|
get_character(tmp_fucker_id).call_balloon(5)
|
||
|
|
wait(80)
|
||
|
|
get_character(tmp_fucker_id).turn_toward_character($game_player)
|
||
|
|
get_character(tmp_fucker_id).actor.set_aggro($game_player.actor,$data_arpgskills["BasicNormal"],300)
|
||
|
|
end
|
||
|
|
|
||
|
|
|