dr-scripts icon indicating copy to clipboard operation
dr-scripts copied to clipboard

Workorders failed to turn in ticket

Open rpherbig opened this issue 7 years ago • 2 comments

2017-07-19 12:34:22 -0400:[workorders]>get my Rangu ticket
2017-07-19 12:34:22 -0400:You get a Rangu repair ticket from inside your canvas backpack.
2017-07-19 12:34:22 -0400:[workorders]>look at my ticket
2017-07-19 12:34:22 -0400:Looking at the Rangu ticket you see it is for a sharpened steel drawknife.  You recall that your drawknife should be ready by now.
2017-07-19 12:34:22 -0400:Written at the bottom you see Rangu's Repair Shop, Engineering Society, Zoluren.
2017-07-19 12:34:23 -0400:[workorders]>give Rangu
2017-07-19 12:34:23 -0400:You hand Rangu your ticket and are handed back a sharpened steel drawknife.
2017-07-19 12:34:24 -0400:[workorders]>put my sharpened drawknife in my backpack
2017-07-19 12:34:24 -0400:You put your drawknife in your canvas backpack.
2017-07-19 12:34:24 -0400:[workorders]>get my Rangu ticket
2017-07-19 12:34:24 -0400:You get a Rangu repair ticket from inside your canvas backpack.
2017-07-19 12:34:25 -0400:--- Lich: sell-loot active.
2017-07-19 12:34:25 -0400:[sell-loot]>stow right
2017-07-19 12:34:26 -0400:You put your ticket in your canvas backpack.

This obviously caused problems as I was missing my shaping tools and had the unredeemed tickets in my bag.

rpherbig avatar Jul 20 '17 10:07 rpherbig

The end symptom was my character stuck trying to leave the room with a half dozen unfinished shaping items stowed and some unfinished items (and lumber) on the ground

rpherbig avatar Jul 20 '17 10:07 rpherbig

Fputs are terrible. here's another one that breaks stuff.

    return unless name

    waitrt?
    if belt && belt['items'].find { |item| /\b#{name}/i =~ item || /\b#{item}/i =~ name }
      DRC.bput("tie my #{name} to my #{belt['name']}", 'you attach')
    else
      case DRC.bput("put my #{name} in my #{bag}", 'You put your', 'What were you referring to', 'is too \w+ to fit', 'You can\'t put that there')
      when /is too \w+ to fit/
        fput("stow my #{name}")
      when 'You can\'t put that there'
        fput("put my #{name} in my other #{bag}")
        return false
      end
    end
    true
  end```

rcuhljr avatar Jul 20 '17 15:07 rcuhljr

Closing, as this shouldn't happen anymore today.

MahtraDR avatar Jan 21 '23 03:01 MahtraDR