New Content - Implemented Tome of Rad Libs

Bale

Minion
Just to get this started...

Unknown item found: Rad Lib (5863, 968972760)
--------------------
5863 Rad Lib 968972760 radlib.gif usable t,d 5
# Rad Lib
--------------------
Unknown item found: Tome of Rad Libs (5862, 901132469)
--------------------
5862 Tome of Rad Libs 901132469 radlibtome.gif usable t 0
Tome of Rad Libs Free Pull
--------------------

There will probably be more detail to worry about once we know properly what it does.
 

slyz

Developer
If someone can confirm that, :
  • Summon Rad Libs is skill number 8004
  • Summoning happens via the following URL:
    Code:
    campground.php?preaction=summonradlibs
then this patch is good to go.
 

Attachments

  • rad_libs.patch
    6.2 KB · Views: 36

Bale

Minion
I can confirm that URL works. I'm not sure how to confirm the skill number.

Unfortunately the text seems to cause some confusion.

HTML:
<table><tr><td>You get some radlibs.<center><table class="item" style="float: none" rel="id=5863&s=5&q=0&d=1&g=0&t=1&n=2&m=0&p=0&u=u"><tr><td><img src="http://images.kingdomofloathing.com/itemimages/radlib.gif" alt="Rad Lib" title="Rad Lib" class=hand onClick='descitem(968972760)'></td><td valign=center class=effect>You acquire <b>2 Rad Libs</b></td></tr></table>

Causes mafia to report, "You acquire Tome of Rad Libs (2)"
 
Last edited:

Bale

Minion
cook Rad Lib with soda water to produce

Unknown item found: papier-mâché glob (5864, 883548079)
--------------------
5864 papier-mâché glob 883548079 macheglob.gif usable d 5
# papier-mâché glob
--------------------
 

slyz

Developer
"You acquire Tome of Rad Libs (2)"
That is a bummer. I don't know if there is another case of having the plural name of an item in the singular form of another.

If I can't find any other example that is handled by Mafia, I'll try to tweak ItemDatabase.getCanonicalName() to give priority to the plural form if the item count is >1.
 
Last edited:

slyz

Developer
I committed the patch above in r11509. All of it is untested.

Could someone confirm that Mafia correctly parses "You acquire 2 Rad Libs"?
 

Bale

Minion
Trying to cast it from the skill pane.

Casting Summon Rad Libs 1 times...
You acquire Rad Lib (2)
Summon Rad Libs was successfully cast.

Great!

A lot of the items and recipes still need to be added, but this is a nice start.

For some reason papier-mâché glob isn't appearing as a createable?
 
Last edited:

mstieler

Member
A few of the multi-use of papier-mache items:

2:
Looking at item #5865...
Unknown item found: papier-mochi (5865, 392273161)
--------------------
5865 papier-mochi 392273161 machemochi.gif usable d 10
papier-mochi Effect: "Altered Wavelengths", Effect Duration: 40
--------------------
--------------------
1119 Altered Wavelengths nopic.gif cd23f6685ed4f7e2648998a4020f1265 use 1 papier-mochi
Altered Wavelengths Hot Damage: +5, Cold Damage: +5, Stench Damage: +5, Spooky Damage: +5, Sleaze Damage: +5
--------------------

3:
Looking at item #5866...
Unknown item found: papier-mâchaeranthera (5866, 864484289)
--------------------
5866 papier-mâchaeranthera 864484289 macheflower.gif usable d 15
papier-mâchaeranthera Effect: "Stopping to Smell the Flowers", Effect Duration: 40
--------------------
--------------------
1120 Stopping to Smell the Flowers nopic.gif 00c2131ddee16ce4278a0047946ed99e use 1 papier-mâchaeranthera
Stopping to Smell the Flowers Experience: +3

4:
Looking at item #5867...
Unknown item found: papier-mâché toothpicks (5867, 267596873)
--------------------
5867 papier-mâché toothpicks 267596873 machetoothpicks.gif usable d 20
papier-mâché toothpicks Effect: "Eyes Wide Propped", Effect Duration: 40
--------------------
--------------------
1121 Eyes Wide Propped nopic.gif 471d1af8ce58cd6214fa35ea7e73c2c3 use 1 papier-mâché toothpicks
Eyes Wide Propped Item Drop: +25, Meat Drop: +50
--------------------

5:
Looking at item #5868...
Unknown item found: papier-mâchéte (5868, 939197198)
--------------------
5868 papier-mâchéte 939197198 machemachete.gif weapon d 25
papier-mâchéte 100 Mus: 20 1-handed sword
# papier-mâchéte: Makes actions more exciting
papier-mâchéte Weapon Damage: +10, Muscle Percent: +15, Mysticality Percent: +15, Moxie Percent: +15

7:
Unknown item found: papier-masque (5870, 716668190)
--------------------
5870 papier-masque 716668190 machemasque.gif accessory d 35
papier-masque 0 Mys: 20
# papier-masque: Makes your possessions seem more interesting
papier-masque Spell Damage: +10, HP Regen Min: 2, HP Regen Max: 4, MP Regen Min: 2, MP Regen Max: 4
--------------------

9:
Unknown item found: papier-mitre (5871, 195976820)
--------------------
5871 papier-mitre 195976820 machemitre.gif hat d 45
papier-mitre 100 Mox: 20
# papier-mitre: Helps you describe things
papier-mitre Familiar Weight: +5, PvP Fights: +2

11:
Unknown item found: papier-mâchuridars (5872, 970295037)
--------------------
5872 papier-mâchuridars 970295037 machepants.gif pants d 55
papier-mâchuridars 100 Mox: 20
# papier-mâchuridars: Improves things
papier-mâchuridars Initiative: +25, Never Fumble

There are additional enchantments on the equipments, though I have no clue what they do:

Papier Machete: Makes actions more exciting
Papier Machuridars: Improves things
Papier Masque: Makes your possessions seem more interesting
Papier Mitre: Helps you describe things
 

mstieler

Member
The missing item #5869 sounds ominous!

Found it -
6 Globs:
Unknown item found: papier-mâchine gun (5869, 437061769)
--------------------
5869 papier-mâchine gun 437061769 machegun.gif weapon d 30
papier-mâchine gun 0 Mox: 20 1-handed pistol
# papier-mâchine gun: Makes actions more exciting
papier-mâchine gun Ranged Damage: +10, Muscle Percent: +15, Mysticality Percent: +15, Moxie Percent: +15

Has the same "makes actions more exciting" enchantment as the other weapon.
 

Yendor

Member
The enchantments randomly replace words with other words like this, mad libs style. The masque does it to item descriptions, the machete does it to combat.
 

Yendor

Member
A few samples from combat:

You're signing a BRICKO bat


You toss the BRICKO bat into the air. Instead of falling to earth you price not where, it flaps its little wings and divebombs your head. I mix whether worked of flesh, pixels, or plastic, bats are totally lame.

You get the stone on it.


You lose 6 pool points.
 

lostcalpolydude

Developer
Staff member
Unless there's some nice hidden text to make parsing easy, I think it's going to be unsupported. Just reading that, I can't tell which stat "pool" refers to.

Edit: HP, not stats... unless it's MP.
 

Erich

Member
The replacement words affected item drop recognition and putty counter. If it changed the name of my putty, it wouldn't recognize the drop at the end of combat (acquired post combat list), and my counter did not increment in the cli.

Does that imply that that the putty counter increments only upon successfully obtaining the putty monster, as opposed to its use with a provision for fail messages?
 

Bale

Minion
Warning: If you use papier-mâché to "improve" KoL or make combat "more exciting," mafia may not work as well as you would like.
 

Catch-22

Active member
Does that imply that that the putty counter increments only upon successfully obtaining the putty monster, as opposed to its use with a provision for fail messages?

KoLmafia will increment the spookyPuttyCopiesMade if it sees "make a perfect copy" during battle, it will set the counter to "5" if it sees "too scared to copy any more monsters today".

The same is true for _raindohCopiesMade with the corresponding Rain-Doh black box messages.

Unless there's some nice hidden text to make parsing easy
Seems like a long-shot, but has anyone actually checked the HTML to confirm? I, unfortunately, do not have a Tome of Rad Libs.
 
Top