angband-import / angband-trac

Test importing Trac events into Angband
0 stars 0 forks source link

Fix level feelings #62

Closed angband-import closed 4 years ago

angband-import commented 4 years ago

Reported by takkaria on 21 Mar 2007 15:33 UTC Brief outline of some of the problems: [http://ajps.mine.nu/angband/wiki/LevelFeelings].

Related to #49.

angband-import commented 4 years ago

Modified by takkaria on 26 Apr 2007 23:17 UTC

angband-import commented 4 years ago

Modified by takkaria on 24 Aug 2007 17:59 UTC

angband-import commented 4 years ago

Modified by takkaria on 25 Aug 2007 09:22 UTC

angband-import commented 4 years ago

Comment by cunninggabe on 23 Jan 2009 04:25 UTC Bullet #2 addressed in [a91d4fe] (SVN r784).

Why not just have objects (artifact or not) add to the feeling based solely on value? Add up the value of all the objects on the level, scale by some (possibly DL-dependent) amount, and add to the rating.

angband-import commented 4 years ago

Modified by magnate on 26 Jul 2009 18:33 UTC

angband-import commented 4 years ago

Comment by magnate on 21 Dec 2010 15:51 UTC As discussed on IRC, d_m and I favour the NPP approach of special floor tiles (invisible and randomly designated) - you only get a feeling once you've explored at least N of these. That doesn't change the fact that we need to fix the feelings themselves - I am keen on !GabeCunningham's suggestion, adding up the power of all floor items and the power of all monsters. This would require sorting #869 first.

angband-import commented 4 years ago

Modified by magnate on 24 Dec 2010 13:03 UTC

angband-import commented 4 years ago

Comment by cunninggabe on 13 Jan 2011 14:35 UTC What do we think of having two separate components to the level feeling -- one message tied to the value of all items on the floor, one tied to how dangerous the level is (based on the combined power or combined experience value of all monsters)? I think some other variant(s?) take an approach like this, unless I misremember. Then we could remove most or all of the special ratings boosts.

At any rate, even if we stick with a single message, we could use the experience value of the monsters instead of their power for now, and then change to use monster power in 3.4.0.

angband-import commented 4 years ago

Comment by magnate on 22 May 2011 22:27 UTC [r611b1be] splits level feelings into obj_feeling and mon_feeling. The former is still using ego->rating, which is bogus ("of Resist Acid" is worth +16, yet Dwarven armour only +18) - the object feeling really needs to be based solely on object power. At the moment OOD objects increase this feeling, but in-depth non-wearables, such as high-end devices or consumables, don't affect it. (Perhaps the obj-make code should use object_value rather than object_power.) Still too many superb feelings, so the scaling is off.

The mon feeling ONLY considers OOD monsters, plus constants for pits and vaults. It should really use mon_power, with suitable scaling (but after #869). At the moment too many levels are quiet and peaceful.

We now cannot get special feelings except from artifacts in non-preserve mode. A mere twenty years in coming.

angband-import commented 4 years ago

Comment by magnate on 23 May 2011 21:27 UTC In [re323700], we use object_value_real for object ratings, and r_ptr->scaled_power for monster ratings. We then divide the totals by depth to give the feelings. The thresholds will need adjusting if there are significant changes to pricing or monster power, but otherwise it should be future-proof.

angband-import commented 4 years ago

Comment by magnate on 24 May 2011 06:20 UTC In [r31b20da] we use r_ptr->power instead of scaled_power, since the latter appears to be a bit broken. Now it's just a question of adjusting the thresholds. In master as of the early hours of 24/05/11.