Item drops and creature levels

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/
AuthorTopic: Item drops and creature levels
Member # 3361
Profile #0
I have two questions pertaining to creature alterations. Firstly, does the game have "built-in" drops of weapons/armor for certain creature types, like soldiers? I noticed that none of the Spiderweb scenarios gave generic soldiers drop items, but they tend to leave their swords and armor behind when you kill them. Do these drop items change with the level of the creature?

Secondly, I am having some difficulty with set_creature_type_level. The levels of the creatures in the editor menu remain unchanged, even though my scenario script has no problems. I also noticed that in some scenarios, like "Diplomacy with the Dead", the level that certain creatures are set to with set_creature_level_type in the scenario script are different from the levels listed in the editor's menu. Why is this?

Any help on either of these topics would be much appreciated.
Posts: 21 | Registered: Sunday, August 17 2003 07:00
Off With Their Heads
Member # 4045
Profile Homepage #1
As for the first, I believe the items dropped relate to the items given in the creature's object script (either in corescendata or in the scenario's custom object script -- ie sliths will drop slith spears because they are given slith spears in corescendata).

For the second, the editor only reads the custom objects script. BoA will react to the scenario script, but the editor doesn't read it at all. If you want the levels to show up in the editor, use cr_level in your custom objects script.

Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Member # 2820
Profile #2
The set_creature_type_level() call only takes affect when you load the scenario, so its affect isn't shown in the scenario editor.

Items that the creature had before it died are what are dropped. The default items that you are describing are part of the huge script that defines all the original monsters, items, floors, and terrain.

Thuryl: I mean, most of us don't go around consuming our own bodily fluids, no matter how delicious they are.
Alorael: War and violence would end if we all had each other's babies!
Drakefyre: Those are hideous mangos.
Posts: 1415 | Registered: Thursday, March 27 2003 08:00