PDA

View Full Version : sammu for heavy crossbow bolts



Dugoar
10-08-2016, 10:13 AM
Has anyone use sammu before to create crossbow bolts?

It looks like it still tries to do the nock state, which is not required for crossbow bolts.

It loops over and over again doing this:


-- current state: nock
[sammu]>get knife from #74418301
You remove a honed steel whittling knife with a polished acacia handle from in your rucksack.
s>
[sammu]>cut nock in #74446816 with #74418305
Crossbow shafts do not require nocks.
s>
[sammu: -- checking haste]
[sammu]>put #74418305 in #74418301
You put a honed steel whittling knife with a polished acacia handle in your rucksack.
s>
[sammu]>look at my shaft
You see a single faewood heavy crossbow shaft, made from faewood, probably intended to be used with a heavy crossbow. The heavy crossbow shaft has been pared down and smoothed.

Is this script still being maintained? Does anyone know a work around? If not I can start looking into it and will see if I can fix it.

Maerit
10-08-2016, 12:43 PM
I had to make some minor modifications to get it to work for heavy bolts just last week, but I honestly have already forgotten what I did... I can rename it and upload something like "sammubolts" if you want.

Dugoar
10-08-2016, 12:44 PM
So I believe this was a simple fix.

I just changed line 861 from:


@state = :measure_and_cut if @settings['product'].strip =~ /dart/

to:


@state = :measure_and_cut if @settings['product'].strip =~ /dart|bolt/

Edit: After further testing, I can confirm this works.

Tenser
10-08-2016, 12:51 PM
I'm marking this post for future reference. I have a ranger doing fletching now and he uses a crossbow.

Thanks!