ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Crafting => Topic started by: Paulonius on May 04, 2011, 08:41:33 AM

Title: Paulonius' Textile Sweatshop
Post by: Paulonius on May 04, 2011, 08:41:33 AM
I couldn't find a textiler I loved, so I wrote one.  Cotton and thread are processed with wool and yarn.  The script will take wool from a secure within reach, spin it on every spinning wheel it can reach, and then run all of the yarn/thread through your loom, depositing bolts of cloth in your secure.  The loom goes as fast as you can fill it, but the spinning wheels have a five second delay.  I recommend at least 2 spinning wheels.  Five would look really cool and be much faster. The script will use as many as you have within two spaces and can reach.

I don't have item types for the elven versions of any of the loom/spinning wheels and I suspect that NPC shop keeper versions may have different item types.  If you locate some of these item types post them up and I will add them.


Code: [Select]
;==========================================================
; Paulonius Textile Sweatshop
;==========================================================
; I recommend getting a bunch of spinning wheels and a loom
; set them all up within reach. Have a secure with a bunch
; of wool in it.  The more spinning wheels the better.
; You can really get that turn of the century feel if you
; have five or so spinning wheels within reach and it will
; CRANK out yarn. You only need one loom.
; Set the Value of %Secure in the sub Setup if you don't want
; the script to reset it every time you start.
;==========================================================

Title: Re: Paulonius' Textile Sweatshop
Post by: 12TimesOver on May 13, 2011, 06:27:35 AM
Anybody test this out for Paulo yet? Looking for some tester feedback!

Time to start getting some scripts moved out of submissions!

X
Title: Re: Paulonius' Textile Sweatshop
Post by: Paulonius on May 13, 2011, 06:35:06 AM
Only one download, so its not exactly a hot item.  I have used the heck out of it and it has always been reliable.   I always hope that someone can give a script a run so that I can see if it is compatible with other operating systems/ hardware configurations, but maybe this doesn't address much of a need... 
Title: Re: Paulonius' Textile Sweatshop
Post by: 12TimesOver on May 13, 2011, 06:40:25 AM
I'll try to test things when I can, just really busy IRL so hoping to breath a little life into the Submissions section and get more people fired up to test. You never know, there my be "treats" in store sometime in the future for those willing to jump in knee-deep and wade the testing waters! ;)

Of course my timing stinks since we're waiting for patch updates but that's ok, there's a lot of stuff in here.

X
Title: Re: Paulonius' Textile Sweatshop
Post by: Endless Night on November 03, 2011, 09:52:25 AM
Congratulations your Script has been moved to the script library
(if you dont think the section is appropriate please pm me)
Thank you for your submission

Comments/improvements/suggestions
(1)You need to  Set %Secure N/A   in your setup sub or this script wont work for anyone else.
I have done this for you, and posted a version 10b that contains this edit.

(2)You could modify code below with further below .. not that it makes a difference both work  2nd version just uses less code.
Code: [Select]
For %Search4SWs 1 #FindCnt
    {
    Set #FindIndex %Search4SWs
    Set %SpinningWheel . %Search4SWs #FindID
    Set %NumberOfSWheels %Search4SWs
    }
Code: [Select]
Set %NumberOfSWheels #findcnt
For #findindex 1 #FindCnt
    Set %SpinningWheel . #findindex #FindID

Title: Re: Paulonius' Textile Sweatshop
Post by: rana70 on November 03, 2011, 11:00:06 AM
I don't have item types for the elven versions of any of the loom/spinning wheels and I suspect that NPC shop keeper versions may have different item types.  If you locate some of these item types post them up and I will add them.

Hi,
 if you still need this stuff,
you just can Grab the missing types and stuff from my Script ....
if you like ;-)

http://www.scriptuo.com/index.php?topic=2467.msg18533#msg18533

cu
Title: Re: Paulonius' Textile Sweatshop
Post by: formerlyrara on March 01, 2012, 10:33:40 AM
I am using this for the first time - i had modified the script to add elven spinning wheels and it works like a charm. I thank you very much for this script, i have been searching for a script like this for a very very long time.
Title: Re: Paulonius' Textile Sweatshop
Post by: Nico on October 13, 2012, 05:56:28 PM
i love this one, i had 1000s of wool in house, but never had time to work it, running it now for first time with 3 looms, lets see what we have in the morning
Title: Re: Paulonius' Textile Sweatshop
Post by: Crisis on December 29, 2013, 08:39:25 AM
Awesome script!

I used a cotton picking script and a wool/leather gathering script with this and I soon had more cloth than I know what to do with!
Title: Re: Paulonius' Textile Sweatshop
Post by: Nico on December 29, 2013, 03:49:19 PM
Awesome script!

I used a cotton picking script and a wool/leather gathering script with this and I soon had more cloth than I know what to do with!
do some bods  8)
Title: Re: Paulonius' Textile Sweatshop
Post by: formerlyrara on March 23, 2014, 12:19:00 PM
Had to make a adjustment for wool that is from killed sheep...

Set %Wool OFF_NFF_HFG


Title: Re: Paulonius' Textile Sweatshop
Post by: zankin on December 13, 2014, 09:02:05 AM
Using this now, I had collected about 600 cotton balls ;) and it's spinning all 5 wheels at the same time; a very beautiful thing. 

I found that it doesn't work on the Elven spinning wheels, but that's not actually an issue, just an FYI.