New Content - Implemented Nuclear Autumn

Bale

Minion
Has a feature been added to tell how much fallout shelter has been unlocked?

I want newLife to visit the Chronodynamics Laboratory and Main Reactor, but I don't see any way to tell if those have been unlocked unless I make a server hit.
 

lostcalpolydude

Developer
Staff member
Has a feature been added to tell how much fallout shelter has been unlocked?

I want newLife to visit the Chronodynamics Laboratory and Main Reactor, but I don't see any way to tell if those have been unlocked unless I make a server hit.

falloutShelterLevel was added a while ago. That only updates when visiting the shelter, so it may or may not be behind (depending on whether the shelter was visited just before freeing the king).
 

Veracity

Developer
Staff member
We should not give [eat] or [drink] use links on food/booze we find in Nuclear Autumn if the size is > 1.
 

Bale

Minion
It would be very useful if mafia had a preference to track if I got spa day today, from level 3 of the fallout shelter. (Only usable once a day.)

Code:
place.php?whichplace=falloutshelter&action=vault3
You acquire an effect: Spa Day! (100)

Thank you.
 

Bale

Minion
There's a mistaken assumption in r17171. The Chronodynamics Laboratory and Main Reactor aren't once per day. They are once per ascension.

The preferences for those two locations should not be underline prefixed! (And they should be reset on entering the gash.)
 

Bale

Minion
We're spinning a new release soon, so I'd like to wrap up implementation for this path before we do that.

I can think of only one thing left to implement: A preference for the bonus of a Adventurer bobblehead.

Can anyone else think of anything else that needs to be added to support this path and its items?
 

Bale

Minion
Thanks. Now we need mafia to recognize the value when the player looks at his bobblehead. Also, please pass that value through to mafia for use with numeric_modifier() and the maximizer.

HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
	"http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<title>Item Description</title>
<link rel="stylesheet" type="text/css" href="/images/styles.css">
<style>
a.hand {
	cursor: pointer;
}
</style>
<script language=Javascript src="/images/scripts/keybinds.min.2.js"></script>
<script language=Javascript src="/images/scripts/window.20111231.js"></script>
<script language="Javascript" src="/basics.js"></script><link rel="stylesheet" href="/basics.1.css" /></head>
<body>

<div id="description" class=small><center><img src="/images/itemimages/bobblehead.gif" height=30 width=30 alt="bobblehead"><br><a href=javascript:window.open("http://kol.coldfront.net/thekolwiki/index.php/Adventurer_bobblehead");window.close();><b>Adventurer bobblehead</b></a></center><p><blockquote>This statuette's head is oversized and improperly connected to its torso, a factory error which has created a <i>priceless collectible</i>.<!-- itemid: 9084 --><br><br>Type: <b>off-hand item</b><Br>Cannot be traded or discarded<p><center><b><font color=blue>All Attributes +6%<br></font></b></center></blockquote><script type="text/javascript">
<!--
var resizetries = 0;
var fsckinresize;
setTimeout(fsckinresize = function ()  {
	var desch = document.getElementById('description').offsetHeight;
	if (desch < 100 && resizetries < 5) {
		setTimeout(fsckinresize, 100);
		resizetries++;
	}
	if (desch < 100) desch = 200; 
	//alert('resizing on try #' + resizetries);
	if (self.resizeTo && window.outerHeight) { 
		self.resizeTo(400, desch + (window.outerHeight - window.innerHeight) + 50); 
	}
	else if (self.resizeTo ) { self.resizeTo(400, desch+130); }
	else { window.innerHeight = newh; }
}, 100);
//-->
</script>
</div>
</body>
<script src="/onfocus.1.js"></script></html>
 

Bale

Minion
Then it isn't working because I just tested it by looking at a bobblehead in my display case. Does the bobblehead have to be in my inventory to recognize it?
 

Bale

Minion
Okay. Broke the prism and tested with a bobblehead in inventory. It worked perfectly.

Code:
> ash string_modifier($item[Adventurer bobblehead], "Evaluated Modifiers");

Returned: Muscle Percent: +8, Mysticality Percent: +8, Moxie Percent: +8

Does anyone have an opinion about marking this content implemented?
 

lostcalpolydude

Developer
Staff member
Then it isn't working because I just tested it by looking at a bobblehead in my display case. Does the bobblehead have to be in my inventory to recognize it?

Code:
else if ( location.startsWith( "desc_item.php" ) && !location.contains( "otherplayer=" ) )
Items that might belong to someone else (being in a Display Case, or being equipped on someone else) are intentionally not checked.
 

Bale

Minion
I'm closing out this thread. If any new issues appear they can get their own feature or bug threads.

Woo~hoo!
 
Top