Search results

  1. P

    Scriptlet: RestorerSelecter

    First, let me define what I mean by scriptlet. A scriptlet is a script that by itself, does absolutely nothing. In fact, if you try to run this script by itself, it will error out and tell you that you were silly to try. It is intended to be imported into other scripts, scripts that would -...
  2. P

    Alternate Friars Script

    I just tested it, and the original still doesn't work right. I get the message that I can not perform the ritual, and the script stops dead. Sooo.... Here is the usable script: if( my_level() >= 6) { while( item_amount( $item[dodecagram]) < 1 && my_adventures() > 0) { adventure( 1...
  3. P

    Museum Item # Check 1-1489 (ASH)

    Bucket de Mowbray, That would work, if we could access items by variables. Unless the change was implemented without me knowing (quite possible), that change isn't included yet. This goes back to some of us wishing there were arrays and such. ;)
  4. P

    Features I wish ASH supported...

    You certainly aren't alone. But as the saying goes, "beggers can't be choosers." But.... Perhaps we could start a Java forum here. One were those of you (us) that can mess with mafia's code can share your patches? As long as there are a couple of stickies pointing out the most viable Java...
  5. P

    Alternate Orc Chasm Quest script.

    Well... The intent is to check if you need to get the bridge yet. When I originally tried this script, mafia would abort telling me "Nothing more to do here." Or something like this. When I posted a report in the Mafia thread, Holatuwol said it didn't make sense for the adventure function to...
  6. P

    Re: Discussion of Standards

    Re: Discussion of Standards I do not have a lot to add, but I will touch upon what I can. 1) Of course we put scripts in code tags. We are, at least, hobbyist programmers here. :P 2) I have started to attach my scripts. I see a small problem with this: It is hard to see the attached file at...
  7. P

    Ending Script

    And this is what I use to shut down mafia. It verifies that I have had my nightcap, and put on my Nightly outfit. if( can_drink()) { int drunklimit; drunklimit = 15; if( have_skill( $skill[liver of steel])) { drunklimit = 20; } if( have_skill( $skill[the ode to booze]) && have_effect(...
  8. P

    Museum Item # Check 1-1489 (ASH)

    That is just insane Nightmist... Insane. I salute you for the effort. And I might just "steal" it from you. :P
  9. P

    Alternate Friars Script

    Again, and alternate to cjswimmers. And as well, not fully tested after the change to the boolean return of adventure commands. WARNING: This script doesn't function properly. Look at the nest post for the usable one. WARNING
  10. P

    Alternate Orc Chasm Quest script.

    I saw cjswimmers, and figured I would include mine as an alternate. NOTE: I have not tested it fully since the report that the adventure command sending a boolean result would not cause mafia to abort out. if( my_level() >= 9) { if( adventure( 1, $location[the orc chasm])) { int...
Back
Top