1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-05-16 04:25:05 +01:00

Gnomes get +400 carrycap (from ndnh1)

Makes them slightly less horrible to play.
This commit is contained in:
Ron Nazarov 2024-05-12 00:46:49 +01:00
parent 553e874e34
commit 52069cb366
Signed by: noisytoot
GPG key ID: 1D43EF4F4492268B
3 changed files with 9 additions and 1 deletions

View file

@ -84,3 +84,4 @@ New item: mist projector
deals a flat 3/6/9/12 cold damage per turn, depending
on firearm skill for the PC or migo type for monsters
Cold-resistant monsters will use them
Gnomes get +400 carrycap (from ndnh1)

View file

@ -2915,6 +2915,10 @@ weight_cap(void)
if (!u.usteed && Race_if(PM_ORC) && !Upolyd){
carrcap = 2 * carrcap / 3 + u.ulevel*carrcap / 30;
}
if (!u.usteed && is_gnome(youracedata)){
carrcap += 400;
maxcap = max(maxcap, carrcap);
}
if (Levitation || Weightless) /* pugh@cornell */
carrcap = maxcap;

View file

@ -2776,7 +2776,10 @@ max_mon_load(register struct monst *mtmp)
if (boots && boots->otyp == hboots) carcap += boots->cursed ? 0 : maxload/10;
if (boots && check_oprop(boots, OPROP_RBRD) && is_lawful_mon(mtmp))
carcap += boots->cursed ? 0 : max(200, maxload/5);
if(is_gnome(mdat)){
carcap += 400;
}
if(animaloid(mdat) || naoid(mdat)){
carcap *= 1.5;
}