Skip to content

Commit

Permalink
Most monsters in lost tomb #2 generate hostile.
Browse files Browse the repository at this point in the history
I noticed a fair number of peaceful demons in my first playthrough - we don't want that.
  • Loading branch information
elunna committed Dec 20, 2024
1 parent 0d75c68 commit 73aa8b4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions dat/tomb-2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ for i = 1, TOTAL_ROOMS do
des.terrain(lava, 'L')
end
for i = 1, 1 + (rooms[i].big and d(3) or 0) do
des.monster({ id='salamander', coord=lava:rndcoord() })
des.monster({ id='salamander', coord=lava:rndcoord(), peaceful = 0 })
end
elseif choice == 3 then
if percent(30) then
Expand All @@ -341,7 +341,7 @@ for i = 1, TOTAL_ROOMS do
sel = sel:percentage(50)
des.terrain(sel, 'L')
for i = 1, 2 + d(3) do
des.monster({ id='steam vortex', coord=room:rndcoord(1) })
des.monster({ id='steam vortex', coord=room:rndcoord(1), peaceful = 0 })
end
end
elseif choice == 4 then
Expand All @@ -361,7 +361,8 @@ for i = 1, TOTAL_ROOMS do
elseif choice == 6 then
-- demons
for i = 1, d(5) do
des.monster({ class='&', align=percent(50) and 'chaos' or 'random', coord=room:rndcoord() })
des.monster({ class='&', align=percent(50) and 'chaos' or 'random',
coord=room:rndcoord(), peaceful = 0 })
end
elseif choice == 7 then
-- ghosts/undead
Expand Down Expand Up @@ -431,7 +432,7 @@ end })
-- now random level wide stuff
-- monsters:
for i = 1, 12 do
des.monster({ class='&', align=percent(80) and 'chaos' or 'random' })
des.monster({ class='&', align=percent(80) and 'chaos' or 'random', peaceful = 0 })
end
for i = 1, 5 do
des.monster('i')
Expand Down

0 comments on commit 73aa8b4

Please sign in to comment.