Fix camp placement and enforce camp access flow

This commit is contained in:
WorldBosse committed 2026-11-02 00:15:52 +04:00
1 parent b920fe9bf5
commit 3189092af2
9 files changed
+538 -15

No files matched your search

@@ -61,15 +61,17 @@ def overmap_event_EnterMap(customData=nil)
$story_stats["WildDangerous"] += 100+rand(100)+$story_stats["WorldDifficulty"] if tgtOnRegionMapSpawnRace
loop_is_over = 0
camp_tile = defined?(LonaCraft::Bases) && LonaCraft::Bases.respond_to?(:record_at_player) &&
!LonaCraft::Bases.record_at_player.nil?
until loop_is_over ==1
tmpPicked = ""
tmpQuestList = []
tmpQuestList << [$game_text["OvermapEvents:World/Region_option_Cancel"] ,"Region_option_Cancel"]
tmpQuestList << [$game_text["OvermapEvents:World/Region_option_Relax"] ,"Region_option_Relax"] if $game_player.actor.report_relax_able
tmpQuestList << [$game_text["OvermapEvents:World/Region_option_Observe"] ,"Region_option_Observe"] if $game_player.actor.sta > 0 && tmp_Observe_Able
tmpQuestList << [$game_text["OvermapEvents:World/Region_option_RemoveTracks"] ,"Region_option_RemoveTracks"] if $game_player.actor.sta > 0 && tmp_RemoveTracks_Able
tmpQuestList << [$game_text["OvermapEvents:World/Region_option_Relax"] ,"Region_option_Relax"] if !camp_tile && $game_player.actor.report_relax_able
tmpQuestList << [$game_text["OvermapEvents:World/Region_option_Observe"] ,"Region_option_Observe"] if !camp_tile && $game_player.actor.sta > 0 && tmp_Observe_Able
tmpQuestList << [$game_text["OvermapEvents:World/Region_option_RemoveTracks"] ,"Region_option_RemoveTracks"] if !camp_tile && $game_player.actor.sta > 0 && tmp_RemoveTracks_Able
tmpQuestList << [$game_text["OvermapEvents:World/Region_option_Enter"] ,"Region_option_Enter"] if tmp_Enter_Able
tmpQuestList << [$game_text["OvermapEvents:World/Region_option_Kyaaah"] ,"Region_option_Kyaaah"] if tmp_Kyaaah_Able
tmpQuestList << [$game_text["OvermapEvents:World/Region_option_Kyaaah"] ,"Region_option_Kyaaah"] if !camp_tile && tmp_Kyaaah_Able
cmd_sheet = tmpQuestList
cmd_text =""
for i in 0...cmd_sheet.length