Skip to content
Snippets Groups Projects
Commit 017eaa45 authored by DarkGod's avatar DarkGod
Browse files

Ritch Hive Mother is correctly set as female

Warn player that the exploratory farportal is broken even if there is less than 45 energy
parent 3defe564
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,7 @@ newEntity{ base = "BASE_NPC_RITCH_REL",
-- Screw it just die, die, die
newEntity{ base = "BASE_NPC_RITCH_REL", define_as = "HIVE_MOTHER",
unique = true,
unique = true, female = true,
name = "Ritch Great Hive Mother", image = "npc/insect_ritch_ritch_hive_mother.png",
display = "I", color=colors.VIOLET,
desc = [[This huge ritch seems to be the mother of all those here. Her sharp, fiery, claws dart toward you!]],
......
......@@ -141,8 +141,8 @@ It should automatically create a portal back, but it might not be near your arri
local Dialog = require "engine.ui.Dialog"
local q = who:hasQuest("shertul-fortress")
if not q then Dialog:simplePopup("Exploratory Farportal", "The farportal seems to be inactive") return end
if not q:exploratory_energy(true) then Dialog:simplePopup("Exploratory Farportal", "The fortress does not have enough energy to power a trip through the portal.") return end
if q:isCompleted("farportal-broken") then Dialog:simplePopup("Exploratory Farportal", "The farportal is broken and will not be usable anymore.") return end
if not q:exploratory_energy(true) then Dialog:simplePopup("Exploratory Farportal", "The fortress does not have enough energy to power a trip through the portal.") return end
Dialog:yesnoPopup("Exploratory Farportal", "Do you want to travel in the farportal? You cannot know where you will end up.", function(ret) if ret then
if self:checkSpecialLocation(who, q) then return end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment