Thanks for the advice. I'm surprised it does not work on the mac. Can anyone else tell me if they have the same or different experience?
> call scripts/newLife.ash
Bad item value: "Newbiesport� tent" (newLife.ash, line 198
fit@ubuntu-fitpc2:~/Public/mafia/scripts$ diff -uw newLife.ash.ref newLife.ash
--- newLife.ash.ref 2011-04-26 19:31:21.000000000 +0100
+++ newLife.ash 2011-04-26 19:59:13.000000000 +0100
@@ -21,6 +21,8 @@
// Use newbie tent if you don't want togive your clannes a fair shot at bricking you in the face!
setvar("newLife_SellPorkForStuff", FALSE);
// Sell pork gems to purchase detuned radio, stolen accordion & seal tooth
+setvar("newLife_SnapShotScript", "");
+ // Name of BCC snapshot script to run at, if any
void set_choice(string adventure, string choice, string purpose) {
if(get_property(adventure) != choice) {
@@ -344,6 +346,13 @@
cli_execute("breakfast");
}
+void run_snapshot() {
+ string script_name = vars["newLife_SnapShotScript"].to_string();
+ if (script_name == "") return;
+ vprint("running snapshot script "+script_name, "blue", 2);
+ cli_execute("script_name");
+}
+
void new_ascension() {
set_choice_adventures();
campground();
@@ -354,6 +363,7 @@
special();
}
check_breakfast();
+ run_snapshot();
vprint("Welcome to your new life as a "+my_class()+"!", "green", 2);
}
cli_execute("script_name");
cli_execute(script_name)
Various in_sign changes, but those are mostly (all?) in your character section.
The existing ASH functions - in_muscle_sign(), in_mystiticality_sign(), and in_moxie_sign() - still exist, but only say whether your sign gives you stat gain benefits of the particular type.
I should provide knoll_available(), canadia_available(), and gnomads_available().
if((knoll_available() && available_amount($item[detuned radio]) > 0) || in_mysticality_sign())
change_mcd(10 + canadia_available().to_int());
if((knoll_available() && available_amount($item[detuned radio]) > 0) || canadia_available())
change_mcd(10 + canadia_available().to_int());
Resetting HP/MP restoration settings to minimal
hpAutoRecovery => 0.25
mpAutoRecovery => 0.0
mpAutoRecoveryTarget => 0.0
manaBurningTrigger => -0.05
manaBurningThreshold => 0.90
You have no familiar with you.