New Content - Implemented FantasyRealm (Apr 2018 IotM)

Darzil

Developer
r18595 adds concoction for Staff of Kitchen Royalty. Hopefully, I'm basing it on a forum post as not on spreadsheet or wiki or here
 

ckb

Minion
Staff member
Ah, The Evil Cathedral! Nothing brightens up an indoor space like some plants, I always say.
 

Crowther

Active member
The wiki lists some physical and elemental resistances which are not in mafia yet. I have no idea how accurate they are. I'm a poor spade. We might need confirmation or something.

swamp monster: Resistance 60% physical, 50% elemental
rubber bat: Resistance 75% elemental
swamp troll: Resistance 100%
 

Ryo_Sangnoir

Developer
Staff member
Swamp troll is immune to all non-hot. I added swamp monster; it's probably actually a soft cap of some sort. I just got the following numbers for spooky damage:
Code:
15 -> 15
97 -> 40
72 -> 35
50 -> 30
30 -> 25
 
58 -> 32
96 -> 40
115 -> 44
163 -> 52
192 -> 56

Notably, that last one I got with both candyblast and saucestorm, so physical and elemental seem to be treated the same.

Edit: some tinkering with these numbers led me to floor((x-20)^0,7+20). In other words, saucestorm and green lanterns are nice and useful.
 
Last edited:

heeheehee

Developer
Staff member
The wiki lists some physical and elemental resistances which are not in mafia yet. I have no idea how accurate they are. I'm a poor spade. We might need confirmation or something.

swamp monster: Resistance 60% physical, 50% elemental
rubber bat: Resistance 75% elemental
swamp troll: Resistance 100%

You can typically check this easily via divines / love songs, which scale as 1x buffed stat. Just make sure you don't have substantial ML, which provides % resistance (applied as a max of the two, IIRC).
 

Darzil

Developer
Corner cutter needs some work - doesn't (yet) account for it when deciding how many items you can make.

Edit - maybe, or maybe something else didn't work right, like recalling skills after completing pokefam. Odd. Basically When I tried to smith 38 items with 0 adventures, failed, when I tried to smith 38 with adventures left, succeeded without using adventures. (75 turns inigo, Thor's Pliers, Legion Loathing Jackhammer, Rapid Prototyping, Expert Corner-Cutter in aftercore).
 
Last edited:

ckb

Minion
Staff member
It looks like fighting a barrow wraith? in The Barrow Mounds does not increment the "_frMonstersKilled". Perhaps because killing them involves running away.
(I will re-confirm this on my next trip into the Barrow Mounds)
 

ckb

Minion
Staff member
At the start of the day, "_frHoursLeft" resets to "", but it should probably reset to "5" so that to_int(get_property("_frHoursLeft")) does not equal 0 to begin.
 

Darzil

Developer
It looks like fighting a barrow wraith? in The Barrow Mounds does not increment the "_frMonstersKilled". Perhaps because killing them involves running away.
(I will re-confirm this on my next trip into the Barrow Mounds)
It's because I'm not 100% sure how the code works, and what happens to the "?" in the name during all the various code mangling !

r18620 sidesteps the issue and hopefully fixes this.
 
Last edited:

Darzil

Developer
At the start of the day, "_frHoursLeft" resets to "", but it should probably reset to "5" so that to_int(get_property("_frHoursLeft")) does not equal 0 to begin.
You don't have 5 hours til you visit the place, though, so it is incorrect if we set that. I guess we could, though.
 

ckb

Minion
Staff member
You don't have 5 hours til you visit the place, though, so it is incorrect if we set that. I guess we could, though.

Technically true... but what use is _frHoursLeft="" ?
Or maybe set _frHoursLeft=5 when you choose Warrior/Mage/Rogue and receive the G.E.M.
 

Darzil

Developer
Technically true... but what use is _frHoursLeft="" ?
Or maybe set _frHoursLeft=5 when you choose Warrior/Mage/Rogue and receive the G.E.M.

Like this:
Code:
Encounter: Welcome to FantasyRealm
Preference _frHoursLeft changed from 0 to 5
Preference _frAreasUnlocked changed from to The Bandit Crossroads,The Towering Mountains,The Mystic Wood,The Putrid Swamp,The Cursed Village,The Sprawling Cemetery,
You acquire an item: FantasyRealm Warrior's Helm
You acquire an item: FantasyRealm G. E. M.

Having said that, I'm sort of tempted to change it as you can still tell the difference between quest not started and started by the presence of the G.E.M. So don't have to use _frHoursLeft = "" to infer quest not started. It just seems a little bit of a shame to have to check _frHoursLeft as well as Inventory to get the quest status, which isn't currently necessary.
 

ckb

Minion
Staff member
Oh, neat - it does change when you start the Realm. I will change some things in my script and that will solve my issues.

Maybe setting _frHoursLeft = "unstarted" (like the quest* properties) would be more clear.
 

ckb

Minion
Staff member
It's because I'm not 100% sure how the code works, and what happens to the "?" in the name during all the various code mangling !
r18620 sidesteps the issue and hopefully fixes this.

Still not working for barrow wraiths in r18620

This is the html of the "win" if it is helpful:
(with some relay script additions... I'll try to get a clean version in my next attempt)
HTML:
<center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue>[6107] The Barrow Mounds {outdoor} (17) : <b>Combat: Round 2!</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><!-- macroaction: runaway --><center><table><tr><td><div id=monsterpic style='position: relative;'>	<img id='monpic'   src="/images/adventureimages/darkness.gif" width=100 height=100></div></td><td valign=center><div id=moninfo><table><tr><th colspan=9><span id='monname'>a barrow wraith?</span></th></tr><tr><td class=desc>HP: 99999, Atk: 150, Def: 150<br>Type: construct<br>Initiative: 100%<br>Occurance: 100.0%<br>Weakness: <b class=modphys>NONE</b><br>Damage: <b class=mdmg>-4</b><br></td><td width=2></td><td class=desc><u>Adjusted Drops:</u><br>Meat: 0.0<br>Rubee™ (2583) 250.0% [no pp]<br>Rubee™ (2583) 250.0% [no pp]</td></tr></table></div></td></tr></table><br><table><tr><td width=30><img src=/images/itemimages/hp.gif width=30 height=30 alt="Enemy's Hit Points" title="Enemy's Hit Points"></td><td width=50 valign=center align=left><b><font size=+2>99,997</font></b></td><td width=30><img src=/images/itemimages/nicesword.gif width=30 height=30 alt="Enemy's Attack Power" title="Enemy's Attack Power"></td><td width=50 valign=center align=left><b><font size=+2>148</font></b></td><td width=30><img src=/images/itemimages/whiteshield.gif width=30 height=30 alt="Enemy's Defense" title="Enemy's Defense"></td><td width=50 valign=center align=left><b><font size=+2>150</font></b></td><td><img src=/images/itemimages/sprocket.gif alt="This monster is a Construct" title="This monster is a Construct"></td><td><img src=/images/itemimages/circle.gif width=30 height=30 alt="This monster has no particular elemental alignment." title="This monster has no particular elemental alignment."></td><td><img src=/images/itemimages/watch.gif alt="Initiative +100%" title="Initiative +100%"><br><font size=1>+100%</font></td></tr></table><script type="text/javascript">var monsterstats = {"hp":"99,997","def":"150","off":"148"};</script><p>You run away, like a little coward.<table><tr><Td></td></tr></table><p><center>You win the fight!<!--WINWINWIN--><p><center><table class="item" style="float: none" rel="id=9838&s=0&q=0&d=0&g=0&t=0&n=4&m=0&p=0&u=."><tr><td><img src="/images/itemimages/megagem.gif" alt="Rubee™" title="Rubee™" class=hand onClick='descitem(732393729)'></td><td valign=center class=effect><span class=hlitem>You acquire <b>4 Rubees™</b></span> <font size=1>[<a href="shop.php?whichshop=fantasyrealm&pwd=c7d66ba02d5458ade192245e72738d8e">spend</a>]</font></td></tr></table></center><!--familiarmessage--><center><table><tr><td align=center valign=center><img src="/images/itemimages/consnowglobe.gif" width=30 height=30></td><td valign=center><p>Looking at the snowglobe reminds you of that time at KoL Con 3-D, when you and MadLover the Miraculous took turns doing benchpresses with AmazingWombat's car.  Wait, did that really happen?</td></tr></table></center><P><center><table><tr><td>You gain 9 Strengthliness.</td></tr></table></center><!--familiarmessage--><center><table><tr><td align=center valign=center><img src="/images/itemimages/lb_firefly.gif" width=30 height=30></td><td valign=center>A love firefly flits flirtatiously around your head.</td></tr></table></center><center><table><tr><td>You gain 6 Magicalness.</td></tr></table></center><p>Some extra meat has appeared in your pouch when you weren't looking. Presumably Hidden Rocinante's doing.<center><table><tr><td><img src="/images/itemimages/meat.gif" height=30 width=30 alt="Meat"></td><td valign=center><span class=hlmeat>You gain 14 Meat</span>.</td></tr></table></center><p>You think you see a weird thing out of the corner of your eye, but it turns out to be nothing.  Which is actually pretty weird, if you think about it, man.<p>You gain 12 Strongness.<bR>You gain 9 Enchantedness.<bR>You gain 24 Cheek.<bR><p><a name="end"></a><p><a href="adventure.php?snarfblat=515">Adventure Again (The Barrow Mounds)</a><p><a href="place.php?whichplace=realm_fantasy">Go back to FantasyRealm, by LyleCo</a></center><script>parent.charpane.location.href="charpane.php";</script>
 

Darzil

Developer
What I''ll really want to see is to see what both sides of the comparison end up as once it gets to that point. Hopefully in a few days I'll have finished chasing the other Potions of Heroism and will be ready to go to places like the wraiths.
 
Top