Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upMulti cooker #8339
Conversation
This comment has been minimized.
This comment has been minimized.
|
Neat concept. I think this is a good way to introduce a prototype of this, and maybe we can convert some regular recipes to use something similar, like have a setup stage, then an unattended stage. |
BevapDin
reviewed
Jul 26, 2014
| p->add_msg_if_player(m_good, _("You pull out the %s."), dish.tname().c_str()); | ||
| } | ||
|
|
||
| p->inv.assign_empty_invlet(dish, true); |
This comment has been minimized.
This comment has been minimized.
BevapDin
Jul 26, 2014
Contributor
You don't need this, it's not wrong, but the inventory will automatically assign an invlet when the item is added (by player::i_add).
HuXTUS
added some commits
Jul 27, 2014
HuXTUS
changed the title
[WIP] Multi cooker
[CR] Multi cooker
Jul 27, 2014
HuXTUS
added some commits
Jul 27, 2014
HuXTUS
changed the title
[CR] Multi cooker
[ready?] [CR] Multi cooker
Jul 27, 2014
KA101
reviewed
Jul 27, 2014
| "symbol": "M", | ||
| "color": "red", | ||
| "name": "multi cooker", | ||
| "description": "An expensive multi cooker professional level. Has a lot of buttons with different settings and programs. The dream of every housewife and inveterate bachelor. With its help you can prepare anything from the boiled potatoes, to exquisite dishes. Unfortunately, user manual and a examples list of recipes lost, so the recipes you must know himself.", |
This comment has been minimized.
This comment has been minimized.
KA101
Jul 27, 2014
Contributor
A professional-grade multi-cooker, with a battery slot for camping trips or tailgating. Its multitude of settings and features promise to handle any sort of cooking, from parboiling potatoes to cooking curry to popping popcorn. There's no manual, but you're sure you can work it out.
KA101
reviewed
Jul 27, 2014
| it->item_vars["DISH"] = ""; | ||
|
|
||
| point pos = g->find_item(it); | ||
| g->sound(pos.x, pos.y, 8, "Ring of bells"); |
This comment has been minimized.
This comment has been minimized.
KA101
reviewed
Jul 27, 2014
| //Smart or good cook or careful | ||
| if (p->int_cur + p->skillLevel("cooking") + p->skillLevel("survival") > 16) { | ||
| item dummy(it->item_vars["DISH"], 0); | ||
| add_msg(m_info, _("Do you feel that your %s will soon be ready."), dummy.display_name(1).c_str()); |
This comment has been minimized.
This comment has been minimized.
KA101
reviewed
Jul 27, 2014
|
|
||
| uimenu menu; | ||
| menu.selected = 0; | ||
| menu.text = _("Welcome to the RobotWife3000. What would you like to do?"); |
This comment has been minimized.
This comment has been minimized.
KA101
reviewed
Jul 27, 2014
| { | ||
| "type": "TOOL", | ||
| "id": "multi_cooker", | ||
| "symbol": "M", |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
HuXTUS
Jul 28, 2014
Author
Contributor
How about a special occasion? Professional multi cooker it's almost furniture. Big device, not tool like scissors or a soldering iron.
Thus the monster hallu-multicooker it will look also adequately.
Although it is not essential.
This comment has been minimized.
This comment has been minimized.
KA101
Jul 28, 2014
Contributor
Here I thought that seeing semicolons attacking would make the experience that much more freaky. Anyone else have an opinion?
This comment has been minimized.
This comment has been minimized.
KA101
reviewed
Jul 27, 2014
| "id" : "mon_hallu_multicooker", | ||
| "name": "multi cooker", | ||
| "species":"HALLUCINATION", | ||
| "symbol":"M", |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Not yet ready for merge testing. I like the hallucination idea, though. |
HuXTUS
changed the title
[ready?] [CR] Multi cooker
[WIP] Multi cooker
Jul 28, 2014
HuXTUS
reviewed
Jul 28, 2014
|
|
||
| uimenu menu; | ||
| menu.selected = 0; | ||
| menu.text = _("Welcome to the RobotChef KA101-model. Choose option:"); |
This comment has been minimized.
This comment has been minimized.
HuXTUS
Jul 28, 2014
Author
Contributor
I hope you enjoy this easter egg, which will perpetuate your name in the draft.
This comment has been minimized.
This comment has been minimized.
KA101
Jul 28, 2014
Contributor
Unexpected, unnecessary, and I imagine it'll make the forum unhappy. Thanks for the thought, though.
HuXTUS
changed the title
[WIP] Multi cooker
[READY] Multi cooker
Jul 28, 2014
This comment has been minimized.
This comment has been minimized.
|
Ok, no easter eggs now. |
This comment has been minimized.
This comment has been minimized.
BevapDin
commented on src/iuse.cpp in 8096b74
Jul 28, 2014
|
The other sounds are usually translated, this one should be, too. |
This comment has been minimized.
This comment has been minimized.
|
Uh, yes... Now all ok, i hope. |
HuXTUS
closed this
Jul 28, 2014
HuXTUS
deleted the
HuXTUS:multi-cooker
branch
Jul 28, 2014
HuXTUS
restored the
HuXTUS:multi-cooker
branch
Jul 28, 2014
This comment has been minimized.
This comment has been minimized.
|
GitHub application for Windows scared me ... |
HuXTUS
reopened this
Jul 28, 2014
KA101
self-assigned this
Jul 28, 2014
KA101
reviewed
Jul 29, 2014
| @@ -8406,3 +8406,387 @@ int iuse::radiocontrol(player *p, item *it, bool t) | |||
|
|
|||
| return it->type->charges_to_use(); | |||
| } | |||
|
|
|||
| bool multicooker_hallu(player *p) | |||
This comment has been minimized.
This comment has been minimized.
KA101
Jul 29, 2014
Contributor
I'd not seen this call before and didn't expect it to work. I'm happy to be proven wrong, though.
Gonna give it another proofread now that everything's more or less working (doesn't keep going if you take the reality bubble away, but that's true of pretty much everything: not a dealbreaker IMO), and then merge it.
KA101
reviewed
Jul 29, 2014
| { | ||
| "type" : "MONSTER", | ||
| "id" : "mon_hallu_multicooker", | ||
| "name": "Evil Multi-Cooker", |
This comment has been minimized.
This comment has been minimized.
KA101
Jul 29, 2014
Contributor
For future reference, you need to add listings for this in a few other files. Works for Curses, but essential for tileset support, etc.
This comment has been minimized.
This comment has been minimized.
HuXTUS
Jul 29, 2014
Author
Contributor
Now I understand why you add monsters in the source files.
It will be necessary to sort out this issue, or maybe someone will do it for me, since I do not know how to build tiles version and not be able to verify that the game does not crash, because of my changes.
HuXTUS commentedJul 26, 2014
(just image from internet, not advertising)

Expensive multi cooker with plenty of cooking functions. Main feature: he cooks asynchronously.
Just put in it the ingredients, select the desired program (recipe), and go about your business, he will do everything himself and signal when the dish is ready.
Now you do not have to watch your barbecue or potatoes, you can trust the robot, and do other things. But first you have to find it somewhere ...
Feature: using your
electronicsandfabricationskills you can upgrade device, so it will cooks faster.This device will increase grace of your home.