Merge: Pre-placed artifacts and relics

The role-playing games (I-X) that started it all and the various spin-offs (including Dark Messiah).
User avatar
Xfing
Vampire
Vampire
Posts: 938
Joined: 04 Jul 2011

Merge: Pre-placed artifacts and relics

Unread postby Xfing » 24 Jun 2023, 19:35

Hey guys, I'd like to know whether or not artifacts/relics with hardcoded appearances can be removed from the pool in rnditems.txt random item distribution table safely.

Even items such as Snake, Glomenthal, Mordred (MM6) have a value of 1 in treasure class 6, meaning you can theoretically find a 2nd one in addition to the pre-placed one. The vanilla games place a cap, but it's theoretically still possible to have 2 as long as the randomly found one comes first (then the pre-placed one will remain, because it's hardcoded that way).

So I wonder, is it safe to change the value for these items from 1 to 0? Will they still be obtainable in their preset locations if I do that? Certain "special" items such as the Mace of the Sun have a value of 0 in the table currently, and they still can be found if I recall. I'm just doing a bit of housekeeping in the rnditems.txt file and want to know this before I go on and needlessly change this value.

User avatar
DaveHer
Swordsman
Swordsman
Posts: 556
Joined: 13 Mar 2019

Re: Merge: Pre-placed artifacts and relics

Unread postby DaveHer » 03 Jul 2023, 20:20

I believe you can because each chest has a script that put items into it.
David


Return to “Might and Magic”

Who is online

Users browsing this forum: Google [Bot] and 6 guests