New Content - Implemented A Winter Garden

Bale

Minion
Visiting Mr. Store
--------------------
7069 Discontent™ Winter Garden Catalog 828455718 wintercatalog.gif usable t 0
Discontent™ Winter Garden Catalog Free Pull
--------------------
use 1 Discontent™ Winter Garden Catalog
--------------------
7070 packet of winter seeds 862450709 winterseeds.gif usable 0
# packet of winter seeds
--------------------
You acquire an item: packet of winter seeds

Harvesting your garden
Unknown item found: snow berries (7071, 988776416)
--------------------
7071 snow berries 988776416 snowberries.gif food t,d 5 handfuls of snow berries
snow berries 1 1 good 0 0 0 0
snow berries Effect: "Berry Berry Cold", Effect Duration: 30
--------------------
--------------------
1502 Berry Berry Cold snowberries.gif a2364ea596a977d372c77b1af7206905 eat 1 snow berries
Berry Berry Cold Cold Damage: +10, Cold Spell Damage: +20
--------------------
You acquire snow berries (3)
Unknown item found: ice harvest (7072, 978968903)
--------------------
7072 ice harvest 978968903 iceharvest.gif food t,d 5 ice harvests
ice harvest 1 1 good 0 0 0 0
ice harvest Effect: "Icy Demeanor", Effect Duration: 30
--------------------
--------------------
1503 Icy Demeanor iceharvest.gif fb3ab3e04e2a414c59075e333f35dd34 eat 1 ice harvest
Icy Demeanor Maximum HP: +20, Hot Resistance: +3
--------------------
You acquire ice harvest (3)

This leads to a coinmaster!

HTML:
<body>
<centeR><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Winter Gardening</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><table width=80%><tr><td>You gather up the bountiful yield of your winter garden and roll up your sleeves.  Then you roll your sleeves back down, because this stuff is cold!</td></tr></table></center><form name=bigform action=shop.php method=post><input type=hidden name=pwd value=8ec192d653bec73fc00e8a725071158e><input type=hidden name=whichshop value="snowgarden"><input type=hidden name=action value=buyitem><center><table cellpadding=2><tr><td></td><td colspan=2 align=center><b>Item:</b> (click for description)</td><td colspan=10 align=center><b>Price:</b></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/snowcleats.gif" class=hand onClick='javascript:descitem(578113475)'></td><td valign=center><a onClick='javascript:descitem(578113475)'><b>snow cleats</b>    </a></td><td><img src=/images/itemimages/snowberries.gif width=30 height=30 onClick='javascript:descitem(988776416)' alt="snow berries" title="snow berries"></td><td><b>1</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=227";' value='Make'></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/flask.gif" class=hand onClick='javascript:descitem(505129527)'></td><td valign=center><a onClick='javascript:descitem(505129527)'><b>liquid ice pack</b>    </a></td><td><img src=/images/itemimages/iceharvest.gif width=30 height=30 onClick='javascript:descitem(978968903)' alt="ice harvest" title="ice harvest"></td><td><b>1</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=228";' value='Make'></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/snowcrab.gif" class=hand onClick='javascript:descitem(597026192)'></td><td valign=center><a onClick='javascript:descitem(597026192)'><b>snow crab</b>    </a></td><td><img src=/images/itemimages/snowberries.gif width=30 height=30 onClick='javascript:descitem(988776416)' alt="snow berries" title="snow berries"></td><td><b>2</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=230";' value='Make'></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/iceislandtea.gif" class=hand onClick='javascript:descitem(946614164)'></td><td valign=center><a onClick='javascript:descitem(946614164)'><b>Ice Island Long Tea</b>    </a></td><td><img src=/images/itemimages/snowberries.gif width=30 height=30 onClick='javascript:descitem(988776416)' alt="snow berries" title="snow berries"></td><td><b>1</b> &nbsp</td><td><img src=/images/itemimages/iceharvest.gif width=30 height=30 onClick='javascript:descitem(978968903)' alt="ice harvest" title="ice harvest"></td><td><b>3</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=231";' value='Make'></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/snowboards.gif" class=hand onClick='javascript:descitem(776202871)'></td><td valign=center><a onClick='javascript:descitem(776202871)'><b>snow boards</b>    </a></td><td><img src=/images/itemimages/snowberries.gif width=30 height=30 onClick='javascript:descitem(988776416)' alt="snow berries" title="snow berries"></td><td><b>2</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=229";' value='Make'></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/icesculpt.gif" class=hand onClick='javascript:descitem(922017254)'></td><td valign=center><a onClick='javascript:descitem(922017254)'><b>unfinished ice sculpture</b>    </a></td><td><img src=/images/itemimages/snowberries.gif width=30 height=30 onClick='javascript:descitem(988776416)' alt="snow berries" title="snow berries"></td><td><b>3</b> &nbsp</td><td><img src=/images/itemimages/iceharvest.gif width=30 height=30 onClick='javascript:descitem(978968903)' alt="ice harvest" title="ice harvest"></td><td><b>3</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=232";' value='Make'></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/snowmobile.gif" class=hand onClick='javascript:descitem(734321513)'></td><td valign=center><a onClick='javascript:descitem(734321513)'><b>snow mobile</b>    </a></td><td><img src=/images/itemimages/snowberries.gif width=30 height=30 onClick='javascript:descitem(988776416)' alt="snow berries" title="snow berries"></td><td><b>3</b> &nbsp</td><td><img src=/images/itemimages/iceharvest.gif width=30 height=30 onClick='javascript:descitem(978968903)' alt="ice harvest" title="ice harvest"></td><td><b>2</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=235";' value='Make'></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/icebucket.gif" class=hand onClick='javascript:descitem(658452002)'></td><td valign=center><a onClick='javascript:descitem(658452002)'><b>ice bucket</b>    </a></td><td><img src=/images/itemimages/iceharvest.gif width=30 height=30 onClick='javascript:descitem(978968903)' alt="ice harvest" title="ice harvest"></td><td><b>3</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=236";' value='Make'></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/snowshovel.gif" class=hand onClick='javascript:descitem(583581544)'></td><td valign=center><a onClick='javascript:descitem(583581544)'><b>snow shovel</b>    </a></td><td><img src=/images/itemimages/snowberries.gif width=30 height=30 onClick='javascript:descitem(988776416)' alt="snow berries" title="snow berries"></td><td><b>4</b> &nbsp</td><td><img src=/images/itemimages/iceharvest.gif width=30 height=30 onClick='javascript:descitem(978968903)' alt="ice harvest" title="ice harvest"></td><td><b>1</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=237";' value='Make'></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/bodice.gif" class=hand onClick='javascript:descitem(512058876)'></td><td valign=center><a onClick='javascript:descitem(512058876)'><b>bod-ice</b>    </a></td><td><img src=/images/itemimages/snowberries.gif width=30 height=30 onClick='javascript:descitem(988776416)' alt="snow berries" title="snow berries"></td><td><b>1</b> &nbsp</td><td><img src=/images/itemimages/iceharvest.gif width=30 height=30 onClick='javascript:descitem(978968903)' alt="ice harvest" title="ice harvest"></td><td><b>4</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=238";' value='Make'></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/snow_belt.gif" class=hand onClick='javascript:descitem(654186523)'></td><td valign=center><a onClick='javascript:descitem(654186523)'><b>snow belt</b>    </a></td><td><img src=/images/itemimages/snowberries.gif width=30 height=30 onClick='javascript:descitem(988776416)' alt="snow berries" title="snow berries"></td><td><b>7</b> &nbsp</td><td><img src=/images/itemimages/iceharvest.gif width=30 height=30 onClick='javascript:descitem(978968903)' alt="ice harvest" title="ice harvest"></td><td><b>1</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=239";' value='Make'></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/icenine.gif" class=hand onClick='javascript:descitem(306945089)'></td><td valign=center><a onClick='javascript:descitem(306945089)'><b>ice nine</b>    </a></td><td><img src=/images/itemimages/iceharvest.gif width=30 height=30 onClick='javascript:descitem(978968903)' alt="ice harvest" title="ice harvest"></td><td><b>9</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=240";' value='Make'></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/icehouse.gif" class=hand onClick='javascript:descitem(957880072)'></td><td valign=center><a onClick='javascript:descitem(957880072)'><b>ice house</b>    </a></td><td><img src=/images/itemimages/iceharvest.gif width=30 height=30 onClick='javascript:descitem(978968903)' alt="ice harvest" title="ice harvest"></td><td><b>8</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=233";' value='Make'></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/snowfort.gif" class=hand onClick='javascript:descitem(977873244)'></td><td valign=center><a onClick='javascript:descitem(977873244)'><b>snow fort</b>    </a></td><td><img src=/images/itemimages/snowberries.gif width=30 height=30 onClick='javascript:descitem(988776416)' alt="snow berries" title="snow berries"></td><td><b>9</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=241";' value='Make'></td></tr><tr><td valign=center></td><td><img src="/images/itemimages/snowmachine.gif" class=hand onClick='javascript:descitem(945560112)'></td><td valign=center><a onClick='javascript:descitem(945560112)'><b>snow machine</b>    </a></td><td><img src=/images/itemimages/snowberries.gif width=30 height=30 onClick='javascript:descitem(988776416)' alt="snow berries" title="snow berries"></td><td><b>30</b> &nbsp</td><td><img src=/images/itemimages/iceharvest.gif width=30 height=30 onClick='javascript:descitem(978968903)' alt="ice harvest" title="ice harvest"></td><td><b>30</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=snowgarden&action=buyitem&quantity=1&whichrow=234";' value='Make'></td></tr></table></form></form><p><b>You have:</b><table><tr><td><img src=/images/itemimages/snowberries.gif width=30 height=30 onClick='javascript:descitem(988776416)' alt="snow berries" title="snow berries"></td><td>3 handfuls of snow berries</td></tr><tr><td><img src=/images/itemimages/iceharvest.gif width=30 height=30 onClick='javascript:descitem(978968903)' alt="ice harvest" title="ice harvest"></td><td>3 ice harvests</td></tr></table><p><a href=inventory.php>Back to your Inventory</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body>
 
Most (all?) of the equipment that can be made has
This item will disappear at the end of the day.
in its description. It isn't important for mafia to know that, but it could be useful to track just so it can be accessed by scripts and such.
 
r13465. Additional Winter Garden support. Have added concoctions but have commented out those items that aren't yet in items.txt. Can uncomment them as they are added.
 
Apparently the ice house lets you banish a monster until you decide to unbanish it. Rollover and ascension don't unbanish it. I've already made local changes to BanishManager to support that, just waiting on the item id to actually add it.
 
Serious-fuckin-lutely?! Whoa. That's almost unbelievable!
To quote from another thread in another forums . . .
Greycat said:
Can someone at least please tell us what's a bug and what's not a bug, or how things are INTENDED to work, so we can stop guessing?!

Getting tired of having all my strategies taken away from me!
 
On day three the Winter Garden produces a frost flower as well as 9 berries and 9 ice harvests. Please make sure it is recognized and reported by get_campground(). Thank you very much.

Unknown item found: frost flower (7073, 920213989)
--------------------
7073 frost flower 920213989 frostflower.gif usable t 0
frost flower Effect: "Frosty", Effect Duration: 50
--------------------
--------------------
1499 Frosty frostflower.gif 96acd407d01178a54bda490e1c1561e2 use 1 frost flower
Frosty Initiative: +100, Item Drop: +100, Meat Drop: +200, Monster Level: +25
--------------------
 
Added rest of items in r13479.

r13480 - I caved and bought one on my alt - Snow Fort support added.
 
Last edited:
Apparently day 4 gives 1 frost flower (in addition to 12 ice harvests and snow berries). I think it's really time to change how that information is represented, though I don't have any good ideas for the GUI or backend code.
 
I'm thinking about adding a new command, get_garden(), that would have all the stuff in the garden, and removing that stuff from get_campground(). Or maybe just tracking those separately and adding them in when get_campground() is called. Mafia could just store which garden you have and what day it is at (to the extent shown by the image). Ideally I would change breakfast harvesting to specify a garden and number of days. Translating existing values there should be manageable...

I'm still thinking about how this would all work.
 
Looks like the only thing other than 3 ice harvests/snow berries per day is 1 frost flower on day three or later, and caps at 21 harvests / berries after 7 days.

Looks like harvesting day three is optimal.
 
I think we're implemented here. If I'm wrong, please tell me what already known content we've failed to implement, or else make a new thread with any additional content once it becomes known.
 
How about we just add an additional harvest setting like "Call harvestScript" and let users script their own solution.
 
How would a script currently know whether it is day 3 or 5 for the Winter Garden, even assuming findImage values were updated in CampgroundRequest?
 
Is there any reason we aren't tracking what banish is stored in the Ice House? (or did I miss a setting in the file?)

I've written this little snippet to find it, but it would be fewer hits to just store it in the prefs file for each character.

Code:
string IceHouseResident() {
	string IceHouse=visit_url("museum.php?action=icehouse");
	matcher IcedMonster = create_matcher("You peer into the ice house and see the perfectly-preserved (.*), right where you left",IceHouse);
	if (IcedMonster.find()) return (IcedMonster.group(1));
	return "none";
}
 
If you used the ice house before it was added in Mafia as a banish, it may not appear in banishes (or there may be a bug possibly - I've mucked around on my characters so much it's hard to tell).

Should appear in banishedMonsters preference.

We should probably also add it if we look into the Ice House and see it there.
 
Back
Top