Files

43 lines
1.2 KiB
Ruby
Raw Permalink Normal View History

2026-10-29 21:59:06 +04:00
tmpMobAlive = $game_map.npcs.any?{|event|
next unless event.summon_data
next unless event.summon_data[:TribeDudes]
next if event.deleted?
next if event.npc.action_state == :death
true
}
tmpMobAliveOrkind = $game_map.npcs.any?{|event|
next unless event.summon_data
next unless event.summon_data[:WildnessNapEvent] == "Orkind"
next if event.deleted?
next if event.npc.action_state == :death
true
}
tmpHalfBiosID = $game_map.get_storypoint("HalfBios")[2]
#todo if not nude then dead
if tmpMobAlive && (get_character(tmpHalfBiosID).summon_data[:NapGameOver] == true)
portrait_hide
chcg_background_color(0,0,0,0,7)
portrait_off
call_msg("TagMapPenisTribe:Nap/GameOver0")
6.times{
$game_map.interpreter.flash_screen(Color.new(255,0,0,200),8,true)
SndLib.sound_gore(100)
SndLib.sound_combat_hit_gore(70)
wait(20+rand(20))
}
call_msg("TagMapPenisTribe:Nap/GameOver1")
return load_script("Data/HCGframes/OverEvent_Death.rb")
#game_over
elsif tmpMobAliveOrkind
portrait_hide
chcg_background_color(0,0,0,0,7)
portrait_off
$story_stats["RapeLoop"] =1
$story_stats["OnRegionMapSpawnRace"] = "Orkind"
$story_stats["Kidnapping"] =1
$game_player.actor.sta =-100
region_map_wildness_nap
else
handleNap
end