DoomRL > Modding

A couple questions

<< < (5/5)

Is there a way to prevent an item from spawning or replacing it in special maps?

Interrogative: what are you trying to do exactly?

...well, I see 3 ways:
a) change weights. If you change weight for some item to 0, it never spawn until you direct place that on map
b) for special levels - reusing existent: may be try iterate all items on map and delete/replace unwanted item? If it is not a reward from Agony Elemental or Arena Master but just ordinary item on level like envirosuit or large med-pack. At OnEnter event
c) in documentation I see a level.OnCreate(being/item) event. Looks like place to control everything including special rewards like sculls-Arena staff-lava element ?


[0] Message Index

[*] Previous page

Go to full version