Ingrediences
Moderator: Moderator
Re: Ingrediences
You'd have to scum a lot to get the right monster eventually. It's a poor solution to the problem.
Re: Ingrediences
Wyrms should probably be less frequent inclusions on the list given how decently rare they are in the game. You dont' find wyrms very often, yet it seems like at least 1-3 of your starting 4 quests will need a wyrm part. And one of mine needs a multi-hued wyrm part... i think i've only seen one of those *once* in all my TOME play.
Re: Ingrediences
And be glad you did ! 

[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: Ingrediences
i wonder if is possible to make the monsters drop always the ingredients, no matter if you have the quest or not...
Re: Ingrediences
It would be such a huge flood of items :/
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: Ingrediences
well, now if i found an ingredient it will stop appearing, so one per monster is enough, they spawn just once...
Re: Ingrediences
Couldn't we just make sure the specific monster we're hunting would be there...
The idea is adding a little bit of code to make sure to create a monster on an acessible area.
Using some of the code of the backup guardians.
class/Game.lua 528
class/Gamestate.lua
Still missing the quest code.... trying to figure it out.
And I think this one will a zone descriptor too, I'll get on it later.
The idea is adding a little bit of code to make sure to create a monster on an acessible area.
Using some of the code of the backup guardians.
class/Game.lua 528
Code: Select all
-- Check if we need to add an alchemist quest monster
self.state:zoneCheckAlchemistMonster()
Code: Select all
self.allow_alchemist_monsters = {}
Code: Select all
--- Setup an alchemist monster for the given zone
function _M:activateAlchemistMonster(monster, on_level)
print("Setting up Alchemist monster", monster)
self.allow_alchemist_monsters[game.zone.short_name] =
{
name = game.zone.name,
monster = monster,
on_level = on_level,
}
end
Code: Select all
--- Activate a monster for Alchemist quest
function _M:zoneCheckAlchemistMonster()
-- Spawn the new monster
if self.allow_alchemist_monsters[game.zone.short_name] and self.allow_alchemist_monsters[game.zone.short_name].on_level == game.level.level then
local data = self.allow_alchemist_monsters[game.zone.short_name]
-- Place the monster, we do not check for connectivity, vault or whatever, the player is supposed to be strong enough to get there
local m = game.zone:makeEntityByName(game.level, "actor", data.monster)
if m then
local x, y = rng.range(0, game.level.map.w - 1), rng.range(0, game.level.map.h - 1)
local tries = 0
while not m:canMove(x, y) and tries < 100 do
x, y = rng.range(0, game.level.map.w - 1), rng.range(0, game.level.map.h - 1)
tries = tries + 1
end
if tries < 100 then
game.zone:addEntity(game.level, m, "actor", x, y)
print("monster allocated: ", data.monster, m.uid, m.name)
end
else
print("WARNING: Monster not found: ", data.monster)
end
if data.action then data.action(true) end
self.allow_alchemist_monsters[game.zone.short_name] = nil
end
end
And I think this one will a zone descriptor too, I'll get on it later.
Re: Ingrediences
Hum yes it's indeed possible.
I just commited something else though, the adventurer's parties that wander the map now have a chance to drop an ingredient you need, which makes sense since they have been around killing stuff too
I just commited something else though, the adventurer's parties that wander the map now have a chance to drop an ingredient you need, which makes sense since they have been around killing stuff too
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
