New Content - Implemented Added Gleaming White Teeth & Pyramid Power to statuseffects.txt

I added effects 720 & 723 (Gleaming White Teeth & Pyramid Power respectively).

Also, I don't know which is correct, or if it even matters, but Missing Kidney is listed as effect 386 in statuseffects.txt and 431 on the wiki.
 

Attachments

  • statuseffects.txt
    71.8 KB · Views: 350

Veracity

Developer
Staff member
386 is correct for Missing Kidney. A while ago, I asked CDM if he would add an HTML comment to the effect description text that would tell us the effect ID and thus to go back from effect desc id to effect id. This would mean that we wouldn't have to have a soft green thing in inventory to write an override when we see a new effect in the charpane, and it would allow us to learn the effect IDs of intrinsic effects.

He did so, I checked every effect we had a descid for, and I found the missing kidney was 336. Here is part of the HTML of the description, so you can see it yourself:

Code:
<div id="description">

<font face=Arial,Helvetica size=2><!-- effectid: 386 --><center><img src="http://images.kingdomofloathing.com/itemimages/kidney.gif" width=30 height=30><p><b>Missing Kidney</b><p></center><blockquote>Aww, they took your friggin' kidney!</blockquote><center><font color=blue><b>Call 911 Immediately</b></font></center></font></font>
</div>
Looking at the effect id comment in the descriptions for Gleaming White Teeth and Pyramid Power, I see that you have them reversed: Gleaming White Teeth is 723 and Pyramid Power is 720.
 
386 is correct for Missing Kidney. A while ago, I asked CDM if he would add an HTML comment to the effect description text that would tell us the effect ID and thus to go back from effect desc id to effect id. This would mean that we wouldn't have to have a soft green thing in inventory to write an override when we see a new effect in the charpane, and it would allow us to learn the effect IDs of intrinsic effects.

He did so, I checked every effect we had a descid for, and I found the missing kidney was 336.

Good to know.

Looking at the effect id comment in the descriptions for Gleaming White Teeth and Pyramid Power, I see that you have them reversed: Gleaming White Teeth is 723 and Pyramid Power is 720.

Sorry. :( That's pretty sad considering I made it a point to double check the information before I added it! :eek:
 
Top