Files
Divergent/mods/Redone Limansk and Hospital/gamedata/scripts/redone_greh_dialogs_mlr.script
T
Rage 3098b9f051 Added, Updated and Removed Mods
Added:
- HUD Offsets Editor
- NPC Wounded Redone

Updated:
- Stealth Overhaul
- Redone Pripyat + Jupiter
- Redone Limansk and Hospital
- Outfit Animations
- Modded Executables

Removed:
- Arrival
2024-04-06 19:17:40 -04:00

44 lines
1.7 KiB
Plaintext

-- ######################################################################
-- #=========================== PRECONDITIONS ==========================#
-- ######################################################################
--====================< Check if actor has required money >====================--
function have_money_to_redforest_guid_redforest()
return greh_mlr_utils_redone.have_money(500)
end
function have_money_to_pripyat_guid_redforest()
return greh_mlr_utils_redone.have_money (3000)
end
function have_money_to_outskirts_guid_redforest()
return greh_mlr_utils_redone.have_money (4000)
end
-- ######################################################################
-- #============================== ACTIONS =============================#
-- ######################################################################
--====================< Take money from actor >====================--
function sell_money_to_redforest_guid_redforest(first_speaker, second_speaker)
dialogs.relocate_money_from_actor(first_speaker, second_speaker, 500)
end
function sell_money_to_pripyat_guid_redforest(first_speaker, second_speaker)
dialogs.relocate_money_from_actor(first_speaker, second_speaker, 3000)
end
function sell_money_to_outskirts_guid_redforest(first_speaker, second_speaker)
dialogs.relocate_money_from_actor(first_speaker, second_speaker, 4000)
end
--====================< Travel to map >====================--
function redforest_guid_redforest(actor,npc,p)
greh_mlr_utils_redone.change_lvl('redforest_guid_redforest')
end
function pripyat_guid_redforest(actor,npc,p)
greh_mlr_utils_redone.change_lvl('pripyat_guid_redforest')
end
function outskirts_guid_redforest(actor,npc,p)
greh_mlr_utils_redone.change_lvl('outskirts_guid_redforest')
end