summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-16 17:26:36 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-16 17:26:36 +0000
commit678e0a6c132e04803d98aed21c28a284568e9dda (patch)
tree0cd161b384437ee128e9181071f99f51f8a95713 /crawl-ref/source/player.cc
parent141a6b8304cb7a55cad08cd1de379e43ca83b38b (diff)
downloadcrawl-ref-678e0a6c132e04803d98aed21c28a284568e9dda.tar.gz
crawl-ref-678e0a6c132e04803d98aed21c28a284568e9dda.zip
Reintroduce a *very* basic version of the player doll.
Crawl can now read in dolls.txt again but there's no in-game editor or anything. What you can do is take your old dolls.txt file (if you still have it) and modify the numbers until you get something you like. Alternatively, you could create the doll settings using 0.4.5 (though the order of weapons has changed, so they'll still look a bit different). Yeah, I know it's a bit of a hassle but for those who absolutely *need* their avatar to be properly dressed it is an improvement. :) Hint: The 5th column is for legs, i.e. trousers. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9986 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc29
1 files changed, 16 insertions, 13 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index c1f4e21a71..0a7f16c50e 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -3088,10 +3088,6 @@ void level_change(bool skip_attribute_increase)
break;
case SP_MOUNTAIN_DWARF:
- // lowered because of HD raise -- bwr
- // if (you.experience_level < 14)
- // hp_adjust++;
-
if (!(you.experience_level % 2))
hp_adjust++;
@@ -3202,10 +3198,6 @@ void level_change(bool skip_attribute_increase)
break;
case SP_NAGA:
- // lower because of HD raise -- bwr
- // if (you.experience_level < 14)
- // hp_adjust++;
-
hp_adjust++;
if (!(you.experience_level % 4))
@@ -3249,6 +3241,9 @@ void level_change(bool skip_attribute_increase)
case SP_BASE_DRACONIAN:
if (you.experience_level == 7)
{
+#ifdef USE_TILE
+ init_player_doll();
+#endif
switch (you.species)
{
case SP_RED_DRACONIAN:
@@ -3267,19 +3262,24 @@ void level_change(bool skip_attribute_increase)
break;
case SP_YELLOW_DRACONIAN:
- mpr("Your scales start taking on a golden yellow colour.", MSGCH_INTRINSIC_GAIN);
+ mpr("Your scales start taking on a golden yellow colour.",
+ MSGCH_INTRINSIC_GAIN);
break;
case SP_BLACK_DRACONIAN:
- mpr("Your scales start turning black.", MSGCH_INTRINSIC_GAIN);
+ mpr("Your scales start turning black.",
+ MSGCH_INTRINSIC_GAIN);
break;
case SP_PURPLE_DRACONIAN:
- mpr("Your scales start taking on a rich purple colour.", MSGCH_INTRINSIC_GAIN);
+ mpr("Your scales start taking on a rich purple colour.",
+ MSGCH_INTRINSIC_GAIN);
break;
case SP_MOTTLED_DRACONIAN:
- mpr("Your scales start taking on a weird mottled pattern.", MSGCH_INTRINSIC_GAIN);
+ mpr("Your scales start taking on a weird mottled pattern.",
+ MSGCH_INTRINSIC_GAIN);
break;
case SP_PALE_DRACONIAN:
- mpr("Your scales start fading to a pale grey colour.", MSGCH_INTRINSIC_GAIN);
+ mpr("Your scales start fading to a pale grey colour.",
+ MSGCH_INTRINSIC_GAIN);
break;
case SP_BASE_DRACONIAN:
mpr("");
@@ -3326,6 +3326,9 @@ void level_change(bool skip_attribute_increase)
case SP_GREY_DRACONIAN:
if (you.experience_level == 7)
{
+#ifdef USE_TILE
+ init_player_doll();
+#endif
mpr("Your scales start turning grey.",
MSGCH_INTRINSIC_GAIN);
more();