Adds and Changes
Added missing crafting maps, removed unnecessary maps, changed a few miscellaneous things.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "nw_i0_plot"
|
||||
#include "aps_include"
|
||||
|
||||
int CheckComponent(object oPC, string sTag, int iMinimum);
|
||||
void RemoveComponent(object oPC, string sTag, int iMinimum);
|
||||
@@ -92,8 +93,8 @@ void main()
|
||||
RemoveComponent(oPC,"item_juice_001",1);
|
||||
RemoveComponent(oPC,"item_yeast003",1);
|
||||
RemoveComponent(oPC,"item_cask_006",1);
|
||||
sSuccess="You carefully combine the ingredients and seal the jug.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The cider is ruined.";
|
||||
sSuccess="You carefully combine the ingredients, and seal the jug.";
|
||||
sFail = "The yeast fails to ferment the ingredients and the cider is ruined.";
|
||||
sProduct = "item_fullkeg_001";
|
||||
sByproduct1 = "glassbottle";
|
||||
iByproduct1 = 1;
|
||||
@@ -111,8 +112,8 @@ void main()
|
||||
RemoveComponent(oPC,"item_yeast003",1);
|
||||
RemoveComponent(oPC,"item_cask_006",1);
|
||||
RemoveComponent(oPC,"item_syrup_003",1);
|
||||
sSuccess="You carefully combine the ingredients and seal the jug.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The cider is ruined.";
|
||||
sSuccess="You carefully combine the ingredients, and seal the jug.";
|
||||
sFail = "The yeast fails to ferment the ingredients, and the cider is ruined.";
|
||||
sProduct = "item_fullkeg_002";
|
||||
sByproduct1 = "glassbottle";
|
||||
iByproduct1 = 1;
|
||||
@@ -131,7 +132,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_juice_022",1);
|
||||
RemoveComponent(oPC,"item_yeast003",1);
|
||||
RemoveComponent(oPC,"item_cask_006",1);
|
||||
sSuccess="You carefully combine the ingredients and seal the jug.";
|
||||
sSuccess="You carefully combine the ingredients, and seal the jug.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The scrumpy is ruined.";
|
||||
sProduct = "item_fullkeg_003";
|
||||
sByproduct1 = "glassbottle";
|
||||
@@ -151,7 +152,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_yeast003",1);
|
||||
RemoveComponent(oPC,"item_cask_006",1);
|
||||
RemoveComponent(oPC,"ITEM_HONEY",1);
|
||||
sSuccess="You carefully combine the ingredients and seal the jug.";
|
||||
sSuccess="You carefully combine the ingredients, and seal the jug.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The cyser is ruined.";
|
||||
sProduct = "item_fullkeg_004";
|
||||
sByproduct1 = "glassbottle";
|
||||
@@ -215,8 +216,8 @@ void main()
|
||||
if (iMissing==1){SendMissingMessage(oPC);return;}
|
||||
RemoveComponent(oPC,"item_fullkeg_001",1);
|
||||
RemoveComponent(oPC,"item_yeast002",1);
|
||||
sSuccess="You carefully combine the topyeast with the cider.";
|
||||
sFail = "The mixture is contaminated as you attempt to add the topyeast.";
|
||||
sSuccess="You carefully combine the top yeast with the cider.";
|
||||
sFail = "The mixture is contaminated as you attempt to add the top yeast.";
|
||||
sProduct = "item_fullkeg_008";
|
||||
sFailKeg = "item_cask_006";
|
||||
}
|
||||
@@ -233,8 +234,8 @@ void main()
|
||||
RemoveComponent(oPC,"item_yeast002",1);
|
||||
RemoveComponent(oPC,"item_cask_001",1);
|
||||
RemoveComponent(oPC,"item_syrup_003",1);
|
||||
sSuccess="You carefully combine the ingredients and seal the cask.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The wine is ruined.";
|
||||
sSuccess="You carefully combine the ingredients, and seal the cask.";
|
||||
sFail = "The yeast fails to ferment the ingredients, and the wine is ruined.";
|
||||
sProduct = "item_fullkeg_009";
|
||||
sByproduct1 = "glassbottle";
|
||||
iByproduct1 = 3;
|
||||
@@ -252,7 +253,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_yeast002",1);
|
||||
RemoveComponent(oPC,"item_cask_001",1);
|
||||
RemoveComponent(oPC,"item_syrup_003",1);
|
||||
sSuccess="You carefully combine the ingredients and seal the cask.";
|
||||
sSuccess="You carefully combine the ingredients, and seal the cask.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The wine is ruined.";
|
||||
sProduct = "item_fullkeg_010";
|
||||
sByproduct1 = "glassbottle";
|
||||
@@ -270,7 +271,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_fullkeg_009",1);
|
||||
RemoveComponent(oPC,"item_yeast003",1);
|
||||
RemoveComponent(oPC,"item_syrup_003",1);
|
||||
sSuccess="You carefully combine the bottomyeast, sugar, and red wine and seal the cask.";
|
||||
sSuccess="You carefully combine the bottom yeast, sugar, and red wine and seal the cask.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The sherry is ruined.";
|
||||
sProduct = "item_fullkeg_012";
|
||||
sFailKeg = "item_cask_001";
|
||||
@@ -287,7 +288,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_yeast002",1);
|
||||
RemoveComponent(oPC,"item_cask_001",1);
|
||||
RemoveComponent(oPC,"item_syrup_003",1);
|
||||
sSuccess="You carefully combine the ingredients and seal the cask.";
|
||||
sSuccess="You carefully combine the ingredients, and seal the cask.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The wine is ruined.";
|
||||
sProduct = "item_fullkeg_011";
|
||||
sByproduct1 = "glassbottle";
|
||||
@@ -309,7 +310,7 @@ void main()
|
||||
RemoveComponent(oPC,"SEED_HOPS",3);
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",5);
|
||||
RemoveComponent(oPC,"item_cask_002",1);
|
||||
sSuccess="You combine the water, hops, barley wort, and bottomyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, hops, barley wort, and bottom yeast and seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The lager is ruined.";
|
||||
sProduct = "item_fullkeg_013";
|
||||
sByproduct1 = "item001";
|
||||
@@ -330,7 +331,7 @@ void main()
|
||||
RemoveComponent(oPC,"SEED_HOPS",4);
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",5);
|
||||
RemoveComponent(oPC,"item_cask_002",1);
|
||||
sSuccess="You combine the water, hops, barley wort, and bottomyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, hops, barley wort, and bottom yeast and seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The lager is ruined.";
|
||||
sProduct = "item_fullkeg_014";
|
||||
sByproduct1 = "item001";
|
||||
@@ -352,7 +353,7 @@ void main()
|
||||
RemoveComponent(oPC,"SEED_HOPS",3);
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",6);
|
||||
RemoveComponent(oPC,"item_cask_002",1);
|
||||
sSuccess="You combine the water, hops, barley wort, and bottomyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, hops, barley wort, and bottom yeast and seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The lager is ruined.";
|
||||
sProduct = "item_fullkeg_015";
|
||||
sByproduct1 = "item001";
|
||||
@@ -376,7 +377,7 @@ void main()
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",4);
|
||||
RemoveComponent(oPC,"item_cask_002",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",1);
|
||||
sSuccess="You combine the water, hops, barley wort, caramel, and bottomyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, hops, barley wort, caramel, and bottom yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The draught is ruined.";
|
||||
sProduct = "item_fullkeg_016";
|
||||
sByproduct1 = "item001";
|
||||
@@ -398,7 +399,7 @@ void main()
|
||||
RemoveComponent(oPC,"SEED_HOPS",6);
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",4);
|
||||
RemoveComponent(oPC,"item_cask_002",1);
|
||||
sSuccess="You combine the water, hops, barley wort, and bottomyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, hops, barley wort, and bottom yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The red malt lager is ruined.";
|
||||
sProduct = "item_fullkeg_017";
|
||||
sByproduct1 = "item001";
|
||||
@@ -422,7 +423,7 @@ void main()
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",4);
|
||||
RemoveComponent(oPC,"item_cask_002",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",2);
|
||||
sSuccess="You combine the water, hops, barley wort, caramel, and bottomyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, hops, barley wort, caramel, and bottom yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The gold malt lager is ruined.";
|
||||
sProduct = "item_fullkeg_018";
|
||||
sByproduct1 = "item001";
|
||||
@@ -446,7 +447,7 @@ void main()
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",4);
|
||||
RemoveComponent(oPC,"item_cask_002",1);
|
||||
RemoveComponent(oPC,"item_syrup_002",3);
|
||||
sSuccess="You combine the water, hops, barley wort, molasses, and bottomyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, hops, barley wort, molasses, and bottom yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The ice lager is ruined.";
|
||||
sProduct = "item_fullkeg_019";
|
||||
sByproduct1 = "item001";
|
||||
@@ -470,7 +471,7 @@ void main()
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",4);
|
||||
RemoveComponent(oPC,"item_cask_002",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",3);
|
||||
sSuccess="You combine the water, hops, barley wort, caramel, and bottomyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, hops, barley wort, caramel, and bottom yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The stout lager is ruined.";
|
||||
sProduct = "item_fullkeg_020";
|
||||
sByproduct1 = "item001";
|
||||
@@ -493,7 +494,7 @@ void main()
|
||||
RemoveComponent(oPC,"SEED_HOPS",4);
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",5);
|
||||
RemoveComponent(oPC,"item_cask_002",1);
|
||||
sSuccess="You combine the water, hops, barley wort, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, hops, barley wort, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The ale is ruined.";
|
||||
sProduct = "item_fullkeg_021";
|
||||
sByproduct1 = "item001";
|
||||
@@ -517,7 +518,7 @@ void main()
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",4);
|
||||
RemoveComponent(oPC,"item_cask_002",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",2);
|
||||
sSuccess="You combine the water, hops, barley wort, caramel, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, hops, barley wort, caramel, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The stout ale is ruined.";
|
||||
sProduct = "item_fullkeg_022";
|
||||
sByproduct1 = "item001";
|
||||
@@ -543,7 +544,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_cask_002",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",2);
|
||||
RemoveComponent(oPC,"item_syrup_004",1);
|
||||
sSuccess="You combine the water, hops, barley wort, caramel, molasses, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, hops, barley wort, caramel, molasses, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The porter ale is ruined.";
|
||||
sProduct = "item_fullkeg_023";
|
||||
sByproduct1 = "item001";
|
||||
@@ -569,7 +570,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_cask_002",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",2);
|
||||
RemoveComponent(oPC,"item_juice_003",1);
|
||||
sSuccess="You combine the water, hops, barley wort, caramel, grape juice, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, hops, barley wort, caramel, grape juice, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The barleywine ale is ruined.";
|
||||
sProduct = "item_fullkeg_024";
|
||||
sByproduct1 = "item001";
|
||||
@@ -595,7 +596,7 @@ void main()
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",4);
|
||||
RemoveComponent(oPC,"item_cask_002",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",3);
|
||||
sSuccess="You combine the water, hops, barley wort, caramel, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, hops, barley wort, caramel, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The kolsch ale is ruined.";
|
||||
sProduct = "item_fullkeg_025";
|
||||
sByproduct1 = "item001";
|
||||
@@ -619,7 +620,7 @@ void main()
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",2);
|
||||
RemoveComponent(oPC,"item_cask_003",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",1);
|
||||
sSuccess="You combine the water, honey, caramel, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, honey, caramel, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The honeymead is ruined.";
|
||||
sProduct = "item_fullkeg_026";
|
||||
sByproduct1 = "item001";
|
||||
@@ -640,7 +641,7 @@ void main()
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",2);
|
||||
RemoveComponent(oPC,"item_cask_003",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",1);
|
||||
sSuccess="You combine the water, honey, caramel, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, honey, caramel, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The sackmead is ruined.";
|
||||
sProduct = "item_fullkeg_027";
|
||||
sByproduct1 = "item001";
|
||||
@@ -664,7 +665,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_cask_003",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",1);
|
||||
RemoveComponent(oPC,"ITEM_REDAPPLE",3);
|
||||
sSuccess="You combine the water, honey, caramel, apples, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, honey, caramel, apples, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The apple muslin mead is ruined.";
|
||||
sProduct = "item_fullkeg_028";
|
||||
sByproduct1 = "item001";
|
||||
@@ -690,7 +691,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_syrup_004",1);
|
||||
RemoveComponent(oPC,"SEED_SPEARMINT",2);
|
||||
RemoveComponent(oPC,"SEED_PEPPERMINT",2);
|
||||
sSuccess="You combine the water, honey, caramel, mint leaves, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, honey, caramel, mint leaves, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The metheglin is ruined.";
|
||||
sProduct = "item_fullkeg_029";
|
||||
sByproduct1 = "item001";
|
||||
@@ -714,7 +715,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_cask_003",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",1);
|
||||
RemoveComponent(oPC,"SEED_BLUEBERRY",4);
|
||||
sSuccess="You combine the water, honey, caramel, blueberries, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, honey, caramel, blueberries, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The morat is ruined.";
|
||||
sProduct = "item_fullkeg_030";
|
||||
sByproduct1 = "item001";
|
||||
@@ -740,7 +741,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_syrup_004",1);
|
||||
RemoveComponent(oPC,"SEED_GRAPE1",4);
|
||||
RemoveComponent(oPC,"SEED_GINGER",2);
|
||||
sSuccess="You combine the water, honey, caramel, grapes, ginger, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, honey, caramel, grapes, ginger, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The hippocras is ruined.";
|
||||
sProduct = "item_fullkeg_031";
|
||||
sByproduct1 = "item001";
|
||||
@@ -764,7 +765,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_cask_003",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",1);
|
||||
RemoveComponent(oPC,"SEED_GRAPE3",4);
|
||||
sSuccess="You combine the water, honey, caramel, grapes, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, honey, caramel, grapes, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The pyment is ruined.";
|
||||
sProduct = "item_fullkeg_032";
|
||||
sByproduct1 = "item001";
|
||||
@@ -788,7 +789,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_cask_003",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",1);
|
||||
RemoveComponent(oPC,"item_wort_001",2);
|
||||
sSuccess="You combine the water, honey, caramel, corn wort, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, honey, caramel, corn wort, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The braggot is ruined.";
|
||||
sProduct = "item_fullkeg_033";
|
||||
sByproduct1 = "item001";
|
||||
@@ -812,7 +813,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_cask_003",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",1);
|
||||
RemoveComponent(oPC,"item_juice_041",1);
|
||||
sSuccess="You combine the water, honey, caramel, vinegar, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, honey, caramel, vinegar, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The oxymel is ruined.";
|
||||
sProduct = "item_fullkeg_034";
|
||||
sByproduct1 = "item001";
|
||||
@@ -838,7 +839,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_cask_003",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",1);
|
||||
RemoveComponent(oPC,"SEED_ORIENTALPOPPY",2);
|
||||
sSuccess="You combine the water, honey, caramel, poppies, and topyeast and seal the barrel.";
|
||||
sSuccess="You combine the water, honey, caramel, poppies, and top yeast then seal the barrel.";
|
||||
sFail = "The yeast fails to ferment the ingredients. The rhodomel is ruined.";
|
||||
sProduct = "item_fullkeg_035";
|
||||
sByproduct1 = "item001";
|
||||
@@ -857,7 +858,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_wort_010",2);
|
||||
RemoveComponent(oPC,"item_cask_004",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",1);
|
||||
sSuccess="You combine the distilled corn wort and caramel and seal the barrel.";
|
||||
sSuccess="You combine the distilled corn wort and caramel then seal the barrel.";
|
||||
sFail = "The whiskey fails to age properly and is ruined.";
|
||||
sProduct = "item_fullkeg_036";
|
||||
sFailKeg = "item_cask_004";
|
||||
@@ -873,7 +874,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_wort_013",2);
|
||||
RemoveComponent(oPC,"item_cask_004",1);
|
||||
RemoveComponent(oPC,"item_syrup_004",2);
|
||||
sSuccess="You combine the distilled acorn wort and caramel and seal the barrel.";
|
||||
sSuccess="You combine the distilled acorn wort and caramel then seal the barrel.";
|
||||
sFail = "The whiskey fails to age properly and is ruined.";
|
||||
sProduct = "item_fullkeg_037";
|
||||
sFailKeg = "item_cask_004";
|
||||
@@ -889,7 +890,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_wort_016",2);
|
||||
RemoveComponent(oPC,"item_cask_004",1);
|
||||
RemoveComponent(oPC,"item_syrup_002",1);
|
||||
sSuccess="You combine the distilled rice wort and molasses and seal the barrel.";
|
||||
sSuccess="You combine the distilled rice wort and molasses then seal the barrel.";
|
||||
sFail = "The sake fails to age properly and is ruined.";
|
||||
sProduct = "item_fullkeg_038";
|
||||
sFailKeg = "item_cask_004";
|
||||
@@ -908,7 +909,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_cask_004",1);
|
||||
RemoveComponent(oPC,"item_syrup_002",2);
|
||||
RemoveComponent(oPC,"item_yeast003",1);
|
||||
sSuccess="You combine the sugarcane, molasses, and yeast and seal the barrel.";
|
||||
sSuccess="You combine the sugarcane, molasses, and yeast then seal the barrel.";
|
||||
sFail = "The rum fails to age properly and is ruined.";
|
||||
sProduct = "item_fullkeg_039";
|
||||
sByproduct1 = "glassbottle";
|
||||
@@ -930,7 +931,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_syrup_002",2);
|
||||
RemoveComponent(oPC,"item_yeast003",2);
|
||||
RemoveComponent(oPC,"drink_cup_010",1);
|
||||
sSuccess="You combine the sugarcane, molasses, wine, and yeast and seal the barrel.";
|
||||
sSuccess="You combine the sugarcane, molasses, wine, and yeast then seal the barrel.";
|
||||
sFail = "The rum fails to age properly and is ruined.";
|
||||
sProduct = "item_fullkeg_040";
|
||||
sByproduct1 = "glassbottle";
|
||||
@@ -952,7 +953,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_syrup_002",2);
|
||||
RemoveComponent(oPC,"item_yeast003",2);
|
||||
RemoveComponent(oPC,"item_syrup_004",2);
|
||||
sSuccess="You combine the sugarcane, molasses, caramel, and yeast and seal the barrel.";
|
||||
sSuccess="You combine the sugarcane, molasses, caramel, and yeast then seal the barrel.";
|
||||
sFail = "The rum fails to age properly and is ruined.";
|
||||
sProduct = "item_fullkeg_041";
|
||||
sByproduct1 = "glassbottle";
|
||||
@@ -976,7 +977,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_yeast003",2);
|
||||
RemoveComponent(oPC,"ITEM_HONEY",2);
|
||||
RemoveComponent(oPC,"item_syrup_001",1);
|
||||
sSuccess="You combine the sugarcane, molasses, honey, syrup, and yeast and seal the barrel.";
|
||||
sSuccess="You combine the sugarcane, molasses, honey, syrup, and yeast then seal the barrel.";
|
||||
sFail = "The rum fails to age properly and is ruined.";
|
||||
sProduct = "item_fullkeg_042";
|
||||
sByproduct1 = "glassbottle";
|
||||
@@ -998,7 +999,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_syrup_002",4);
|
||||
RemoveComponent(oPC,"item_yeast003",2);
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",3);
|
||||
sSuccess="You combine the sugar, molasses, water, molasses, and yeast and seal the barrel.";
|
||||
sSuccess="You combine the sugar, molasses, water, molasses, and yeast then seal the barrel.";
|
||||
sFail = "The rum fails to age properly and is ruined.";
|
||||
sProduct = "item_fullkeg_043";
|
||||
sByproduct1 = "glassbottle";
|
||||
@@ -1009,7 +1010,7 @@ void main()
|
||||
}
|
||||
|
||||
//Other
|
||||
if (iBrew==73) // Vodka
|
||||
if (iBrew==74) // Vodka
|
||||
{
|
||||
iDifficulty = 100;
|
||||
if (CheckComponent(oPC,"item_wort_019",2)==FALSE) iMissing=1;
|
||||
@@ -1021,7 +1022,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_cask_006",1);
|
||||
RemoveComponent(oPC,"item_syrup_003",1);
|
||||
RemoveComponent(oPC,"ITEM_BUCKETOFWATER",2);
|
||||
sSuccess="You combine the distilled vodka base snd sugar and seal the jug.";
|
||||
sSuccess="You combine the distilled vodka base and sugar then seal the jug.";
|
||||
sFail = "The vodka fails to mature properly and is ruined.";
|
||||
sProduct = "item_fullkeg_045";
|
||||
sByproduct1= "item001";
|
||||
@@ -1029,7 +1030,7 @@ void main()
|
||||
sFailKeg = "item_cask_006";
|
||||
}
|
||||
|
||||
if (iBrew==74) // Gin
|
||||
if (iBrew==75) // Gin
|
||||
{
|
||||
iDifficulty = 100;
|
||||
if (CheckComponent(oPC,"item_fullkeg_045",1)==FALSE) iMissing=1;
|
||||
@@ -1039,7 +1040,7 @@ void main()
|
||||
RemoveComponent(oPC,"item_fullkeg_045",1);
|
||||
RemoveComponent(oPC,"item_juice_017",1);
|
||||
RemoveComponent(oPC,"item_juice_031",1);
|
||||
sSuccess="You combine the vodka, juniper berry juice, snd sugarcane extract and seal the jug.";
|
||||
sSuccess="You combine the vodka, juniper berry juice, and sugarcane extract then seal the jug.";
|
||||
sFail = "The gin fails to mature properly and is ruined.";
|
||||
sProduct = "item_fullkeg_046";
|
||||
sFailKeg = "item_cask_006";
|
||||
@@ -1053,7 +1054,12 @@ void main()
|
||||
return;
|
||||
}
|
||||
|
||||
int iBrewSkill = GetCampaignInt("UOACraft","iBrewSkill",oPC);
|
||||
//nwn database
|
||||
//int iBrewSkill = GetCampaignInt("UOACraft","iBrewSkill",oPC);
|
||||
|
||||
//external database
|
||||
int iBrewSkill = GetPersistentInt(oPC,"iBrewSkill","UOACraft");
|
||||
|
||||
int iBrewChance = iBrewSkill;
|
||||
|
||||
if (iBrewChance<350)
|
||||
@@ -1137,9 +1143,15 @@ void main()
|
||||
if (iBrewSkill <= 1000)
|
||||
{
|
||||
//DelayCommand(13.0,SetTokenPair(oPC,13,3,iBrewSkill));
|
||||
DelayCommand(12.5,SetCampaignInt("UOACraft","iBrewSkill",iBrewSkill,oPC));
|
||||
|
||||
//nwn database
|
||||
//DelayCommand(12.5,SetCampaignInt("UOACraft","iBrewSkill",iBrewSkill,oPC));
|
||||
|
||||
//external database
|
||||
DelayCommand(12.5,SetPersistentInt(oPC,"iBrewSkill",iBrewSkill,0,"UOACraft"));
|
||||
|
||||
DelayCommand(12.5,SendMessageToPC(oPC,"=================================="));
|
||||
DelayCommand(12.5,SendMessageToPC(oPC,"Your skill in nrewing has gone up!"));
|
||||
DelayCommand(12.5,SendMessageToPC(oPC,"Your skill in brewing has gone up!"));
|
||||
DelayCommand(12.5,SendMessageToPC(oPC,"Current brewing skill : "+ sOldSkill+"%"));
|
||||
DelayCommand(12.5,SendMessageToPC(oPC,"=================================="));
|
||||
if (GetLocalInt(GetModule(),"_UOACraft_XP")!=0) DelayCommand(12.4,GiveXPToCreature(oPC,GetLocalInt(GetModule(),"_UOACraft_XP")));
|
||||
|
Reference in New Issue
Block a user